Dear FireBoard users,
In order to further develope the need of Joomla for a robust forum, FireBoard component has been moved to its own new home and new name. You can find more information regarding the Kunena, the successor of FireBoard, at kunena.com. The current forum here will stay for some time more for referencing needs. You can find the FireBoard files under joomlacode.org and other files
Upgrading to Kunena is highly recommended!

Kunena! - To Speak!

A revolution is coming... Kunena - Swahili for: To Speak! THE Next generation of native Joomla based Forum ultra component. Forget what you know about Joomla based forums...
Amazingly Simple Lean and Clean Easier Customization
Kunena is about to redefine the world of Joomla! with the most simplistic ultra component out there. For ultimate performance based on state of the art development techniques, Kunena! is about to bring you... With an integrated plugin system that will allow you to extend Kunena beyond your wildest imaginations...
Fix 02 - FB (1.0.3) - Correction of BUG
TOPIC: Fix 02 - FB (1.0.3) - Correction of BUG
#30443
Fix 02 - FB (1.0.3) - Correction of BUG 9 Years, 10 Months ago  
Dears Members.

[b]Fix Number:[/b] 02
[b]Fireboard:[/b] 1.0.3 (Realease)
[b]File(s):[/b]fireboard.php

[b]BUG:[/b]

- The first page load twice.

[color=#000080][b]Procedure: [/b][/color]

1 - Make backup of your files and database of Joomla and Fireboard.

1 - Make Download of the file attach. (fireboard.zip)

2 - Unzip the file of fireboard.zip

3 - Go the folder. (With a program of FTP or JoomlaXplorer)

[quote]Joomla_root/components/com_fireboard[/quote]

Change the file [b]fireboard.php[/b] by in attached.

[i]Only Information.[/i]

[color=#000080][b]Changes: [/b][/color]

File fireboard.php

In line 18.

Insert this code.

[code:1]$self_url = sprintf(\'http%s://%s%s\',
(isset($_SERVER[\'HTTPS\']) && $_SERVER[\'HTTPS\'] == TRUE ? \'s\': \'\'),
$_SERVER[\'HTTP_HOST\'],
$_SERVER[\'REQUEST_URI\']
);[/code:1]

and line 245 change this code:

[code:1]if ($new_fb_user != 1)
{ //get session information, update last time timestamp.
$inactivePeriod = ($fbSession->lasttime)+1800;

if ($inactivePeriod 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]

To;

[code:1] if ($new_fb_user != 1)
{ //get session information, update last time timestamp.
$inactivePeriod = ($fbSession->lasttime)+1800;

if ($inactivePeriod setQuery(\"UPDATE #__fb_sessions SET allowed=\'na\',lasttime={$systime}, 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\"«») {

mosRedirect($self_url);
die();
/* echo \'setTimeout(\"window.location.reload( true )\",100);\';*/
}
}

$database->setQuery(\"UPDATE #__fb_sessions SET lasttime={$systime} where userid={$my->id}\"«»);
$database->query();
}
[/code:1]

[color=#FF0000][b]Attention!! [/b]
This change won\'t be definitive for the next realease, we are studying a better solution for this BUG. They put this correction will do with that your Fireboard doesn\'t show this BUG. [/color]

Waiting our next realease.

Cu, Trorram [file name=fireboard-67b98b7f7b08bdbddcf271a497abeceb.zip size=7421]http://fireboard.bestofjoomla.com/images/fbfiles/files/fireboard-67b98b7f7b08bdbddcf271a497abeceb.zip[/file]
#30443
Fix 02 - FB (1.0.3) - Correction of BUG 9 Years, 10 Months ago  
Dears Members.

[b]Fix Number:[/b] 02
[b]Fireboard:[/b] 1.0.3 (Realease)
[b]File(s):[/b]fireboard.php

[b]BUG:[/b]

- The first page load twice.

[color=#000080][b]Procedure: [/b][/color]

1 - Make backup of your files and database of Joomla and Fireboard.

1 - Make Download of the file attach. (fireboard.zip)

2 - Unzip the file of fireboard.zip

3 - Go the folder. (With a program of FTP or JoomlaXplorer)

[quote]Joomla_root/components/com_fireboard[/quote]

Change the file [b]fireboard.php[/b] by in attached.

[i]Only Information.[/i]

[color=#000080][b]Changes: [/b][/color]

File fireboard.php

In line 18.

Insert this code.

[code:1]$self_url = sprintf(\'http%s://%s%s\',
(isset($_SERVER[\'HTTPS\']) && $_SERVER[\'HTTPS\'] == TRUE ? \'s\': \'\'),
$_SERVER[\'HTTP_HOST\'],
$_SERVER[\'REQUEST_URI\']
);[/code:1]

and line 245 change this code:

[code:1]if ($new_fb_user != 1)
{ //get session information, update last time timestamp.
$inactivePeriod = ($fbSession->lasttime)+1800;

if ($inactivePeriod 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]

To;

[code:1] if ($new_fb_user != 1)
{ //get session information, update last time timestamp.
$inactivePeriod = ($fbSession->lasttime)+1800;

if ($inactivePeriod setQuery(\"UPDATE #__fb_sessions SET allowed=\'na\',lasttime={$systime}, 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\"«») {

mosRedirect($self_url);
die();
/* echo \'setTimeout(\"window.location.reload( true )\",100);\';*/
}
}

$database->setQuery(\"UPDATE #__fb_sessions SET lasttime={$systime} where userid={$my->id}\"«»);
$database->query();
}
[/code:1]

[color=#FF0000][b]Attention!! [/b]
This change won\'t be definitive for the next realease, we are studying a better solution for this BUG. They put this correction will do with that your Fireboard doesn\'t show this BUG. [/color]

Waiting our next realease.

Cu, Trorram [file name=fireboard-67b98b7f7b08bdbddcf271a497abeceb.zip size=7421]http://fireboard.bestofjoomla.com/images/fbfiles/files/fireboard-67b98b7f7b08bdbddcf271a497abeceb.zip[/file]
#30463
Re:Fix 02 - FB (1.0.3) - Correction of BUG 9 Years, 10 Months ago  
Hey bud,

I appreciate the code but there are errors.....

if ($inactivePeriod setQuery(\"UPDATE #__fb_sessions SET allowed=\'na\', readtopics=\'\' where userid=$my->id\");

PLUS, when I downloaded your new version, it didn\'t have the changes you mentioned on line 245, only the ones on 18. Did you upload the wrong one?

Clinton
#30533
Re:Fix 02 - FB (1.0.3) - Correction of BUG 9 Years, 10 Months ago  
Dear djclinton;

I test now, and has changes (Two - Line 18 and Line after Line 245).

I file dont have problem, and nay peoples test this modification.

Tks.
Trorram
#30604
Re:Fix 02 - FB (1.0.3) - Correction of BUG 9 Years, 10 Months ago  
post deleted
#30615
Re:Fix 02 - FB (1.0.3) - Correction of BUG 9 Years, 10 Months ago  
Dear;

Never replace this code, because BBCODE(Code) script has problem here..

USe the file attached.

Cu, Trorram
#30628
Re:Fix 02 - FB (1.0.3) - Correction of BUG 9 Years, 10 Months ago  
Ah cool, that explains a lot.

Cheers mate.

Clinton
Page: 1