inherit
Beware the ever changing head
33588
0
Nov 18, 2023 0:32:44 GMT -8
Ross
19,039
November 2004
elindir
|
Post by Ross on Jun 20, 2005 14:13:15 GMT -8
What this does is enable you to decide who is allowed to edit karma when editing a members (or their own) profile, but still lets them edit everything else. Main Footer:<script type="text/javascript"> <!-- /* limit who can edit karma by elindir 101support.proboards43.com */ var allowed = /user=( admin|gmod1|gmod2);/i; var ka=document.getElementsByTagName("td") for (e=0;e<ka.length;e++) { if(location.href.match(/action=modifyprofile/gi) && !document.cookie.match(allowed) && ka[e].innerHTML.match(/Karma/) && ka[e].width.match(/160/) && ka[e].vAlign.match(/top/)){ ka[e].style.display="none"; ka[e+1].style.display="none"; ka[e+2].style.display="none"; }} // --> </script>
The red part is where you edit who is allowed to modify Karma. Each username needs to be seperated by a "|" line.
|
|