vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB3 Forum Quick Stats Cache Serialize Hack v1.1 (https://vborg.vbsupport.ru/showthread.php?t=61581)

gmarik 02-15-2004 12:27 PM

This is good. Maybe all the photos included and all the hyperlinks posted in the forum list would be a good add-on for this ...?

Allan 02-15-2004 03:50 PM

nop, in fact, I do not find "$updatetime = 10;" :(

FleaBag 02-15-2004 04:21 PM

Ahh fantastic, glad to see this move over from vB2. :D

Boofo 02-15-2004 04:26 PM

Quote:

Originally Posted by FleaBag
Ahh fantastic, glad to see this move over from vB2. :D

Don't forget the install button in here. You missed it on the other hacks. ;)

Boofo 02-15-2004 04:28 PM

Quote:

Originally Posted by Socrate
nop, in fact, I do not find "$updatetime = 10;" :(

Look again. I see it right here in this piece of code from the hack:

HTML Code:

////////////////////////////// BOOFO'S FORUM QUICK STATS CACHE HACK //////////////////////////////
$forumstatscache = unserialize($datastore['forumstatscache']);
$forumstats = $forumstatscache[$forumid];
$updatetime = 10;
$statsupdate = '';


kauka 02-15-2004 04:34 PM

Quote:

Originally Posted by Boofo
Look again. I see it right here in this piece of code from the hack:

HTML Code:

////////////////////////////// BOOFO'S FORUM QUICK STATS CACHE HACK //////////////////////////////
$forumstatscache = unserialize($datastore['forumstatscache']);
$forumstats = $forumstatscache[$forumid];
$updatetime = 10;
$statsupdate = '';


very good hack Boofo. Thank you and clicked install.

AutomatikStudio 02-15-2004 06:16 PM

Maybe I'm just an idiot...but how exactly do you "Turn on DEBUG"? I'm using RC3.

assassingod 02-15-2004 06:18 PM

Add
PHP Code:

$debug '1'

to the end of /includes/config.php (But before the ?>)

Allan 02-15-2004 07:52 PM

Yes, while returning in d?bug mode, that frees much functionality in the options of Vbulletin.

==============================================
PHP Code:

$updatetime 10

I does not include/understand, why not have directly to integrate it in the code?

Boofo 02-15-2004 11:53 PM

Quote:

Originally Posted by Socrate
Yes, while returning in d?bug mode, that frees much functionality in the options of Vbulletin.

==============================================
PHP Code:

$updatetime 10

I does not include/understand, why not have directly to integrate it in the code?

Not all boards will want it set to 10 minutes. Some might want it more and some might want it less. This gives you the option to set it to what you want for your site and not have to have it hard-coded. Trust me, this really IS the better way. ;)


All times are GMT. The time now is 01:42 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.01311 seconds
  • Memory Usage 1,740KB
  • 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_html_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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