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

Reply
 
Thread Tools
Display members who have recently read a thread Details »»
Display members who have recently read a thread
Version: 2.24, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 07-15-2005 Last Update: 05-14-2006 Installs: 227
 
No support by the author.

This modification is no longer available or supported.

If you have the new thread reading system enabled then this hack will use it to display anyone who has recently read a thread. The time limit is determined by your vb options thread marking limit.

You must be using the database thread marking system for this hack to work.


To install this hack, unzip the xml file and import it via the product manager.

The ACP settings are in vbulletin options > thread display options.


Upgrades:

To upgrade from version 2.18 or before, to version 2.21 onwards, you need to uninstall the product and remove the template code in SHOWTHREAD - then upload the new product. To upgrade from version 2.20 onwards, upload the new product with overwrite set to yes.


History:

v2.16 : Added ACP setting to turn the display on/off.
v2.17 : Added ACP setting to restrict which usergroups can view the display.
v2.18 : Added hover display to each username which shows the date/time of the last post (in the thread) at the time the member read it.
v2.19 : Not released.
v2.20 : Not released.
v2.21 : Removed the need to edit the SHOWTHREAD template.
v2.22 : Updated ACP view permission option to take into account secondary
v2.23 : Added 'nofollow' attribute to listed usernames.
v2.24 : Minor changes, no update necessary.

Show Your Support

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

Comments
  #92  
Old 11-17-2005, 02:32 PM
microzott microzott is offline
 
Join Date: Jan 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

as more info: the link is shownig the date/time of the last post not the recently read date/time

my configuration step by step:

1) install every thing following paul instructions (template+product)
2) goto in the ACP/vBulletin Options/General settings and put a value for "Database Read Marking Limit" (I am using 30 days)
3) goto in the CP/vBulletin Options/General settings and flag "Database (no automatic forum marking)" in "Thread/Forum Read Marking Type"
4) goto in the CP/vBulletin Options/Thread Display Options (showthread) and flag "yes" in "Display who has Recently Read a Thread"
5) goto in the CP/vBulletin Options/Thread Display Options (showthread) and insert one or more usergroups in "Who has Recently Read a Thread Usergroups" (I have only the value 6 - administrators)
Reply With Quote
  #93  
Old 11-17-2005, 02:39 PM
aciurczak aciurczak is offline
 
Join Date: Jun 2005
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's working exactly as designed. See post #66 just above. vbulletin doesn't store the time a member reads a thread. Paul made a great addition to his original hack by checking which posts a member read, and posting the time of the last read post when you hover over their name. Heck, even the text in your screenshot says "time of last read post", not "time they read the last post". This time is useful, because you can see which posts a member had read at the time they last visited the thread.
Reply With Quote
  #94  
Old 11-17-2005, 02:52 PM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by microzott
as more info: the link is shownig the date/time of the last post not the recently read date/time

my configuration step by step:

1) install every thing following paul instructions (template+product)
2) goto in the ACP/vBulletin Options/General settings and put a value for "Database Read Marking Limit" (I am using 30 days)
3) goto in the CP/vBulletin Options/General settings and flag "Database (no automatic forum marking)" in "Thread/Forum Read Marking Type"
4) goto in the CP/vBulletin Options/Thread Display Options (showthread) and flag "yes" in "Display who has Recently Read a Thread"
5) goto in the CP/vBulletin Options/Thread Display Options (showthread) and insert one or more usergroups in "Who has Recently Read a Thread Usergroups" (I have only the value 6 - administrators)

Thank you vry much for your assistance! And you are right the times don't match, its 10hrs 26 mins behind...
Reply With Quote
  #95  
Old 11-17-2005, 02:56 PM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/me installs

thanks paul
Reply With Quote
  #96  
Old 11-17-2005, 04:50 PM
microzott microzott is offline
 
Join Date: Jan 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi aciurczak,
I'm not sure if I have correctly understood...
...but the time displayed by the onmouseover is the date/time of the last post in that thread
...nothing related with the user, all users that have read that thread will display the exact time of the last post posted, is it correct?

see my post #89
Reply With Quote
  #97  
Old 11-17-2005, 04:54 PM
aciurczak aciurczak is offline
 
Join Date: Jun 2005
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No. Read post #66 again.

The mouseover time will show the time of the last post that that user read on the thread.

post 1 (10 AM)
post 2 (11 AM)
post 3 (12 noon)

user 1 visits the thread at 11:30, user 2 visits the thread at 12:30.

The mouseover time for user1 will be 11 AM, as that is the last post he saw. User2 will have a mouseover time of 12 noon.

"Time of last read post."
Reply With Quote
  #98  
Old 11-17-2005, 05:09 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 microzott
wher is it in the ACP? I don't remember and i can't' find it

changing all the if conditions in the product (false -> true in $show['whohasread'] = true now I can see the box, but still with no data
I confirm you that the admin user group is 6

is this one?
Quote:
Originally Posted by microzott
now seems that is working

but I still have two issues to fix
1) find the correct parameter for "The amount of time in days to store the thread and forum read times. All threads or forums without posts in this many days will be considered read."

2) fix the "if" condition for the user groups
I have no idea what you have done, there is nothing needs editing or fixing. Simply install and make sure you have one of the database thread marking options selected (i.e. not the activity/cookie based option).

Quote:
Originally Posted by microzott
but i think I have found a real bug:
No, you haven't read the notes properly. It is the "time of the last read post", that is the timestamp on the last post, at the point the member read the thread, not the time they read the thread. This means you can easily see what posts they have not yet seen/read.
Reply With Quote
  #99  
Old 11-18-2005, 07:02 AM
microzott microzott is offline
 
Join Date: Jan 2005
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
I have no idea what you have done, there is nothing needs editing or fixing. Simply install and make sure you have one of the database thread marking options selected (i.e. not the activity/cookie based option).

No, you haven't read the notes properly. It is the "time of the last read post", that is the timestamp on the last post, at the point the member read the thread, not the time they read the thread. This means you can easily see what posts they have not yet seen/read.
ok, I am sorry
everything is fine and working, my mistake was the database thread marking option (I was using cookie based).
Reply With Quote
  #100  
Old 11-18-2005, 07:22 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 microzott
my mistake was the database thread marking option (I was using cookie based).
You're not the first, you won't be the last.
Reply With Quote
  #101  
Old 11-18-2005, 08:25 AM
ayaam ayaam is offline
 
Join Date: Aug 2004
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good work , Thanks for update it to 3.5.1
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 03:53 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.05157 seconds
  • Memory Usage 2,321KB
  • 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
  • (6)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
  • (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