|
Post by Bradley on Jul 4, 2005 0:07:08 GMT -5
This will change the rank title of a user to another name without the need for a custom member group.
Global Footers
<script type="text/javascript"> <!-- /* Default Title Customizer - DOM Copyright © 2005 Bradley Nelson a.k.a. CCWorld
This Header must remain intact at all times. */
var TD; var TDT; function Customize(Usn,OriginalTitle,CustomTitle) { TD = document.getElementsByTagName("td"); for(i=0; i<TD.length; i++) { if(TD.item(i).width == "20%" && TD.item(i).getElementsByTagName("a").item(0).href.match("user="+Usn)){ TDT = TD.item(i).childNodes; TD.item(i).replaceChild(document.createTextNode(CustomTitle), TDT.item(2)); } } } Customize("admin","Administrator","Ruler"); //--> </script>
The username of the person The current title of the person The new title of the person
Repeat Customize("admin","Administrator","Ruler"); for more users.
|
|