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

Paul M 06-07-2008 10:00 PM

Member Tracking
 
This modification is no longer available or supported.

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.



History:

v3.7.001 : Initial vb 3.7 release.
v3.7.002 : List and view time cutoff options added.
v3.7.003 : Tracking of visits to archive pages added.
v3.7.004 : List/View cutoff options combined into one. Member hyperlinking added.


Subah 06-08-2008 07:45 PM

Cool ,Thanks :)
Any screenshots ?

ssslippy 06-08-2008 08:17 PM

How is the load increase from this?

Also you need a link to memberlist in quicklinks cause if you have the display disabled in the bottom of your page u have no way to quick access it.

Forumdayim.Net 06-08-2008 08:36 PM

Isn't there a screenshot ?

Mrdby 06-08-2008 09:15 PM

installed!

Mrdby 06-08-2008 09:17 PM

I don't see anything different.

shofolofo 06-08-2008 09:28 PM

any screenies?

Kaleem 06-08-2008 09:50 PM

Thanks worked like a charm :)

One of the screeny is here.

tirol07 06-08-2008 10:45 PM

installed! Thanks

Paul M 06-09-2008 12:17 AM

Quote:

Originally Posted by ssslippy (Post 1544409)
How is the load increase from this?

How long is a piece of string ? I cannot possibly answer such a question.

Quote:

Originally Posted by ssslippy (Post 1544409)
Also you need a link to memberlist in quicklinks cause if you have the display disabled in the bottom of your page u have no way to quick access it.

Hmm, I'll think about that, I cant really see the vast majority of people installing this and then turning the display off.


Quote:

Originally Posted by Subah (Post 1544387)
Any screenshots ?

Quote:

Originally Posted by shofolofo (Post 1544455)
any screenies?

No, not at the moment. Such things are very low priority.

Zaiaku 06-09-2008 12:35 AM

Paul another great mod, not just have to figure out how can I use this to my advantage on my forum.

Anway you can set this to X amount of hours?

ssslippy 06-09-2008 12:54 AM

Found a bug when this option is set to no you cant access the memberlist page. You should be able to access the memberlist page without having the last 24 hr listing.
Code:

Set to 'Yes' to enable the Member Tracking display. Note that if the master enable is set to yes, then data will still be collected, even if this is set to 'No'. You must disable the whole modification to prevent this.

Paul M 06-09-2008 01:36 AM

Its not a bug.

verino 06-09-2008 02:50 AM

Quote:

Note that installing this will automatically remove the "Members Who Have Visited Today" modification.
Thank's, I guess I don't have to remove your previous mod, right :D

Ideal Web Tech 06-09-2008 06:18 AM

Hey Paul I installed this a bit ago and it works halfway. The part where it does what the who has visited hack does unfortunately doesn't work for me.

It shows the table for the addon but in the cell next to the icon where it is supposed to list the members and the record ever online it shows "Resource id #49". I looked threw the code some but I'm fairly tired so I didn't spend much time on it yet but I will report back when I look at it more later. If you have any ideas please let me know and I will look into them.

So for now I have disabled it till then.

kushal 06-09-2008 06:37 AM

No template addition happening. Can you let me know what to insert into forumhome template.

AdrianH 06-09-2008 07:18 AM

Great job Paul, thanks.

Ideal Web Tech 06-09-2008 07:32 AM

Quote:

Originally Posted by kushal (Post 1544761)
No template addition happening. Can you let me know what to insert into forumhome template.

You had to setup the usergroup permissions to allow the usergroups to see it. It is disabled by default.

Quote:

Originally Posted by Ideal Web Tech (Post 1544746)
Hey Paul I installed this a bit ago and it works halfway. The part where it does what the who has visited hack does unfortunately doesn't work for me.

It shows the table for the addon but in the cell next to the icon where it is supposed to list the members and the record ever online it shows "Resource id #49". I looked threw the code some but I'm fairly tired so I didn't spend much time on it yet but I will report back when I look at it more later. If you have any ideas please let me know and I will look into them.

So for now I have disabled it till then.


I have solved the problem that I was having now. It was a variable conflict of the variable not living the scope till the navbar template was built because of a query call with the same variable name. So I renamed $memberlist to $memberlistwv everywhere it was referenced to solve the problem on my site. In case anybody else has that problem thats all there is to fixing it.

Blackheart_72 06-09-2008 09:00 AM

Thanks, works great.:)

KURTZ 06-09-2008 09:02 AM

sounds good Paul ... :) so this replaces completely the 'who's has visited' hack right?

edit: just a question: what is the difference between 'run code on all vb pages' and 'run only on forumhome'? i don't understand this :)

Ideal Web Tech 06-09-2008 10:02 AM

Quote:

Originally Posted by KURTZ (Post 1544822)
sounds good Paul ... :) so this replaces completely the 'who's has visited' hack right?

edit: just a question: what is the difference between 'run code on all vb pages' and 'run only on forumhome'? i don't understand this :)

Yes it will completely replace the who has visited hack. If you have it installed when you install this hack it will uninstall it for you.

The difference between run code on all vb pages and run only on forumhome is the running it only on forum home allows you to show it on ex: https://vborg.vbsupport.ru/ where as run on all pages if you know what your doing and change the replacement condition you can use it to show the who has visited box on all pages. This will run the code and associated queries on all pages even if you dont have it displayed on all pages if you change this settings.

KURTZ 06-09-2008 10:28 AM

thx IWT :) now a simple question, if i wanna use the code all around i must do some template modifications? or what? i just tried this onto my test board (without any modification) and i don't see anything over the other pages ... thx

Ideal Web Tech 06-09-2008 10:38 AM

You control it using the ATCS options. These are advanced settings so if you go to play with them you better have a clear idea of what you are doing.

ATCS: Template Name - The name of the template we are to automatically edit. This is the template it will search for the Search Text in.
ATCS: Search Text - Text to search for that serves as an insertion point for the hacks output. This should be a unique statement.

Example Setup:

ATCS: Template Name - navbar
ATCS: Search Text - <!-- / nav buttons bar -->

That will make it show up below the navigation buttons row in the navbar. You might need to edit the hack template to make the spacing above and below it proper.

Super Jinni 06-09-2008 10:58 AM

thanks Paul

I was really looking for something like this for long time

great job..

KURTZ 06-09-2008 11:01 AM

ah OK this stuff isn't for me ... however thx :)

Paul M 06-09-2008 11:36 AM

Quote:

Originally Posted by Ideal Web Tech (Post 1544786)
I have solved the problem that I was having now. It was a variable conflict of the variable not living the scope till the navbar template was built because of a query call with the same variable name. So I renamed $memberlist to $memberlistwv everywhere it was referenced to solve the problem on my site. In case anybody else has that problem thats all there is to fixing it.

Is this another public mod with the same name or something custom on your site ?

Ideal Web Tech 06-09-2008 01:18 PM

To be honest I didn't pay enough attention to which mod was causing it. But I do know that it wasn't any of my custom code as my naming conventions I use would prevent that.

BigDog56 06-09-2008 04:41 PM

Thank you very much! Works great!

shofolofo 06-10-2008 06:23 AM

How to clear the data every week for example ?

I could not find the cron job or you meant to set them ?

Paul M 06-10-2008 07:01 AM

Like it says ;

Quote:

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

Super Jinni 06-10-2008 09:20 AM

I just noticed that, it doesn't track user(s) who they use this, I mean if one of my moderators track user(s), if I want to track this moderator it shows me where he went but doesn't tell me that he tracked any user...

:)

Allan 06-10-2008 12:32 PM

French language :)

Translator: Sofia (Team vBr)

KURTZ 06-10-2008 12:45 PM

i'm wondering, but the tracking should be reset every day?

Ideal Web Tech 06-10-2008 02:01 PM

No it will track 2 days worth of member records by default. You can change this number up or down as you see fit. Remember the higher you set it and the more active your forum the more data you will be storing.

The Who Has Visited part is the one that works either for the a day or for a rolling 24 hours.

Jase2 06-10-2008 02:23 PM

Quote:

Originally Posted by Forumdayim.Net (Post 1544429)
Isn't there a screenshot ?

Paul doesn't upload screenshots that often. I'm the same way; if you want to know what it's like, install it on a test board ;)

Paul M 06-10-2008 05:22 PM

Quote:

Originally Posted by Super Jinni (Post 1545706)
I just noticed that, it doesn't track user(s) who they use this, I mean if one of my moderators track user(s), if I want to track this moderator it shows me where he went but doesn't tell me that he tracked any user...

You will see it in the memberlist if it was their last action, but other than that no - the visit tracking is only for the homepage/forums and threads.

Paul M 06-10-2008 05:24 PM

Quote:

Originally Posted by Ideal Web Tech (Post 1545885)
No it will track 2 days worth of member records by default. You can change this number up or down as you see fit. Remember the higher you set it and the more active your forum the more data you will be storing.

There is also a limit on how many records it will display per member (500 by default I believe).

Super Jinni 06-10-2008 08:15 PM

Quote:

Originally Posted by Paul M (Post 1546001)
You will see it in the memberlist if it was their last action, but other than that no - the visit tracking is only for the homepage/forums and threads.

OK..

what about profiles?
I'd like to see who saw whose profile, is that possible?

and if it possible to show who sent message to who I think that will be so great.. so that can be full tracking.

:)

Paul M 06-10-2008 10:32 PM

Nope this does neither of them (default vb tracks profile visits afaik).

KURTZ 06-11-2008 06:12 AM

Paul maybe i'm missing something but every midnight the members tracks are reset ... for example if i click over my nickname it shows me only the today's tracking ... (check the attachment)

my settings are:
Rolling 24 Hours Option: NO
Database Clean-up Period: 7
Member List Row Limit: 1000
Member Views Row Limit: 500

in the second pic that i've attached you can see another member tracks, like you can see it starts at midnight ...

maybe it depends by the 24h options settled to 'no'?


All times are GMT. The time now is 10:34 AM.

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.01426 seconds
  • Memory Usage 1,830KB
  • 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
  • (14)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