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.7.007, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.7.x Rating:
Released: 01-19-2008 Last Update: 06-21-2008 Installs: 847
Translations  
No support by the author.

This modification is no longer available or supported.

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, and (optionally) what IP address they viewed it from. Note that you can only view the ip addresses 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 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.

Note: You must have the "Show Users Browsing Threads" option set in your vbulletin options for this to display.

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.

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.

Version 3.7.006 has experimental support for TMS. If you have TMS installed then the existing automatic template update system will be disabled in favour of TMS. One effect of this is that when using TMS the requirement for "Show Users Browsing Threads" to be enabled is bypassed . This version will continue to work as before for those who do not use TMS.


History:

v3.7.001 : First Release for vb 3.7.
v3.7.002 : Added check for 'view others threads' permission.
v3.7.003 : Fix for cron_script hook changed in 3.7 Beta 4.
v3.7.004 : Bug fix for days limit when reset option is enabled.
v3.7.005 : Updated to remove potential $group variable name clash.
v3.7.006 : TMS Support added, this is currently experimental.
v3.7.007 : Threads read via the archive are now recorded. Minor permissions update as well.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #152  
Old 06-01-2008, 09:59 AM
drsli's Avatar
drsli drsli is offline
 
Join Date: Jan 2008
Location: Germany
Posts: 128
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much for this enhancement!
Reply With Quote
  #153  
Old 06-01-2008, 12:14 PM
mikes04537 mikes04537 is offline
 
Join Date: Oct 2007
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed! Thanks
Reply With Quote
  #154  
Old 06-15-2008, 04:24 AM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where does this information show up in my thread? I have it active and have given the proper permissions, etc. The "Show Users Browsing Threads" is active.I don't see it. Help!!
Reply With Quote
  #155  
Old 06-17-2008, 07:20 PM
PGAmerica PGAmerica is offline
 
Join Date: Mar 2008
Posts: 405
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there ANY support for this hack at all?
Reply With Quote
  #156  
Old 06-18-2008, 03:35 PM
TrIn@dOr TrIn@dOr is offline
 
Join Date: Nov 2006
Location: South Bend, IN
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Spanish (Argentina - AR) without "vBulletin Settings" section.
Reply With Quote
  #157  
Old 06-19-2008, 09:34 AM
aciurczak aciurczak is offline
 
Join Date: Jun 2005
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm seeing some inconsistent behavior with this mod. I'm at the latest vB version (3.7.1 PL2). Several times yesterday, I was watching a particular thread on my site. There were users who were shown in the "Currently Active Users Viewing This Thread" section, yet they were not being shown in the "Members who have read this thread" section right below. For most users, this worked fine; they showed up in both. In some (but not all) cases, those users had been to that thread in the past, and if I clicked on their username for it to pop up the last threads they have visited, it would show the time in the past that they visited that thread, but not the current visit that they were on right now.

I optimized/repaired all tables, reset all counters, and still saw this behavior again afterwards. I'll take a screenshot the next time I see it, but hopefully my description above is reasonably clear.

EDIT: Screenshot attached. My cursor is over the "Eye-a-tollah you buddy" user, and it is showing last visit date of May 21st. He visited the forum, and that specific thread, today. I saw his user ID in the "currently active users viewing this thread" section directly above. Yet his userID wasn't being updated in the "who have read this thread" section. My "who have read this thread" section is sorted by date, not username, so it was easy to see that it wasn't updating correctly.
Reply With Quote
  #158  
Old 06-19-2008, 04:32 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

The data is updated after the thread is displayed.
Reply With Quote
  #159  
Old 06-19-2008, 04:55 PM
aciurczak aciurczak is offline
 
Join Date: Jun 2005
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, but the thread was displayed yesterday, and it's still not updated. It never updated, that's the problem. It still says the last time he was at that thread was May 21st, but I saw him visit it on June 18th. I was sitting there watching the screen, refreshed it multiple times, never updated. And it still hasn't.

This may just be coming to light because it's now a requirement to have that "currently viewing this thread" field right there and visible. I have had a hunch for awhile that the "who has read a thread" field may be missing users, as I would send out email links directly to threads, users would come to the site in response, yet it would look as if they only came to the home page and not that thread; their usernames never showed up. That's only a hunch and can't be proven, because if I don't know if they didn't go there, I can't confirm that their username was omitted.

But now, I can, just by looking right above.
Reply With Quote
  #160  
Old 06-19-2008, 07:18 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

Its not possible to "miss users" if they have actually displayed the thread. The data is updated by the showthread_complete hook, which is called just before the page is output. The only way for it not to happen is if something [else] breaks the plugin/hook.
Reply With Quote
  #161  
Old 06-19-2008, 10:40 PM
aciurczak aciurczak is offline
 
Join Date: Jun 2005
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Then something else is evidently breaking the plug-in/hook. I'll take more screenshots when I see the same behavior again. Any suggestions on how to find what else may be using or affecting that hook? I don't have a highly modified board, and most of the hacks (at least most of the useful ones) are yours anyway.
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 05:57 AM.


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.10066 seconds
  • Memory Usage 2,302KB
  • 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
  • (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
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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