Board Logo

 Username:    Password:    Stay logged in: Welcome Guest. Please Login or Register.  Jun 27th, 2017, 05:30am


Board Hacks
Important News
Please read the notes posted with any codes carefully, as they will usually tell you where they need to go.
Welcome to the Conforums Hacks Board!

All codes here have been tested but we accept no responsibility if these codes do not work on your board, or have an adverse effect when used in combination with other codes.

This board is read only. Any queries or requests for codes should be made on the Coding Forum

Helpful sites
Google
Dynamic Drive

The Staff
Roger
Dave
GIzzy



« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Pm center  (Read 3187 times)
Garet
Conforums Elite
Senior Member


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 2073
xx Pm center
« Thread started on: Jul 7th, 2006, 12:14pm »

Headers:

Preview: Click Here

Quote:
<script>
//Orginal code made by HimuraX
//[http://animeuni.net]
//Modified by Garet
//Code Goes in Headers
TD = document.getElementsByTagName('TD')
TD[2].style.display="none"
TB = document.getElementsByTagName('Table')[0].insertRow(2)
InCell = TB.insertCell(-1)
InCell.align='center'
InCell.className='windowbg'


if(TD[2].innerHTML.match(/Hey, (.+?), you /i)){
CurName = RegExp.$1
}
if(TD[2].innerHTML.match(/0 are new/i)){
InCell.innerHTML+="Hey, "+CurName+" - <a href='index.cgi?action=im'>No New Messages</a> - <a href=/index.cgi?action=imsend>Compose New Message</a> - <a href=/index.cgi?action=im&view=outbox>Outbox</a> - <a href=/index.cgi?action=imprefs>Preferences</a>"
}else if(TD[2].innerHTML.match(/1 is new/i)){
InCell.innerHTML+="Hey, "+CurName+" - <a href='index.cgi?action=im'><font color=red>1 New Message</font></a> - <a href=/index.cgi?action=imsend>Compose New Message</a> - <a href=/index.cgi?action=im&view=outbox>Outbox</a> - <a href=/index.cgi?action=imprefs>Preferences</a>"
}else if(TD[2].innerHTML.match(/Guest/i)){
InCell.innerHTML+="Hey, Guest - <a href='index.cgi?action=login'>Login</a> - <a href='index.cgi?action=register'>Register</a>"
}else{
InCell.innerHTML+="Hey, "+CurName+" - <a href='index.cgi?action=im'><font color=red>You Have New Messages</font></a> - <a href=/index.cgi?action=imsend>Compose New Message</a> - <a href=/index.cgi?action=imprefs>Preferences</a> - <a href=/index.cgi?action=im&view=outbox>Outbox</a>"
}
</script>
« Last Edit: Jul 7th, 2006, 1:22pm by Garet » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

Back To Top
Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls