Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #182  
Old 12-09-2009, 05:19 AM
lav0s's Avatar
lav0s lav0s is offline
 
Join Date: Jan 2004
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i'm wondering if you are thinking in convert this mod to vb4, mind if you give me a little hint?
Reply With Quote
  #183  
Old 12-09-2009, 08:07 AM
Alucard^'s Avatar
Alucard^ Alucard^ is offline
 
Join Date: Feb 2008
Location: Argentina
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi... Nice hack, i have a question... This hack show people that are in Invisibile mode?

Thx and sry for my english.
Reply With Quote
  #184  
Old 12-09-2009, 09:16 AM
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 Alucard^ View Post
Hi... Nice hack, i have a question... This hack show people that are in Invisibile mode?
If you have permission to see them.
Reply With Quote
  #185  
Old 12-09-2009, 04:57 PM
RedHotChili's Avatar
RedHotChili RedHotChili is offline
 
Join Date: Mar 2009
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!

Brilliant work, Paul! :up:

Thanks so much for your thorough attention to detail!

Enthusiastically installed!
Reply With Quote
  #186  
Old 12-09-2009, 05:24 PM
RedHotChili's Avatar
RedHotChili RedHotChili is offline
 
Join Date: Mar 2009
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, started playing with it now that it's installed, and a few anomalies popped up.

There are some users who have posted in a thread, yet their names are not being displayed as having viewed the thread. Is it because the mod won't display this information accurately on threads prior to the install?

Also, and this is a minor issue, the usernames are being displayed with the inherent html formatting, which in my forum the list can get quite crowded with the larger name display. I believe there's a way to get usernames to display unformatted in the list of who has read thread, as I've done it before elsewhere. Just need to look it up and find the right code for it. But this has really nothing to do with the mod, as this is how names are displayed in VB by default in the "Currently Active Users" in the "What's Going On" table, which I have tweaked on my forum by removing formatting.
Reply With Quote
  #187  
Old 12-09-2009, 06:24 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 RedHotChili View Post
There are some users who have posted in a thread, yet their names are not being displayed as having viewed the thread. Is it because the mod won't display this information accurately on threads prior to the install?
Yep, Im afraid I havent quite worked out time travel yet

Quote:
Originally Posted by RedHotChili View Post
Also, and this is a minor issue, the usernames are being displayed with the inherent html formatting, which in my forum the list can get quite crowded with the larger name display. I believe there's a way to get usernames to display unformatted in the list of who has read thread, as I've done it before elsewhere. Just need to look it up and find the right code for it. But this has really nothing to do with the mod, as this is how names are displayed in VB by default in the "Currently Active Users" in the "What's Going On" table, which I have tweaked on my forum by removing formatting.
You can edit the template to remove the mark-up.
Reply With Quote
  #188  
Old 12-09-2009, 09:30 PM
RedHotChili's Avatar
RedHotChili RedHotChili is offline
 
Join Date: Mar 2009
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Yep, Im afraid I havent quite worked out time travel yet
hehe


Quote:
Originally Posted by Paul M View Post
You can edit the template to remove the mark-up.
Thanks. Will do.
Reply With Quote
  #189  
Old 12-10-2009, 03:52 AM
RedHotChili's Avatar
RedHotChili RedHotChili is offline
 
Join Date: Mar 2009
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
You can edit the template to remove the mark-up.
Okay, I see I'm gonna need a little help here, as my previous method of stripping away markup won't work here.

This is what I did before:

I edited template forumhome_loggedinuser by replacing:
Code:
$loggedin[musername]
with
Code:
$loggedin[username]

But there is no "musername" in this template, so where do I go to remove the mark-up?

Is it here?
Code:
$threadreader['username'] = "<strong>$vbphrase[wrt_member]</strong>";
Do I just remove the "strong" tag here and possibly elsewhere?

Thanks in advance, Paul.
Reply With Quote
  #190  
Old 12-10-2009, 09:45 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Search the templates for $threadreader[opentag] & $threadreader[closetag] and remove them.
Reply With Quote
  #191  
Old 12-10-2009, 04:46 PM
RedHotChili's Avatar
RedHotChili RedHotChili is offline
 
Join Date: Mar 2009
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Search the templates for $threadreader[opentag] & $threadreader[closetag] and remove them.
Excellent! :up:

Works like a charm!

Thanks Paul.
Reply With Quote
Reply

Thread Tools

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:30 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.07445 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
  • (3)bbcode_code
  • (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