yea that's the one. i've got it...
<script type="text/javascript" language="javascript">
/*************************\
Code created by [dmsuperman]
May not be reposted
May not be edited
Header MUST stay in tact for use
55 Lines, minus opening and closing tags, and all coments
Fast loading time
\*************************/
//Do not edit any of this:
var TD = document.getElementsByTagName("TD");
if(TD[2].innerHTML.match("Hey")){
var total = TD[2].innerHTML.split(" message")[0].split("<A href=\"index.cgi?action=im\">")[1];
var pms = TD[2].innerHTML.split("</A>, ");
if(TD[2].innerHTML.match(" are new")){
var pms = pms[1].split(" are new")[0];
}else if(TD[2].innerHTML.match(" is new")){
var pms = pms[1].split(" is new")[0];
}}if(TD[2].innerHTML.match("Hey, ")){
var name = TD[2].innerHTML.split("Hey, ")[1].split(", you have ")[0];
}else{
var name = "Guest";
}
//End of do not edit stuff, for now
//Edit all of these:
var UseImage = "yes";
//If you use an image for your PM code, put yes here. If not, use anything else
var NoNewImage = "
216.40.206.219/boardimages/menu/admin.gif";//If you are using images for the pm bar, here is the url to the no new pm's image
var UnoNewImage = "
216.40.206.219/boardimages/menu/admin.gif";//If you are using images for the pm bar, here is the url to the 1 new pm's image
var ManyNew = "
216.40.206.219/boardimages/menu/admin.gif";//If you are using images for the pm bar, here is the url to the many new pm's image
var PmsText = "Hello, "+name+", you have <a href=index.cgi?action=im>"+pms+"</a> new PMs, "+total+" total.";
//This is the message for people to see when they open the bar.
var AltText = "You have "+pms+" new PM(s), "+total+" total.";
//If you are using an image for the button, this will be the message when they hold
//there mouse over the button. Use "+name+" for there name, "+pms+" for new
//pms, and "+total+" for total pm's. You may not use " or ' in this sentance.
var AdminMsg = "yes";
//Use yes if you wish to include a link to send a staff member a message.
var MsgUser = "admin";
//This is the username of the person you wish to send a message to.
var MsgText = "Send the admin a PM";
//This is the text that the person will see to send a message to the defined person
//above
var MsgSubject = "Hello admin";
//This is the subject of the message to be sent to the specified user above
var HideOrigPm = "yes";
//Leave this as yes if you wish to hide the original area with the PM and date and such
//Do not edit below this point
//Or you will break the code
function hide (ID) {
var ID=document.getElementById(ID);
if(ID.style.display=='none'){ID.style.display='';}
else{ID.style.display='none';}
}
if(HideOrigPm=="yes"){
TD[2].style.display="none";
}
if(name!="Guest"){
if(UseImage=="yes"){
if(pms=="0"){
TD[5].innerHTML+="<br /><div align=left><a href=javascript:hide('pmbar');><img src="+NoNewImage+" border=0 alt='"+AltText+"'></a></div>";
}else if(pms=="1"){
TD[5].innerHTML+="<br /><div align=left><a href=javascript:hide('pmbar');><img src="+UnoNewImage+" border=0 alt='"+AltText+"'></a></div>";
}else{
TD[5].innerHTML+="<br /><div align=left><a href=javascript:hide('pmbar');><img src="+ManyNew+" border=0 alt='"+AltText+"'></a></div>";
}}else{
TD[5].innerHTML+="<br /><div align=left><a href=javascript:hide('pmbar');>"+PmsText+"></a></div>";
}
if(AdminMsg=="yes"){
var MsgMsg = " - <a href=index.cgi?action=imsend&to="+MsgUser+"&subject="+MsgSubject+">"+MsgText+"</a>";
}
TD[5].innerHTML+="<table border=0 width=100%><tr><td id=pmbar style=display:none;><center>"+PmsText+"</center><hr width=100%><center><a href=index.cgi?action=im>Inbox</a> - <a href=index.cgi?action=im&view=outbox>Outbox</a> - <a href=index.cgi?action=imsend>Compose new message</a> - <a href=index.cgi?action=imprefs>Preferences</a>"+MsgMsg+"</center></td></tr></table>";
}else{
TD[5].innerHTML+="<div align=left>Please <a href=index.cgi?action=login>login</a> or <a href=index.cgi?action=register>register</a> to use PM center";
}
</script>
ok, just put it in all the headers and you should be fine
. i hope it works and people like it (if you don't like it, you can always trash it lol).