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

Reply
 
Thread Tools
Display who has read a thread - Version 3 Details »»
Display who has read a thread - Version 3
Version: 3.13, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 04-04-2006 Last Update: 05-14-2006 Installs: 202
 
No support by the author.

This modification is no longer available or supported.

This is a completely new version, based on the idea of my "Display who recently read a thread" hack.

It has a few differences that some people may prefer to the other system. However, those differences may not suit everyone so both versions will continue to be available. Note however that they both have the same product id, it is not possible (or sensible !) to use both at the same time. You can upgrade Version 2 to Version 3 simply by importing the new product with overwrite set to 'yes'.

This version uses it's own table and does not rely on the database thread marking system being active, this also means that old data is not lost when the display limit is passed. The problem of people not being recorded when reading old threads is also removed.

The hack is a vb product and is installed in the normal manner via the product manager - the installation does a small amount of processing so be patient.

Hovering over a name in the displayed list will show when the member last visited the thread, and (optionally) what IP address they last visited it from.

There are settings for the following (in vBulletin Options - Thread Display Options) ;

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.

Note: When using option 4, the data is still kept beyond this limit, so it can be changed at any time.


History:

v3.12 : First Release.
v3.13 : Minor changes, no update necessary.

Show Your Support

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

Comments
  #142  
Old 06-18-2006, 07:26 PM
hotwheels hotwheels is offline
 
Join Date: May 2005
Location: Cheyenne, wy
Posts: 1,380
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great idea, can't believe i didn't add this earlier.........thanks
Reply With Quote
  #143  
Old 07-02-2006, 02:49 PM
Vogelfreund Vogelfreund is offline
 
Join Date: Mar 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yorixz
"2. Restrict the display to certain usergroups"
Hi,

is there any way to change it to usernumbers instet og groups?
Reply With Quote
  #144  
Old 07-02-2006, 02:54 PM
Vogelfreund Vogelfreund is offline
 
Join Date: Mar 2002
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i mean...

change:

PHP Code:
    $groups explode(',',$vbulletin->options['whohasreadgrps']); 
    if (
is_member_of($vbulletin->userinfo,$groups) OR $groups[0] == 0
Into somthing like this:

PHP Code:
    $members explode(',',$vbulletin->options['whohasreadgrps']); 
    if (
$vbulletin->userid,$members
Can someone help with the correct variables ?
Reply With Quote
  #145  
Old 07-02-2006, 07:33 PM
Montana Montana is offline
 
Join Date: Oct 2004
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where doers this show up in the AdminCP? I'm not seeing where I can administer it.
Reply With Quote
  #146  
Old 07-02-2006, 07:35 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

It tells you in the main post.
Reply With Quote
  #147  
Old 07-24-2006, 11:56 AM
paul41598's Avatar
paul41598 paul41598 is offline
 
Join Date: Jun 2004
Location: MI
Posts: 732
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice! Thanks Paul
Reply With Quote
  #148  
Old 07-31-2006, 03:59 PM
I||usi0nz I||usi0nz is offline
 
Join Date: Jul 2004
Location: New York
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

worsk great, thanks
Reply With Quote
  #149  
Old 08-02-2006, 12:36 AM
Whiterook Whiterook is offline
 
Join Date: Jun 2005
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank You Paul, I hope to get this installed tonight.



Edited to Read as follows:

Got it to install just fine!, works great too, but.........

I had another one installed, deleted it via the plugin manager. My problem is, for some reason the other plugin did not completely uninstall (only a guess). I have attached the two variations shown in the jpg.

Here is the code I find in the "SHOWTHREAD". Am I seeing two instances below? If so, could you tell me which one to remove?
I see no other "who viewed this thread" in the document. If this code is correct, could someone possibly tell me which template the other was coded?

The other mod was called "who_has_viewed_this_thread.xml" 4KB. I will search for the author, I am unprepared as usual.


Code:
<!-- who viewed this thread -->
	<br />
	<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
	<tr>
		<td class="tcat" colspan="2">
			$vbphrase[already_viewed_this_thread]
		</td>
	</tr>
	<tr>
		<td class="alt1" colspan="2">
			<span class="smallfont">$thread[viewers]</span>
		</td>
	</tr>
	</table>
<!-- who viewed this thread -->

Many Thanks to any who can help,
WhiteRook



Edit 1 more time!

Before anyone tells me the above syntax is not apart of Pauls mod.... I just found that out. I love finding my own errors...

So, if anyone has installed the above named Mod, and you have tried to uninstall it. You will need to find the above code in the Showthread template, and Remove it as well. That code was manually placed in the template, and needs to be manually removed of course... *whistles as he looks to the sky

Thanks again for the mod Paul.... great work man!
Reply With Quote
  #150  
Old 09-04-2006, 04:47 PM
grazianno grazianno is offline
 
Join Date: May 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bada_bing
reserved for later use.. Any screen shots?
too funny
Reply With Quote
  #151  
Old 09-25-2006, 02:17 PM
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
Location: NY
Posts: 208
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
To work, this comment must be present in the showthread template (in the appropiate place).

PHP Code:
<!-- end currently active users --> 
Obviously it's in the default vb style, but it maybe missing from your custom style so you will need to add it.
nice ! good info right there, got it reworking in my custom template
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 10:56 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.06892 seconds
  • Memory Usage 2,318KB
  • 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)bbcode_code
  • (3)bbcode_php
  • (3)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
  • (3)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