Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Track Guest Visits Details »
Track Guest Visits
Mod Version: 1.22, by Paul M (Member) Paul M is offline
Developer Last Online: Jan 2018 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.6.x Rating: (99 votes - 4.65 average) Installs: 1250
Released: 12 Nov 2006 Last Update: 05 Oct 2007 Downloads: 5624
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

This modification is no longer available or supported.

Something that has been repeatedly asked in the "Members who visited today" modifications (all versions) is a similar way to track 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. I've therefore finally got round to looking at the issue and produced this modification.

This will add (another) section to the "What's Going On" area. The data is kept in a new table so it should be possible for other uses to be made of it (or display it in other ways). A screenshot of the current display is attached.

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].

Version 1.19+

* 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 now done with the standard vbulleten usergroup permissions system.

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.


Version 1.22+

The option to keep a record of [and display] the most ever guests has been added - this used to be provided by a seperate add-on product.


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

To install ;
  • Unzip the XML files.
  • Upload the bitfields file to your ../includes/xml folder.
  • Import the product into vB using the ACP Product Manager.
  • Set your required permissions in the usergroup manager.
Note that by default no permissions are given, you must set them.

You can get an improved Spiders Definition file, that recognises many more spiders, from this post.

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

A German translation has been provided by hurik in post #769 - (for Version 1.22).


History:

v1.00 : Internal dev version.
v1.01 : Initial vb 3.6 beta release.
v1.02 : Phrasing added, final beta version.
v1.03 : Initial full version, some new options added.
v1.04 : Fix potential variable name clash with WVT Mod.
v1.05 : More options added, script and request variable logging added.
v1.06 : Minor internal code changes, phrasing altered slightly.
v1.07 : Datastore call changed to standard fetch function.
v1.08 : Moved Datastore call due to oddities, and fixed small bug.
v1.09 : Simplified always collapsed code.
v1.10 : Datastore call moved and reverted back to db_fetch.
v1.11 : Added Spider Cache Refresh on install (limited release).
v1.12 : Unique Guest id changed from standard vb id to internally created id.
v1.13 : Changed the SQL to force MySQL to use the index on forumhome.
v1.14 : Changed install code to delete old spider cache before rebuilding it.
v1.15 : Added check to try and detect a broken spider cache and fix it.
v1.16 : Number formatting added to individual totals in display list.
v1.17 : New usergroup display options added, datastore read updated.
v1.18 : Beta for new display options - listing guests and tracking guest views.
v1.19 : First release with the new permissions and display options.
v1.20 : Minor changes to install code only.
v1.21 : Internal development version, not released.
v1.22 : Added the "Most ever guests" option.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	guest1.jpg
Views:	4532
Size:	61.1 KB
ID:	69980   Click image for larger version

Name:	guest2.jpg
Views:	4002
Size:	31.0 KB
ID:	69981   Click image for larger version

Name:	guest3.jpg
Views:	2940
Size:	19.9 KB
ID:	69982  

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Forum Home Enhancements Track Guest Visits Paul M Modification Graveyard 276 12 Jan 2014 17:47

  #646  
Old 19 Sep 2007, 19:49
GateKeper GateKeper is offline
 
Join Date: May 2007
Thumbs up

Originally Posted by Paul M View Post
The first test version (V1.18, R1.23) had a primary key on the guestviews table, it was removed in the next test version. If you upgraded from the first test version direct to 1.19 then you would get those errors. Uninstalling and then reinstalling the modification would fix it.
I have completely redone the work, un-installed and reinstalled, will let you guys know if anymore error messages are sent....

Thanks
Reply With Quote
  #647  
Old 20 Sep 2007, 00:30
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Mr. M

How Do I Get the Most Ever Visitors Online Thing Likes in the Screen Shot?

Thanks
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #648  
Old 20 Sep 2007, 01:36
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
You look in my profile ....... and suddenly notice this

Most ever Members, Posters, Guests and Chatters
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #649  
Old 20 Sep 2007, 03:43
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Thanks
/me Clicks installed 2 times today
Members Rejoice
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #650  
Old 20 Sep 2007, 05:47
GateKeper GateKeper is offline
 
Join Date: May 2007
Originally Posted by GateKeper View Post
I have completely redone the work, un-installed and reinstalled, will let you guys know if anymore error messages are sent....

Thanks
Still problems, still getting error email's like the one below

Database error in vBulletin 3.6.5:

Invalid SQL:

INSERT INTO guestviews
(guestid, forumid, threadid, dateline, ipaddress)
VALUES
('c4007f4e8d7ec5f39552297f33487eed', 0, 0, 1190219076, 'xx.xx.xx.xx');

MySQL Error : Duplicate entry 'c4007f4e8d7ec5f39552297f33487eed-0-0' for key 1 Error Number : 1062
Date : Wednesday, September 19th 2007 @ 04:24:36 PM
Script : http://www.ftaview.com/index.php
Referrer :
IP Address : xx.xx.xx.xx
Username : Unregistered
Classname : vb_database
I did an uninstall of the hack, I installed the latest version, and I get the errors, I once again removed it, and tried to go back to an older version, ended up with even more errors in the user group manager area, it had the guest tracking permissions, with just the radio buttons but no descriptions, so I removed everything again, installed the latest again and have disabled the hack to see if I get anymore messages, if none, I will enable the hack tomorrow and see if errors come in again....

.
Reply With Quote
  #651  
Old 20 Sep 2007, 06:44
rjmjr69's Avatar
rjmjr69 rjmjr69 is offline
 
Join Date: Jan 2007
I do not see any product file in the zip?
Reply With Quote
  #652  
Old 20 Sep 2007, 13:12
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by GateKeper View Post
I did an uninstall of the hack, I installed the latest version, and I get the errors, I once again removed it, and tried to go back to an older version, ended up with even more errors in the user group manager area, it had the guest tracking permissions, with just the radio buttons but no descriptions, so I removed everything again, installed the latest again and have disabled the hack to see if I get anymore messages, if none, I will enable the hack tomorrow and see if errors come in again....

Uninstalling it should have dropped the old table, I can't see why it wouldn't have. I guess you could uninstall it and then check, dropping the tables manually if necessary.

You are obviously not going to get any errors if it's disabled, so I'm not really sure what your objective is there.


Originally Posted by rjmjr69 View Post
I do not see any product file in the zip?

There are only two files in the zip, since one is the bitfields file that doesn't really leave a lot to choose from - so I don't see how you cannot see it
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #653  
Old 20 Sep 2007, 21:48
GateKeper GateKeper is offline
 
Join Date: May 2007
Originally Posted by Paul M View Post
Uninstalling it should have dropped the old table, I can't see why it wouldn't have. I guess you could uninstall it and then check, dropping the tables manually if necessary.

You are obviously not going to get any errors if it's disabled, so I'm not really sure what your objective is there.
Well no errors, since the hack has been disabled, did it this way to make sure it was not something else. (something I might have done )

I will now enable once again tonight and see if errors come back if so, I will be confident its the hack ?, not saying anything bad about the hack, just that it is giving us errors, and I am not sure why, will need to investigate further.

Paul M you mention dropping the tables manually,,,,,how do I do this ? please advise if possible, still learning, and trying....

thanks for the time...
Reply With Quote
  #654  
Old 20 Sep 2007, 22:01
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
phpmyadmin and delete the tables for this mod if there still there after the uninstall
__________________
Is your forum registered? - https://www.forumregister.com
Reply With Quote
  #655  
Old 20 Sep 2007, 22:41
Redlee Redlee is offline
 
Join Date: Sep 2007
Ok I'm a newbie, I installed this last night works fine I believe. Only thing I need to know is my CMPS page is what I want to track. It is tracking my forumhome but thats not my home page. Do I need to change the page name thats being tracked? Where do I find that?
Reply With Quote
  #656  
Old 21 Sep 2007, 00:20
asw asw is offline
 
Join Date: Jun 2007
Real name: Rich
Update installed and working perfectly on 3.6.8

Many thanks -
Reply With Quote
  #657  
Old 21 Sep 2007, 23:52
Coleccromos's Avatar
Coleccromos Coleccromos is offline
 
Join Date: Apr 2005
Is it possible that this modification of problems with the database of this type?

Database error in vBulletin :

mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User athletic already has more than 'max_user_connections' active connections
/hermes/web10/b758/pow.cromosdefutbol/htdocs/forum/includes/class_core.php on line 273
Reply With Quote
  #658  
Old 22 Sep 2007, 00:29
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Nope, that's general server/mysql problem - specifically, you have too many connections to mysql.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #659  
Old 22 Sep 2007, 03:48
Mrdby Mrdby is offline
 
Join Date: Apr 2007
Real name: MrDby
Works Fine For Me
Reply With Quote
  #660  
Old 22 Sep 2007, 19:02
DPtheGod's Avatar
DPtheGod DPtheGod is offline
 
Join Date: May 2007
Hello, I downloaded this and put it on my forum, but nothing shows up. I have the Master Enable set to yes, and have made all admins and super moderators able to see it, yet none of us can see anything. I have done everything correctly accordingly as per instructions, but still nothing. Could this be an issuewith the templates and other mods on the forum?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 22:51.

Layout Options | Width: Wide Color: