Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Who has read a Thread Details »»
Who has read a Thread
Version: 3.8.003, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.8.x Rating:
Released: 11-27-2008 Last Update: 02-28-2009 Installs: 1096
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
Scanu, Simon Lloyd, SyRiAn BoY, z3r0

Comments
  #222  
Old 08-02-2010, 09:10 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sinpin View Post
By default administrator and thread author can view who read information,
How do I set this permission to all usergroups ?
Look in the settings, if its an option it will be in there.

Quote:
Originally Posted by sinpin View Post
+ Is there a way to allow "view who read information" permission to only all active users on each thread ?
What do you mean by active users in a thread ?
Reply With Quote
  #223  
Old 08-03-2010, 03:13 AM
sinpin sinpin is offline
 
Join Date: Jan 2008
Location: Paradise
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Look in the settings, if its an option it will be in there.?
thanks, set Usergroup Restrictions to 0 and works fine now.

Quote:
Originally Posted by Paul M View Post
What do you mean by active users in a thread ?
I mean, users who posted in a thread
Reply With Quote
  #224  
Old 08-03-2010, 03:06 PM
aleko aleko is offline
 
Join Date: Mar 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks a lot man! :-) gonna find them leechers....
Reply With Quote
  #225  
Old 08-14-2010, 04:47 PM
ctrlbrk ctrlbrk is offline
 
Join Date: Nov 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by odln018 View Post
Just got this upon attempting to import.

Database error in vBulletin 3.8.2:

Invalid SQL:
INSERT DELAYED INTO whoread
(userid, threadid, dateline, ipaddress)
VALUES (1, 367, 1242237395, '');

MySQL Error : DELAYED option not supported for table 'whoread'
Error Number : 1616
Request Date : Friday, May 15th 2009 @ 10:54:22 AM
Edit the XML file and delete the word DELAYED, then re-import with overwrite, should work. It did for me.

Mike
Reply With Quote
  #226  
Old 08-14-2010, 05:51 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or ask your host why they have disabled that option in mysql.
Reply With Quote
  #227  
Old 08-14-2010, 06:26 PM
ctrlbrk ctrlbrk is offline
 
Join Date: Nov 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Or ask your host why they have disabled that option in mysql.
Sure But I am running a dedicated box and using InnoDB, so nothing was 'disabled'.

Great mod, thank you. vB 3.8.5.

Mike
Reply With Quote
  #228  
Old 08-15-2010, 03:07 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh right.

Not sure why you would want to run all tables as InnoDB, but yes, delayed will fail as innodb does not support it.
Reply With Quote
  #229  
Old 08-25-2010, 04:24 PM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul M, quick question if you don't mind.
Quote:
A cron job (optionally) allows the deletion of records from the whoread table that are over a certain age
I'm assuming to have this cron job enabled all I need to do is enter a number in the Table Clean Up option, but now is there also supposed to be a cron job entry in the Scheduled Task Manager, because I see nothing there related to this add-on?

Thanks mate.
Reply With Quote
  #230  
Old 08-25-2010, 06:33 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It uses one of the existing vb cron jobs.
Reply With Quote
  #231  
Old 09-09-2010, 01:17 AM
snappy1313 snappy1313 is offline
 
Join Date: Jul 2007
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you please link to the 4.0 version? Thank you.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 08:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04858 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete