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
  #172  
Old 10-29-2009, 12:46 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

Optimize in what way exactly ?

I have well over 1 million records and its fine for me since all database calls use indexes.
Reply With Quote
  #173  
Old 10-31-2009, 12:41 PM
rollerman rollerman is offline
 
Join Date: Oct 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by samouri View Post
Sorry, but I'm at a loss.

I'm a complete new website builder and don't know what I have to do here.

Can anyone explain where I can get the above and once I obtain it, what do I do with it?

many thanks in advance.
Seconded. I didn't see a reply to this in this thread.

What exatly is a "template hook," and where do I put it? I gather that it's the "showthread" template, but where do I go to change that?

Pardon my ignorance. This is my first trip around the block with vB hacks and such, so I'm trying to learn as quickly as possible.

Thanks.
Reply With Quote
  #174  
Old 11-01-2009, 08:06 PM
vktechnology vktechnology is offline
 
Join Date: Jul 2004
Location: London, England
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Optimize in what way exactly ?

I have well over 1 million records and its fine for me since all database calls use indexes.
Hello Paul M

Something wrong with my index

KEY `readtime` (`dateline`)
I don't know how this value come from.

I changed to
KEY dateline (threadid,dateline)

now is working fast

Thank you.
Reply With Quote
  #175  
Old 11-01-2009, 10:01 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

Yep, you certainly need the dateline index defined, otherwise it would be deadly slow .....

I have no idea where that readtime definition came from, the proper definition has been the same in all versions (since it first got released for 3.5).
Reply With Quote
  #176  
Old 11-03-2009, 06:26 PM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #177  
Old 11-04-2009, 04:05 PM
ricardoNJ ricardoNJ is offline
 
Join Date: Sep 2008
Posts: 295
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem with the time. I created a new thread at 2:58 am and when I see the "View-All" botton it show me at 14:58.
Any help about this?
Reply With Quote
  #178  
Old 11-20-2009, 02:49 PM
halkum halkum is offline
 
Join Date: Feb 2006
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul, we getting a vb4 version?
Reply With Quote
  #179  
Old 11-20-2009, 09:00 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

Maybe, if I can figure out how to display tabulated data in vb4.
Reply With Quote
  #180  
Old 11-21-2009, 12:33 PM
halkum halkum is offline
 
Join Date: Feb 2006
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it helps, I know installing it to vb4 does not break the forums. It just doesn't display the information.
Reply With Quote
  #181  
Old 11-21-2009, 01:30 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

I know I have a partially updated version from Alpha 3, not looked at it since.
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 02:56 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.05638 seconds
  • Memory Usage 2,317KB
  • 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
  • (2)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
  • (2)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