vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Track Guest Visits (https://vborg.vbsupport.ru/showthread.php?t=131314)

Paul M 04-08-2008 06:55 AM

Quote:

Originally Posted by SuperNissans (Post 1485556)
but what permissions exactly do I need to change in the usergroups?

The Guest Tracking permissions.

bluidkiti 04-08-2008 11:56 PM

What if I wanted to put this somewhere else besides the What's Going On box - let's say inaa left side column on my board. How would I do that?

bluidkiti 04-10-2008 12:28 AM

Quote:

Originally Posted by bluidkiti (Post 1486337)
What if I wanted to put this somewhere else besides the What's Going On box - let's say inaa left side column on my board. How would I do that?

Never mind - I figured it out myself. :up:

steveneff 04-14-2008 09:08 PM

Thanks Paul very nice mod
Couple of questions about the following setting

"Change this if you want this modifications code to run on all vb pages, not just the forum homepage."

Just wanted to check, does this option if set to No not count visitors that land in a thread and not visit the Forum Home?

If set to yes does it use up much bandwidth/cpu and all that stuff.

Paul M 04-14-2008 09:47 PM

That option actually refers to the display code only. All visitors are counted, no matter where they visit.

transpetaflops 04-16-2008 11:41 AM

Where is the value for "most guests online over 24 hours" stored? I've blocked Yahoo Slurp now and would like to reset it. Search through this thread but couldn't find anything mentioned. Anything special to consider before I do the reset?

transpetaflops 04-16-2008 11:59 AM

Replying to myself here. Not a mysql expert but trying to learn... I found this:

Code:

mysql> select * from datastore where title = 'maxloggedin';
+-------------+----------------------------------------------------------------------------------------------------------------------+-------------+
| title      | data                                                                                                                | unserialize |
+-------------+----------------------------------------------------------------------------------------------------------------------+-------------+
| maxloggedin | a:4:{s:13:"maxguestzdate";i:1208349349;s:9:"maxguestz";i:233;s:9:"maxonline";i:2;s:13:"maxonlinedate";i:1208350033;} |          1 |
+-------------+----------------------------------------------------------------------------------------------------------------------+-------------+
1 row in set (0.01 sec)

The "maxguestz" value of 233 is probably the one I need to reset. What puzzles me is that I used the following command to reset the regular max users statistics:

Code:

UPDATE datastore SET data = '' WHERE title = 'maxloggedin'
But I fail to see how this command was able to successfully reset only the "maxonline" value since I see no references to it. I would assume that command would wipe the complete record which it didn't do obviously. I'd be most grateful for an explanation and a pointer to how I can modify the command to reset the Guest Tracking stats.

transpetaflops 04-16-2008 12:05 PM

The UPDATE command actually DOES empty the record as expected but something restores the data a few seconds later... now I'm completely confused ;-)

transpetaflops 04-16-2008 01:28 PM

Ah, I guess the data is being restored by the information in the guest table so I have to wait 24 hours before I clear that field. Sorry for the noise.

Hawaiian-TV 04-19-2008 03:26 AM

First of all, thanks for this hack. If it's really working right, we love it.

I hope this hasn't been answered before...

I can't tell right now when the 24 hour "day" begins and ends. It seems at times like the number of visitors in 24 hours goes DOWN in a day rather than up. Please explain!


All times are GMT. The time now is 08:03 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.02054 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_code_printable
  • (2)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