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=232182)

Paul M 01-03-2010 10:00 PM

Track Guest Visits
 
As of 23 Nov 2017 this modification has been withdrawn.

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 modification adds another section to the "What's Going On" area.
It also has seperate pages to display (1) the list of guests, and (2) the pages a particular guest has visited

Options / Features ;

* The ability to turn the whole modification on/off.
* The ability to turn just the forumhome display on/off.
* The ability to allow (or prevent) certain usergroups viewing the forumhome display.
* The ability to switch between 'Today' and Rolling 24 Hours display (default).
* 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.
* The datastore read (for spider detection) will read from the File/APC/Xcache datastore if used [note, not Memcache].
* 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.
* The option to keep a record of [and display] the most ever guests.
* Usergroup permissions are done with the standard vbulleten usergroup permissions system.
* Clicking on the main display icon will list the recent visits by all guests (if allowed).
* Clicking on a Guest type in the main display will list all recent visits by guests of that type (again, if allowed).
* Clicking on the option in the guest listing will show that guests viewing data (if enabled, and allowed).
* The main display can be set as always collapsed on initial page load (4.0.3 +)

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 files.
  • If upgrading from a previous version, delete any old trg bitfield xml files from your ../includes/xml/ folder.
  • Upload the new bitfields file to 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.

Note: For Spider detection to work you must set Enable Spider Display to 'Yes' in vBulletin Options > Who's Online Options.
The installation code will turn this on for you.

It is recommended that you visit your Who's Online page after installing this mod (or after updating your spiders file) to make sure your spider definitions are built / rebuilt.


History:


Beta Releases

v4.0.0.2 : 04-Jan-2010 : Initial Beta release for vb 4.0.0 Gold.
v4.0.0.3 : 05-Jan-2010 : Fix scope error in global hook database write.
v4.0.0.5 : 06-Jan-2010 : Second stage Beta - Main Guest List Display added.
v4.0.0.6 : 06-Jan-2010 : Fix IP display error in Guest List Display.


v4.0.1 : 08-Jan-2010 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 09-Jan-2010 : Minor code changes and fixes.
v4.0.3 : 16-Jan-2010 : Added always collapsed option.
v4.0.4 : 20-Feb-2010 : Internal update, not released.
v4.0.5 : 27-Feb-2010 : Style code updates for vB 4.0.2.
v4.0.6 : 19-Sep-2010 : Fix bug in attachment viewing links.
v4.0.7 : 23-Oct-2010 : Fixed for WGO style changes in vB 4.0.8.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.
v4.1.8.0 : 18-Nov-2011 : Updated for vBulletin 4.1.8 onwards (only).
v4.1.11.0 : 03-Mar-2012 : Updated for vBulletin 4.1.11 image changes.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.


bart6767 01-04-2010 11:19 PM

I had to remove this as is was causeing the mgs below .

Fatal error: Call to a member function query_write() on a non-object in /home/porutnsu/public_html/includes/class_bootstrap.php(691) : eval()'d code on line 98

It was ok when a member was logged in but when a member logged out that is the mgs they see with a blank white page .

http://www.vbulletin.com/forum/showt...tstrap-php(691

VonDoom 01-04-2010 11:28 PM

Tagged, this is one ive been coming here everyday looking for. Awesome to see it ported to 4.0

Fr4n-FX 01-04-2010 11:32 PM

Paul its possible to add in this mod a option for Guest visit "x" number of threads?

If the "x" number of threads its exceded, a Messege shown in for login or register (based in cookies).

I remember one mod for make this in vb3 but dont works 100% in vb4 :(

Sorry for my english
Sorry for my wishlist, i think this zone is only for say thx u! and report bugs xD

captkirk 01-04-2010 11:50 PM

I just installed this and now my whole forum is down with this fatal error:

Code:

Fatal error: Call to a member function query_write() on a non-object in /home/oshelpde/public_html/includes/class_bootstrap.php(691) : eval()'d code on line 98


I can't even login to admin panel to uninstall it. Any suggestions?

EDIT:
Found solution, giving this mod a big thumbs down

bongwater 01-05-2010 12:10 AM

getting same bootstrap error... subscribing to thread and awaiting a fix

Zaiaku 01-05-2010 12:15 AM

Tagging this waiting for other users problems to be solved first. Been waiting for this one to get updated.

Dr.osamA 01-05-2010 12:28 AM

Quote:

I had to remove this as is was causeing the mgs below .

Fatal error: Call to a member function query_write() on a non-object in /home/porutnsu/public_html/includes/class_bootstrap.php(691) : eval()'d code on line 98

It was ok when a member was logged in but when a member logged out that is the mgs they see with a blank white page .
i got same error !!

any help with mod plzz ?
________
NEW MEXICO MEDICAL MARIJUANA DISPENSARY

captkirk 01-05-2010 12:30 AM

My solution was to add this to the top on config.php: right after: <?php
Code:

define('DISABLE_HOOKS', true);
To disable Hooks, then uninstall this mod

Paul M 01-05-2010 01:08 AM

Mods have beta tags for a reason. Sometimes they have bugs ;)

Sorry, not sure how that one managed to creep in undetected, but should be fixed in 4.0.0.3

Unfortunately, if you cannot login to the acp due to the error then you will have to edit your config file as above in order to disable the faulty hook before you can replace it.

I really need some more coffee.


All times are GMT. The time now is 09:52 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.01431 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)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