vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Who has read a Thread (https://vborg.vbsupport.ru/showthread.php?t=197487)

Paul M 11-27-2008 10:00 PM

Who has read a Thread
 
As of 24 Nov 2017 this modification has been withdrawn.

This displays who has read a thread, and the time they last looked at it.

Hovering over a name will show when the member last viewed the thread, you can view the ip address the member used in the 'View-All' display.

There is also an option to allow a thread author to view who has read their thread when they are not in one of the allowed usergroups. The IP and number of days restrictions still apply.

The 3.8.001 release adds the option to restrict the display to certain forums only.

The set/reset facility allows members to click on the 'set' link which then sets a personal 'cutoff' time - only showing who has read the thread after that time. The time can be reset as many times wanted, and also completely cleared again. When using this facility there is also a link to allow you to view a seperate list of all readers of the thread.

Warning: When using the set/reset option - there is only a limited capacity of entries per thread (several thousand) - therefore you should only allow this feature to be used by a limited number of people - typically Staff usergroups. Allowing all members to use it will probably slow down your forum and cause errors if more than about 3000 members set a date on one thread.

A cron job (optionally) allows the deletion of records from the whoread table that are over a certain age - this is provided for large forums where the number of table entries can start to reach a million or more after 12 months. The delete age is a setting in the ACP.

There are also settings for the following (in vBulletin Options > Who Has Read a Thread) ;

1. Turn the system on/off.
2. Restrict the display to certain usergroups
3. Restrict the IP display to certain usergroups.
4. Restrict the display to a set number of days.
5. Option to allow thread author to view who read information.
6. Option to turn on the who read cutoff date (reset) function
7. Restrict use of reset function to certain usergroups.
8. Option to set whoread data records to be cleaned out after xxx days.
9. Clicking on a user will display a page of their thread viewing history, most recent first.
10. Restrict the display to certain forums only.

Note: When using option 4 or the set/reset facility, the data is still kept beyond this limit, so they can be changed at any time.

Download the zip, extract the XML file and import using the vb Product Manager.

Note: The experimental TMS support has been removed from the 3.8 Version - as of 3.8 Gold a template hook is available.

Template Hook

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

showthread_after_activeusers

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



History:

v3.8.001 : First Release for vb 3.8.
v3.8.002 : Changed to use template hook in 3.8.0 Gold.
v3.8.003 : Fix permission bugs when using the forum restrictions option.


g0dfather1984 11-28-2008 03:15 PM

Thank you, Paul.

Sunka 12-04-2008 12:17 PM

Should this version work in v3.7.4 PL1?

Paul M 12-04-2008 03:21 PM

No, this is for 3.8

aeturner89 12-05-2008 11:13 PM

Might want to fix the typo. :)

Quote:

vBulletin 3.7 Version

Paul M 12-06-2008 10:55 AM

Thanks, edited. :)

Bounce 12-06-2008 08:35 PM

Thanks paul :up:

Audentio 12-06-2008 10:50 PM

Installed!

LeatherNeck 12-08-2008 11:15 PM

Thanks for this :)

Medtech 12-09-2008 12:38 AM

Thanks, Installed

djwins 12-09-2008 04:53 AM

For privacy issues, it might be cool to have an option where only the # of users who have read the thread is displayed

Paul M 12-09-2008 12:10 PM

Interesting idea, might consider that for the future.

Golzarion 12-10-2008 03:24 PM

Quote:

Originally Posted by djwins (Post 1681429)
For privacy issues, it might be cool to have an option where only the # of users who have read the thread is displayed

I disagree .
It is more useful for administrators to see the thread viewer with their ip addresses! specially use this hack for moderator forum or private threads.

(Although the idea of creating this hack doesn't mean for this work. but it is now can be more useful.)

GreasySpoon 01-06-2009 08:55 PM

Any chance to fix the problem with TMS? :o

PossumX 01-07-2009 02:32 AM

Is the upgrade required for 3.8?

GreasySpoon 01-07-2009 07:30 AM

Quote:

Originally Posted by GreasySpoon (Post 1703624)
Any chance to fix the problem with TMS? :o

I have find a solution.

If you are using TMS, enable the option "Auto-Template Changes : Who Read This Thread" and add the variable "$wrtdata" to the template "SHOWTHREAD" at the position where the table should be shown.

Greets

dt_truck11 01-08-2009 07:06 PM

when i upgraded from the 3.7 version of this mod. all of the sudden stopped working. i have checked that the users viewing thread is turned on and that my usergroup is allowed. i have this mod to be displayed on all the forums also and yet it still does not show up. i have uninstalled and then reinstalled and still doesnt work. any help would be greatly appreciated.

Derekclarke 01-08-2009 09:39 PM

As above, I have just upgraded my forum to 3.8 and although the old version of this hack was still working I upgraded to this version and now it has stopped working.

I have tried to un-install the hack and then re-install it. I then put in the user group privileges

but still this does not work.

I checked the users browsing settings and these are also correct.

Paul M 01-09-2009 07:03 AM

You must have the correct template hook in your showthread template (it was only added in the 3.8.0 gold release) - if you are using a customised template either copy the hooks over, or revert it.

dt_truck11 01-09-2009 11:44 AM

what is the hook called? because it doesnt seem to show on my default style at all

Paul M 01-09-2009 04:55 PM

showthread_after_activeusers

Sunka 01-11-2009 12:07 AM

For upgrade from version for vBulletin v3.7.x to this MOD version (for v3.8.0), I have to just owerwrite product?
I do not have to uninstall firs old one and then install this version of MOD?

dt_truck11 01-11-2009 12:13 AM

Quote:

Originally Posted by Sunka (Post 1707989)
For upgrade from version for vBulletin v3.7.x to this MOD version (for v3.8.0), I have to just owerwrite product?
I do not have to uninstall firs old one and then install this version of MOD?

na u should be able to just overwrite it

lostguy 01-11-2009 02:26 AM

This very good script ! used since 3.6.X to now 3.8.X ! Thanks :)

LostGuy

Paul M 01-11-2009 01:24 PM

Quote:

Originally Posted by Sunka (Post 1707989)
For upgrade from version for vBulletin v3.7.x to this MOD version (for v3.8.0), I have to just owerwrite product?

Yes.

kencasanova 01-11-2009 02:00 PM

once i import it show database error

Whity 01-16-2009 08:37 AM

Quote:

Originally Posted by Paul M (Post 1706518)
showthread_after_activeusers

find in showthread template
PHP Code:

<!-- end currently active users --> 

after add
PHP Code:

$template_hook[showthread_after_activeusers


It is correct?

Paul M 01-16-2009 12:00 PM

Yes, that looks right, just compare it with the default (master) template.

Paul M 01-17-2009 10:40 AM

No template edits are needed.

michi123 01-17-2009 10:47 AM

hell ye! i always searched in the profiles of the members lol, so i didnt find anything! didnt know where to find who read a thread... sry i deleted my other post overthere! cuz it was just a dumb question... now i´ve found it! thx 4 help..

Angel-Wings 01-17-2009 04:35 PM

Quote:

Originally Posted by kencasanova (Post 1708576)
once i import it show database error

Which error ? Just to be sure it's really a problem with that plugin or something else maybe ? :)

EricPSF 01-18-2009 04:37 AM

Hi,

My qn may seem stupid, but where is this "Show Users Browsing Threads" option set in your vbulletin options for this to display"? I can't locate this particular options?:(

** Please ignore this post...I have found it, btw it is inside "Forum Display Options (forumdisplay)" for those who can't locate it too =P

Thank you.

Regards,
Eric

Paul M 01-18-2009 12:08 PM

Actually, thats not the correct option, so you can turn it off.

The actual option is in "Thread Display Options (showthread)" - but its no longer necessary for this to be turned on anyway (in the 3.8 version). I have removed that note from the main post.

Dragons76 01-20-2009 04:07 AM

How to get over the post as on the copy attached screen

Many thank's for your answer

Paul M 01-20-2009 08:40 AM

Sorry, I cannot help with individual customisation - btw, you are not showing as licenced either.

TheArve 01-21-2009 09:58 PM

Thanks for this,, really appreciate ur time taken,

CHeers

thearve

DeithWen 01-26-2009 09:24 AM

The error "you do not have permission to access this page" arises, if:
1. The option "Allowed Forums" is used and not null.
2. Choose "Members who have read this thread -- View-All", then click to someone of the users at this table.

Paul M 01-27-2009 05:49 PM

Sorry, I cannot replicate that on my test site.

Paul M 01-28-2009 10:47 AM

I have now replicated your issue - you confused it by saying "View-All" - that is a seperate link.

The problem is viewing all the threads for an individual user by clicking on their username - this fails with a no permission error instead of listing all the threads they have read (in the allowed forums only).

I can confirm this is a bug and will be fixed in 3.8.003, I will release the update as soon as I get time.

Lautaro 01-28-2009 10:52 PM

Thank you very much for this update, im now updating !


All times are GMT. The time now is 11:41 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,816KB
  • 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_php_printable
  • (7)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