Post by Cam on Dec 1, 2010 3:19:27 GMT
Name Of Code: Ultimate customization code v1
Copyright Stuff: You may not post this else where, you can ask me to post this on your forum, but do not rip, claim as your own etc.
Instructions: This is a complicated code, so here it goes
All the numbers which are in RED are ones you edit, you don't edit anything else. Putting a 1 means you want it to do that thing, putting a 0 means you don't want it to do it.
So, underneath the line I will explain what that bit does.
var hide_banner = '1';
SET TO 1 TO HIDE BANNER, SET TO 0 TO NOT
var hide_nav_bar = '1';
SET TO 1 TO HIDE THE NAV-BAR
var hide_nav_bar_guests = '1';
HIDE NAV-BAR TO GUEST PUT 1 PUT 0 IF YOU DON'T WANT IT TO
var hide_nav_bar_user = '1';
HIDE THE NAV-BAR TO A USER, PUT 1 IF YOU WANT 0 IF YOU DON'T
var little_box_4_guests_2_join = '1';
PUT 1 TO MAKE THE BOX APPEAR 0 TO NOT
var nav_bar_left = '1';
PUT 1 TO PUT THE NAV-BAR TO THE LEFT 0 TO NOT NOTE IF YOU WANT TO USE THE RIGHT YOU HAVE TO PUT A 0 HERE
var nav_bar_right = '1';
PUT 1 TO PUT THE NAV-BAR TO THE RIGHT 0 TO NOT NOTE IF YOU WANT TO USE THE LEFT YOU HAVE TO PUT A 0 HERE
var heyx_you_have_message = '1';
PUT 1 TO HIDE HEYX YOU HAVE X MESSAGES 0 TO NOT.
Hopefully that was easy to understand
Code:
Thanks and good luck using it, use the support board for support.
Copyright Stuff: You may not post this else where, you can ask me to post this on your forum, but do not rip, claim as your own etc.
Instructions: This is a complicated code, so here it goes
All the numbers which are in RED are ones you edit, you don't edit anything else. Putting a 1 means you want it to do that thing, putting a 0 means you don't want it to do it.
So, underneath the line I will explain what that bit does.
var hide_banner = '1';
SET TO 1 TO HIDE BANNER, SET TO 0 TO NOT
var hide_nav_bar = '1';
SET TO 1 TO HIDE THE NAV-BAR
var hide_nav_bar_guests = '1';
HIDE NAV-BAR TO GUEST PUT 1 PUT 0 IF YOU DON'T WANT IT TO
var hide_nav_bar_user = '1';
HIDE THE NAV-BAR TO A USER, PUT 1 IF YOU WANT 0 IF YOU DON'T
var little_box_4_guests_2_join = '1';
PUT 1 TO MAKE THE BOX APPEAR 0 TO NOT
var nav_bar_left = '1';
PUT 1 TO PUT THE NAV-BAR TO THE LEFT 0 TO NOT NOTE IF YOU WANT TO USE THE RIGHT YOU HAVE TO PUT A 0 HERE
var nav_bar_right = '1';
PUT 1 TO PUT THE NAV-BAR TO THE RIGHT 0 TO NOT NOTE IF YOU WANT TO USE THE LEFT YOU HAVE TO PUT A 0 HERE
var heyx_you_have_message = '1';
PUT 1 TO HIDE HEYX YOU HAVE X MESSAGES 0 TO NOT.
Hopefully that was easy to understand
Code:
<script type = "text/javascript">
<!--
// Ultimate customization code v1
// © Luke Mansell 2010
// codercommunity.proboards.com
var hide_banner = '1';
var hide_nav_bar = '1';
var hide_nav_bar_guests = '1';
var hide_nav_bar_user = '1';
var little_box_4_guests_2_join = '1';
var nav_bar_left = '0';
var nav_bar_right = '1';
var heyx_you_have_message = '1';
if(hide_banner=='1'){
document.getElementsByTagName('td')[1].style.display = 'none';
}
if(hide_nav_bar=='1'){
document.getElementsByTagName('td')[3].style.display = 'none';
}
if(hide_nav_bar_guests=='1'){
if(pb_username=='Guest'){
document.getElementsByTagName('td')[3].style.display = 'none';
}
}
if(hide_nav_bar_user=='1'){
if(pb_username=='usernamehere'){
document.getElementsByTagName('td')[3].style.display = 'none';
}
}
if(little_box_4_guests_2_join=='1'){
if(pb_username=='Guest'){
document.write('<table width="auto" align="center" cellspacing="1" cellpadding="6"><tr><td align="center" style="border: 1px solid #000000;" id="tablex"></td></tr></table>')
var tablex = document.getElementById("tablex");
tablex.innerHTML = '<font size=4>Hello Guest and welcome to our forum! Please consider <a href="/index.cgi?action=register">registering</a> or if your already a user <a href="/index.cgi?action=login">login</a> Thanks! </font>';
}
}
if(nav_bar_left=='1'){
document.getElementsByTagName("td")[5].align="left";
}
if(nav_bar_right=='1'){
document.getElementsByTagName("td")[5].align="right";
}
if(heyx_you_have_message=='1'){
document.getElementsByTagName('td')[2].style.display = 'none';
}
//-->
</script>
Thanks and good luck using it, use the support board for support.