Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #72  
Old 05-08-2008, 02:56 PM
Haenk Haenk is offline
 
Join Date: Dec 2007
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

  • I'm missing a title for
    ".../misc.php?do=guestlist",
    ".../misc.php?do=guestview..."
    I see only "- forum title"
  • Is it possible to activate the navbar with broadcum and so on in the view?
Thanks
Reply With Quote
  #73  
Old 05-08-2008, 04:28 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

Quote:
Originally Posted by Larz979 View Post
I just uninstalled this mod because I was starting to get some errors that pointed to the guests table.

After uninstalling it my "usergroup" table is now missing off the server. Any ideas why this would go missing after the uninstall?
1. If you get mysql errors then thats a mysql problem, not this (you probably needed to repair the table).

2. This has no effect on the usergroup table, either installing, using, or uninstalling it.
Reply With Quote
  #74  
Old 05-08-2008, 04:29 PM
Larz979 Larz979 is offline
 
Join Date: Apr 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Somehow the permissions on the table got screwed up. I am back up and running. May or may not have had to do with the uninstall.

Quote:
Originally Posted by Larz979 View Post
I just uninstalled this mod because I was starting to get some errors that pointed to the guests table.

After uninstalling it my "usergroup" table is now missing off the server. Any ideas why this would go missing after the uninstall?

3.7 gold

Larz
Reply With Quote
  #75  
Old 05-08-2008, 04:31 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

Quote:
Originally Posted by Haenk View Post
  • I'm missing a title for
    ".../misc.php?do=guestlist",
    ".../misc.php?do=guestview..."
    I see only "- forum title"
  • Is it possible to activate the navbar with broadcum and so on in the view?
Thanks
Title are there on a full, unedited install, what have you changed ?
Reply With Quote
  #76  
Old 05-09-2008, 09:41 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

As requested a number of times, I have now added the Header, Navbar and Footer to the guest information display pages.
Reply With Quote
  #77  
Old 05-09-2008, 10:03 PM
ercy ercy is offline
 
Join Date: Feb 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank a lot
Reply With Quote
  #78  
Old 05-10-2008, 05:32 AM
Hugo Holbling Hugo Holbling is offline
 
Join Date: Sep 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've occasionally been getting a database error since installing this mod:

Quote:
Invalid SQL:
SELECT * FROM guest FORCE INDEX (lastactive) WHERE lastactive > 1210374000;
MySQL Error : Table './hugoholb_vbulletin/guest' is marked as crashed and should be repaired
Error Number : 145
When I switched off the mod in the admincp the error went away. Do you have any idea what's going wrong and what I can do to fix it? I'm going to uninstall it and then install again to see if that corrects the table.
Reply With Quote
  #79  
Old 05-10-2008, 07:44 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It means exactly what it says - the mysql table has crashed - you need to use the mysql repair command to repair it (you can do this via phpmyadmin or the ACP).

Uninstalling/re-installing it might work as that will attempt to drop and then re-create the table - however, im not sure if mysql will drop a crashed table.
Reply With Quote
  #80  
Old 05-10-2008, 08:38 AM
Hugo Holbling Hugo Holbling is offline
 
Join Date: Sep 2007
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Paul. It's working fine now.
Reply With Quote
  #81  
Old 05-10-2008, 04:45 PM
PenPusher1000 PenPusher1000 is offline
 
Join Date: Mar 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool hack. Great for focusing marketing efforts.

One question. Where is the 'what's going on" section.

Thanks!!
Reply With Quote
Reply


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 10: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.05612 seconds
  • Memory Usage 2,309KB
  • 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
  • (4)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