PDA

View Full Version : Show Thread Enhancements - Who has read a Thread


Pages : [1] 2

Paul M
11-27-2008, 10:00 PM
As of 24 Nov 2017 this modification has been withdrawn.

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, you can view the ip address the member used 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 3.8.001 release adds the option to restrict the display to certain forums only.

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.

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.
10. Restrict the display to certain forums only.

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.

Note: The experimental TMS support has been removed from the 3.8 Version - as of 3.8 Gold a template hook is available.

Template Hook

Please note that this modification uses the following template hook in the SHOWTHREAD template ;

showthread_after_activeusers

This must be present in any customised template/style you are using, otherwise this modification will not display.


History:

v3.8.001 : First Release for vb 3.8.
v3.8.002 : Changed to use template hook in 3.8.0 Gold.
v3.8.003 : Fix permission bugs when using the forum restrictions option.

g0dfather1984
11-28-2008, 03:15 PM
Thank you, Paul.

Sunka
12-04-2008, 12:17 PM
Should this version work in v3.7.4 PL1?

Paul M
12-04-2008, 03:21 PM
No, this is for 3.8

aeturner89
12-05-2008, 11:13 PM
Might want to fix the typo. :)

vBulletin 3.7 Version

Paul M
12-06-2008, 10:55 AM
Thanks, edited. :)

Bounce
12-06-2008, 08:35 PM
Thanks paul :up:

Audentio
12-06-2008, 10:50 PM
Installed!

LeatherNeck
12-08-2008, 11:15 PM
Thanks for this :)

Medtech
12-09-2008, 12:38 AM
Thanks, Installed

djwins
12-09-2008, 04:53 AM
For privacy issues, it might be cool to have an option where only the # of users who have read the thread is displayed

Paul M
12-09-2008, 12:10 PM
Interesting idea, might consider that for the future.

Golzarion
12-10-2008, 03:24 PM
For privacy issues, it might be cool to have an option where only the # of users who have read the thread is displayed
I disagree .
It is more useful for administrators to see the thread viewer with their ip addresses! specially use this hack for moderator forum or private threads.

(Although the idea of creating this hack doesn't mean for this work. but it is now can be more useful.)

GreasySpoon
01-06-2009, 08:55 PM
Any chance to fix the problem with TMS? :o

PossumX
01-07-2009, 02:32 AM
Is the upgrade required for 3.8?

GreasySpoon
01-07-2009, 07:30 AM
Any chance to fix the problem with TMS? :o

I have find a solution.

If you are using TMS, enable the option "Auto-Template Changes : Who Read This Thread" and add the variable "$wrtdata" to the template "SHOWTHREAD" at the position where the table should be shown.

Greets

dt_truck11
01-08-2009, 07:06 PM
when i upgraded from the 3.7 version of this mod. all of the sudden stopped working. i have checked that the users viewing thread is turned on and that my usergroup is allowed. i have this mod to be displayed on all the forums also and yet it still does not show up. i have uninstalled and then reinstalled and still doesnt work. any help would be greatly appreciated.

Derekclarke
01-08-2009, 09:39 PM
As above, I have just upgraded my forum to 3.8 and although the old version of this hack was still working I upgraded to this version and now it has stopped working.

I have tried to un-install the hack and then re-install it. I then put in the user group privileges

but still this does not work.

I checked the users browsing settings and these are also correct.

Paul M
01-09-2009, 07:03 AM
You must have the correct template hook in your showthread template (it was only added in the 3.8.0 gold release) - if you are using a customised template either copy the hooks over, or revert it.

dt_truck11
01-09-2009, 11:44 AM
what is the hook called? because it doesnt seem to show on my default style at all

Paul M
01-09-2009, 04:55 PM
showthread_after_activeusers

Sunka
01-11-2009, 12:07 AM
For upgrade from version for vBulletin v3.7.x to this MOD version (for v3.8.0), I have to just owerwrite product?
I do not have to uninstall firs old one and then install this version of MOD?

dt_truck11
01-11-2009, 12:13 AM
For upgrade from version for vBulletin v3.7.x to this MOD version (for v3.8.0), I have to just owerwrite product?
I do not have to uninstall firs old one and then install this version of MOD?

na u should be able to just overwrite it

lostguy
01-11-2009, 02:26 AM
This very good script ! used since 3.6.X to now 3.8.X ! Thanks :)

LostGuy

Paul M
01-11-2009, 01:24 PM
For upgrade from version for vBulletin v3.7.x to this MOD version (for v3.8.0), I have to just owerwrite product?

Yes.

kencasanova
01-11-2009, 02:00 PM
once i import it show database error

Whity
01-16-2009, 08:37 AM
showthread_after_activeusers

find in showthread template
<!-- end currently active users -->

after add
$template_hook[showthread_after_activeusers]


It is correct?

Paul M
01-16-2009, 12:00 PM
Yes, that looks right, just compare it with the default (master) template.

Paul M
01-17-2009, 10:40 AM
No template edits are needed.

michi123
01-17-2009, 10:47 AM
hell ye! i always searched in the profiles of the members lol, so i didnt find anything! didnt know where to find who read a thread... sry i deleted my other post overthere! cuz it was just a dumb question... now i´ve found it! thx 4 help..

Angel-Wings
01-17-2009, 04:35 PM
once i import it show database error

Which error ? Just to be sure it's really a problem with that plugin or something else maybe ? :)

EricPSF
01-18-2009, 04:37 AM
Hi,

My qn may seem stupid, but where is this "Show Users Browsing Threads" option set in your vbulletin options for this to display"? I can't locate this particular options?:(

** Please ignore this post...I have found it, btw it is inside "Forum Display Options (forumdisplay)" for those who can't locate it too =P

Thank you.

Regards,
Eric

Paul M
01-18-2009, 12:08 PM
Actually, thats not the correct option, so you can turn it off.

The actual option is in "Thread Display Options (showthread)" - but its no longer necessary for this to be turned on anyway (in the 3.8 version). I have removed that note from the main post.

Dragons76
01-20-2009, 04:07 AM
How to get over the post as on the copy attached screen

Many thank's for your answer

Paul M
01-20-2009, 08:40 AM
Sorry, I cannot help with individual customisation - btw, you are not showing as licenced either.

TheArve
01-21-2009, 09:58 PM
Thanks for this,, really appreciate ur time taken,

CHeers

thearve

DeithWen
01-26-2009, 09:24 AM
The error "you do not have permission to access this page" arises, if:
1. The option "Allowed Forums" is used and not null.
2. Choose "Members who have read this thread -- View-All", then click to someone of the users at this table.

Paul M
01-27-2009, 05:49 PM
Sorry, I cannot replicate that on my test site.

Paul M
01-28-2009, 10:47 AM
I have now replicated your issue - you confused it by saying "View-All" - that is a seperate link.

The problem is viewing all the threads for an individual user by clicking on their username - this fails with a no permission error instead of listing all the threads they have read (in the allowed forums only).

I can confirm this is a bug and will be fixed in 3.8.003, I will release the update as soon as I get time.

Lautaro
01-28-2009, 10:52 PM
Thank you very much for this update, im now updating !

Mellymonster
01-31-2009, 03:13 AM
some reason its not working for me :( I've upgraded from 3.7.5 to 3.8.1 and its not working :(

Paul M
01-31-2009, 10:14 AM
Most likely you are using a customised showthread template, therefore missing the template hook added in 3.8.0

Mellymonster
01-31-2009, 05:58 PM
How do i go about fixing it if so?

oicyu8chu
02-01-2009, 05:27 AM
How do i go about fixing it if so?

Just add:

$template_hook[showthread_after_activeusers]

after:

<!-- end currently active users -->
</if>

I manually did this myself after I noticed the same thing you did.

Mellymonster
02-01-2009, 06:30 AM
Thanks so much, it worked :)

bchertov
02-04-2009, 04:57 AM
Does this track views by un-registered guests?

yahoooh
02-04-2009, 06:36 AM
i suggest to make new feature :

block in profile for every user and he has option to show his recent xx thread reading
and this is will be great feature for user profile if it will be depend on the who read thread hack from paul

Paul M
02-04-2009, 07:13 AM
Does this track views by un-registered guests?
All guests are unregistered ??

Merjawy
02-07-2009, 01:14 PM
for the life of me I can't see it.. I have the hook in showthread already (I didn't have to edit)

Paul M
02-07-2009, 02:01 PM
There is nothing I can tell you without admin access to your forum.

araliun
02-14-2009, 11:56 AM
hell ye! i always searched in the profiles of the members lol, so i didnt find anything! didnt know where to find who read a thread... sry i deleted my other post overthere! cuz it was just a dumb question... now i?ve found it! thx 4 help..

Well - I'm having a hard time - it's probably right in front of my nose - but I do not see it.

Everything is installed. Hooks are in place in the templates.

I have set all view permissions to 0.

Help? :)

thanks.

Paul M
02-14-2009, 01:40 PM
See the post above yours.

araliun
02-14-2009, 05:39 PM
Can you provide a screen shot of what and where it's supposed to be? That would be very handy - then we can assess if our sites are working correctly or not. If not - THEN we can discuss that admin access stuff.

Thanks for your patience.

Paul M
02-14-2009, 05:48 PM
There is a screenshot in the old 3.5 thread.

https://vborg.vbsupport.ru/showthread.php?t=112192

araliun
02-15-2009, 02:33 PM
Ok. Thank you so much. Now I know where to look - and yes - my site is working fine and I can see it on my site working correctly.

Thank you for posting this.

Fynnon
02-16-2009, 01:02 PM
Can you add to this "Who has voted in topic poll" (with usergroups permissions)

Paul M
02-17-2009, 04:09 PM
Sorry, I dont understand your question / request.

Sunka
02-23-2009, 06:36 PM
When I click on username in Members who have read this thread window, it open smilies page in new window with this error on very top:

Parse error: syntax error, unexpected ';' in /home/pijanitv/public_html/forum/misc.php(100) : eval()'d code(402) : eval()'d code on line 18

Paul M
02-23-2009, 07:30 PM
Looks like you have a broken plugin somewhere, running on the misc_start hook.

Sunka
02-24-2009, 08:51 AM
Please, tell me what to look, how to fix

Paul M
02-24-2009, 09:01 AM
There is nothing more I can tell you - I cannot fix problems with your forum or other modifications.

Sunka
02-24-2009, 10:52 PM
No I do not asking you to fix my board, I asked you nicely, do you know how to fix error which produce your MOD.
I see that same error have 3 another users, so it is not because my forum...

I found this is plugin which couse error:

Product: Who Has Read a Thread
Hook location: misc_start

When I disable that one, syntax eror gone, but still when youclick on username in Members who have read this thread window, it open smilies page in new window.


Hope it will help!
Thanks for your effort.

Paul M
02-25-2009, 11:24 AM
I have no idea what you mean by "I see that same error have 3 another users" - but I will repeat - this is caused by something on your forum - otherwise everyone who had this installed (including me) would have the same error.

I cannot look at problems i cannot replicate.

p@ndu
02-25-2009, 11:49 AM
can i have this mod seen above quick reply

Paul M
02-25-2009, 02:01 PM
No.

alexquattro
02-28-2009, 02:01 AM
Hello,

I have exactly the same error when I open "View all" window...

Parse error: syntax error, unexpected ';' in /home/webmaster/www/------.net/forum/misc.php(100) : eval()'d code(1360) : eval()'d code on line 18

I tried to disable all products and modules - but it didnt help.

Vbulletin 3.8.1.

Thanks.

Paul M
02-28-2009, 08:16 AM
Like I said, I cannot replicate this, therefore I cannot tell you the cause.

JFYI, If you disable every other mod, and then post the error, it will at least tell me which line of the plugin (I can see that multiple mods are using that plugin atm). However, there really isnt much I can tell you unless I have access to your forum.

nikosb
02-28-2009, 02:46 PM
when i click on the "view all" that transfer me on the smileys page and show me error message:
Parse error: syntax error, unexpected ';' in /home/supagr/public_html/forums/misc.php(100) : eval()'d code(2099) : eval()'d code on line 18


how can i solve this problem?

my url page http://www.supa.gr/forums

Paul M
02-28-2009, 05:29 PM
Does anybody read previous posts ?

Please read the post above yours - I cannot replicate this.

Unless someone gives me access to a forum with this error, nothing will happen.

Paul M
02-28-2009, 10:37 PM
Thank you to nikosb for giving me access to his forum.

The problem is that on some forums vbulletin is not importing one of the product templates correctly - they seem to be tripping up on the copyright symbol © - as a result, the product template is malformed and gives the reported error. I assume this is some sort of bug in vbulletin - possibly language related as nikosb's forum is not english.

I have changed the template to use the html entity for the © symbol, as this should allow the template to be correctly imported. The changed version is now attached. Several other of my mods also use contain the symbol in a template - I will be updating them soon.

Bruce1984
02-28-2009, 11:55 PM
Thanks for your continuous hard work on the mod Paul :)

nikosb
03-01-2009, 12:26 AM
:up:
thank you Paul M

Switch02
03-01-2009, 09:00 AM
nice job Paul

Sunka
03-01-2009, 08:10 PM
Now it is working OK Paul.
Thanks

alexquattro
03-03-2009, 03:46 AM
Thank you Paul. It works!

RaSa
03-04-2009, 12:03 AM
Hello,

what I really miss is "show all threads read by xxx" in memberinfo. Please see attachement. How can I get that?

Thank you!

Paul M
03-04-2009, 07:15 AM
This has never had such an option.

duditas
03-05-2009, 08:02 PM
It seems to work perfectly well. Thanks

RaSa
03-07-2009, 02:14 PM
This has never had such an option.

Sorry, this option in memberinfo was avalaible only in the german version. See: http://www.vbulletin-germany.org/showthread.php?t=3573

Would be nice to get it here too.

snake-boy
03-08-2009, 12:18 PM
How could I move the display from below the post to above it? With the Quick Reply Box enabled, this data is moved way down where I don't want it.

Is it OK to move the hook?

$template_hook[showthread_after_activeusers]

From beneath:

<!-- end currently active users -->

to:

<!-- / controls above postbits -->


It does appear to work, but I'm concerned there my be caveats I'm not aware of doing this. I'd appreciate any help.

Paul M
03-08-2009, 03:03 PM
It will affect any other mods that happen to use that hook.

snake-boy
03-08-2009, 05:58 PM
It will affect any other mods that happen to use that hook.

Thank you, but does that mean it can't be moved without causing a potential issue?

Surely there must be a way I can paste the required code above/below the hook (at it's original location)? But I don't know enough about PHP to know what I should put where to make it work.

I would appreciate a solution or at least a suggestion to perhaps some alternate way I could move it?

Paul M
03-09-2009, 10:19 AM
That hook is brand new, so I doubt any other mod uses it atm, unless you encounter a problem in the future i wouldnt worry about it.

GSMir
03-15-2009, 11:47 AM
for vBulletin 3.8.0 Beta 3) not installed

pls realease new!!!

Paul M
03-15-2009, 01:12 PM
No.

This will not install on beta versions by design, you should not be running a live forum on a beta version.

AteNa
04-01-2009, 01:51 PM
Thanks a lot :)

GraphiX2004
04-07-2009, 02:35 PM
hey Paul i'm glad you have really kept up with the updates since v3.5 etc...
just tried this on 3.8.1 patch level 1 and 3.8.2 and it doesn't work or i cant see it working
the plugin says installed correctly the options are available in the settings menu option.
but when i set everything to 0 so in theory all members can see who's read a post
while im on the post it says GraphiX2004 currently viewing this thread.

if i get another member to come view the thread/post at the same time it says

Currently active users viewing this thread GraphiX2004 / testmembername
once test member name leaves the page or the thread there i no mention of
myself or testmembername ever reading or visiting this thread.

i know when we had this on 3.6.7 it said "Current members who read the threat is.
then it listed the members who read/clicked the thread.

am i doing something wrong? is it working on 3.8.1 patch level 1 or 3.8.2?
if not could you maybe please look at getting this working? it's one of the most
essentials mods of vbulletin and should be included as a default option.

let me know how i can get this working please.

Paul M
04-07-2009, 07:56 PM
I would imagine you need to read the brown note in the main post.

GraphiX2004
04-08-2009, 01:49 AM
Paul i did read that but i've checked v3.8.x templates and it does not have that brown hook.
i really appreciate your work and i had this working on v3.6.7 i paid to upgrade to v3.8
thinking this plugin would continue to work but it doesn't

i'm wondering where this hook is, if it's not in the default stock files template.
then how can i add this hook into the template without breaking everything

i would really appreciate your help here and anyone else who reads this might
find the same problems i'm having but to scared to post and say so.

for this to work on 3.8 you must have the same stock files as me so unless this
does not work for v3.8.1 patch level 1 then it's not working on 3.8.x

i understand it doesn't work in beta but 3.8.1 is not beta is it?
and were not all coders we may mess with code alter or edit a little here and there
but how do you expect us to code in a whole template hook.

saying to us all btw if your template does not have this hook it wont work
doesn't actually help anyone out who wants it to work so how do we add this hook?

Paul M
04-08-2009, 11:09 AM
It works in all versions of 3.8, my test forum is always up to date.

What help exactly is it you want ?

GraphiX2004
04-08-2009, 12:12 PM
hello paul,

if this plugin works in all versions of 3.8 which i'm not doubting you
i'm just not getting this working i followed your instructions to the letter

i have installed alot of plugins / mods for years on vbulletin boards granted
i've never coded one myself so i'm familiar with how to install them.

i install the plugin it says installed fine on both stylevar templates the default
vbulletin 1 and the custom battlegear skin from vbvision.

in the vbulletin settings i go down to the bottom option which is yours.
i see the config page where you edit it to turn on/off and all the other options.
but even if i set 0 to all options or the ID of actual usergroups

there is nothing in the legend that says users has viewed this thread.
all that shows is the default vbulletin one that says

Currently Active Users Viewing This Thread: 3 (2 members and 1 guests)
GraphiX2004, Candostum

but say i stop viewing this thread or candostum does there's no mention
that these people have viewed my post/thread

with this being v3.8.1 and the stock files it should contain this template hook.
i can't see it but maybe i'm looking in the wrong place but either way if it is there
then the plugin has installed and i can edit the options of the plugin

why is nothing showing on my forum about users who's viewed the thread?
i'll be honest paul i thought this was a standard feature of vbulletin thats why i bought it.

if i would of known this was not a standard thing i'd of gone with ipb or some other software
i need this working , due to the content of the post i need to know which of my members has read it.

can you shed any light on why it's not working ?

Paul M
04-08-2009, 05:11 PM
If the template hook is missing (because you have a custom template) then this wont show.

There is nothing I can tell you without admin access.

Lonely Heart
04-08-2009, 06:49 PM
Dears,

I'm unable to install this Add-ons it's showing the following error message

=====


Database error in vBulletin 3.8.2:

Invalid SQL:
DELETE FROM product WHERE productid = 'paulm_wrt_38';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, April 8th 2009 @ 02:45:48 PM
Error Date : Wednesday, April 8th 2009 @ 02:45:54 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 : ********
Username : Lonely
Classname : vB_Database
MySQL Version :

======

Paul M
04-08-2009, 07:27 PM
Thats a mysql error.

FYI, that query seems a bit odd if you are installing it, since its deleting the product. There is no such query in the mods install code.

Lonely Heart
04-11-2009, 07:39 PM
Thats a mysql error.

FYI, that query seems a bit odd if you are installing it, since its deleting the product. There is no such query in the mods install code.


I installed the same add-on when my forum was 3.6.7 i upgrade my forum then i download the latest version of this add-on and marked "Yes" on overwrite product but this message appear.

regards,

Eq4bits
04-12-2009, 03:32 PM
*installed* and working perfectly :D
love all the added extras this version has over the earlier one I had installed on my old vB :D

Hornstar
04-15-2009, 02:05 AM
I just had an idea from this mod. MAybe you could create a new mod called "who has downloaded an attachment" and that way you can see which members have downloaded the attachment. Might be useful to know that info.

warezwaldo
04-20-2009, 01:24 AM
thanks it works like a charm :)

samouri
04-21-2009, 08:40 AM
Template Hook

Please note that this modification uses the following template hook in the SHOWTHREAD template ;

showthread_after_activeusers

This must be present in any customised template/style you are using, otherwise this modification will not display.


Sorry, but I'm at a loss.

I'm a complete new website builder and don't know what I have to do here.

Can anyone explain where I can get the above and once I obtain it, what do I do with it?

many thanks in advance.

nonspin
04-25-2009, 02:02 AM
Dears,

I'm unable to install this Add-ons it's showing the following error message

=====


Database error in vBulletin 3.8.2:

Invalid SQL:
DELETE FROM product WHERE productid = 'paulm_wrt_38';

MySQL Error : MySQL server has gone away
Error Number : 2006
Request Date : Wednesday, April 8th 2009 @ 02:45:48 PM
Error Date : Wednesday, April 8th 2009 @ 02:45:54 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 : ********
Username : Lonely
Classname : vB_Database
MySQL Version :

======


same problem here. reason:

old version only has $oldpid = 'paulm_20050716'; set

while the new has // Start v3.8.003 //
$pidlist = array(
'paulm_20050716',
'paulm_wrt_38',
);

now if the initial check finds one pid -> it tries to update (delete) both ("array<-"


There is no such query in the mods install code
... but in 'wrtcleanup' it is .. i guess is part of the update procedure

AndyCr15
04-25-2009, 07:57 AM
Where am I supposed to see the results of this plugin? I've added it, no errors, says it's all on in the options, but I don't see any extra's in a thread?

Paul M
04-25-2009, 10:19 AM
old version only has $oldpid = 'paulm_20050716'; set

while the new has // Start v3.8.003 //
$pidlist = array(
'paulm_20050716',
'paulm_wrt_38',
);


Erm, where did you get that code from ?

This does not contain that code, it has the following ;

$pidlist = array(
'paulm_20050716',
'paulm_wrt_37',
);

Note that it is wrt_37, not wrt_38.

paulm_wrt_38 is this product, if it tried to delete itself on installation, I have no idea what would happen, but I doubt it would be good. Download the proper version from the first post, and install it.

nonspin
04-25-2009, 02:05 PM
sorry, it was a typo on my side.
Anyway, upon install it removes the existing one.

Like i said, because the update proicedure checks a list of pids
to cover older and newser versions..

$pidlist = array(
'paulm_20050716',
'paulm_wrt_38',


.. since 'foreach' is used it processes the complete $pidlist.
if 'paulm_20050716' is found, the whole pidlist will be processed.
-> 'foreach'

.. Now .. to me trying the DELETE a not existing productid from the db might cause
some errors, -> Error Number : 2006 to be exact.


... but then again, what do i know.

Paul M
04-25-2009, 05:41 PM
.. since 'foreach' is used it processes the complete $pidlist.
if 'paulm_20050716' is found, the whole pidlist will be processed.
Yes, the whole list will be processed, but if you actually read the code, you would see that each product is checked to see if its installed, and only deleted if it exists.


.. Now .. to me trying the DELETE a not existing productid from the db might cause
some errors, -> Error Number : 2006 to be exact.
Nope, a record not existing will not cause that error.


... but then again, what do i know.
;)

nanaimobar
04-27-2009, 03:45 PM
I just had an idea from this mod. MAybe you could create a new mod called "who has downloaded an attachment" and that way you can see which members have downloaded the attachment. Might be useful to know that info.

There is an older mod for what you want, and which allows you to freely copy his code and reuse it as long as it is for free, and works on 3.8.

Mod and my comments on it are here (https://vborg.vbsupport.ru/showthread.php?t=93167&page=9).

TheeMadame
05-13-2009, 09:04 PM
I just downloaded this to my computer to upload to my message board.
Upon my attempt to install it as a plug in, it gives me this message: XML Error: empty document at line one.
I apologize, but I don't know what this means, can anyone help?

odln018
05-15-2009, 02:58 PM
Just got this upon attempting to import.

Database error in vBulletin 3.8.2:

Invalid SQL:
INSERT DELAYED INTO whoread
(userid, threadid, dateline, ipaddress)
VALUES (1, 367, 1242237395, '');

MySQL Error : DELAYED option not supported for table 'whoread'
Error Number : 1616
Request Date : Friday, May 15th 2009 @ 10:54:22 AM

Paul M
05-15-2009, 07:15 PM
That probably means your table is not MYISAM format - which is the normal default.

TheeMadame
05-16-2009, 01:02 AM
Finally got it installed, works good, thanks. :)

odln018
05-16-2009, 01:19 AM
That probably means your table is not MYISAM format - which is the normal default.

How would I fix this? Ok, I resolved this.

How do I get the mod to actually appear? I'm not sure of how this works: showthread_after_activeusers

marshal_ramdev
05-16-2009, 04:32 AM
thanks

tehPARADOX
05-21-2009, 12:01 AM
Hi Paul,

for very large forums, is there anyway to use this modification without having to enable
'Show Users Browsing Threads'?

EDIT: I'm sorry, I did not see this:
Actually, thats not the correct option, so you can turn it off.

The actual option is in "Thread Display Options (showthread)" - but its no longer necessary for this to be turned on anyway (in the 3.8 version). I have removed that note from the main post.

nonspin
05-25-2009, 10:30 AM
The "Invalid SQL" issue described here is fixed ...

The ServerAdmin was obviously mysql-bored and set -> wait_timeout=1
causing a battery of weird displays ..

It took me 2 weeks of reasoning to get him to set at least "180" ...

.. my appologies
nonspin

Paul M
05-25-2009, 01:50 PM
The ServerAdmin was obviously mysql-bored and set -> wait_timeout=1
Eeeek ..... Im amazed anything worked with that setting ...... :erm:

teou
06-01-2009, 08:12 PM
How would I fix this? Ok, I resolved this.

How do I get the mod to actually appear? I'm not sure of how this works: showthread_after_activeusers

how did you fix it? i iave the same sql error?

ALHGR
06-05-2009, 10:56 PM
Thank you , Installed ..

socalsoccer
06-08-2009, 04:05 AM
Exactly where do you ad $template_hook[showthread_after_activeusers] ? And in what template? it is not working for me. 3.8.1 here

Paul M
06-08-2009, 08:13 AM
As the main post says ;

Please note that this modification uses the following template hook in the SHOWTHREAD template ;

Look at the default template to see where it is located.

socalsoccer
06-08-2009, 10:54 PM
I added the hook and still nothing. doe is conflict with this mod:Currently Active Users Viewing This Thread

Paul M
06-09-2009, 07:04 AM
Users viewing a thread is part of VB, not a mod.

This does not conflict with anything I am aware of.

socalsoccer
06-09-2009, 10:17 PM
Hello Paul is this the correct area for this hook? Located in the Showthread template.

<!-- end currently active users -->
</if>
$template_hook[showthread_after_activeusers]

<if condition="$show['popups']">
<!-- popup menu contents -->
<br />

Paul M
06-10-2009, 02:42 PM
That looks correct.

socalsoccer
06-11-2009, 02:25 AM
Ok got it working after adding hook, and deleting all usergroups that were restricted . If I add one usergroup like 25 to the restrictions line, the mod dissapears. so for now everyone can see it. Anyone else run into this problem?

SliceofLife
06-14-2009, 09:11 AM
I installed this, and added the restrictions on usergroups yet it is still displaying for those usergroups, particuarly the IP address. Any way to fix this?

Paul M
06-14-2009, 01:33 PM
Ok got it working after adding hook, and deleting all usergroups that were restricted . If I add one usergroup like 25 to the restrictions line, the mod dissapears. so for now everyone can see it. Anyone else run into this problem?
If Im reading this correctly, then its working as expected.

Usergroup Restrictions
Restrict the display to this comma seperated list of usergroups enter 0 to allow all usergroups.

So if you only put 25 in the box, then only usergroup 25 will see the mod.


I installed this, and added the restrictions on usergroups yet it is still displaying for those usergroups, particuarly the IP address. Any way to fix this?
Again, are you reading it correctly ;

IP Display
Restrict the display of ip addresses to this comma seperated list of usergroups, enter 0 to allow all usergroups

List the groups that are allowed to view ips, sounds to me like you did the opposite.

socalsoccer
06-16-2009, 04:09 AM
paul adding 25 or any usergroup number makes the whole mod dissapear for every usergroup.

Paul M
06-16-2009, 12:32 PM
Sorry, but I dont see how thats possible.

It doesnt happen for me (or anyone else afaik).

socalsoccer
06-17-2009, 01:11 AM
Hi Paul I just found out my newly registered usergroup could view IP's when clicking view-all, even though I had them listed in my restrictions like this 25,26,27, . usergroup 25 could view all IPs, and me the unrestricted admin could see nothing. This must be conflicting with another mod. usergroups look like this correct (id 25) .

Thanks

socalsoccer
06-17-2009, 01:13 AM
I installed this, and added the restrictions on usergroups yet it is still displaying for those usergroups, particuarly the IP address. Any way to fix this?


My problem is similar with the IPs.

Paul M
06-17-2009, 10:18 AM
Hi Paul I just found out my newly registered usergroup could view IP's when clicking view-all, even though I had them listed in my restrictions like this 25,26,27, . usergroup 25 could view all IPs, and me the unrestricted admin could see nothing. This must be conflicting with another mod. usergroups look like this correct (id 25) .

Thanks
Nothing is conflicting, it is working correctly. Please read the options carefully.

As I said above, list the groups that are allowed to view ips. If you entered 25,26,27 then those groups can view ips, others (like admin) cannot.

socalsoccer
06-18-2009, 04:13 AM
<i>Restrict the display of ip addresses to this comma seperated list of usergroups, enter 0 to allow all usergroups.</i>

Paul I have left the above field blank, and still the ips are viewable by everyone.

thanks

Paul M
06-18-2009, 12:55 PM
Yes, leaving it blank is basically the same as entering zero (access for everyone).

xLYNZx
06-21-2009, 05:18 AM
Love this hack, works great for me....However, would love to see a "whos replied" below it or the users in another colour or something rather than having to physically look through a long multiple page thread (yes, lazy!).

m2006
06-27-2009, 12:39 AM
thank you install working

nnStaff
07-03-2009, 06:24 AM
Thank you Paul, this may be just what I need to see who is actually paying attention to staff announcements.

kent_lkc
07-03-2009, 03:50 PM
wonderful MOD, now i will know whether my staff is reading my post or not. :D

biome.pat
07-10-2009, 03:24 PM
Great mod! Love it!

Quick suggestion though: I don't suppose there's any way to have the input field for "allowed" forums to be toggleable between allowed/disallowed, in case there's only one of two forums that admins don't want listing recent readers?

In my case, I've got an Anonymous Forum set up using Zoints Anonymous, and this mod has has the potential to "out" someone!

Cheers

Paul M
07-10-2009, 06:18 PM
Sorry, thats not possible atm.

DaRK mAN306
07-20-2009, 07:19 PM
INSTALLED ..

great mod man !!

Thnx ..

ericgtr
09-01-2009, 06:12 PM
Is this really not compatible with 3.8 RC2? This is the first time I've seen a mod block an installation like this within the same version.

Paul M
09-01-2009, 08:08 PM
None of my mods will install on Alpha/Beta/RC versions. No one should be running them.

ericgtr
09-01-2009, 11:16 PM
None of my mods will install on Alpha/Beta/RC versions. No one should be running them.
Okay, it does work on 3.8 RC2 though. I know that isn't your point but it does.

Paul M
09-02-2009, 09:13 AM
Yes, I expect most of them will, but as you say, thats not the point. No one should be running a live site on a beta/RC version, I wont support them, so I (quite deliberately) restrict them from installing on such. :)

meissenation
09-03-2009, 09:00 PM
I'm trying to figure out where the plugin code is where it looks for this showthread_after_activeusers - what plugin is that stored in? My template does not have that hook and as such does not display. I have to edit one or the other, the template or the associated plugin for this mod.

meissenation
09-03-2009, 09:10 PM
find in showthread template
<!-- end currently active users -->after add
$template_hook[showthread_after_activeusers] It is correct?

Thank you for posting that! It's amazing how the developers assume everyone knows what a hook is or how to add a hook to a template. Been using vB since 2005 and never experienced having to manually add a hook to a template before. :)

Paul M
09-04-2009, 12:26 AM
Thank you for posting that! It's amazing how the developers assume everyone knows what a hook is or how to add a hook to a template. Been using vB since 2005 and never experienced having to manually add a hook to a template before. :)
Its already in the default vb template, you must be using an old customised version.

cbiweb
09-09-2009, 03:47 PM
Okay, here's an issue that no one else seems to have had, or reported. I could not get this add-on to work, no matter what I tried. Everything looked correct, hooks in place, settings correct, etc. And here's how I fixed it...

In the SHOWTHREAD template, change the code seen here (vBulletin default!) in bold red text:

<if condition="$show['activeusers']">
<!-- currently active users -->
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
<!-- end currently active users -->
</if>


to the code seen here in bold green text:

<!-- currently active users -->
<if condition="$show['activeusers']">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
</tr>
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
</tr>
</table>
</if>
<!-- end currently active users -->


So the HTML comments must be outside of the conditional statement. Otherwise, the following setting in ACP won't be activated:

Auto-Template Search Text : Who Read This Thread
Edit the text that the Auto Template Change searches for. Do not alter this unless
you understand what you are doing, otherwise the modification will stop working.The default text string shown there is: <!-- end currently active users -->

Has no one else run across this problem when trying to get the add-on to work?

Paul M
09-09-2009, 05:21 PM
Okay, here's an issue that no one else seems to have had, or reported.
.
.

Has no one else run across this problem when trying to get the add-on to work?
No one has come across it, or reported it, for a very simple reason - it doesnt exist in the 3.8 version (which is what this thread is). This version uses a template hook, not previously available.

In previous versions (3.5/6/7) you will find the following clearly stated ;
Note: You must have the "Show Users Browsing Threads" option set in your vbulletin options for this to display.

Due to what you found above :)

cbiweb
09-09-2009, 06:38 PM
Ah, that explains it. I just checked and see that I have version 3.41, and I was sure I had downloaded 3.8! My bad. Downloading again right now. :)


Edit: Yes, I did have 3.8 downloaded but I also had the older version on my hard drive, and mistakenly installed it on a new site. :rolleyes:

HitmanB2Z
09-10-2009, 06:10 AM
Installed. Many thanks !

Marek58
09-21-2009, 02:23 PM
Polish version


http://img242.imageshack.us/img242/9233/ktoprzeczytal.jpg


http://img176.imageshack.us/img176/5346/ktoprzeczytal1.jpg

http://img176.imageshack.us/img176/1651/ktoprzeczytal2.jpg

Paul M
09-21-2009, 06:37 PM
:up:

Welshy2008
09-21-2009, 06:59 PM
Thank You Paul. Will be trying it soon. :)

VonDoom
09-22-2009, 01:41 AM
Great Mod Works like a charm, I had to add the hooks in my custom styles but the only issue i had was finding out where the information was located. lol that took longer then the upload and template edits put together. ive been eyeballing this mod for a good year now and cant believe i just added it finally. *Installed*

daveaite
09-23-2009, 04:03 AM
Reserved

daveaite
09-23-2009, 04:33 AM
I've read through most of the old posts but I don't think anyone has asked this....

Is it possible to only allow certain groups be displayed in the "Which members have read this" such as Staff but everyone can view which staff has viewed it.

This way people will know if a staff member has viewed their thread?

Paul M
09-23-2009, 11:34 AM
No, there is no facility to limit what groups are actually shown in the list.

Sador
09-23-2009, 12:19 PM
Installed, nice mod.

RobbieZ
09-25-2009, 02:34 PM
Ok, give us a clue..

Once installed where am I looking to see who has viewed a thread? Or is it another option in Vbull you have to turn on also ?

Sador
09-25-2009, 03:34 PM
Ok, give us a clue..

Once installed where am I looking to see who has viewed a thread? Or is it another option in Vbull you have to turn on also ?Enter any topic and scroll down till after the quick reply box.

You'll see a box with 'members who have read a thread' with all the names of the people who have viewed the topic.

Dan2k3k4
09-25-2009, 11:09 PM
9. Clicking on a user will display a page of their thread viewing history, most recent first.

Does it show ALL threads or only the threads the user can see? As in...

Let's say a Super-Admin has a private Super-Admin forum, and has read 10 threads in there, then reads a public thread. If a normal moderator who can view who has read the threads, clicks on the Super-Admin's username at the bottom of thread, will it show the 10 Super-Admin forum threads to the normal moderator?

Paul M
09-26-2009, 03:46 PM
Does it show ALL threads or only the threads the user can see? As in...
You can only see threads in forums you have permission to view.

Mark.B
09-27-2009, 08:46 AM
Paul, I've used this for ages, but one aspect seem wrong in Opera....when clicking the popup in a member's profile, the scroll bar isn't scrollable in Opera. It's fine in other browsers.

I've tried changing the popup to just an ordinary link, but oddly it's still the same. There is a scrollbar there, but there is nothing to scroll...so you can only see the data that fits in the screen, the rest is cut off.

I'm sure there's some simple thing causing this but I can't work out what. I've several machines and it's the same in Opera on all of them.

KID_1194
09-27-2009, 10:07 AM
thanks a lot Paul ...

working fine with IE and Firefox :)

Paul M
09-27-2009, 10:40 AM
Ive never even seen Opera, let alone used it. There is nothing special about the popup that im aware of, so I have no idea, esp if you say its the same in a non pop-up. Clearly some oddity of Opera.

cbiweb
09-27-2009, 10:57 AM
Opera does have problems with vBulletin in a few areas, so it likely has issues with some add-ons as well.

biome.pat
10-01-2009, 04:51 PM
Sorry, thats not possible atm.
Just realized that I never said thanks for the quick reply :)
Thanks Paul

princeedward
10-10-2009, 09:51 PM
thanks Paul... :p:up:

justdeb
10-20-2009, 11:32 PM
Thanks Paul, I love clicking on the name and seeing where theyve been. Simple to install, simple to use.

I LOVE it. Thank you thank you.

vktechnology
10-21-2009, 10:47 AM
I installed this plugine and I have about 2 millions reccord for who this read thread.
it make cpu very hight load.
my forum about 10,000 concurent online users.

do you any plan to optimize code ?

Paul M
10-29-2009, 12:46 PM
Optimize in what way exactly ?

I have well over 1 million records and its fine for me since all database calls use indexes.

rollerman
10-31-2009, 12:41 PM
Sorry, but I'm at a loss.

I'm a complete new website builder and don't know what I have to do here.

Can anyone explain where I can get the above and once I obtain it, what do I do with it?

many thanks in advance.Seconded. I didn't see a reply to this in this thread.

What exatly is a "template hook," and where do I put it? I gather that it's the "showthread" template, but where do I go to change that?

Pardon my ignorance. This is my first trip around the block with vB hacks and such, so I'm trying to learn as quickly as possible.

Thanks.

vktechnology
11-01-2009, 08:06 PM
Optimize in what way exactly ?

I have well over 1 million records and its fine for me since all database calls use indexes.

Hello Paul M

Something wrong with my index

KEY `readtime` (`dateline`)
I don't know how this value come from.

I changed to
KEY dateline (threadid,dateline)

now is working fast

Thank you.

Paul M
11-01-2009, 10:01 PM
Yep, you certainly need the dateline index defined, otherwise it would be deadly slow .....

I have no idea where that readtime definition came from, the proper definition has been the same in all versions (since it first got released for 3.5).

ricardoNJ
11-03-2009, 06:26 PM
Thanks!

ricardoNJ
11-04-2009, 04:05 PM
I have a problem with the time. I created a new thread at 2:58 am and when I see the "View-All" botton it show me at 14:58.
Any help about this?

halkum
11-20-2009, 02:49 PM
Paul, we getting a vb4 version?

Paul M
11-20-2009, 09:00 PM
Maybe, if I can figure out how to display tabulated data in vb4.

halkum
11-21-2009, 12:33 PM
If it helps, I know installing it to vb4 does not break the forums. It just doesn't display the information.

Paul M
11-21-2009, 01:30 PM
I know ;) I have a partially updated version from Alpha 3, not looked at it since.

lav0s
12-09-2009, 05:19 AM
i'm wondering if you are thinking in convert this mod to vb4, mind if you give me a little hint?

Alucard^
12-09-2009, 08:07 AM
Hi... Nice hack, i have a question... This hack show people that are in Invisibile mode?

Thx and sry for my english.

Paul M
12-09-2009, 09:16 AM
Hi... Nice hack, i have a question... This hack show people that are in Invisibile mode?If you have permission to see them.

RedHotChili
12-09-2009, 04:57 PM
Awesome!

Brilliant work, Paul! :up:

Thanks so much for your thorough attention to detail!

Enthusiastically installed! :)

RedHotChili
12-09-2009, 05:24 PM
Okay, started playing with it now that it's installed, and a few anomalies popped up.

There are some users who have posted in a thread, yet their names are not being displayed as having viewed the thread. Is it because the mod won't display this information accurately on threads prior to the install?

Also, and this is a minor issue, the usernames are being displayed with the inherent html formatting, which in my forum the list can get quite crowded with the larger name display. I believe there's a way to get usernames to display unformatted in the list of who has read thread, as I've done it before elsewhere. Just need to look it up and find the right code for it. But this has really nothing to do with the mod, as this is how names are displayed in VB by default in the "Currently Active Users" in the "What's Going On" table, which I have tweaked on my forum by removing formatting.

Paul M
12-09-2009, 06:24 PM
There are some users who have posted in a thread, yet their names are not being displayed as having viewed the thread. Is it because the mod won't display this information accurately on threads prior to the install?
Yep, Im afraid I havent quite worked out time travel yet :)

Also, and this is a minor issue, the usernames are being displayed with the inherent html formatting, which in my forum the list can get quite crowded with the larger name display. I believe there's a way to get usernames to display unformatted in the list of who has read thread, as I've done it before elsewhere. Just need to look it up and find the right code for it. But this has really nothing to do with the mod, as this is how names are displayed in VB by default in the "Currently Active Users" in the "What's Going On" table, which I have tweaked on my forum by removing formatting.
You can edit the template to remove the mark-up.

RedHotChili
12-09-2009, 09:30 PM
Yep, Im afraid I havent quite worked out time travel yet :)hehe


You can edit the template to remove the mark-up. Thanks. Will do. :)

RedHotChili
12-10-2009, 03:52 AM
You can edit the template to remove the mark-up.Okay, I see I'm gonna need a little help here, as my previous method of stripping away markup won't work here.

This is what I did before:

I edited template forumhome_loggedinuser by replacing:
$loggedin[musername]
with
$loggedin[username]


But there is no "musername" in this template, so where do I go to remove the mark-up?

Is it here? $threadreader['username'] = "<strong>$vbphrase[wrt_member]</strong>";


Do I just remove the "strong" tag here and possibly elsewhere?

Thanks in advance, Paul.

Paul M
12-10-2009, 09:45 AM
Search the templates for $threadreader[opentag] & $threadreader[closetag] and remove them.

RedHotChili
12-10-2009, 04:46 PM
Search the templates for $threadreader[opentag] & $threadreader[closetag] and remove them.
Excellent! :up:

Works like a charm!

Thanks Paul. :)

Alan_SP
12-12-2009, 11:53 AM
Excellent, I'd really like to see it in vB4.

LEGS
12-17-2009, 09:55 AM
Will it work for 3.8.4?

Veer
12-17-2009, 12:37 PM
Excellent, I'd really like to see it in vB4.
me too

Paul M
12-17-2009, 03:56 PM
This one will be ported, in fact I have a working version on Area 52.

Alan_SP
12-18-2009, 01:27 AM
Will it work for 3.8.4?

Yes, I use 3.8.4 (till vB4 comes out).

Alan_SP
12-18-2009, 01:28 AM
This one will be ported, in fact I have a working version on Area 52.

Great. :up:

LEGS
12-23-2009, 06:42 AM
Yes, I use 3.8.4 (till vB4 comes out).

Thank you Alan_SP. I dont know about this stuff.

Alan_SP
12-24-2009, 01:21 AM
No problem, we all learn. :)

IRANCITY
01-14-2010, 01:29 PM
any chance for VB4 ?

wolfey
02-16-2010, 11:46 AM
Excellent MOd!

Works great on 3.8.4

wolfey
03-02-2010, 11:29 AM
If I wanted to display a custom field in a profile instead of the userid of the member and also maybe in alphabetical order where would I make this change?

In the plug in manager?

Thank you in advance!

Paul M
03-02-2010, 01:34 PM
You would need to edit both the plugin code, and the template.

djlotus
03-04-2010, 01:17 PM
Thanks Installed

Firas S.
03-04-2010, 11:09 PM
Hey Paul,
Any chance to have this Add-on to work in vB4.0.x?


Thanks mate :)

Paul M
03-05-2010, 12:10 PM
It was released months ago ;)

Sara Tancredi
03-17-2010, 10:38 AM
thanks alot

Phobos49
04-21-2010, 11:53 PM
Very nice! Thank you!!!

One question:
After I click a username who has read the thread - the new window opens, where I can see the phrase "List of Threads Viewed by : {1}" at the top...
Now I would like to link the username in {1} to his profile so that it will open in a new window with one click. At the moment I have to look him up by hand in the userlist.
Otherwise it would be much more comfortable.

Any hints how to modify the code/phrase? Thank you!

Paul M
04-22-2010, 10:54 AM
Try changing it to ;

List of Threads Viewed by : <a href = "member.php?username={1}">{1}</a>

Erica1977
04-22-2010, 02:24 PM
Thanks Paul Works Great.

Phobos49
04-22-2010, 10:53 PM
Thank you very much Paul!!! You're just great! :up:

edit:
I modified Paul's new phrase a little bit, so that the userprofile now opens up in a new window. (I just added a target blank.) It works perfect for me now.

try this:
List of Threads Viewed by : <a href = "member.php?username={1}" target="_blank">{1}</a>

wolfey
05-05-2010, 11:01 AM
You would need to edit both the plugin code, and the template.

Thank you for the info...now which plug-in? there is 6

Display Thread Readers (1) archive_process_start [Edit] [Delete]
Display Thread Readers (2) cache_templates [Edit] [Delete]
Display Thread Readers (3) cron_script_cleanup_daily [Edit] [Delete]
Display Thread Readers (4) misc_start [Edit] [Delete]
Display Thread Readers (5) showthread_complete [Edit] [Delete]
Display Thread Readers (6) showthread_getinfo [Edit] [Delete]


and the template would be "Display_Readers" yes?

and will All the current information be lost if I change this or will the data just be changed? and the threads now have different information


sorry if this is a stupid question...I looked around for a while to make sure I wasnt missing something

Paul M
05-05-2010, 04:06 PM
Sorry, but Im afraid that to answer this would require me to investigate how to do it myself, which is beyond the level of support I can provide. I can only support it as supplied.

freeoffline
05-15-2010, 02:34 PM
please update for vb 4

Paul M
05-15-2010, 02:38 PM
You may want to look a little harder, a vb4 version has existed for months.

marshal_ramdev
05-19-2010, 03:44 PM
Installed. thank you

Steven W Hill
06-10-2010, 11:23 PM
Superb and very helpful mod, thanks so much.

If I want to add or change the information that shows up in tooltip format when I hover the pointer over the list of names (as programmed, it displays a Last Read time/datestamp), where would I find the code for it?

I would like for it to display the member's join date, if I can figure out how to do that.

lordsilence
07-24-2010, 09:42 AM
I dont know if this question has been asked before.
But is it possible to somehow show all the visits a user has made on a thread and from what IP? As it is now, it only seems to list the last IP used.

Thanks for a nice mod :)

Paul M
07-24-2010, 06:18 PM
Nope, only the last visit is recorded.

sinpin
07-31-2010, 06:32 AM
By default administrator and thread author can view who read information,
How do I set this permission to all usergroups ?

sinpin
07-31-2010, 06:36 AM
Question/Suggestion

+ Is there a way to allow "view who read information" permission to only all active users on each thread ?

Paul M
08-02-2010, 09:10 PM
By default administrator and thread author can view who read information,
How do I set this permission to all usergroups ?
Look in the settings, if its an option it will be in there.


+ Is there a way to allow "view who read information" permission to only all active users on each thread ?
What do you mean by active users in a thread ?

sinpin
08-03-2010, 03:13 AM
Look in the settings, if its an option it will be in there.?
thanks, set Usergroup Restrictions to 0 and works fine now.

What do you mean by active users in a thread ?
I mean, users who posted in a thread

aleko
08-03-2010, 03:06 PM
thanks a lot man! :-) gonna find them leechers....

ctrlbrk
08-14-2010, 04:47 PM
Just got this upon attempting to import.

Database error in vBulletin 3.8.2:

Invalid SQL:
INSERT DELAYED INTO whoread
(userid, threadid, dateline, ipaddress)
VALUES (1, 367, 1242237395, '');

MySQL Error : DELAYED option not supported for table 'whoread'
Error Number : 1616
Request Date : Friday, May 15th 2009 @ 10:54:22 AM

Edit the XML file and delete the word DELAYED, then re-import with overwrite, should work. It did for me.

Mike

Paul M
08-14-2010, 05:51 PM
Or ask your host why they have disabled that option in mysql.

ctrlbrk
08-14-2010, 06:26 PM
Or ask your host why they have disabled that option in mysql.

Sure :) But I am running a dedicated box and using InnoDB, so nothing was 'disabled'.

Great mod, thank you. vB 3.8.5.

Mike

Paul M
08-15-2010, 03:07 PM
Oh right.

Not sure why you would want to run all tables as InnoDB, but yes, delayed will fail as innodb does not support it.

viper357
08-25-2010, 04:24 PM
Paul M, quick question if you don't mind.
A cron job (optionally) allows the deletion of records from the whoread table that are over a certain age I'm assuming to have this cron job enabled all I need to do is enter a number in the Table Clean Up option, but now is there also supposed to be a cron job entry in the Scheduled Task Manager, because I see nothing there related to this add-on?

Thanks mate.

Paul M
08-25-2010, 06:33 PM
It uses one of the existing vb cron jobs.

snappy1313
09-09-2010, 01:17 AM
Can you please link to the 4.0 version? Thank you.

Paul M
09-09-2010, 07:15 PM
Just look in my profile.

Gadget_Guy
03-20-2011, 02:51 AM
Would it be possible to add a feature to this mod (which I love BTW) to allow members to opt-out of being visible as having viewed a thread?

Some people on my forum would rather remain anonymous if they viewed a thread.

I am okay with this and support the idea for my forum.

D.

Paul M
03-20-2011, 11:55 AM
Sorry, I have no plans to add anything new to this mod.

DEGE
04-14-2011, 08:55 PM
Is there a VB4 version of this mod?

Paul M
04-14-2011, 10:47 PM
Yes, just check my profile.

viper357
06-08-2011, 06:59 AM
Paul, quick question if you don't mind. My board is getting busy with almost 500 000 posts and I need to employ new mods, but with the board being so busy I am unable to track members like I used to when the board was small. Is there any way this mod can help me by showing how many threads a user has read? Ideally I want to promote the members to mods that read the most threads on a daily basis. Perhaps something like a stats page that lists who has read the most threads? Or is there anything I can maybe extract or see in phpmyadmin? Thanks. :)

Paul M
06-08-2011, 08:52 AM
You could certianly run some queries on the table in phpmyadmin.

select userid, username, count(threadid) as threads_read
from whoread inner join user using (userid)
group by userid order by threads_read desc

Will show you who is reading the most overall.

viper357
06-08-2011, 09:14 AM
Perfect, that showed exactly what I wanted, thanks so much Paul, appreciate it. :)

furnival
08-29-2011, 11:50 AM
I need to make a slight adjustment to the output of this mod.

At the bottom of the thread display page it says, for example
Members who have read this thread in the last 15 days : 3
member1, member2, member3

Instead of a comma separated list of usernames I need a semi-colon separated list (so that I can copy and paste the list straight into the PM To: box).

Can anyone tell me how I might change that please?

Paul M
08-29-2011, 12:49 PM
Change the comma to a semi-colon in this line of the plugin ;

eval('$treaders .= "' . fetch_template('Display_Readers_User') . '" . ", ";');

furnival
08-29-2011, 07:56 PM
Great! Thanks Paul M, that was very generous of you to reply, and on a bank holiday too!

Simon Lloyd
05-20-2012, 11:18 PM
Hi Paul,
Just installed this, great mod!, is it possible to display a "Top Ten" readers in forumhome..etc?

mangmel
06-17-2012, 04:49 AM
really help this ....

oxblood12
06-20-2012, 01:21 PM
thanks

viper357
07-04-2012, 05:14 AM
Paul, I've noticed this mod doesn't pick up readers that browse the forums with tapatalk, any chance that could be implemented? Probably Forum Runner too.

Paul M
07-04-2012, 03:05 PM
Im afraid I cannot account for other 3rd part addons.

viper357
07-04-2012, 03:58 PM
Fair enough, although Forum Runner isn't really 3rd party seeing as it's now owned by IB. Pity, as mobile usage certainly is climbing in this new era of smart-phones and tablets and we're having to adapt our forums to accommodate this.

Does anybody else know how to adapt this mod so that it detects Tapatalk and Forum Runner users?

Thanks.

Frosti
07-04-2012, 04:25 PM
I get nothing... I don't know what is wrong?I have blocked every usergroup accept Admins but that's all I did in the settings area.
I rebuilt cache and thread stats...

Any suggestions?

Frosti
07-06-2012, 03:07 AM
nevermind... i got it now. GOOD MOD!!!

viper357
08-03-2012, 07:27 AM
Paul, would the query below be the same for a forum on 4.1.10? Thanks.
You could certianly run some queries on the table in phpmyadmin.

select userid, username, count(threadid) as threads_read
from whoread inner join user using (userid)
group by userid order by threads_read descWill show you who is reading the most overall.