inherit
35652
0
Apr 29, 2007 13:25:46 GMT -8
Paytonrain
36
January 2005
paytonrain
|
Post by Paytonrain on Jun 20, 2005 14:08:21 GMT -8
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 20, 2005 14:17:22 GMT -8
<script type="text/javascript"> <!--
var isIn = (document.cookie.match(/user=/i))? true : false;
if(!isIn){ document.write('<style>#shoutbox {display: none;}</style>'); }
//--> </script>
|
|
inherit
35652
0
Apr 29, 2007 13:25:46 GMT -8
Paytonrain
36
January 2005
paytonrain
|
Post by Paytonrain on Jun 20, 2005 14:37:06 GMT -8
I don't think that worked. At least it didn't totally disappear like the other code made it do but now it seems to show up even if I log out. Here is my board the shoutbox should be at the bottom for members and not visible at all to anyone not logged in. fantasykings.proboards18.com/index.cgi
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 20, 2005 14:41:48 GMT -8
It works fine, the problem is that you haven't closed the div tag around the shoutbox
|
|
inherit
35652
0
Apr 29, 2007 13:25:46 GMT -8
Paytonrain
36
January 2005
paytonrain
|
Post by Paytonrain on Jun 20, 2005 14:49:35 GMT -8
What do I need to close? Here is that code.
<div id="shoutbox"><center><!-- Start Shoutbox Include --> <iframe src="http://www.shoutmix.com/box/fantasykings/" width="500" height="400" scrolling="yes" frameborder="1"> <p><a href="http://www.shoutmix.com/box/fantasykings/">View shoutbox</a></p> </iframe> <!-- End Shoutbox Include -->
|
|
inherit
38464
0
Jun 8, 2007 12:03:04 GMT -8
[HkK Rly]
1,742
March 2005
maddenking2
|
Post by [HkK Rly] on Jun 20, 2005 14:50:22 GMT -8
<div id="shoutbox"><center><!-- Start Shoutbox Include --> <iframe src="http://www.shoutmix.com/box/fantasykings/" width="500" height="400" scrolling="yes" frameborder="1"> <p><a href="http://www.shoutmix.com/box/fantasykings/">View shoutbox</a></p> </iframe> <!-- End Shoutbox Include --></center></div>
Try that.
|
|
inherit
35652
0
Apr 29, 2007 13:25:46 GMT -8
Paytonrain
36
January 2005
paytonrain
|
Post by Paytonrain on Jun 20, 2005 15:07:32 GMT -8
Ok... I had to delete my cookies then it disappeared...
The help around simply amazes me... Thanks a million.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 21, 2005 14:25:31 GMT -8
No problem
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Jun 21, 2005 21:15:47 GMT -8
Note that there's a cookie property that includes the word "user" and stays with you even when you log out. Type in javascript:document.cookie and you wil see it. Though technically you need to have been logged in on the board at some point, members who are logged off will still be able to access the shoutbox.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 22, 2005 13:55:21 GMT -8
Well, if you going to be picky, just throw \w+ into the pattern. Problem solved.
|
|
inherit
Proboards Legend
212
0
May 11, 2006 12:32:55 GMT -8
california
21,035
December 1999
california
|
Post by california on Jun 23, 2005 0:32:55 GMT -8
How would \w+ help? You want to match the user part, not the supportuser part, so I think you'd use \s or \b.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jun 23, 2005 1:18:44 GMT -8
Ah yeah, sorry, didn't even know that was in the cookie till just now.
|
|