bile
Junior member
Posts: 64
|
Post by bile on Nov 6, 2005 13:59:30 GMT -5
The Main page shows:
GUEST!:Want to know what you get when you sign up? Look Here!
You should have it Display Something Different When The User Logs In
Their is a code to do that, and If you would like it I will Give It too you free of chage!
|
|
|
Post by hotfoot on Nov 6, 2005 15:21:25 GMT -5
Yes please! That would be great! PS. Check your PM's
|
|
bile
Junior member
Posts: 64
|
Post by bile on Nov 6, 2005 17:53:19 GMT -5
Try This:
Global Header
<script type="text/javascript"> <!--
// Object PM Bar By Kenshin // Editied By Bile
Object = document.getElementsByTagName('TD'); if(Object[2].innerHTML.match(/Hey, (.+?), you/i)){ ObjUser = RegExp.$1 }
if(Object[2].innerHTML.match(/action=pm">(\d+) messages/i)){ ObjMsg = RegExp.$1 }
if(Object[2].innerHTML.match(/, (\d+) (\w+) new./i)){ ObjNew = RegExp.$1 }
Object[2].style.display='none'
ObjCell.className = 'catbg'
if(Object[2].innerHTML.match(/Guest/i)){ document.write( '<div align="center"><span style="font-size: 20px;"><b><i><u>GUEST!</u></i></b>:Want to know what you get when you sign up? Look <a href="http://pcpc.proboards58.com/index.cgi?board=guest&action=display&thread=1129486059" target="_Blank">Here!</a></span></div>') } else { document.write('<div align="center"><span style="font-size: 20px;"><b>Welcome</b> '+ObjUser+' </span></div>') } //-->
</script>
|
|
|
Post by hotfoot on Nov 6, 2005 17:57:10 GMT -5
NICE! Thanks alot man!
|
|
|
Post by hotfoot on Nov 6, 2005 17:59:57 GMT -5
...Now theres no buttons
|
|
bile
Junior member
Posts: 64
|
Post by bile on Nov 6, 2005 18:05:02 GMT -5
The Code Worked Fine On my board, All I did was copy and past.
I placed It at the very bottom of the Global Header
|
|
|
Post by hotfoot on Nov 6, 2005 18:19:18 GMT -5
Nope
|
|