Post by R/E/T/N on Feb 4, 2006 17:52:23 GMT
Description: This brings up some text at the bottom of your info centre that says "Administrators are: The administrators names and link to profile' and they have that for Gmod And moderator.
Browser Compatibility: Cross-Browser.
Location: Main Footer
<script type = "text/javascript">
//Staff Centre Key
//Created By Technical
// Leave this header intact
// Do not repost without permission of the author
var td = document.getElementsByTagName("TD");
var staff = new Array( );
//Edit bellow. Copy and paste for more staff.
staff[0] = "<a href = 'URL TO PROFILE'>Display Name</a>"
staff[1] = "<a href = 'URL TO PROFILE'>Display Name</a>"
staff[2] = "<a href = 'URL TO PROFILE'>Display Name</a>"
//Stop Edit
for(t=0;t<td.length;t++){
if(td[t].className == "catbg" && td[t].colSpan == "2" && td[t].innerHTML.match(/Users Online/i)){
var inner = td[t+2].innerHTML;
//Edit Below.
td[t+2].innerHTML = inner+"<center><br> <font size=1>Our Administrator Is: "+staff[0]+"Our Global Moderator Is:"+staff[1]+"Our moderator is:"+staff[2]+"</font></center>"
}}
</script>
Directions are tough, so read closely.
First find the Red part. There, post the URL of each persons profile, THen in the Blue post their display name. This code puts one Admin, One gmod and one moderator. To add more find this line:
Copy and paste that line one mroe tiem for every extra staff that you want. And on the number, increase it by one every time. So if it says staff[2] copy and paste it underneath and change the number from [2] to [3]. Then edit accrodingly.
Next comes the hard part.
Find this line:
Now, First look at the part wher eit says "Our administrars are:" after that it says +staff[0], If you have TWO administrators, then go way up to the line you copied. It probably says staff[4] blah blah. Where it says +staff[0]+ on the administrators add an staff[whatever number you put earlier]+. Do this for global mod and mod accordingly.
Its a little confusing. If you need assistance, feel free to PM me. A good way to add uniquity to any Info Center.
Thank You Major Topio for help on making this code.
-------------------------------------------------------------------------
My first actually usefull, and good to use code.
Browser Compatibility: Cross-Browser.
Location: Main Footer
<script type = "text/javascript">
//Staff Centre Key
//Created By Technical
// Leave this header intact
// Do not repost without permission of the author
var td = document.getElementsByTagName("TD");
var staff = new Array( );
//Edit bellow. Copy and paste for more staff.
staff[0] = "<a href = 'URL TO PROFILE'>Display Name</a>"
staff[1] = "<a href = 'URL TO PROFILE'>Display Name</a>"
staff[2] = "<a href = 'URL TO PROFILE'>Display Name</a>"
//Stop Edit
for(t=0;t<td.length;t++){
if(td[t].className == "catbg" && td[t].colSpan == "2" && td[t].innerHTML.match(/Users Online/i)){
var inner = td[t+2].innerHTML;
//Edit Below.
td[t+2].innerHTML = inner+"<center><br> <font size=1>Our Administrator Is: "+staff[0]+"Our Global Moderator Is:"+staff[1]+"Our moderator is:"+staff[2]+"</font></center>"
}}
</script>
Directions are tough, so read closely.
First find the Red part. There, post the URL of each persons profile, THen in the Blue post their display name. This code puts one Admin, One gmod and one moderator. To add more find this line:
staff[2] ="<a href = URL TO PROFILE>Display Name</a>
Copy and paste that line one mroe tiem for every extra staff that you want. And on the number, increase it by one every time. So if it says staff[2] copy and paste it underneath and change the number from [2] to [3]. Then edit accrodingly.
Next comes the hard part.
Find this line:
td[t+2].innerHTML = inner+"<center><br> <font size=1>Our Administrators are: "+staff[0]+"Our Global Moderators are:"+staff[1]+"Our moderators are:"+staff[2]+"</font></center>"
Now, First look at the part wher eit says "Our administrars are:" after that it says +staff[0], If you have TWO administrators, then go way up to the line you copied. It probably says staff[4] blah blah. Where it says +staff[0]+ on the administrators add an staff[whatever number you put earlier]+. Do this for global mod and mod accordingly.
Its a little confusing. If you need assistance, feel free to PM me. A good way to add uniquity to any Info Center.
Thank You Major Topio for help on making this code.
-------------------------------------------------------------------------
My first actually usefull, and good to use code.