There is only one edit, I think
in fireboard.php file find
[code:1]
{ //grant them 30 minutes of inactivity; then recheck privileges and try to send them back where they came from
setQuery("UPDATE #__fb_sessions SET allowed='na', readtopics='' where userid=$my->id");
$database->query();
setcookie("fboard_settings[prevvisit]", $fbSession->lasttime, time() + 31536000, '/');
// do not reload the page if user is posting :: TODO: check if it cab be replaced by mosRedirect
if ($func != "post") {
echo 'setTimeout("window.location.reload( true )",100);';
}
}
$database->setQuery("UPDATE #__fb_sessions SET lasttime=$systime where userid=$my->id");
$database->query();
}
[/code:1]
replace it with this ([color=#FF0000]changes are in red color[/color])
{ //grant them 30 minutes of inactivity; then recheck privileges and try to send them back where they came from
$database->setQuery("UPDATE #__fb_sessions SET [color=#FF0000]lasttime=$systime, [/color]allowed='na', readtopics='' where userid=$my->id");
$database->query();
setcookie("fboard_settings[prevvisit]", $fbSession->lasttime, time() + 31536000, '/');
// do not reload the page if user is posting :: TODO: check if it cab be replaced by mosRedirect
if ($func != "post") {
[color=#FF0000]$self_url = sprintf('http%s://%s%s',
(isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == TRUE ? 's': ''),
$_SERVER['HTTP_HOST'],
$_SERVER['REQUEST_URI']
);
mosRedirect($self_url);[/color]
die();
[color=#FF0000]//[/color]echo 'setTimeout("window.location.reload( true )",100);';
}
}
$database->setQuery("UPDATE #__fb_sessions SET lasttime=$systime where userid=$my->id");
$database->query();
}