Post by Krolowaz on Jan 14, 2006 23:49:44 GMT -8
It just wont apply to my board. It doesnt affect it at all.
<!--
// Welcome Center Z for ProBoards by Z-Ramm
// You may not re-post or distribute this code without permission from Z-Ramm
// Find this code and more at ZTech: http://ztechforum.proboards49.com
// Last edited 7/15/2005 10:40 AM
var newsMsg = new Array();
var linkText = new Array();
var linkURL = new Array();
//CUSTOMIZE THIS SECTION
//Edit this section to customize your welcome center
//Enter a welcome message within the quotes
//This will be displayed as "[Message], Guest" or "[Message], Username"
var welcomeText='Welcome';
//Enter the name of your forum within the quotes
var forumName='Master RP Forum';
//Place news messages here. For each new message you add, increase the number in brackets.
//NOTE: If your message contains quotes (either ' or "), add \ before it...
//Example: newsmsg[3]='\"Jeff\'s Site\"';
newsMsg[0]='<b>Welcome to MRPF!</b>';
newsMsg[1]='You can join in on a <a href='http://mrpf.proboards83.com/index.cgi?board=halorp'>Halo RP</a> or join the You can join in on a <a href='http://mrpf.proboards83.com/index.cgi?board=cityofthedamned'>City Of The Damned</a>.';
newsMsg[2]='';
newsMsg[3]='';
newsMsg[4]='';
newsMsg[5]='Enjoy your RP!';
//For each linkText, enter the description of the link you wish to show.
//Add the URL of the link in the corresponding linkURL.
//For each new link you add, increase the number in brackets.
linkText[0]='Home';
linkURL[0]='index.cgi';
linkText[1]='';
linkURL[1]='';
linkText[2]='';
linkURL[2]='';
linkText[3]='View Profile';
linkURL[3]='index.cgi?action=viewprofile';
linkText[4]='View Bookmarks';
linkURL[4]='index.cgi?action=bookmarks';
//Enter the message that you want guests to see within the quotes
var guestWelcome='Welcome, guest, to the Master RP Forum. Please register to begin your RP experience.';
//If you want guests to see the "Quick Links" section, set the number to 1
//If you want "Quick Links" to be hidden from guests, set the number to 0
var guestsSeeLinks=0;
//If you want guests to see the message "Please Log In or Register," set the number to 1
//If you do not want guests to see this message, set the number to 0
var displayLoginMsg=1;
//If you want the bottom of your welcome center to display "Welcome Center Z by Z-Ramm" and
// "Find this code and more at ZTech," set the number to 2
//If you want the bottom of your welcome center to display "Welcome Center Z by Z-Ramm,"
// set the number to 1
//If you do not want a bottom bar on your welcome center, set the number to 0
var bottomBarPrefs=0;
//If you want "Report to Admin" listed in the PM Control Center, set the number to 1
//If you don't want a "Report to Admin" link, set the number to 0
var showAdminReport=0;
//If you want an "Admin Area" link listed in the Quick Links menu, set the number to 1
// If activated, this link will only show to those users who have access to the admin area
//If you don't want an "Admin Area" link, set the number to 0
var showAdminLink=0;
//Enter the height (in pixels) for the announcement scroller
//(Recommended: Between 100 and 200)
var scrollerHeight=130;
//Enter the text-scrolling speed for the announcement scroller
//1 is slow, 2 is medium, 3 is fast
var scrollSpeed=1;
//END CUSTOMIZATION
//Do not edit anything in the area below
var loggedIn=0;
if(document.getElementsByTagName('td')[2].innerHTML.match(/Hey,\s(.+?),\syou\shave\s(.+?),\s(\d+)/i)) {
loggedIn=1;
}
var isAdmin=0;
var img=document.getElementsByTagName('img');
for (i=0; i<img.length; i++) {
if(document.getElementsByTagName('img')[i].alt=='[Admin]') {
isAdmin=1;
}
}
document.write('<table align=\"center\" width=\"92%\" border=\"0\" class=\"bordercolor\"><tr><td><table border=\"0\" width=\"100%\"><tr><td class=\"titlebg\" align=\"center\" colspan=\"3\">');
if(loggedIn) {
var userName = RegExp.$1;
var numNewMsgs = RegExp.$3;
if(numNewMsgs == '0') {
numNewMsgs = 'no';
}
if(numNewMsgs == '1') {
var pluralText = '';
} else {
var pluralText = 's';
}
document.write('<font size=\"+1\"><b>'+welcomeText+' to '+forumName+', '+userName+'.</b></font><br>');
document.write('<b>You have <a href=\"index.cgi?action=pm\">'+numNewMsgs+' new message'+pluralText+'</a>.</b></td></tr><tr>');
} else {
document.write('<b>'+welcomeText+', Guest. You are now visiting '+forumName+'.');
if(displayLoginMsg) {
document.write('<br>Please <a href=\"index.cgi?action=login\">Log In</a> or <a href=\"index.cgi?action=register\">Register</a>.');
}
document.write('</b></td></tr><tr><td class=\"windowbg2\" style=\"padding: 6px;\">'+guestWelcome);
}
if(loggedIn||guestsSeeLinks) {
document.write('<td class=\"windowbg\" width=\"20%\" valign=\"top\"><div align=\"center\"><b>Quick Links</b><br>')
for (i=0; i<linkURL.length; i++) {
document.write('<a href=\"'+linkURL[i]+'\">'+linkText[i]+'</a><br>');
}
if (isAdmin&&showAdminLink) {
document.write('<a href=\"index.cgi?action=admin\">Admin Area</a>');
}
document.write('</div></td>')
}
if(loggedIn){
document.write('<td width=\"50%\" valign=\"top\" class=\"windowbg2\"><center><b><u>'+forumName+': News and Announcements</u></b></center><marquee direction=\"up\" scrollamount=\"'+scrollSpeed+'\" height=\"'+scrollerHeight+'\">');
for(i=0; i<newsMsg.length; i++) {
document.write('<center>'+newsMsg[i]+'</center><br>');
}
document.write('</marquee></td>');
document.write('<td width=\"20%\" class=\"windowbg\" valign=\"top\"><div align=\"center\"><b>PM Control Panel</b><br><a href=\"index.cgi?action=pmsend\">Send New PM</a><br>');
if(showAdminReport) {
document.write('<a href=\"index.cgi?action=pmsend&to=admin\">Report to Admin</a><br>');
}
document.write('<a href=\"index.cgi?action=pm\">View PM Inbox</a><br><a href=\"index.cgi?action=pm&view=2\">View PM Outbox</a><br><a href=\"index.cgi?action=pmprefs\">PM Preferences</a></div></td>');
}
if((!loggedIn)&&(!guestsSeeLinks)) {
document.write('</td>');
}
if(bottomBarPrefs>0) {
document.write('<tr><td class=\"windowbg2\" colspan=\"3\"><div align=\"center\" style=\"font-size: 7pt;\">Welcome Center Z by Z-Ramm');
if (bottomBarPrefs==2) {
document.write('<br>Find this code and more at <a href="http://ztechforum.proboards49.com">ZTech</a>');
}
document.write('</div></td>');
}
document.write('</tr></table></td></tr></table>');
-->
</script>