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

Category: Show Thread Enhancements - Version: 4.1.11 Rating:
Released: 12-20-2009 Last Update: 05-23-2012 Installs: 1270
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.


--------------------------------------------------------------------------------
This modification has been withdrawn.
vBulletin 4.0.x and 4.1.x are no longer supported.

The feature is already built into the core vBulletin 4.2.x code.
--------------------------------------------------------------------------------


This displays who has read a thread, and the time they last looked at it.

The main features of the 4.x version are as follows ;

(Note, items in this colour are those added to vB4.2 core)

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.
11. The display can be set as always collapsed on initial page load.
12. Restrict the list of reader names to certain usergroups.
13. Restrict the list of recent threads a member has read to certain usergroups.

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.

There is also a link to allow you to view a seperate list of all readers of the thread, this is where the ip will be shown [if you have permission].

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: 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.

All settings are located in vBulletin Options > Who Has Read a Thread

To install, download the zip, extract the XML file and import using the vb Product Manager.


History:

v4.0.1 : 21-Dec-2009 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 21-Dec-2009 : Add missing template to cache.
v4.0.3 : 22-Dec-2009 : Minor display fix as posted by Raug.
v4.0.4 : 24-Dec-2009 : Install code updates.
v4.0.5 : 31-Dec-2009 : Fixed bug in forum selection feature.
v4.0.6 : 03-Jan-2010 : Fixed template cache bug due to v4.0.5 changes. Display css updates.
v4.0.7 : 10-Jan-2010 : Minor display fix.
v4.0.8 : 16-Jan-2010 : Added always collapsed option, updated install code.
v4.0.9 : 19-Jan-2010 : Fix collapse icon position when thread information block enabled.
v4.0.10 : 23-Jan-2010 : Fix minor display issue. Settings updated. Other minor changes.
v4.0.11 : 18-Feb-2010 : Installer & code updates.
v4.0.12 : 23-Feb-2010 : Fix Author display.
v4.0.13 : 27-Feb-2010 : Style code updates for vB 4.0.2.
v4.0.14 : 29-May-2010 : Fix error in upgrade section of install code.
v4.0.15 : 11-Jul-2010 : Internal ip address changes, not released.
v4.0.16 : 22-Oct-2010 : Fixed for style changes in vB 4.0.8.
v4.0.17 : 25-Oct-2010 : Fix missing action links, broken by v4.0.16.
v4.0.18 : 06-Nov-2010 : Install code updated.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.
v4.1.1 : 27-Dec-2010 : Fix permission bug.
v4.1.2 : 30-Dec-2010 : Fixed small permission bug in set/reset. Added new display permissions.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.
v4.1.8.0 : 18-Nov-2011 : Updated for vBulletin 4.1.8 onwards (only).
v4.1.11.0 : 03-Mar-2012 : Updated for vBulletin 4.1.11 image changes.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
7 благодарности(ей) от:
acco, Baja, Hippy, misericorde, pantani, PuxPhil, Ranger187

Comments
  #232  
Old 12-20-2010, 01:09 PM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
I'm not sure what I'm missing and I apologize if I don't understand what you're saying, but it appears that all the user screens are accessible using Google Web Cache search, regardless of the AdminCP settings or when they were added?
I double and triplechecked that for me and can?t confirm what you are experiencing. Could it be that you have set a login for the GoogleBot you may be have forgotten about? Happend to me in the past and resulted in an ugly reminder like that
Reply With Quote
  #233  
Old 12-20-2010, 01:26 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marv View Post
I double and triplechecked that for me and can?t confirm what you are experiencing. Could it be that you have set a login for the GoogleBot you may be have forgotten about? Happend to me in the past and resulted in an ugly reminder like that
Hmmm... not sure ...

I do use Google Analytics and to do so, I had to paste code into the footer...

Code:
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "xxxxxxxxxxx";
urchinTracker();
</script>
Is that what you're referring to?

You can see from the pics I posted that the List of Threads Viewed by xxx do appear in Google CSE searches ...

Thanks for the feedback Marv...

Regards,
Doug
Reply With Quote
  #234  
Old 12-20-2010, 01:37 PM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To be honest, I can´t recall wether it was Analytics or AdSense. In one of both you could set a login for their bots to crawl sites in the way registered users see it. I guess it was AdSense but I´m not sure. Guess you have to look into your settings there.
Reply With Quote
  #235  
Old 12-20-2010, 01:55 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marv View Post
To be honest, I can?t recall wether it was Analytics or AdSense. In one of both you could set a login for their bots to crawl sites in the way registered users see it. I guess it was AdSense but I?m not sure. Guess you have to look into your settings there.
Interesting ...

I use Adsense as well, but I don't remember giving them that privilege, but I'll check it Marv ... :up:

Although, even if they were just a registered user, that class of usergroup doesn't have permissions to access this mod's screens.

Thanks again ...

Regards,
Doug
Reply With Quote
  #236  
Old 12-20-2010, 02:36 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 have looked into this more deeply this afternoon and confirmed there is an issue within the code.

In short - if you have the "Allow Thread Author" option enabled, a bug within the code will allow guests to bypass the permission check on the viewuser page. The workaround [until its fixed] is to disable that option.
Reply With Quote
  #237  
Old 12-20-2010, 03:25 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you so much Paul ....

I will disable the "Allow Thread Author" option now.... :up:

Unfortunately. I notice that the latest version you have v4.1 is noted as not compatible with vBulletin 4.0.7 or Less.

We are still using your v4.0.14 with 4.04pl1 of vBulletin and for a whole range of reasons, won't be able to upgrade vBulletin to be able to use a newer fixed version. If it's possible, a patch through a code statement would be great so we could reactivate that function for the original posters.

Regards,
Doug

ps: I was actually going to spend the holidays going through your excellent mods, as I bet we have nearly every one of them installed, checking to see which ones we can upgrade and which later ones don't support our version any longer.
Reply With Quote
  #238  
Old 12-20-2010, 03:42 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

Line 686 of the XML ;

Change this ;

PHP Code:
    $ugroups unserialize($vbulletin->options['wrtgrps']); 
    if (!((
is_member_of($vbulletin->userinfo,$ugroups) OR $ugroups[0] == 0) OR 
    ((
$threadinfo['postuserid'] == $vbulletin->userinfo['userid']) AND $vbulletin->options['wrtauthor']))) 
    {
        
print_no_permission();
     } 

To this;

PHP Code:
    $ugroups unserialize($vbulletin->options['wrtgrps']); 
    if (!(
is_member_of($vbulletin->userinfo,$ugroups) OR $ugroups[0] == 0)) 
    {
        
print_no_permission();
     } 
Reply With Quote
  #239  
Old 12-20-2010, 03:45 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 BadgerDog View Post
Unfortunately. I notice that the latest version you have v4.1 is noted as not compatible with vBulletin 4.0.7 or Less.
This is purely down the the large number of style changes made in 4.0.8 - they affected about 8 (or more ?) of my mods.
Reply With Quote
  #240  
Old 12-20-2010, 04:02 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
This is purely down the the large number of style changes made in 4.0.8 - they affected about 8 (or more ?) of my mods.
Understood .. no problem ... I just appreciate being able to continue to use your mods, even on our older version.. :up:

I note that there's two occurrences of the XML code (line 686) you recommend get changed. Unfortunately, we don't have an editor with a line counter on our MacBook Pro, just a simple text editor. So, is the one that gets changed the first or second instance of the exact same code shown in your patch?

Thanks Paul ..

Regards,
Doug
Reply With Quote
  #241  
Old 12-20-2010, 08: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 is the second instance (only).
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 05:55 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.06771 seconds
  • Memory Usage 2,344KB
  • 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
  • (2)bbcode_php
  • (5)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
  • (7)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