inherit
96172
0
Nov 29, 2017 7:41:17 GMT -8
bluebayou
484
January 2007
bluebayou
|
Post by bluebayou on Nov 19, 2012 5:10:27 GMT -8
I'm currently using this code in V4.5 and would love a V5 Plug In for it.
(Global Footer):
<script type="text/javascript"> <!-- /* remove last edit */ var font=document.getElementsByTagName("font"); if(location.href.match(/on=(displ|search2|(user)?rece)/)){ for(i=0;i<font.length;i++){ if(font.innerHTML.match(/Last\sEdit:/i) && font.parentNode.align=="left" && font.innerHTML.match(/user=admin/i)){ font.style.display="none"; } } } // --> </script>
-------------------------------------------------------------------------------- And here's the portion of the above code that needs to be edited to include anyone else:
Just edit this line:
.parentNode.align=="left" && font.innerHTML.match(/user=admin/i)){
To this:
.parentNode.align=="left" && font.innerHTML.match(/user=admin|username1|username2|username3/i)){
Replace username1 with the username of your first mod, and so on. Make sure there isn't a | after the last username. _________________________________________________
Thanks!
|
|
inherit
156433
0
Aug 11, 2013 13:26:37 GMT -8
shortiejinete
80
July 2010
shortiejinete
|
Post by shortiejinete on Nov 19, 2012 7:55:18 GMT -8
|
|
inherit
\o/ ^o^ /o_ /o\
16464
0
Jul 22, 2024 13:57:10 GMT -8
pawl
29,621
November 2003
pollo
Pink Stars
|
Post by pawl on Nov 19, 2012 8:18:51 GMT -8
Not exactly. That will remove last edit text for all edit made, not just those by staff/selected members. Had a go myself earlier, realised I was way out of my depth, haha. It'll be doable, but I would imagine that it's not enough to require a plugin. Still, see what the pros think. =]
|
|
inherit
156433
0
Aug 11, 2013 13:26:37 GMT -8
shortiejinete
80
July 2010
shortiejinete
|
Post by shortiejinete on Nov 19, 2012 8:26:51 GMT -8
ah okay my fault. I apologize for the error
|
|
inherit
96172
0
Nov 29, 2017 7:41:17 GMT -8
bluebayou
484
January 2007
bluebayou
|
Post by bluebayou on Nov 19, 2012 10:27:08 GMT -8
Thanks for trying, Paul! I saw the other code, too, and realized that wasn't what I wanted. Oh, and I asked for it to be a plug-in because I have *no idea* what to ask for otherwise. Yeah, I'm that tech-y.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Nov 25, 2012 10:52:44 GMT -8
|
|