Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Track Guest Visits Details »»
Track Guest Visits
Version: 3.7.004, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 01-07-2008 Last Update: 06-21-2008 Installs: 761
Translations  
No support by the author.

This modification is no longer available or supported.

This tracks the number of guests that have visited a forum each day. This isn't possible in stock vbulletin as no record is kept of guest visits, they are a 'realtime' display only. This will add (another) section to the "What's Going On" area.

Options / Features ;

* The ability to turn it on/off.
* The ability to turn just the display on/off.
* The ability to allow (or prevent) certain usergroups viewing the display.
* The ability to run the display code on all pages (not just forumhome).
* The ability to switch between 'Today' and Rolling 24 Hours display (default).
* The list of guests can be set to be always collapsed on initial view.
* The script that the Guest is running is logged (e.g. showthread, usercp etc).
* The request variables in use are logged (e.g. threadid, userid etc).
* The guest table can be cleaned of old records to help control it's size.
* Controls for the displays automatic template update.
* The datastore read (for spider detection) will read from the File/APC/Memcache/Xcache datastore [if used].
* Guest Views data collection - tracking each guests viewing of the forum index page, forums and threads.
* Guest Views data collection can be separately disabled.
* Multiple guest visits to the same page are logged separately.
* Clicking on a Guest type in the main display will list all recent visits by guests of that type.
* Clicking on the option in the guest listing will show that guests viewing data (if enabled).
* Usergroup permissions are done with the standard vbulleten usergroup permissions system.
* The option to keep a record of [and display] the most ever guests can be enabled.

Four new usergroup permissions are provided in the usergroup manager.

* Can View the Guests Visited Display - Members can view the guests visited display on Forumhome.
* Can View Guest IP Addresses - Members can see the ip addresses of visiting guests.
* Can View Guest Visits List - Members can view the list of guest visits page.
* Can View Guest Tracking Data - Members can view the individual guest visit tracking page.

* All (non usergroup) modification settings are in vBulletin Options > Guest Tracking.

To install (or upgrade);
  • Unzip the XML files.
  • Upload the bitfields file to your ../includes/xml folder.
  • If upgrading from the vb 3.6 version, delete the bitfield_track-guests.xml file from your ../includes/xml folder.
  • Import the product into vBulletin using the ACP Product Manager.
  • Set your required permissions in the usergroup manager.
Note that by default no usergroup permissions are given, you must set them.


You can get an improved Spiders Definition file from this post - and now a more recent version is available from this site.

Note: For Spider detection to work you must set Enable Spider Display to 'Yes' in vBulletin Options > Who's Online Options.


History:

v3.7.001 : Initial vb 3.7 release.
v3.7.002 : Fix for cron_script hook changed in 3.7 Beta 4.
v3.7.003 : Header, Navbar and Footer added to guest display pages.
v3.7.004 : Tracking of visits to archive pages added.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #232  
Old 11-08-2008, 11:12 PM
munnakv munnakv is offline
 
Join Date: Jun 2008
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Paul. Installed.
Reply With Quote
  #233  
Old 11-20-2008, 03:09 AM
GlamRockTalk's Avatar
GlamRockTalk GlamRockTalk is offline
 
Join Date: Nov 2008
Posts: 180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This mod ROCKS!

Thanks Paul
Reply With Quote
  #234  
Old 11-22-2008, 05:23 PM
Barteh Barteh is offline
 
Join Date: Aug 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice, installed

Is it possible for identified spiders from vbulletin_spiders.xml to be logged separately?
Or, to rephrase that, I don't care that google and yahoo periodically check every public page there is, and not logging them would keep the database size low even with a longer history period.

And a bit of a feature request: one of the first 'visitors' turned out to be a forum user who was simply logged out... would it be possible in a future version, to include an IP query (like the native one in the adminCP) showing matching registered forum users in a column?
Reply With Quote
  #235  
Old 11-23-2008, 05:06 PM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have one question regarding the guest count. Although guests cannot do very much on our site (can only read forum), we have 3 times the amount of guests than the amount of registered users. When does the guest count increase?

1. user visits as guest, logs in and leaves the site. Counted or not?
2. user visits as guest, logs in, logs out and leaves the site. Counted or not? If yes, how many times?
3. user visits as registered user, logs out and leaves the site. Counted or not?
Reply With Quote
  #236  
Old 11-23-2008, 05:30 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. Yes.
2. Yes, they only count as one visitor.
3. I dont believe so, but not 100% sure.
Reply With Quote
  #237  
Old 11-23-2008, 06:00 PM
jerx jerx is offline
 
Join Date: Feb 2006
Posts: 188
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
1. Yes.
2. Yes, they only count as one visitor.
3. I dont believe so, but not 100% sure.
1 and 2 is what I have expected, but I thought that the count would be increased in situation 3, too.

Wouldn' t it be better to substract the number of registered user, who have visited the forum (if your other mod is also installed of course)? Ok, this would give you false numbers for those who visit as registered member without ever logging out. Maybe only substract half of the amount.
Reply With Quote
  #238  
Old 11-23-2008, 06:06 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope, it would not be better to subtract anything.

If someone visits a page, not logged in, then they are a visitor, simple as that. I see no reason to start complicating matters and start fudging things.

JFYI, in my experience, few members ever actually log out once they have logged in, so they never visit the site as a guest.
Reply With Quote
  #239  
Old 11-23-2008, 06:31 PM
Barteh Barteh is offline
 
Join Date: Aug 2006
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some people have very restrictive cookie settings (keep until the browser closes) or regularly wipe them manually, but you're probably right in that this is a small percentage.

Any chance you could separate recognised spiders from other IPs where the log cut-off date is concerned? The reason I've started using your mod is for antispam purposes, to see if any unrecognised crawlers are poking around our forums and I bet yahoo's slurp spider alone will end up producing half the log size. Would help if you could only save the last 24 hours of known spider IPs (for the display) and log everything elsefor a longer period.
Reply With Quote
  #240  
Old 11-23-2008, 07:33 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, but I dont plan any changes to this other than I may one day collect the referer (and that would be in the 3.8 or 4.0 version).
Reply With Quote
  #241  
Old 11-24-2008, 12:34 AM
LG Alex LG Alex is offline
 
Join Date: Aug 2008
Location: Iowa
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshots? please
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:15 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.23314 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete