vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Forum Quick Stats Cache (https://vborg.vbsupport.ru/showthread.php?t=53155)

Boofo 05-20-2003 09:00 AM

Forum Quick Stats Cache
 
I released a hack yesterday called "Forum Quick stats". I am almost done with making it cache to it's own table so it will only update the cache at a time you set (like the "Forumhome Stats cache" hack). I have run into 2 small problems.

1 - When I update the cache, one of my percentages doesn't show, but after refreshing the page, it pulls it from the cache table just fine.

2 - How can I get it to update the cache for each forum? Right now, if you go into a separate forum, you have to wait form the refresh time before it will update the cache with the right info for that forum.

Can anybody please lend me a hand on figuring this out?

Boofo 05-21-2003 11:00 AM

Is anybody willing to lend a hand on this? I'd really appreciate any help. ;)

Boofo 06-07-2003 07:42 AM

Is there anyone willing to help me finish up the caching part of this hack? I almost have it, but I am still short of the goal.

Xenon 06-07-2003 08:30 AM

hmm a general hint is:
use the shutdownqueries array for updating the cache, so there won't be a difference between before update and after update

2. hmm sorry i didn't understand what's exactly the problem here

Boofo 06-07-2003 08:40 AM

Would it help if I pm'd you what I have so far so you can see what it is doing? ;)

Xenon 06-07-2003 08:46 AM

that would surely help :)
but i can't say when i'll read it, i have to go soon ;)

Boofo 06-07-2003 08:51 AM

Ok, on it's way. Any help would be greatly appreciated. Maybe you can help me fix whatever i am doing wrong. ;)

Boofo 06-09-2003 07:10 AM

Does anyone else have any time to help me figure this out?


All times are GMT. The time now is 07:49 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.01033 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete