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)

Boofo 03-26-2004 01:08 AM

Quote:

Originally Posted by Erwin
Very cool hack, Boofo. :)

Thank you, my friend. Coming from you, that means alot to me. After all, I learned alot of coding from you and your hacks. ;)

I just had to re-upload the file because I uploaded the wrong one earlier. It was missing some stuff. Oops! ;)

apokphp 03-26-2004 01:15 AM

Anyway to exclude members from stats?

Also, it's not working on my site. It's vb3 Gold...no modification to the forumhome template other than yours. Why is it screwy like dat? ;)

Boofo 03-26-2004 01:16 AM

I'm not sure what you mean.

Mijae 03-26-2004 01:18 AM

Ha! I knew I had to add some phrases! Wow, I actually saw something wrong :P I have no php knowlegde, so its a big thing for me :P

Everything seems right now, except that the % shows up as 0% for everything.

Also,
PHP Code:

$statscache unserialize($datastore['statscache']); 

Do I have to add that to my phpinclude_start if I only use these stats on forumhome?

Edit: also, not sure if its just me or not, but I can't logout now, everytime I click logout and get back to forum index, I am logged in.

Boofo 03-26-2004 01:21 AM

Quote:

Originally Posted by apokphp
Anyway to exclude members from stats?

Also, it's not working on my site. It's vb3 Gold...no modification to the forumhome template other than yours. Why is it screwy like dat? ;)

Clear your cache and re-download the file from the first post. I uploaded the wrong one earlier. Sorry about that. ;)

Boofo 03-26-2004 01:24 AM

Quote:

Originally Posted by Mijae
Ha! I knew I had to add some phrases! Wow, I actually saw something wrong :P I have no php knowlegde, so its a big thing for me :P

Everything seems right now, except that the % shows up as 0% for everything.

Also,
PHP Code:

$statscache unserialize($datastore['statscache']); 

Do I have to add that to my phpinclude_start if I only use these stats on forumhome?

Edit: also, not sure if its just me or not, but I can't logout now, everytime I click logout and get back to forum index, I am logged in.

No, you do not add that for the foumhome. That is only if you want the stats to show up on another page and not have to run any queries. An added bonus, I guess you could say.

The logging out has nothing to do with this hack. Try clearing your cookies and see if that fixes your logging out problem.

Is everything running right or do we need to fix something else?

Mijae 03-26-2004 01:26 AM

Quote:

Originally Posted by Boofo
No, you do not add that for the foumhome. That is only if you want the stats to show up on another page and not have to run any queries. An added bonus, I guess you could say.

The logging out has nothing to do with this hack. Try clearing your cookies and see if that fixes your logging out problem.

Is everything running right or do we need to fix something else?

Everything is working fine, except percentages show up as 0%.

My top poster has ~1600 posts and it says 1600 = 0%.

Boofo 03-26-2004 01:27 AM

Did you set the updatetime to 0 and run it a few times? Try that and let me know. We WILL get it working for you. ;)

Boofo 03-26-2004 01:33 AM

Ok, I found the problem. I'm a dolt! ;)

Last time, I swear. ;) Re-download the file from the first post (clear your cache first) and re-do the code for the index.php. The percents should show now. ;)

Mijae 03-26-2004 01:38 AM

Quote:

Originally Posted by Boofo
Did you set the updatetime to 0 and run it a few times? Try that and let me know. We WILL get it working for you. ;)

Yep, I set it to 0 and tried a few times to see if it fixed, but nope :P

I also updated counters and stuff like that, didn't help.


All times are GMT. The time now is 06:11 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.03569 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (5)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