|
Post by Seti on Dec 2, 2004 19:57:15 GMT -5
I am trying to put in a code so that it names me the head admin the Dark Lord but the other admins dont get called that. I was told by Tommy to come here and ask for help. Also I have no clue how to put in codes my friends did that for me and never told me how.
|
|
|
Post by Bradley on Dec 2, 2004 20:16:13 GMT -5
I hope I explain this well enough... In the following code replace the blue part with the normal name for admins. The one you have entered in the admin panel for the position of administrator. <script> <!-- //Default Title Customizer V3 by Jello // *May not be posted anywhere except Solid Snake Designs and Gray Grid Designs* // ssdesigns.proboards17.com //http://swg.proboards4.com function Customizer(Username,OriginalTitle,CustomTitle){ var get=document.getElementsByTagName; var TD=get("TD"); for(t=0;t<TD.length;t++){ if(TD[t].getElementsByTagName("A")[0].href.match("username="+Username)){ if(TD[t].width=="160" || TD[t].width=="20%"){ TD[t].innerHTML=TD[t].innerHTML.replace(OriginalTitle,CustomTitle); }}}} Customizer("admin","NORMAL NAME HERE","Dark Lord") // --> </script>Copy this code and then go to the admin panel. Under Customize Your Board click on Modify Headers and Footers. For each board and the main page there is a header and a footer. Place this code in the footers of every section. Make sure to change the blue part and to not paste this into another code.
|
|
|
Post by Seti on Dec 3, 2004 15:35:36 GMT -5
Thanx for the help but it did not work.
|
|
|
Post by Bradley on Dec 3, 2004 15:44:47 GMT -5
What's the current name in the admin panel (under Edit Member Groups) for Administrator?
|
|
|
Post by Seti on Dec 3, 2004 18:37:32 GMT -5
Administrator
|
|
|
Post by Tommy Huynh on Dec 4, 2004 2:29:32 GMT -5
Well, do you even need the extra admins? You can just give them a custom title since you told it'll be an RP Board.
|
|
|
Post by Bradley on Dec 4, 2004 9:58:54 GMT -5
Tommy, did you eat part of the code before you posted it in the code database? It doesn't work.
|
|
|
Post by Tommy Huynh on Dec 4, 2004 18:53:58 GMT -5
Tommy, did you eat part of the code before you posted it in the code database? It doesn't work. Nope. I posted it as exactly as Jello gave me the code. (Creator of the code) In the meanwhile, try using this: <script> //Custom Title Modifier created by Webworldx function custTitle(username,oldtitle, title){ if (location.href.indexOf("action=display") != -1) { tCat = document.getElementsByTagName('TD'); for (i=0;i<tCat.length;i++){ if (tCat .width=="20%" && tCat.innerHTML.match("Posts") && tCat.innerHTML.match("member is")){ if (tCat.innerHTML.match("username=" + username)){ tCat.innerHTML=tCat.innerHTML.replace(oldtitle,title) }}}}}
custTitle("UsErNaMe","oLd TiTlE","New title")
</script>
Board footers.
|
|