Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
The FireBoard forum component development is still going on. In order to get better, FireBoard will be moved from the Best of Joomla website.
During this transition period, the forum in Best of Joomla will be closed to new posts.
Welcome, Guest
Please Login or Register.    Lost Password?
FireBoard Manual Latest release discussions Download FireBoard
[Solved] Fireboard slow-down because of stats plug (1 viewing) (1) Guest
TOPIC: [Solved] Fireboard slow-down because of stats plug
#22650
[Solved] Fireboard slow-down because of stats plug 1 Year, 3 Months ago  
Fireboard 1.0.3 used to be really slow on my old linux webserver. It would always take 40 seconds to just be able to show the frontside categories. But I quickly figured out that it was due to the stats plugin.

When I disable it the forum could load within 5 seconds. However sometimes it would still take a long time to load. So to be sure that the stats plugin was no longer being used I renamed the stats directory. However then I got an error messages stating that it
could not find the stats.class.php file, so this means it is still being accessed.

I figured out that the problem lies in the naming of the showstats variable, it seems that the administrator backend saves this setting as showStats instead. Solution, simply change the following two files:

Change line 617 in /components/com_fireboard/template/default/listcat.php from:
if ($fbConfig['showstats'] > 0)
To:
if ($fbConfig['showStats'] > 0)

Change line 37 in /administrator/components/com_fireboard/fireboard_config.php from:
$fbConfig['showstats']='1';
To:
$fbConfig['showStats']='0';
(Remove any double created showStats enties)

Cheers,
Michel
techlab (User)
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Robotech Genesis
Logged Logged
 
 
 
#22675
Re:[Solved] Fireboard slow-down because of stats plug 1 Year, 3 Months ago  
good point. I'll look into it.
Good Job!
danialt (Admin)
BoJ Team
Simplicity
Administrator
Posts: 957
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthdate: 1978-05-25
Logged Logged
 
Best Of Joomla Team
FireBoard Project Manager
 
 
#23657
Re:[Solved] Fireboard slow-down because of stats p 1 Year, 3 Months ago  
I found a problem with this.. if using CB Integration and you have the show Stats in the CB Tab to the User Status the User Group image does not show and neither does the Karma indicator.

Both nice addons to the User Status bar and for large communities with large forums this may prove to be vital.
clanspot (User)
Fireboard 2.0
Senior Boarder
Posts: 209
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Underground_computing@yahoo.com Location: Houston, Texas Birthdate: 1982-06-22
Logged Logged
 
 
#23718
Re:[Solved] Fireboard slow-down because of stats p 1 Year, 3 Months ago  
Clanspot, the solution for that problem is also available here:
...com_fireboard/Itemid,38/func,view/id,23399/catid,76/
techlab (User)
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Robotech Genesis
Logged Logged
 
 
 
#23964
Re:[Solved] Fireboard slow-down because of stats p 1 Year, 3 Months ago  
techlab wrote:
Fireboard 1.0.3 used to be really slow on my old linux webserver. It would always take 40 seconds to just be able to show the frontside categories. But I quickly figured out that it was due to the stats plugin.

When I disable it the forum could load within 5 seconds. However sometimes it would still take a long time to load. So to be sure that the stats plugin was no longer being used I renamed the stats directory. However then I got an error messages stating that it
could not find the stats.class.php file, so this means it is still being accessed.

I figured out that the problem lies in the naming of the showstats variable, it seems that the administrator backend saves this setting as showStats instead. Solution, simply change the following two files:

Change line 617 in /components/com_fireboard/template/default/listcat.php from:
if ($fbConfig['showstats'] > 0)
To:
if ($fbConfig['showStats'] > 0)

Change line 37 in /administrator/components/com_fireboard/fireboard_config.php from:
$fbConfig['showstats']='1';
To:
$fbConfig['showStats']='0';
(Remove any double created showStats enties)

Cheers,
Michel


I try this way, but there are some wrong display in msg_posts when viewing a post, ... So I must upload the original file.
viet4777 (User)
Senior Boarder
Posts: 291
graphgraph
User Offline Click here to see the profile of this user
Luyenkim.NET
Logged Logged
 
Luyenkim.Net
utf-8 Vietnamese language package will be complete in mid of Oct.
luyenkim.net/home9/index.php?option=com_...5&id=282#282
 
 
#24970
Re:[Solved] Fireboard slow-down because of stats p 1 Year, 3 Months ago  
this fix is not enough, if you do this you are risking to loose stats showing under user left profile inside topic view,
you have to also rename showstats in view.php line 610
dlevancho (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
#24971
Re:[Solved] Fireboard slow-down because of stats p 1 Year, 3 Months ago  
there are some occurences in fbprofile.php and admin.fireboard.php and admin.fireboard.html.php files as well.
dlevancho (User)
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
Go to top