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
  #42  
Old 10-09-2005, 04:45 AM
secret1980 secret1980 is offline
 
Join Date: Oct 2004
Location: India
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it possible to make this option so tht only mods & admins can see who have read the thread ??
Reply With Quote
  #43  
Old 10-09-2005, 01:25 PM
havefun's Avatar
havefun havefun is offline
 
Join Date: Jan 2002
Location: Spain & Austria
Posts: 83
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* havefun clicks install
[/high]

and working fine THX
Reply With Quote
  #44  
Old 10-09-2005, 04:13 PM
Basit Basit is offline
 
Join Date: Apr 2004
Location: London
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks
Reply With Quote
  #45  
Old 10-09-2005, 08:59 PM
RaceJunkie RaceJunkie is offline
 
Join Date: Jun 2005
Posts: 371
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Racejunkie Clicks install
Reply With Quote
  #46  
Old 10-10-2005, 12:19 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RaceJunkie
Racejunkie Clicks install
How the heck do I change the phrases displayed????
I've noticed that they are not vbphrases but where are they????
Reply With Quote
  #47  
Old 10-10-2005, 12:38 AM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you have "who is viewing the thread" activated I made a template modification that will "split" the table that contains the users currently viewing the thread in half and make it display the users that have viewed the thread in the last X days in the second column. This way it looks neater I think as if you have those 2 enabled it looks quite terrible

TEMPLATE MODIFICATION
(do this instead of the one that's written in the companion txt, not both)

In SHOWTHREAD find:
HTML Code:
<td class="tcat" colspan="2">
			<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]
		</td>
</tr>
replace with:
HTML Code:
		<td class="tcat" colspan="2">
			<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
		</td>
		<if condition="$vboptions[threadmarking] AND $bbuserinfo[userid]">
		<td class="tcat" colspan="2" width="50%">
					<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('thread_readers')"><img id="collapseimg_thread_readers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_thread_readers].gif" alt="" border="0" /></a>

		$trtitle</td>
		</if>
	</tr>
	<tbody id="collapseobj_thread_readers" style="$vbcollapse[collapseobj_thread_readers]">
Find:
HTML Code:
<tr>
		<td class="alt1" colspan="2">
			<span class="smallfont">$activeusers
		</td></tr>
Replace that with:
HTML Code:
<tr>
		<td class="alt1" colspan="2">
			<span class="smallfont">$activeusers</span>
		</td>
		<if condition="$vboptions[threadmarking] AND $bbuserinfo[userid]">
		<td class="alt1" colspan="2">
				<span class="smallfont">$treaders</span>
			</td>
		</if>
	</tr>
	</tbody>
Please inform if this causes any bugs. I tested it in my site and it works well

I attach a screenshot too so that you can see what this is about
Reply With Quote
  #48  
Old 10-10-2005, 09:29 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 Loukrhtia
How the heck do I change the phrases displayed????
I've noticed that they are not vbphrases but where are they????
Depends when you downloaded it. Version 2.11 (released earlier in the week) uses phrases, the older 2.01 did not.
Reply With Quote
  #49  
Old 10-10-2005, 09:31 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 Loukrhtia
If you have "who is viewing the thread" activated I made a template modification that will "split" the table that contains the users currently viewing the thread in half and make it display the users that have viewed the thread in the last X days in the second column. This way it looks neater I think as if you have those 2 enabled it looks quite terrible

Please inform if this causes any bugs. I tested it in my site and it works well

I attach a screenshot too so that you can see what this is about
I would be curious to know what happens when you try and collapse the list ....
Reply With Quote
  #50  
Old 10-10-2005, 04:53 PM
gnubittol gnubittol is offline
 
Join Date: Jun 2005
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

* installed *
thanks!
Reply With Quote
  #51  
Old 10-10-2005, 10:03 PM
Lea Verou Lea Verou is offline
 
Join Date: Jul 2005
Location: Greece
Posts: 1,856
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
I would be curious to know what happens when you try and collapse the list ....
It collapses all the tbody, including the members who are currently viewing. That's what I wanted to do with mine in the first place and I posted it in case aomeone else needs it
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:39 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.04720 seconds
  • Memory Usage 2,322KB
  • 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
  • (4)bbcode_html
  • (4)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