eln82
New Member
Posts: 5
|
Post by eln82 on Apr 13, 2007 9:39:25 GMT
I've just tried the updated code and it's still not preventing guests viewing and leaving me with the same "no user by that name exists" message at the top of my homepage. This is the code that i have now got in my main header, maybe theres something else i needed to change which i've missed? <script> if (pb_username == 'Guest') { document.write('<style>#shoutbox {display: none;}</style>'); } </script> <div id="shoutbox"><script type="text/javascript" src="http://saybox2.co.uk/output.php?user=paranormalportal"></script></div> Do i need to alter any aspect of the original saybox code which is in the main footer? Emma
|
|
|
Post by Ron on Apr 13, 2007 19:45:19 GMT
I've just tried the updated code and it's still not preventing guests viewing and leaving me with the same "no user by that name exists" message at the top of my homepage. This is the code that i have now got in my main header, maybe theres something else i needed to change which i've missed? <script> if (pb_username == 'Guest') { document.write('<style>#shoutbox {display: none;}</style>'); } </script> <div id="shoutbox"><script type="text/javascript" src="http://saybox2.co.uk/output.php?user=paranormalportal"></script></div> Do i need to alter any aspect of the original saybox code which is in the main footer? Emma Hi Emma, The code is meant to replace the current one you have on your page. In other words, remove the saybox code you have in your footers and place the code you've got here in that spot (If that's where you want the saybox to continue to be). The reason it is displaying "no user by that name exists" is because the URL in the SayBox code you posted should read: http://saybox 3.co.uk/output.php?user=paranormalportal rather than http://saybox 2.co.uk/output.php?user=paranormalportal If you remove the current SayBox code you have in your footers and replace it with the code below, you should be good to go: <script> if (pb_username == 'Guest') { document.write('<style>#shoutbox {display: none;}</style>'); } </script> <div id="shoutbox"><script type="text/javascript" src="http://saybox3.co.uk/output.php?user=paranormalportal"></script></div>
Ron
|
|
eln82
New Member
Posts: 5
|
Post by eln82 on Apr 14, 2007 13:17:55 GMT
Thats great, its all working now, thanks
|
|
Mark
New Member
Posts: 18
|
Post by Mark on Aug 15, 2008 20:05:24 GMT
is that the real martyn dale?
|
|