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 - Member Visit Tracking (https://vborg.vbsupport.ru/showthread.php?t=201215)

Paul M 01-08-2009 10:00 PM

Member Visit Tracking
 
As of 24 Nov 2017 this modification has been withdrawn.

This tracks the number of members that have visited the forum each day, and displays a list in the same manner as the "Who has visited" modification. However, this also tracks a lot more data, such as the script (and request variables) run on their last visit, and all threads and forums visited.

Note that installing this will automatically remove the "Members Who Have Visited Today" modification.

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 members can be set to be always collapsed on initial view.
* The script that the member is running is logged (e.g. showthread, usercp etc).
* The request variables in use are logged (e.g. threadid, userid etc).
* The member visits table can be cleaned of old records to help control it's size.
* Controls for the automatic template update system.
* Member Views data collection - tracking each members viewing of the forum index page, forums and threads.
* Member Views data collection can be separately disabled.
* Multiple member visits to the same page are logged separately.
* Clicking on a member in the main display will show that members viewing data (if enabled, and you have permission).
* Usergroup permissions are done with the standard vbulleten usergroup permissions system.
* Clicking on the "Total members that have visited" line will list all members who have visited and their last action.
* The option to keep a record of [and display] the most ever members can be enabled.

Four new usergroup permissions are provided in the usergroup manager.

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

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

To install;
  • Unzip the XML files.
  • Upload the 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 permissions are given, you must set them.


Template Hook

Please note that this modification uses the following template hook in the FORUMHOME template ;

forumhome_wgo_pos2

This must be present in any customised template/style you are using, otherwise this modification will not display.



History:

v3.8.001 : Initial vb 3.8 release.
v3.8.002 : Fix install code SQL error.
v3.8.003 : Fix column title bug in memberlist display.
v3.8.004 : Fix bug in attachment viewing links.


Bounce 01-09-2009 07:40 PM

Get this error when installing..


Quote:

Database error in vBulletin 3.8.0:

Invalid SQL:

CREATE TABLE membervisits
(
userid int(10) unsigned NOT NULL default '',
ipaddress varchar(15) NOT NULL default '',
useragent varchar(100) NOT NULL default '',
dateline int(10) unsigned NOT NULL default 0,
script varchar(20) NOT NULL default '',
rdata text NOT NULL,
PRIMARY KEY (userid),
KEY ipaddress (ipaddress),
KEY dateline (dateline)
);

MySQL Error : Invalid default value for 'userid'
Error Number : 1067
Request Date : Friday, January 9th 2009 @ 09:39:14 PM
Error Date : Friday, January 9th 2009 @ 09:39:14 PM

SnowBot 01-09-2009 07:49 PM

Waiting on an update Mr P :)

SuperDave71 01-09-2009 07:54 PM

I am also waiting on the update...



And a screenshot would be helpful as well.


Always enjoy your work Paul. Keep it up!!



-Dave :D

KEKforce 01-09-2009 07:56 PM

same error here

ecihanuysal 01-09-2009 08:21 PM

same error and waiting..

-=Leb=- 01-09-2009 10:00 PM

Sweet paul , i was waiting for it :).

Hey guys i just uploaded it and didn't get any error and its working fine in my forum:S

ecihanuysal 01-09-2009 10:56 PM

Problem is still continuing. Here is the image..

http://img395.imageshack.us/img395/8286/adszwd2.jpg

-=Leb=- 01-10-2009 08:21 AM

If i'm not mistaken, make sure you update your templates. Go to admin cp, then styles and templates, then hit find updated templates.

Anyway, paul will give you the final answer.

Bounce 01-10-2009 10:00 AM

Quote:

Originally Posted by Leb (Post 1707066)
If i'm not mistaken, make sure you update your templates. Go to admin cp, then styles and templates, then hit find updated templates.

The style I am trying to install it too IS up to date :up:

KEKforce 01-10-2009 10:10 AM

Also here!

Paul M 01-10-2009 11:57 AM

Try it now (3.8.002)

ecihanuysal 01-10-2009 02:36 PM

tnx for the solution Paul !
Installed..

abroad 01-10-2009 07:01 PM

and where can I see the collected data of a user?

Bounce 01-10-2009 07:37 PM

Quote:

Originally Posted by abroad (Post 1707663)
and where can I see the collected data of a user?

You need to turn it on for each you usergroup you want to see it and it displays in the What's Going On section..
Quote:

Total members that have visited the forum in the last 24 hours:
You can set various options in VBOptions > Member Tracking

To get more info simply click on the username in the stats section, brilliant!

Thanks Paul for the fixed product,installed and working a treat :up:

anuanu 01-11-2009 03:42 PM

Im running 3.8.0 RC2 and i get this error:

"The following dependencies were not met:

1. This product is not compatible with version 3.8.0 Release Candidate 2 of vBulletin. (Compatible starting with 3.8.0 / Incompatible with 3.8.99 and greater)"

KEKforce 01-11-2009 03:51 PM

Why not upgrade to 3.8.0 ??? (gold)

anuanu 01-11-2009 04:49 PM

Didnt realize they were past RC2, Ill download it and try it again.

anuanu 01-11-2009 05:24 PM

Yep, upgrading seemed to work :) Thank you

digicom 01-12-2009 12:06 AM

Thanks Installed n Working :up:

frosch68 01-15-2009 12:03 PM

great hack :up:

Is it possible to do this in a VbAcmps-module as the "who is visited" hack ? that were great.. :rolleyes:

Thanks a lot...

Paul M 01-15-2009 02:17 PM

Sorry, I cannot help with 3rd party mods.

DjEddie 01-15-2009 02:39 PM

$template_hook[forumhome_wgo_pos2]

How do you change the positioning on the above hook. Since I installed this the members list has moved below another mod that is attached to this hook.

Paul M 01-15-2009 04:46 PM

You cant, unless you start playing with execution orders and possibly hooks.

Mark.B 01-15-2009 08:41 PM

Thanks Paul for this modification, it's great.

One observation: titles seem to show up funny when viewing an individual member, the title bar shows the html for the link to the user's profile.

<title>Member : <a href='member.php?userid=2674'>scrotnig</a> : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 - BC Forums</title>

morrow 01-15-2009 08:46 PM

I'm surprised nobody asked for a screenshot yet... How bout it?

Paul M 01-16-2009 07:13 AM

Quote:

Originally Posted by Mark.B (Post 1713838)
Thanks Paul for this modification, it's great.

One observation: titles seem to show up funny when viewing an individual member, the title bar shows the html for the link to the user's profile.

<title>Member : <a href='member.php?userid=2674'>scrotnig</a> : Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 - BC Forums</title>


So it does, i'll look into that when I have a few moments.

-=Leb=- 01-16-2009 10:35 PM

hi Paul, i'm getting database error afterwhen i updated member visit . Would you plz check the problem?
Thank You
Jonas



Database error in vBulletin 3.8.0:

Invalid SQL:

SELECT * FROM membervisits AS membervisits FORCE INDEX (dateline)
INNER JOIN user AS user USING (userid)
WHERE membervisits.dateline > 1232065944 ORDER BY username;

MySQL Error : Got error 28 from storage engine
Error Number : 1030
Request Date : Friday, January 16th 2009 @ 05:32:24 PM
Error Date : Friday, January 16th 2009 @ 05:32:25 PM
Script : http://www.firewallcs.net/forums/
Referrer :
IP Address : 213.1
Username : -=Leb=-
Classname : vb_database
MySQL Version : 5.0.67-log

-=Leb=- 01-16-2009 10:46 PM

I turned it off now and the forum is back up

SnowBot 01-17-2009 04:56 AM

Thanks for the update Paul

frosch68 01-17-2009 07:02 AM

Quote:

Originally Posted by Paul M (Post 1713422)
Sorry, I cannot help with 3rd party mods.

Doesn't matter, Paul. Thanks for your response

Paul M 01-17-2009 10:33 AM

Quote:

Originally Posted by Leb (Post 1715181)
hi Paul, i'm getting database error afterwhen i updated member visit . Would you plz check the problem?
Thank You
Jonas

Database error in vBulletin 3.8.0:

MySQL Error : Got error 28 from storage engine

Error code 28: No space left on device

This is a problem with your server, mysql is running out of space.

jazde86 01-20-2009 02:28 PM

Hi Paul,

can you let me know the variable of this Add-on to put the infobar on other pages, like a vBa module? The code from the Who have visited today doesn't work anymore.

Thanks.

Paul M 01-20-2009 02:48 PM

This will only work on the forumhome page.

Sunka 01-21-2009 06:04 AM

Quote:

The member visits table can be cleaned of old records to help control it's size.
How to do that?

Paul M 01-21-2009 11:54 AM

Its a setting in the mod options.

Rottimom 02-08-2009 04:34 PM

Hello

I have a problem.
I would like a tracking member in a different place than it appears by default the case.
Red where it is displayed, the arrow is where I would be happy.
Change I $template_hook[\'forumhome_wgo_pos2 in $template_hook[\'forumhome_wgo_pos1 it is too far above.
How can I get it exactly at the point where I can show it would have been happy?
Before the upgrade to vB 3.8.1 from 3.7.2, it was at this point.

Thanks

Drago912 02-27-2009 05:12 PM

I get this error when trying to set usergroup permissions:

Code:

Fatal error: Using $this when not in object context in /home/content/A/u/s/XXXXXXXXX/html/forums/admincp/usergroup.php(335) : eval()'d code on line 1
any ideas?

Paul M 02-27-2009 08:35 PM

That is an error on the admin_usergroup_save hook (which is not used by this mod) - so some other product is broken.

Drago912 02-28-2009 03:17 AM

cool....thanks, found the problem product. However, I dont know where you see all this ifo at? Im also confused as to the hook you mention that needs to be in any custom template??


All times are GMT. The time now is 07:14 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.01371 seconds
  • Memory Usage 1,819KB
  • 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
  • (1)bbcode_code_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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