vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Top 10 Posters Display (https://vborg.vbsupport.ru/showthread.php?t=82254)

Paul M 06-01-2005 05:48 PM

Quote:

Originally Posted by hollyboy
I noticed the page loads a bit slower compared to other forum pages.
It means lot of queries are running? It means lot of bandwith is used?

No to both. I suspect you have not added the recommended index to your post table (Step 4). Without this it could take 5+ seconds with a forum your size.

hollyboy 06-01-2005 07:14 PM

Quote:

Originally Posted by Paul M
No to both. I suspect you have not added the recommended index to your post table (Step 4). Without this it could take 5+ seconds with a forum your size.

Quote:

Step 4.

If you don't already have an index on the dateline field in the post table then you should add one ;

ALTER TABLE post ADD INDEX (dateline)
What is this?
What should I do?
Thanks

The other problem I have and I have allready told u is the hack show also the banned users. I did what u suggested to me: I put zero posts to the banned users, but the hack still show a banned member of the "last 28 days" column.
I think u should fix the code a little bit and avoid some "member group" to be displayed in your nice :) hack

Paul M 06-01-2005 07:56 PM

Quote:

Originally Posted by hollyboy
I think u should fix the code a little bit and avoid some "member group" to be displayed in your nice :) hack

As I already told you - I'm not going to do this.

To add the index, run the SQL query either in your ACP, or in phpmyadmin.

ThePimp 06-03-2005 11:51 AM

I wonder if this could be processed via cron job? It seems to take a bit of time to load, maybe if it just ran once a day and just have it output the static page, it would load alot faster?

dsboyce8624 06-03-2005 02:04 PM

Quote:

Originally Posted by ThePimp
I wonder if this could be processed via cron job? It seems to take a bit of time to load, maybe if it just ran once a day and just have it output the static page, it would load alot faster?

Did you run the SQL query?

Code:

ALTER TABLE post ADD INDEX (dateline)

ThePimp 06-03-2005 03:45 PM

Quote:

Originally Posted by dsboyce8624
Did you run the SQL query?

Code:

ALTER TABLE post ADD INDEX (dateline)

Yes, I did.

Paul M 06-06-2005 02:40 PM

How many posts do you get per month ? - this is installed on a forum that does about 23,000 posts per month - and takes less than a second to run.

Mosh 06-07-2005 01:51 AM

Paul,

Thanks again for another great mod :)

jd :)

lairnoc 06-11-2005 11:48 AM

How can i make it less wide? for example only last 24 hours and total posts? 2 coloms?

thanx in advance

lairnoc

yoyoyoyo 06-11-2005 12:09 PM

thanks much! excellent work.


All times are GMT. The time now is 06:51 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.01178 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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