inherit
191708
0
Apr 24, 2013 14:28:50 GMT -8
taedprice
3
March 2013
taedprice
|
Post by taedprice on Mar 23, 2013 16:53:40 GMT -8
I'm trying to resurrect a dead RPG site I had, and I think the v5 upgrade makes it look much nicer. However one thing that was useful on the old site and doesn't seem to be effective anymore is a code that keeps non-staff members from editing their signatures. I use the signature for graphics that indicate their power options, and don't want them being changed or removed by the casual member. The old code goes like this, assuming that I isolated the correct part: <script type="text/javascript"> <!--
if(document.modifyForm && !document.getElementsByTagName('td').item(5).innerHTML.match(/\[Admin\]/)){ document.modifyForm.signature.parentNode.parentNode.parentNode.style.display='none'; }
//--> </script> My site is located at digimonreboot.proboards.com/Thank you to anyone that can help!
|
|
Aaron
New Member
Posts: 146
inherit
190454
0
Jan 4, 2024 0:48:15 GMT -8
Aaron
146
February 2013
aarongoff
|
Post by Aaron on Mar 24, 2013 4:51:32 GMT -8
|
|
inherit
191708
0
Apr 24, 2013 14:28:50 GMT -8
taedprice
3
March 2013
taedprice
|
Post by taedprice on Mar 24, 2013 18:21:10 GMT -8
Excellent. Thank you very much!
|
|