vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - Who has read a Thread (https://vborg.vbsupport.ru/showthread.php?t=168302)

Paul M 01-19-2008 10:00 PM

Who has read a Thread
 
This modification is no longer available or supported.

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, and (optionally) what IP address they viewed it from. Note that you can only view the ip addresses 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 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.

Note: You must have the "Show Users Browsing Threads" option set in your vbulletin options for this to display.

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.

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.

Version 3.7.006 has experimental support for TMS. If you have TMS installed then the existing automatic template update system will be disabled in favour of TMS. One effect of this is that when using TMS the requirement for "Show Users Browsing Threads" to be enabled is bypassed . This version will continue to work as before for those who do not use TMS.


History:

v3.7.001 : First Release for vb 3.7.
v3.7.002 : Added check for 'view others threads' permission.
v3.7.003 : Fix for cron_script hook changed in 3.7 Beta 4.
v3.7.004 : Bug fix for days limit when reset option is enabled.
v3.7.005 : Updated to remove potential $group variable name clash.
v3.7.006 : TMS Support added, this is currently experimental.
v3.7.007 : Threads read via the archive are now recorded. Minor permissions update as well.


Sofia 01-20-2008 04:28 PM

Thank you, Paul :)

Carly 01-20-2008 05:19 PM

Where is this information displayed?

I've installed it and set my usergroup as the only one that can see them, and I can't see anything on any thread (they have been replied to and viewed by members since I installed this hack, so it's not due to inactivity).

yahoooh 01-20-2008 05:42 PM

can u extended it for blog also?

Zagis 01-20-2008 06:33 PM

Hi,

I'm getting the following db error in the ACP
Code:

Database error in vBulletin 3.7.0 Beta 3:

Invalid SQL:
CREATE TABLE for_whoread (
        userid int(10) unsigned NOT NULL default 0,
        threadid int(10) unsigned NOT NULL default 0,
        dateline int(10) unsigned NOT NULL default 0,
        ipaddress varchar(20) NOT NULL default '',
        PRIMARY KEY (userid,threadid),
        KEY dateline (threadid,dateline),
        KEY ipaddress (ipaddress));

MySQL Error  : Table 'for_whoread' already exists
Error Number  : 1050
Date          : Sunday, January 20th 2008 @ 10:27:28 PM
Script        : http://www.mysite.com/forum/admincp/plugin.php?do=productimport
Referrer      : http://www.mysite.com/forum/admincp/plugin.php?do=productadd
IP Address    : 12.34.56.789
Username      : *****
Classname    : vB_Database
MySQL Version : 5.0.45-community-log


projectego 01-20-2008 06:58 PM

[high]* projectego clicks install ;)[/high]

Paul M 01-20-2008 06:58 PM

@Zagis - If the table exists it shouldn't try and create it again - but I forgot to take prefixes into account. I've updated it slightly.

Paul M 01-20-2008 07:03 PM

Quote:

Originally Posted by yahoooh (Post 1425307)
can u extended it for blog also?

No, this is purely for threads only.

Paul M 01-20-2008 07:04 PM

Quote:

Originally Posted by Carly (Post 1425285)
Where is this information displayed?

I've installed it and set my usergroup as the only one that can see them, and I can't see anything on any thread (they have been replied to and viewed by members since I installed this hack, so it's not due to inactivity).

Currently Active Users Viewing This Thread must also be activated.

Zagis 01-20-2008 07:15 PM

Quote:

Originally Posted by Paul M (Post 1425349)
@Zagis - If the table exists it shouldn't try and create it again - but I forgot to take prefixes into account. I've updated it slightly.

Yup, now works perfect!

Thanks Paul :up:


All times are GMT. The time now is 06:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01185 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete