vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Statistics Modifications - Cyb - Advanced Forum Statistics (https://vborg.vbsupport.ru/showthread.php?t=122986)

zenkaizen 12-20-2007 06:24 PM

This is a really useful mod, however I found that it slows down my forum index a lot. Normal load time without the mod installed is around 0.2 to 0.3s, and with the mod installed its around 1.6 to 2.3s. Currently using the Top 5 Hottest Threads, Most Viewed Threads, and Latest Posts.

After playing around with the queries, I found that removing AND `visible` = '1' and AND `open`!='10' from the WHERE clause speeds up the mod a lot. I'm wondering if there's any bad effects by doing this? Or do you have another suggestion to further optimize the queries.

The ideal way will be to cache them every x minutes or every hour. Pulling the stats dynamically all the time really slows down the forum index.

FYI: We're on a dedicated server with 200-300 online users during peak hours. The database is stored on an external server. Using vBMicroStats, with the mod enabled the load time is around 10% on PHP and 90% on MySQL. Without the mod, it's almost 50-50.

jaskel 12-22-2007 12:02 PM

great job, wrks great on my forum, see for urself;

www.dodge-downunder.com

baghdad4ever 12-24-2007 09:02 AM

Quote:

Originally Posted by baghdad4ever (Post 1403501)
hi


can you tell me how to add

the most active member today in forum???????


thanks


any idea please???

Ultimate Killer 12-24-2007 12:32 PM

Can you adjust the width of it?. I love the hack, thanks a lot

DDIG 12-25-2007 11:51 AM

To anyone facing time display problems in their stats view: insert %H:%I (Capital H, capital I)

That worked for me!

I've installed it, now I am translating it to Dutch! All phrases can be found with prefix "Cyb", which is great.

Thanks a lot for this plugin/hack.

I am a bit concerned however, having read about increased load times. Does anyone know if it's possible to display page load times in vBulletin forum? SMF is able to display page load times and #queries used at the bottom of each page, but I have not discovered this in vBulletin's options.

iulianh 12-26-2007 12:30 PM

Thanks , i was looking for this one !

4number8 12-29-2007 03:15 AM

Thanks for this, my favorite hack and it works with 3.7 perfectly

jarosciak 12-29-2007 04:29 AM

Quote:

Originally Posted by zenkaizen (Post 1405650)
This is a really useful mod, however I found that it slows down my forum index a lot. Normal load time without the mod installed is around 0.2 to 0.3s, and with the mod installed its around 1.6 to 2.3s. Currently using the Top 5 Hottest Threads, Most Viewed Threads, and Latest Posts.

After playing around with the queries, I found that removing AND `visible` = '1' and AND `open`!='10' from the WHERE clause speeds up the mod a lot. I'm wondering if there's any bad effects by doing this? Or do you have another suggestion to further optimize the queries.

The ideal way will be to cache them every x minutes or every hour. Pulling the stats dynamically all the time really slows down the forum index.

FYI: We're on a dedicated server with 200-300 online users during peak hours. The database is stored on an external server. Using vBMicroStats, with the mod enabled the load time is around 10% on PHP and 90% on MySQL. Without the mod, it's almost 50-50.



Same problem on my forum. I am running these stats on a forum with just little over 300k posts and it's basically killing it. It adds up good 3-5 additional seconds to display the main page.

And consider, that this forum is the only website on a very strong dedicated server.
It shouldn't take a more than split of a second to get these stats, so why doesn't it work properly?

Whenever someone hits the main page, this script would use almost 100% of 3gh dual pentium cpu power.

As soon as I disable it, the whole forum is flying like usually.

I don't want to get rid of these stats as me and all my members got used to it, and it's a truly awesome script, but someone should look at this issue and let us know what is happening.

Anyhow, to give you little more details...I am only showing Top Posters, Newest Members and Latest Posts.

I have also removed AND `visible` = '1' and AND `open`!='10' from the WHERE clause and it helped a little bit. But still taking crazy lot of time to generate the front page stats.

DDIG 12-30-2007 06:02 AM

Quote:

Originally Posted by finereader (Post 1229022)
...
I have a probleme with DATE and TIME FORMAT (I use vB 3.6.5 but problem still since old versions)

date appears like "h:i" in forum home statistics

Whatever the term entered in this field, i can see the exact term copied in forum home statistics..

All the forum is in good date..

I have the same problem. See below:


Times are not displayed correctly.

When I switch to 'Dutch' the '%' characters takes care of correct displaying of Times (kind of).

But when I switch to english the % markup is beeing displayed.

Dutch:

Discussie Datum, Tijd Geplaatst door Forumhttps://vborg.vbsupport.ru/external/2007/12/4.gif Daar waar je de... ? 28-12-07, 08:08 HansNijenhuis Landschappen
https://vborg.vbsupport.ru/external/2007/12/4.gif De eerste... ? 28-12-07, 08:08 DDIG Showcase-overl...
https://vborg.vbsupport.ru/external/2007/12/4.gif High Key ? 28-12-07, 07:07 Arjen Fotografie
https://vborg.vbsupport.ru/external/2007/12/4.gif Kort maakt lang ? 28-12-07, 06:06 Provorm Natuur overig
https://vborg.vbsupport.ru/external/2007/12/4.gif lokatie foto... ? 28-12-07, 00:12 HansNijenhuis Service balie
https://vborg.vbsupport.ru/external/2007/12/4.gif Pimpelmees/roodb... ? 27-12-07, 23:11 HansNijenhuis Showcase...
https://vborg.vbsupport.ru/external/2007/12/4.gif overgang... ? 27-12-07, 23:11 HansNijenhuis Diggers...
https://vborg.vbsupport.ru/external/2007/12/4.gif nog een koude ? 27-12-07, 23:11 HansNijenhuis Landschappen
https://vborg.vbsupport.ru/external/2007/12/4.gif De Showcase ? 27-12-07, 23:11 robert Moderator-over...
https://vborg.vbsupport.ru/external/2007/12/4.gif Wintersfeer ? 27-12-07, 23:11 HansNijenhuis Flora &...

English:

Thread Date, Time Posted By Forumhttps://vborg.vbsupport.ru/external/2007/12/4.gif Daar waar je de... ? %28-%12-%07, %08:%0 HansNijenhuis Landschappen
https://vborg.vbsupport.ru/external/2007/12/4.gif De eerste... ? %28-%12-%07, %08:%0 DDIG Showcase-overl...
https://vborg.vbsupport.ru/external/2007/12/4.gif High Key ? %28-%12-%07, %07:%0 Arjen Fotografie
https://vborg.vbsupport.ru/external/2007/12/4.gif Kort maakt lang ? %28-%12-%07, %06:%0 Provorm Natuur overig
https://vborg.vbsupport.ru/external/2007/12/4.gif lokatie foto... ? %28-%12-%07, %00:%0 HansNijenhuis Service balie
https://vborg.vbsupport.ru/external/2007/12/4.gif Pimpelmees/roodb... ? %27-%12-%07, %23:%0 HansNijenhuis Showcase...
https://vborg.vbsupport.ru/external/2007/12/4.gif overgang... ? %27-%12-%07, %23:%0 HansNijenhuis Diggers...
https://vborg.vbsupport.ru/external/2007/12/4.gif nog een koude ? %27-%12-%07, %23:%0 HansNijenhuis Landschappen
https://vborg.vbsupport.ru/external/2007/12/4.gif De Showcase ? %27-%12-%07, %23:%0 robert Moderator-over...
https://vborg.vbsupport.ru/external/2007/12/4.gif Wintersfeer ? %27-%12-%07, %23:%0 HansNijenhuis Flora &...

Jase2 12-30-2007 07:28 PM

Great, works with 3.7.0 BETA 3.

Thanks a lot.

Regards Jason :)


All times are GMT. The time now is 02:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02744 seconds
  • Memory Usage 1,802KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete