This is definitely NOT Joomla problem. Problem is that simpleboard -> joomlaboard -> and now FireBoard maintain their own sessions for users, not using Joomla sessions, here is the code:
file: fireboard.php
Session maintaining code starts at line 226, later on you will find line responsible for reload
| Code: |
line 265: echo 'setTimeout("window.location.reload( true )",100);';
|
Why set timeout instead of direct reload in original code? Reload must happen after database update in next lines (out of if statement) otherwise there is endless loop of redirection.
FireBoard guys should definitely get a rid of their own session table and use Joomla session table to identify visitor. Or do dual system, in case of joomla installation use joomla sessions, in case of stand alone installation use fireboard sessions.
I replaced mentioned code with quick and dirty fix (may be not too dirty). Code odes exactly same but "reload" is happening "on background":
| Code: |
global $mosConfig_live_site;
$database->setQuery("UPDATE #__fb_sessions SET lasttime=$systime where userid=$my->id"«»);
$database->query();
mosRedirect($mosConfig_live_site.$_ENV["REQUEST_URI"]);
|
Works very nice.