Page 1 of 1
Sessions not always updating? (Last question I promise lol)
PostPosted: 15 Sep 2011, 11:25
by ALieb
So I recently cleared my cache because some of the things on the site weren't working correctly. After I cleared my cache the chat bar completely disappeared so I enabled the "guests can view bar" option and the bar re-appeared but told me that I needed to login or register for it to work. I have an IPB integration can you think of any reason why I can't see the bar after clearing my cache?
PostPosted: 30 May 2012, 14:52
by BBurgos Martinez
I have run into this problem on my board as well. Like you, I haven't figure the cause of the chat disappearing and appearing.
PostPosted: 30 May 2012, 14:59
by Jason
The get_user_id() function in the includes/integration.php file should be replace with this:
- Code: Select all
function get_user_id()
{
$userid = NULL;
foreach ($_COOKIE as $key => $val)
{
if (preg_match("/member_id/", $key))
{
$cookie_name = $key;
}
}
if (isset($_COOKIE[$cookie_name]))
{
$userid = $_COOKIE[$cookie_name];
}
return $userid;
}
Topic Closed
PostPosted: 16 Dec 2014, 00:26
by Staff Bot
[b]This thread has been locked because the last post is greater than six months old. There is a good chance that the information in this thread is outdated. Please open a new topic if you wish to discuss this further.[/b]