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 Forumhome Stats Cache Serialize hack v2.2 (https://vborg.vbsupport.ru/showthread.php?t=61420)

surfhog 04-10-2004 10:50 AM

thanks boofo
i assume that you refering to the root/index.php file? if this is the case then it appears to me that its the same as the original code within your instructions? which is in place........

As you can see from the attachment, i hope.

Boofo 04-10-2004 10:53 AM

You need to remove that file. There is no posting of vb files here. ;)

I will look into it. It should be working fine. For now, disable that query and take the code out for the referrer in the forumhome and see if everything works ok there. In the meantime, I will see what I can figure out with that one query for you.

surfhog 04-10-2004 10:56 AM

ops!!! removed i hope :)
okay I will do as you say and thanks again

Boofo 04-10-2004 10:59 AM

I am checking with someone on this now. You are not the first to report this happening although it runs fine for almost everyone else it seems. Strange. ;)

Boofo 04-10-2004 11:01 AM

Quote:

Originally Posted by surfhog
ops!!! removed i hope :)
okay I will do as you say and thanks again

Yes, it's gone. ;)

Don't forget the install button as there will be an update with more stats very soon and you don't want to miss the update. ;)

surfhog 04-10-2004 11:05 AM

you are quite right and I will gladly do so, if and when it's working hehe lol

okay, I have done that and the errors appear to have gone :)

well maybe not? Because I get the stats block on forumhome and get nothing at the top of the forums namely: "Forum Quick Statistics" block

Boofo 04-10-2004 12:37 PM

The one for the forums is a totally different hack. You need to install that one, too, if you want it above the forums. This hack here is the "forumhone" stats hack.

surfhog 04-10-2004 12:42 PM

i see, i thought that was all part of the same hehe.which one would be then please.

thanks :)

what an idiot me :( i found it and already tried it once lol
https://vborg.vbsupport.ru/showthread.php?t=61581&page=5&pp=15&highlight=Foru m+Quick+Stats

i best get some (-0-0-) getting them mixed up maybe....

BarBeQue 04-10-2004 07:44 PM

Boofo,

Great hack, love it...

I noticed that the time, when the update takes place doesn't update to show the new time
Look at the pic to see what i mean.
At 22:18 was the last update, i enter at 22:30, your hack notices it's over 10 mins later and updates (see the 21 queries). All fine but the last update date still shows the previous update time, not the new one.
Anyway to change that to the new updated time?

Boofo 04-10-2004 07:55 PM

As long as you didn't change these lines in the index.php:

PHP Code:

$updatetime 10;
$statsupdate '';

$getupdatetime vbdate("$vboptions[timeformat] - F jS, Y"$statscache['lastupdate']);
$statsupdate "<font color=green>Last updated at $getupdatetime</font>&nbsp;";

if (
$statscache['lastupdate'] == OR ($statscache['lastupdate'] + ($updatetime 60)) < TIMENOW

it should be updating the time every 10 minutes.


All times are GMT. The time now is 05:33 PM.

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.01527 seconds
  • Memory Usage 1,741KB
  • 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)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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