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=230736)

Paul M 12-20-2009 10:00 PM

Who has read a Thread
 

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


bart6767 12-21-2009 09:23 PM

Thanks paul .

iguano 12-21-2009 10:18 PM

Thanks :)

arauf 12-21-2009 10:37 PM

Perfect !

Thanks.

kevin2008 12-21-2009 10:47 PM

thank you

elwachiman 12-22-2009 02:56 AM

perfect tnks man

Raug 12-22-2009 03:19 AM

I believe the first 3 div blocks in Display_Readers looked like this:
PHP Code:

<div id="thread_onlineusers" class="collapse">
        <
div  class="inner_block" id="wrt_list" style="{vb:raw vbcollapse.collapseobj_wrt_list}">
            <
div

But shouldn't it look like this?

PHP Code:

<div id="thread_onlineusers" class="collapse">
        <
div class="thread_info_block" id="wrt_list" style="{vb:raw vbcollapse.collapseobj_wrt_list}">
            <
div class="inner_block"

I had to swap it a little bit in order for the inner_block to show up correctly and at the correct dimensions.

Outside of that, thanks for updating!

kisanjong 12-22-2009 06:28 AM

Thanks Paul looks great - Installed

sa3sa3 12-22-2009 07:56 AM

Thanks .... works fine

Paul M 12-22-2009 08:29 AM

Quote:

Originally Posted by Raug (Post 1935136)
I believe the first 3 div blocks in Display_Readers looked like this:
PHP Code:

<div id="thread_onlineusers" class="collapse">
        <
div  class="inner_block" id="wrt_list" style="{vb:raw vbcollapse.collapseobj_wrt_list}">
            <
div

But shouldn't it look like this?

PHP Code:

<div id="thread_onlineusers" class="collapse">
        <
div class="thread_info_block" id="wrt_list" style="{vb:raw vbcollapse.collapseobj_wrt_list}">
            <
div class="inner_block"

I had to swap it a little bit in order for the inner_block to show up correctly and at the correct dimensions.

Outside of that, thanks for updating!

I will take a look. This dates from one of the betas so it may have changed slightly without me noticing.

Edit: Yep, you are correct, updated in 4.0.3 - Thanks. :)

bollie 12-22-2009 08:59 AM

thanks for update ;)

gyaronn 12-22-2009 09:41 AM

you are the MAN :-)

Adem GEN? 12-22-2009 11:50 AM

Thanks, Installed

halkum 12-22-2009 12:48 PM

I want to send you a Christmas gift!

Paul M 12-22-2009 02:05 PM

Quote:

Originally Posted by halkum (Post 1935397)
I want to send you a Christmas gift!

The (Paypal) Support Developer link is always available in the main post. :cool:

sa3sa3 12-22-2009 11:01 PM

Paul

Is there a way to change the word "View-Readers" to my language ?
Thanks

CarterMarkham 12-23-2009 12:44 AM

Paul, I am also having trouble getting this to show on my forum, I have a custom theme and its not showing up...

HN? 12-23-2009 01:23 AM

Thanks paul

chriske 12-23-2009 04:36 AM

Wow, I made this suggestion a couple of weeks ago @ vbul.com, and now here I see this fantastic mod :)

I will definitely try it out! Thanks man :)

Merjawy 12-23-2009 04:57 AM

Thanks .. used the mod for 3.8 for sometime and loved it

Marked installed

KissOfDeath 12-24-2009 07:46 PM

Thanks, works great

Gleedo 12-31-2009 06:27 AM

Very tidy mod paul - many thanks :)

EDIT:Just spotted an issue I think...

I installed it and had the Allowed Forums property set to 0 and looked to make sure it was working.

I then changed that property to be a few specific forum ids 20,23,25,35,38,44 and saved. Then went to see if it was still working on just those specific forums, but nothing was displayed below the threads.

Should that have worked?

Paul M 12-31-2009 12:10 PM

Quote:

Originally Posted by Gleedo (Post 1943182)
Should that have worked?

Yes it should.

I'll try it on my test forum shortly.


Edit: Tested and confirmed. Im looking into it atm.

Paul M 12-31-2009 12:59 PM

This was due to the conversion to vb4 and the way the a new hook I used actually worked. Should be fixed in 4.0.5.

Gleedo 12-31-2009 01:18 PM

Quote:

Originally Posted by Paul M (Post 1943358)
This was due to the conversion to vb4 and the way the a new hook I used actually worked. Should be fixed in 4.0.5.

Thanks for the update Paul - now works as Id hoped :)

albibak 01-10-2010 06:08 PM

Paul M,

Thanks for the mod
Please, find in attachment the french translation
You can find the french topic for this mod here: http://forum.vbulletin-fr.org/modifi...tte-discussion

Marv 01-12-2010 01:56 PM

And another goodie by Paul ;)

Paul, only as a short note - or a suggestion:
I used this one in the earlier versions and the users were able to see that box - and they loved it. This actual mod is going way more deeper and could be used to track down which sites a specific user has viewed - if available for all members - and interfere with the most privacy policies. Any chance that users could see the basic box but without the links in it, set thru usergroups ? For me as an admin it?s a wonderful tool. But I can?t offer this to my customers, cause something like the public displaying of what a user was reading over the last time is violating (our) federal law.

BTW: You remember that FC-problem we tried to solve on my site ? I asked Pavel to inform u about what we found out a day after to make your life easier with supporting ur FC mods.

Paul M 01-12-2010 02:42 PM

Yes, I plan to add a couple more permissions, and convert all the usergroup options to actual permissions in the usergroup manager (which will mean uploading a bifields file).

absy 01-14-2010 03:24 PM

Can anyone help me with a stylevar please, using a customised style, this text:
Quote:

Last Post : 01-11-2010, 01:49 PM
in the mod is white and I wish to change it, Ive been searching for hours to find what controls the colour of text on it and failed

Thanks if you can

Paul M 01-14-2010 08:48 PM

Quote:

Originally Posted by absy (Post 1955616)
Can anyone help me with a stylevar please, using a customised style, this text:
in the mod is white and I wish to change it, Ive been searching for hours to find what controls the colour of text on it and failed

Thanks if you can

In a default style its set by the text colour of the main body tag (Stylevar: body_color). However, that affects a lot of text. Someone may have overridden that in a custom style.

absy 01-14-2010 09:00 PM

its ok thx I fixed it now :)

Dr.osamA 01-14-2010 11:07 PM

Quote:

All settings are located in vBulletin Options > Who Has Read a Thread
I'm very happy about this MOD, but unfortunately I can not find the settings no wher

thanxx very mutch

installed
________
The cigar boss

ndut 01-15-2010 12:07 AM

installed. thank you

Paul M 01-15-2010 07:57 AM

Quote:

Originally Posted by Dr.osamA (Post 1956084)
I'm very happy about this MOD, but unfortunately I can not find the settings no wher

thanxx very mutch

installed

The options section in your Admin Control Panel.

CheeSie 01-15-2010 08:17 AM

Some of my members gets this error when viewing the list of thread readers..
Code:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1146) : eval()'d code on line 109

Paul M 01-15-2010 08:29 AM

That may be true, but its not being caused by this mod.

Thats an error on the cache_templates hook (used by any mod that has its own templates). Some use the array_merge command, I however, do not. One of your other mods is generating that error.

CheeSie 01-15-2010 08:40 AM

oh okay.. XD
I just thought it was your mod as it showed up when viewing that list.. But thanks, I'll go do some debugging :)

KissOfDeath 01-15-2010 11:24 AM

Hi, is their a mod like this available to show you who has read an article

Paul M 01-15-2010 06:34 PM

None I know of.

Robru 01-16-2010 08:26 PM

v4.0.4 must be v4.0.8 ?


All times are GMT. The time now is 07:14 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.01619 seconds
  • Memory Usage 1,832KB
  • 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
  • (4)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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