PDA

View Full Version : Display members who have recently read a thread


Paul M
07-15-2005, 10:00 PM
This modification is no longer available or supported.

If you have the new thread reading system enabled then this hack will use it to display anyone who has recently read a thread. The time limit is determined by your vb options thread marking limit.

You must be using the database thread marking system for this hack to work.


To install this hack, unzip the xml file and import it via the product manager.

The ACP settings are in vbulletin options > thread display options.


Upgrades:

To upgrade from version 2.18 or before, to version 2.21 onwards, you need to uninstall the product and remove the template code in SHOWTHREAD - then upload the new product. To upgrade from version 2.20 onwards, upload the new product with overwrite set to yes.


History:

v2.16 : Added ACP setting to turn the display on/off.
v2.17 : Added ACP setting to restrict which usergroups can view the display.
v2.18 : Added hover display to each username which shows the date/time of the last post (in the thread) at the time the member read it.
v2.19 : Not released.
v2.20 : Not released.
v2.21 : Removed the need to edit the SHOWTHREAD template.
v2.22 : Updated ACP view permission option to take into account secondary
v2.23 : Added 'nofollow' attribute to listed usernames.
v2.24 : Minor changes, no update necessary.

jesus likes pie
07-16-2005, 08:39 PM
thanks.

/me clicks install

:P im soooo lazy i wish i didnt have to edit a template....oh well. Thanks, cool hack.

theArchitect
07-17-2005, 12:34 AM
*theArchitect clicks install*

Love your work.

TTG
07-17-2005, 01:14 AM
TTG clicked install .. useful :)

Boofo
07-25-2005, 02:59 PM
Does this show the html marking for the usergroups?

Paul M
07-25-2005, 04:51 PM
It most certainly does. That's standard in all my member display hacks. It also obeys invisibility settings - which is also standard in all except the chat display hacks.

Boofo
07-25-2005, 07:09 PM
It most certainly does. That's standard in all my member display hacks. It also obeys invisibility settings - which is also standard in all except the chat display hacks.

That's good enough for me. Thank you, sir. ;)

Neal-UK
07-29-2005, 04:08 AM
That's good enough for me. Thank you, sir. ;)

where abouts are the setting for this, i cant find them. I'm having a mod frenzy today!

Boofo
07-29-2005, 04:16 AM
Paul, any way to have this tell you when they read the thread when you mouseover their names? ;)

Paul M
07-29-2005, 04:16 AM
where abouts are the setting for this, i cant find them. I'm having a mod frenzy today!What settings are you referring to ?

Boofo
07-29-2005, 04:17 AM
where abouts are the setting for this, i cant find them. I'm having a mod frenzy today!

What setting? There is just the display of who read the thread. ;)

Paul M
07-29-2005, 04:19 AM
Paul, any way to have this tell you when they read the thread when you mouseover their names? ;)Sadly not. vB does not store this information, so it would require a database change, and extra code.

Neal-UK
07-29-2005, 04:20 AM
What setting? There is just the display of who read the thread. ;)

is there not a way to set the amount of time, or is it default at 14 days? I can't seem to see anything either under the threads, probably because i should be in bed!

Paul M
07-29-2005, 04:25 AM
is there not a way to set the amount of time, or is it default at 14 days?
The time limit is determined by your vb options thread marking limit.14 days is simply what my test system is set to.


I can't seem to see anything either under the threads, probably because i should be in bed!
If you have the new thread reading system enabled ... Do you have the new thread marking system enabled ?

Neal-UK
07-29-2005, 04:27 AM
14 days is simply what my test system is set to.



Do you have the new thread marking system enabled ?

Can you tell me where these are before i go off for an hour or two, i've tried looking.

Paul M
07-29-2005, 04:32 AM
Can you tell me where these are before i go off for an hour or two, i've tried looking.
ACP > vBulletin Options > General Settings > Last two options ;

Thread/Forum Read Marking Type : I use Database (no automatic forum marking)

Database Read Marking Limit : Mine is 14 days - choose your limit.

Neal-UK
07-29-2005, 04:37 AM
sorry, sorted it. expanded the options.....i'll get my coat / anorak (?)

Boofo
07-29-2005, 04:44 AM
ACP > vBulletin Options > General Settings > Last two options ;

Thread/Forum Read Marking Type : I use Database (no automatic forum marking)

Database Read Marking Limit : Mine is 14 days - choose your limit.

Jusr curious here, isn't option 3 (automatic forum marking) the best one to use?

Paul M
07-29-2005, 05:01 AM
Option three adds extra overheads & queries for the forum read checking - and for no percieved advantage by most people. The majority of users just don't seem to pay any attention to forum read markers - as long as their threads are marked, they are happy. But each to their own. :)

Boofo
07-29-2005, 05:14 AM
I asked what you thought because this is still all new to me. I'm just getting back into things and there are a lot of new things since 3.0 RC1 (which is what I had) up to now. ;)

Paul M
07-29-2005, 05:18 AM
3.0 RC1 ???? - a bit old :) Personally I think option 2 is fine, for the reasons above. :)

Boofo
07-29-2005, 05:59 AM
Yep, it was old but I had enough hacks installed and it was teaked enough, that until now there really wan't a lot of need to upgrade. I just kep up with the sercurity fixes and left it at that. ;)

Is the performance issue really that much between option 2 and 3 to take it back down to 2? You know way more about it than I do, I'm sure. ;)

GrendelKhan{TSU
08-01-2005, 08:18 AM
works great
Thanks!

<<< installed 3.5 RC1:
option 3: Automatic marking
:D

Boofo
08-03-2005, 03:28 AM
Any way to have this not show up to guests viewing the board?

Paul M
08-03-2005, 07:40 AM
Put the template code inside a conditional (checking for userid > 0).

Boofo
08-03-2005, 07:53 AM
I know how to do it, Paul. I just thought maybe you might want to include it in your mod. ;)

Paul M
10-01-2005, 09:40 AM
I know how to do it, Paul. I just thought maybe you might want to include it in your mod. ;)Since I needed to update a small change in the instructions I have added this as well. Guests will no longer see who has read a thread.

pirotess
10-01-2005, 03:44 PM
Hey Paul I was wondering if you would consider adding the "enhanced" functionality in Oceans 3.0.7 version to your 3.5 mod. I've PM'd and posted in that thread asking if it would be updated and have gotten no response. I really loved being able to reset the second counter so I could tell who had read a thread since the last time I reset the hidden counter.

You can see what I mean by reset counter here (https://vborg.vbsupport.ru/attachment.php?attachmentid=21440).

Thanks for your consideration.

Paul M
10-01-2005, 04:33 PM
Sorry, but that's not likely to happen in this hack at the moment, if ever - I have no real use for it - and it would add extra complication to what is basically a simple display.

lairnoc
10-01-2005, 04:56 PM
installed thnx works fine

Boofo
10-01-2005, 04:56 PM
Is there a way to add the time and date they viewed it on a mouseover of the name?

Paul M
10-01-2005, 05:34 PM
Is there a way to add the time and date they viewed it on a mouseover of the name?I wish there was, but the marking system does not store this data.

jluerken
10-02-2005, 10:53 AM
Nice hack but can you change the text handling?
Currently the text is hardcoded.

It would be nice to have things like

"Have Read This Thread In The Last"
and
"Members"
"Day"

etc. as phrases.

I cannot use the hack on board with more than one language.

Loki12
10-02-2005, 11:19 AM
I am allergic to any setting that says "server intensive". :ermm:

Paul M
10-02-2005, 12:16 PM
Nice hack but can you change the text handling?
Currently the text is hardcoded.

I cannot use the hack on board with more than one language.Yes, at some point, when I have the time, I will be converting this (and a few others) to use phrases.

I am allergic to any setting that says "server intensive". :ermm:A server that cannot handle thread marking is not going to handle your forum for very long. It's an OTT warning IMO.

csidlernet
10-05-2005, 03:01 AM
thanks!!
/me installs

Paul M
10-06-2005, 01:07 AM
Now updated to a product and phrased. There is no need to upgrade unless you need the phrasing. If you want to upgrade then delete the existing plugin, import the product and replace the template code with the new version.

KidneyBoy
10-06-2005, 02:15 AM
Hmmmm. I just tried installing this. I installed it as a "Product", did the template modification (twice to make sure it was right). Tried to check the vBoptions/General Settings, and couldn't find the 2 options. I tried visiting a post, and there's nothing showing up. I'm assuming it would display under the "Currently Active Users Viewing This Thread"?

Anyway, I'm using 3.5.0 GOLD. Any ideas?

Thanks
KidneyBoy

Paul M
10-06-2005, 03:48 AM
You must have the database thread marking system active for it to be visible.

vBulletin Options > General Settings > Thread/Forum Read Marking Type

and

vBulletin Options > General Settings > Database Read Marking Limit

KidneyBoy
10-06-2005, 04:16 AM
Thank you very much. You were right. I didn't have the Marking System enabled through the database. Thanks again!!!

KidneyBoy
*INSTALLED*

secret1980
10-09-2005, 04:45 AM
is it possible to make this option so tht only mods & admins can see who have read the thread ??

havefun
10-09-2005, 01:25 PM
* havefun clicks install

and working fine :) THX

Basit
10-09-2005, 04:13 PM
Thanks

RaceJunkie
10-09-2005, 08:59 PM
Racejunkie Clicks install

Lea Verou
10-10-2005, 12:19 AM
Racejunkie Clicks install

How the heck do I change the phrases displayed????
I've noticed that they are not vbphrases but where are they????

Lea Verou
10-10-2005, 12:38 AM
If you have "who is viewing the thread" activated I made a template modification that will "split" the table that contains the users currently viewing the thread in half and make it display the users that have viewed the thread in the last X days in the second column. This way it looks neater I think as if you have those 2 enabled it looks quite terrible :p

TEMPLATE MODIFICATION (do this instead of the one that's written in the companion txt, not both)

In SHOWTHREAD find:
<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]
</td>
</tr>

replace with:

<td class="tcat" colspan="2">
<phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z]</phrase>
</td>
<if condition="$vboptions[threadmarking] AND $bbuserinfo[userid]">
<td class="tcat" colspan="2" width="50%">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('thread_readers')"><img id="collapseimg_thread_readers" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_thread_readers].gif" alt="" border="0" /></a>

$trtitle</td>
</if>
</tr>
<tbody id="collapseobj_thread_readers" style="$vbcollapse[collapseobj_thread_readers]">


Find:
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers
</td></tr>

Replace that with:
<tr>
<td class="alt1" colspan="2">
<span class="smallfont">$activeusers</span>
</td>
<if condition="$vboptions[threadmarking] AND $bbuserinfo[userid]">
<td class="alt1" colspan="2">
<span class="smallfont">$treaders</span>
</td>
</if>
</tr>
</tbody>

Please inform if this causes any bugs. I tested it in my site and it works well :)

I attach a screenshot too so that you can see what this is about :)

Paul M
10-10-2005, 09:29 AM
How the heck do I change the phrases displayed????
I've noticed that they are not vbphrases but where are they????Depends when you downloaded it. Version 2.11 (released earlier in the week) uses phrases, the older 2.01 did not.

Paul M
10-10-2005, 09:31 AM
If you have "who is viewing the thread" activated I made a template modification that will "split" the table that contains the users currently viewing the thread in half and make it display the users that have viewed the thread in the last X days in the second column. This way it looks neater I think as if you have those 2 enabled it looks quite terrible :p

Please inform if this causes any bugs. I tested it in my site and it works well :)

I attach a screenshot too so that you can see what this is about :)I would be curious to know what happens when you try and collapse the list ....

gnubittol
10-10-2005, 04:53 PM
* installed *
thanks!

Lea Verou
10-10-2005, 10:03 PM
I would be curious to know what happens when you try and collapse the list ....

It collapses all the tbody, including the members who are currently viewing. That's what I wanted to do with mine in the first place and I posted it in case aomeone else needs it :)

Lea Verou
10-10-2005, 10:06 PM
Depends when you downloaded it. Version 2.11 (released earlier in the week) uses phrases, the older 2.01 did not.

I downloaded yesterday but just in case I re-downloaded now and took a look at the template modification.
NO phrases. :(

Paul M
10-10-2005, 10:16 PM
I downloaded yesterday but just in case I re-downloaded now and took a look at the template modification.
NO phrases. :(The template doesn't need any phrases, the text output is all worked out in the code. I think I know if it uses phrases or not, I did write it. :)

JFYI, it uses the following global phrases - member_has, members_have, no_members_have, no_names & read_this_thread.

Lea Verou
10-10-2005, 11:51 PM
Woops, you're right! Sorry!
Well most of the times one can tell by the template! :p

Flow Fusion
10-11-2005, 04:00 PM
ACP > vBulletin Options > General Settings > Last two options ;

Thread/Forum Read Marking Type : I use Database (no automatic forum marking)

Database Read Marking Limit : Mine is 14 days - choose your limit.


How do I turn this on.

Lea Verou
10-11-2005, 04:10 PM
How do I turn this on.

Which part don't you understand??

moonclamp
10-11-2005, 10:48 PM
I am allergic to any setting that says "server intensive". :ermm:

Installing this slowed my threads down to a crawl ... normally they're very fast

Bubble #5
10-11-2005, 11:50 PM
Thank you Loukrhtia for posting your code. Looks very clean :)

Vampyre
10-16-2005, 04:27 PM
This is a simpler, but also nice alternative to the other Who Viewed Thread I used for my vB3.0.x , but this will do me for now.

Thanks, Paul. :)

Moosehunter
10-25-2005, 04:27 AM
Anyway to have this showing spiders also? Thanks in advance.

Paul M
10-25-2005, 12:14 PM
Anyway to have this showing spiders also? Thanks in advance.Nope.

folkish
10-25-2005, 11:27 PM
Installed. Thanks.

microzott
10-26-2005, 01:52 AM
installed Paul, works perfectly.
there is no possibility to display date and time of the last read?

thanks, it seams that i have installed on my board only your hacks :D

Paul M
10-26-2005, 01:58 AM
installed Paul, works perfectly.
there is no possibility to display date and time of the last read?Sadly not with this version - vB does not store that information in the table.

I have considered an upgrade that stores/displays this in the future, but that won't be for a long while, if ever.

Rickie3
11-12-2005, 11:09 AM
clicks *install* nice addition thanx

Paul M
11-13-2005, 02:12 PM
there is no possibility to display date and time of the last read?
Version 2.18 has been uploaded and adds the following;

* A setting in the ACP to turn the display on/off

* A setting in the ACP to restrict which usergroups can view the display.

* The date/time of the last post read by a member - just hover over their name.

Not quite sure if this is what you asked, but it now shows the timestamp of the last post in the thread, at the time the member last read it, so you can work out if they have seen a particular post or not.

havefun
11-13-2005, 03:46 PM
THX for update :)

GrendelKhan{TSU
11-13-2005, 11:13 PM
is it possible to get some more detailed instructions on what/how to uninstall the old/original version. I installed this so long ago, I couldn't even begin to remember what to look for or where to look. :/

any tips would be greatly appreciated. great and practical hack. :) keep it up!!

Rickie3
11-13-2005, 11:21 PM
do you have to redo the showthread template? or just import the xml? for this update.

--------------------------------------------------------------------------

i figured it out just unistalled the old xml and and replaced with the update xml,works great thankyou

GrendelKhan{TSU
11-13-2005, 11:38 PM
sorry..pre-question:

WHERE in the admincp do we find this? (the settings)

I hate when I have to spend 30 min just looking for something cause it buried in the vboptions menu or something. :/

Paul M
11-14-2005, 12:13 AM
do you have to redo the showthread template? or just import the xml? for this update.

--------------------------------------------------------------------------

i figured it out just unistalled the old xml and and replaced with the update xml,works great thankyouIf you don't re-do the template then the ACP option to restrict access to certain usergroups will not work.

FYI, only one line in the template has actually changed - the IF statement on first line (excluding the comment of course)

Paul M
11-14-2005, 12:18 AM
is it possible to get some more detailed instructions on what/how to uninstall the old/original version. I installed this so long ago, I couldn't even begin to remember what to look for or where to look. It depends on how old - basically uninstall the Product, or Plugins if it was the preProduct version, and remove the template code.

WHERE in the admincp do we find this? (the settings) As the first post says ;

(The ACP settings are in the vb options, thread display options)

GrendelKhan{TSU
11-14-2005, 12:35 AM
It depends on how old - basically uninstall the Product, or Plugins if it was the preProduct version, and remove the template code.

As the first post says ;

thanks. I'll I installed when you first released it ....way back in vb RC1-2ish time. lol. :banana:

doh!! I'm blind apparently I swear I looked for that like 908234098 times. :cross-eyed: :/ sorry about that. :cry:

Rickie3
11-14-2005, 12:50 AM
If you don't re-do the template then the ACP option to restrict access to certain usergroups will not work.

FYI, only one line in the template has actually changed - the IF statement on first line (excluding the comment of course)ok thanx re-done the template :banana:

aciurczak
11-14-2005, 04:35 AM
I'm seeing some strange behavior with this hack. It's actually strange behavior with the vb thread marking system rather than the hack, but the hack makes it visible.

If I mark all forums read via the menu link, and then go to a thread, my username never shows up at the bottom as having read the post within the past 30 days no matter how many times I refresh.

It seems that the thread marking requires the thread to be unread, you click on the thread which changes it to read, then bingo it saves that action.

Is everyone else seeing the same thing?

Paul M
11-14-2005, 09:43 AM
If I mark all forums read via the menu link, and then go to a thread, my username never shows up at the bottom as having read the post within the past 30 days no matter how many times I refresh. Yes, in this case you have not actually read the thread(s). The vb thread marking (as opposed to forum marking) requires you to actually visit the thread (not only that, you must view posts beyond where you previously viewed them).

microzott
11-14-2005, 11:45 AM
mmm I have to find 10 minutes for an installation and test on my forum,
it seams that i have some problems with it.
hope to work on it asap

thank paul for this new product :D

Paul M
11-14-2005, 01:12 PM
What problem ?

brvheart
11-16-2005, 02:15 PM
how can I make this only viewable by admins? Great hack btw,

*Clicks Install*

sportsoutlaw
11-16-2005, 02:43 PM
Installed

I am beginning to think I have every PaulM "member info" hack available on my board now. Plugins are so nice :)

sportsoutlaw
11-16-2005, 02:45 PM
how can I make this only viewable by admins? Great hack btw,

*Clsicks Install*

ACP, you can select which usergroups can view this by ID.

vBulletion options-thread display options
toward the bottom, you make the selection. groups 2,5,6,7 are selected by default

brvheart
11-16-2005, 02:58 PM
ACP, you can select which usergroups can view this by ID.

vBulletion options-thread display options
toward the bottom, you make the selection. groups 2,5,6,7 are selected by default


Thank you so much, I was looking for that everywhere, probably even overlooked it like 3 times...anywho, thanks :)

microzott
11-17-2005, 09:05 AM
What problem ?
something is missing me :ermm:
i have attached some images from my testing forum (tempalte= modifications in showtread, product=the activation of the product, ACP=settings, table = my vb3_thread table and thread = the output)
it seems that dosen't work, but i dont understand the reason, maybe the sql in the product?

microzott
11-17-2005, 09:07 AM
second part of the post

microzott
11-17-2005, 09:13 AM
looking the code in the product, I have notice that I don't have any data in this table... but again... I don't understand the reason :ermm:

Paul M
11-17-2005, 09:14 AM
Do you have database thread marking turned on ?

microzott
11-17-2005, 09:26 AM
Do you have database thread marking turned on ?

wher is it in the ACP? I don't remember and i can't' find it :)

changing all the if conditions in the product (false -> true in $show['whohasread'] = true;) now I can see the box, but still with no data
I confirm you that the admin user group is 6

is this one?

Mastar
11-17-2005, 12:14 PM
Mine not showing

microzott
11-17-2005, 01:09 PM
now seems that is working :)

but I still have two issues to fix
1) find the correct parameter for "The amount of time in days to store the thread and forum read times. All threads or forums without posts in this many days will be considered read."

2) fix the "if" condition for the user groups

microzott
11-17-2005, 02:00 PM
don't ask me how... but now is working almost everithing :)
but i think I have found a real bug:

if you look at the first 2 images, the date and time of the users is completly different from the real forum-time. if you look at the third one, you could see tat the displayed time is exactly the date/time of the post.

obviuosly I was the 2 users in 2 different sessions :)

Mastar
11-17-2005, 02:07 PM
don't ask me how... but now is working almost everithing :)
but i think I have found a real bug:

if you look at the first 2 images, the date and time of the users is completly different from the real forum-time. if you look at the third one, you could see tat the displayed time is exactly the date/time of the post.

Can you help me out with this one also? Can you give step by step instructions on how to correct? Thanks in advance!!

microzott
11-17-2005, 02:32 PM
as more info: the link is shownig the date/time of the last post not the recently read date/time

my configuration step by step:

1) install every thing following paul instructions (template+product)
2) goto in the ACP/vBulletin Options/General settings and put a value for "Database Read Marking Limit" (I am using 30 days)
3) goto in the CP/vBulletin Options/General settings and flag "Database (no automatic forum marking)" in "Thread/Forum Read Marking Type"
4) goto in the CP/vBulletin Options/Thread Display Options (showthread) and flag "yes" in "Display who has Recently Read a Thread"
5) goto in the CP/vBulletin Options/Thread Display Options (showthread) and insert one or more usergroups in "Who has Recently Read a Thread Usergroups" (I have only the value 6 - administrators)

aciurczak
11-17-2005, 02:39 PM
It's working exactly as designed. See post #66 (https://vborg.vbsupport.ru/showpost.php?p=820151&postcount=65) just above. vbulletin doesn't store the time a member reads a thread. Paul made a great addition to his original hack by checking which posts a member read, and posting the time of the last read post when you hover over their name. Heck, even the text in your screenshot says "time of last read post", not "time they read the last post". This time is useful, because you can see which posts a member had read at the time they last visited the thread.

Mastar
11-17-2005, 02:52 PM
as more info: the link is shownig the date/time of the last post not the recently read date/time

my configuration step by step:

1) install every thing following paul instructions (template+product)
2) goto in the ACP/vBulletin Options/General settings and put a value for "Database Read Marking Limit" (I am using 30 days)
3) goto in the CP/vBulletin Options/General settings and flag "Database (no automatic forum marking)" in "Thread/Forum Read Marking Type"
4) goto in the CP/vBulletin Options/Thread Display Options (showthread) and flag "yes" in "Display who has Recently Read a Thread"
5) goto in the CP/vBulletin Options/Thread Display Options (showthread) and insert one or more usergroups in "Who has Recently Read a Thread Usergroups" (I have only the value 6 - administrators)


Thank you vry much for your assistance! And you are right the times don't match, its 10hrs 26 mins behind...

Bounce
11-17-2005, 02:56 PM
/me installs

thanks paul

microzott
11-17-2005, 04:50 PM
hi aciurczak,
I'm not sure if I have correctly understood...
...but the time displayed by the onmouseover is the date/time of the last post in that thread
...nothing related with the user, all users that have read that thread will display the exact time of the last post posted, is it correct?

see my post #89

aciurczak
11-17-2005, 04:54 PM
No. Read post #66 again.

The mouseover time will show the time of the last post that that user read on the thread.

post 1 (10 AM)
post 2 (11 AM)
post 3 (12 noon)

user 1 visits the thread at 11:30, user 2 visits the thread at 12:30.

The mouseover time for user1 will be 11 AM, as that is the last post he saw. User2 will have a mouseover time of 12 noon.

"Time of last read post."

Paul M
11-17-2005, 05:09 PM
wher is it in the ACP? I don't remember and i can't' find it :)

changing all the if conditions in the product (false -> true in $show['whohasread'] = true;) now I can see the box, but still with no data
I confirm you that the admin user group is 6

is this one?now seems that is working :)

but I still have two issues to fix
1) find the correct parameter for "The amount of time in days to store the thread and forum read times. All threads or forums without posts in this many days will be considered read."

2) fix the "if" condition for the user groups
I have no idea what you have done, there is nothing needs editing or fixing. Simply install and make sure you have one of the database thread marking options selected (i.e. not the activity/cookie based option).

but i think I have found a real bug:No, you haven't read the notes properly. It is the "time of the last read post", that is the timestamp on the last post, at the point the member read the thread, not the time they read the thread. This means you can easily see what posts they have not yet seen/read.

microzott
11-18-2005, 07:02 AM
I have no idea what you have done, there is nothing needs editing or fixing. Simply install and make sure you have one of the database thread marking options selected (i.e. not the activity/cookie based option).

No, you haven't read the notes properly. It is the "time of the last read post", that is the timestamp on the last post, at the point the member read the thread, not the time they read the thread. This means you can easily see what posts they have not yet seen/read.

ok, I am sorry :D
everything is fine and working, my mistake was the database thread marking option (I was using cookie based).

Paul M
11-18-2005, 07:22 AM
my mistake was the database thread marking option (I was using cookie based).You're not the first, you won't be the last. :)

ayaam
11-18-2005, 08:25 AM
good work , Thanks for update it to 3.5.1

ayaam
11-18-2005, 08:35 AM
good work , Thanks for update it to 3.5.1

shama
11-18-2005, 10:24 AM
I used your hack to my fourm
Thanks

shama
11-18-2005, 10:41 AM
I upload the product and I add the code in the template but it doesn't work with me
why????????????

microzott
11-18-2005, 01:43 PM
I upload the product and I add the code in the template but it doesn't work with me
why????????????

see post #99 :D and my step y step configuration of the board in post #93

Paul M
11-18-2005, 03:47 PM
I upload the product and I add the code in the template but it doesn't work with me
why????????????At a guess, because you don't have database thread marking turned on.

Pearl
11-19-2005, 03:17 PM
i only see an xml fime in teh zip
i uploaded it with plugin manger
when set to active i get this
Database error in vBulletin 3.5.1:

Invalid SQL:
SELECT whoviewed FROM vb_thread WHERE threadid = 1577;

MySQL Error : Unknown column 'whoviewed' in 'field list'
Error Number : 1054
Date : Saturday, November 19th 2005 @ 06:14:49 PM


also i dont see any options that can be changed in teh ACP

Paul M
11-19-2005, 04:36 PM
I think you have posted this in the wrong hack, there is no such sql in my hack.

dieselpowered
11-19-2005, 04:43 PM
Flawless install as always for one of your hacks Paul. Thanks so much!

**clicks install**

Pearl
11-19-2005, 04:47 PM
I think you have posted this in the wrong hack, there is no such sql in my hack.
:eek how could this happen?

Who Viewed This Thread?
who has read this thread?

Pearl
11-19-2005, 04:50 PM
erm your hack runs perfectly thank you :)
that will teach me to do to many things at same time.

VBUsers
11-19-2005, 07:17 PM
installed and a great hack but is there a way to put this

Currently Active Users Viewing This Thread: 1 (1 members and 0 guests)

and your hack above the Quick reply option in everythread?

andor
11-20-2005, 06:41 AM
*install* - it's in there, and it looks good - thanks!

Brandon Sheley
11-20-2005, 07:35 AM
downloads,
unzips
* Brandon Sheley installs 20 seconds
thank you, i had this on 3.0.x :D

Paul M
11-20-2005, 10:52 AM
installed and a great hack but is there a way to put this

Currently Active Users Viewing This Thread: 1 (1 members and 0 guests)

and your hack above the Quick reply option in everythread?Edit SHOWTHREAD to move QuickReply.

shama
11-20-2005, 03:03 PM
I did it but I have double can u see it in this screenshot
http://img417.imageshack.us/img417/805/995we.gif

May I know how can I have just One

Thanks

Paul M
11-20-2005, 03:44 PM
Screenshots are no help, please link to your forum.

shama
11-20-2005, 05:53 PM
My fourm not finshed yet....
If u see the screen shot you will find that I have two Display members who have recently read a thread and both of them works.... ( I need only one) .....

microzott
11-21-2005, 05:06 AM
thanks paul. working perfectly :)

Iceburg22
11-21-2005, 12:35 PM
thanks

ombossman
11-21-2005, 03:43 PM
Screenshots are no help, please link to your forum.

I did it but I have double can u see it in this link

http://www.gsmciler.com/forum/showthread.php?p=5726#post5726

Paul M
11-21-2005, 03:56 PM
I did it but I have double can u see it in this link

http://www.gsmciler.com/forum/showthread.php?p=5726#post5726
Actually I can't, you don't have it enabled for guests.

However, your problem is probably the same, i.e. you still have the "Thread Readers" template code in your SHOWTHREAD template. The latest version does not require this, it inserts the code itself. Therefore it will appear twice. Remove the thread readers block from the showthread template.

shama
11-21-2005, 04:05 PM
I installed the hack and it works with me

ombossman
11-21-2005, 04:06 PM
i think your xml file problem because i upload your old version file not any twice problem

Paul M
11-21-2005, 04:12 PM
i think your xml file problem because i upload your old version file not any twice problemNo, there is nothing wrong with the XML. I think you need to actually read my previous reply.

aciurczak
11-21-2005, 04:12 PM
Works fine! Thanks Paul!

ombossman
11-21-2005, 04:22 PM
Actually I can't, you don't have it enabled for guests.

However, your problem is probably the same, i.e. you still have the "Thread Readers" template code in your SHOWTHREAD template. The latest version does not require this, it inserts the code itself. Therefore it will appear twice. Remove the thread readers block from the showthread template.

ok all problem solve thanks for reply my post and hack

Stelios
11-23-2005, 06:05 AM
installed at www.avforum.gr and it works!!!

Thank you very much Paul :banana:

maggie
11-29-2005, 03:03 AM
I haven't been around here in a while, great "first find"... :)

Boofo
11-29-2005, 04:37 AM
I haven't been around here in a while, great "first find"... :)
Well, well, well, look who finally popped in. Great to see you around again. ;)

Okie
12-13-2005, 12:46 PM
Can this hack be the same one for phpBB ?

here is scareen shot :devious:

https://vborg.vbsupport.ru/ (http://upload2share.com/show.php/976_phpbbviewtopic1.jpg.html)

https://vborg.vbsupport.ru/ (http://upload2share.com/show.php/975_phpbbviewtopic.jpg.html)

Paul M
12-13-2005, 12:56 PM
Erm .... huh ?

Okie
12-13-2005, 01:31 PM
Erm .... huh ?

This is the same This mode Who view topic but this one have some more feature you can go to http://mods.db9.dk/ and see your self.

The screenshot i posted to show u some more feature .

1- it come in own Page
2- it show Each User and how many time they view the topic

The Page look like the "memberlist.php"
http://upload2share.com/show.php/975_phpbbviewtopic.jpg.html

:nervous:

Paul M
12-13-2005, 01:58 PM
This cannot do that, nor will it ever be able to - the information required is not stored by vB.

Dollah
12-13-2005, 03:46 PM
ahh yes this is great

Z@N@
12-17-2005, 07:46 AM
Clicks instill. Fine hack mate.

Firestar.chkn
12-18-2005, 05:30 PM
Hi Paul M,

I have to admit, you have alot of patience. Thanks for the hack. :)

I have read through this entire thread, post by post, and cannot find a solution to my problem. I cannot see the box at all. I have confirmed that I have DB (auto mark) selected in general settings. I also have checked that usergroup 6 has access to view it in the thread display options. I also checked that there is a 15 day setting just abive it, and I have enabled it.

I uploaded the xml file in product manager, as you said, but I still cannot see the box.

Is there anything I can check?

Thanks
Firestar

Firestar.chkn
12-18-2005, 05:43 PM
I even uninstalled everything, made sure nothing remained, and then reinstalled it. Still not working :(

I did again confirm that everything is setup and should be working.

Thanks again for the hack, and in advance for the help
Firestar

Paul M
12-18-2005, 07:18 PM
I can't really suggest anything else - if you want me to have a look, PM me a link to your forum and a user/password with admin access.

Virtex-II
12-18-2005, 08:07 PM
Nice hack, thanks Paul!!!

Is there any way to have it placed in a different part of the page? I would like to shows up right above the "Post Reply" button and not under the Currently active users table.


Thanks a lot ;)

Firestar.chkn
12-18-2005, 10:41 PM
I can't really suggest anything else - if you want me to have a look, PM me a link to your forum and a user/password with admin access.

PM Sent :)

Thanks for the help :D

Paul M
12-18-2005, 10:58 PM
PM Sent :)

Thanks for the help :DFixed.

Paul M
12-18-2005, 11:00 PM
Nice hack, thanks Paul!!!

Is there any way to have it placed in a different part of the page? I would like to shows up right above the "Post Reply" button and not under the Currently active users table.


Thanks a lot ;)It's possible - by changing the plugin to search for something else in the template to trigger the injection of the display readers code.

Virtex-II
12-19-2005, 06:43 AM
It's possible - by changing the plugin to search for something else in the template to trigger the injection of the display readers code.


$search_text = '<!-- end currently active users -->';
$vbulletin->templatecache['SHOWTHREAD'] = str_replace($search_text,
$search_text.fetch_template('Display_Readers'),$vb ulletin->templatecache['SHOWTHREAD']);

That's the part I am supposed to change, isn't it?
If I want to change the template too, do I have to change the word SHOWTHREAD?

Paul M
12-19-2005, 09:45 AM
That's the part I am supposed to change, isn't it?
If I want to change the template too, do I have to change the word SHOWTHREAD?Yes & Yes.

Virtex-II
12-19-2005, 08:55 PM
Yes & Yes.

Thanks managed to do it ;)

pauloo
12-19-2005, 09:02 PM
I have 3 styles, but this hach is not visible under 1 style.
Why?

Thank you

IrPr
01-05-2006, 10:22 AM
not workin when 3.5.2 upgraded to 3.5.3

Edit: screenshot included

jmacieira
01-05-2006, 12:31 PM
I used your hack to my fourm
Thanks

mrsbuzzy
01-05-2006, 12:56 PM
thanks.

* jesus likes pie clicks install

:P im soooo lazy i wish i didnt have to edit a template....oh well. Thanks, cool hack.

Is there any way to add a time/date to when it was read?

jmacieira
01-05-2006, 02:19 PM
Hello

Please how i can translate this text?

Members have read this thread in the last

I have the rev 2.21 and I run in Vb 3.5.3

jmacieira
01-05-2006, 02:26 PM
opss...

sorry...I see now :o

thanks

Paul M
01-05-2006, 03:45 PM
Is there any way to add a time/date to when it was read?Nope, and you don't need to. You can see how much of the thread they have read, so the exact time they did this is not really that relevant.

firstrebel
01-05-2006, 05:55 PM
Working fine on my 3.5.3. Is there a way to put this above the quick reply box instead of under it?

Thanks

Bob

Mathiau
01-07-2006, 11:27 PM
i lvoe your hacks! they always go in flawlessly!!!

Paul M
01-08-2006, 12:08 AM
Working fine on my 3.5.3. Is there a way to put this above the quick reply box instead of under it?Only by doing template edits, and editing the plugin code.

aciurczak
02-02-2006, 02:58 PM
Noticed a minor issue with this hack a few days back. For all threads that include posts created since I installed this hack, the thread readers show up perfectly. But for older threads, those created before I installed this, the thread readers do not show properly, even if I visit those threads again. Right now I have it set to show readers in the past 60 days.

Here's an example older thread with a newer post: click here (http://www.montgomerybikers.com/forums/showthread.php?t=42)

and here's a older one that does not have a newer post, and therefore won't show thread readers: click here (http://www.montgomerybikers.com/forums/showthread.php?t=114)

The user account demo/demo can be used if you'd like to see how the thread readers will not show up.

Paul M
02-02-2006, 04:06 PM
Your demo account does not appear to have permission to show this display at all.

FYI, all this does is pull the data from the vb thread marking datrabase, it has no control over what vb puts in that database. You should note that when you visit a thread older than the thread read limit (or any thread you have not previously read) you may have to re-visit it to see yourself in the read list as vb does not update the database until after the display is built.

aciurczak
02-02-2006, 05:04 PM
Sorry about that; demo accounts can now see the thread readers display at the bottom. I get your point; this hack is just reading what's in the db, not controlling what's in the db. I guess then this needs to be submitted to vb.com as buggy/unexpected behavior with their thread marking system.

No matter how many times I go back to an older thread, with a new user account that has never seen that thread, or a veteran user account even after that 60 day (or whatever you have it set to) window is over, it will not mark as read unless a new post is put into that thread.

Couple things could be causing this, but the most likely now that I think about it is that the older threads/posts may have been created when my forum was using 3.0.X, and I have since upgraded (like many of us) to the 3.5.X series.

Paul M
02-02-2006, 05:26 PM
No matter how many times I go back to an older thread, even after that 60 day (or whatever you have it set to) window is over, it will not mark as read unless a new post is put into that thread.Actually yes, thinking about it, that's correct. The vb system works by recording the date of the last read post in the thread, unless that's older than the read limit, in which case the thread is considered read anyway, and no database entry is needed. It's a limitation of the vb system.

aciurczak
02-02-2006, 05:44 PM
But if I create a brand new account, a user who has seen nothing at all on the board should have everything as unread, right? Turns out they don't, now that I understand what that day-limitting feature really means.

I just did this test, created a virgin account, and went to the board. All threads within the last 60 days are marked unread, but any thread older than that is already marked read for this user. So an old thread that doesn't have posts within the last 60 days can never be marked read again, whether or not a user has ever read that thread.

Makes sense I guess, just disappoints me a bit as there are critical posts that I would want new users to read when they are on the board, and as they are older, I can not see who has read and who hasn't gone to those posts. Makes it seem as if they are not important ("nobody has read this thread in the past 60 days"), even if many people have.

Paul M
02-02-2006, 07:31 PM
Well I suggest you take that up with Jelsoft, but I can't see it changing. Easy answer - just bump the threads (hint: Post in them, then use the post merge facility to make them one newer post again).

PtP
02-03-2006, 02:49 AM
After testing it appears only peoples primary usergroup is used to determain who can see this, I would have prefered to be able to allow a secondry usergroup to to view this, is this possible?


By the way thank you for such a great hack ;)

Bison
02-04-2006, 02:08 PM
How do you turn on the database thread marking system in version 3.53?

There's nothing in my acp that indicates it. :ermm:

Paul M
02-04-2006, 02:46 PM
How do you turn on the database thread marking system in version 3.53?vBulletin Options > General Settings > Thread/Forum Read Marking Type.

After testing it appears only peoples primary usergroup is used to determain who can see this, I would have prefered to be able to allow a secondry usergroup to to view this, is this possible? Yes, it only works on Primary group atm. I'll make a note of your request for future updates.

GamerJunk.net
02-04-2006, 03:14 PM
Good hack

PtP
02-04-2006, 09:31 PM
Yes, it only works on Primary group atm. I'll make a note of your request for future updates.

Thank you very much!

simsimt
02-05-2006, 11:43 AM
Nice hack. Installed.

Only one thing: Don't you think it's a little odd to have 4 different phrases for only one sentence? This makes translating the sentence harder than usual.

member_has, members_have, no_member & no_members could be combined all together in 2 phrases. Or even in one phrase if the sentence re-constructed. For example:
Number of members who have read this thread in the last {1} days: {2}

Paul M
02-05-2006, 12:08 PM
Maybe, but that's the way it was built and I'm not in any hurry to change it. Be happy it's phrased at all. :)

CongTuDepTrai
02-14-2006, 09:54 PM
can we setup for usergroups have or have not permission to view this mod?

Paul M
02-14-2006, 10:43 PM
can we setup for usergroups have or have not permission to view this mod?Yes.

PtP
02-15-2006, 01:10 AM
Thank you very much for the use of secondry usergroup addition.

lairnoc
02-17-2006, 11:36 AM
weird thing happend it shows up twice

first members who have read then who are reading and then again who have read..

Paul M
02-17-2006, 04:45 PM
Since guests cannot see it I cannot help. I would guess there is something odd with your showthread template.

asianboi
02-25-2006, 01:41 PM
Hello,
how come I cannot seee the Last part of the image in the hack? Is it integrated?

HBRadio
02-25-2006, 01:58 PM
This is not working for me.. can someone contact me via PM and help me out?

Thanks a lot.

Paul M
02-25-2006, 05:14 PM
how come I cannot seee the Last part of the image in the hack? Is it integrated?This is not working for me.. can someone contact me via PM and help me out?
Please click install if you require support.

Also, please be more specific with any problem - "it's not working" doesn't tell anyone much.

asianboi
03-04-2006, 03:42 PM
Hello Paul

I dont know how to say this but what I meant was ... I do not see the bottom part of your screenshot after I've installed it. I will hit the install button once I am sure that the hack works correctly.

4 Members Have Read this thread in the Last 14 Days'

Nathan2006
03-08-2006, 01:34 PM
Thank you :)

Install*

Paul M
03-09-2006, 05:43 PM
Feel free to PM me a login to your site with full admin access and I'll have a look.

I assume you have read this ;

You must be using the database thread marking system for this hack to work.

vchase
03-10-2006, 02:51 AM
i already Thread/Forum Read Marking Type & Database Read Marking Limit ... still don't see anything ..I'm using 3.5.4..plz help!

ahennings
03-10-2006, 10:37 PM
INSTALLED! I've been hunting for a mod like this! Thank You, good job!

Gizmo5h1t3
03-11-2006, 07:00 AM
just re installed this, seen the update where theres no need to edit the showthread template, but im not seeing anything...
allthe settings are correct, yet nothings there?

Paul M
03-11-2006, 05:41 PM
i pm u all my detail so please solve my probelm1. Despite the big bold warning, which I repeated in my last reply to you, you still do not have the database thread marking system turned on. Therefore this hack will not work.

Also, I noticed that you have removed the list of usergroups from the ACP "Who has Recently Read a Thread Usergroups" setting, so even if you activate the datbase marking, it still probably won't work until you add some groups (or 0 for all).

Fix those errors and you should be ok.

Paul M
03-11-2006, 07:42 PM
In the vb options general settings.

Paul M
03-12-2006, 11:10 AM
No, you haven't, you are still set to use 'Inactivity/Cookie Based'

Paul M
03-12-2006, 04:08 PM
Done.

grains
03-12-2006, 08:27 PM
took me a while, but i figured it out reading the last few messages....

senkin
03-12-2006, 08:34 PM
Thanks paul for yet another great innovative hack.

OOC (Aint it funny how ppl can't read rules or other posts to see if it has been solved?)

bigmonay2k
03-13-2006, 01:23 AM
is there away to make it visible to admin/mod. only?

rnmcd
03-14-2006, 10:54 PM
is there away to make it visible to admin/mod. only?

That would be nice.

Great mod Paul M!

Paul M
03-14-2006, 11:10 PM
Perhaps you should both read the notes ...... and while your at it, read the bit that says CLICK INSTALL. :)

pcgod
03-23-2006, 02:05 AM
good hack...

wilburshere
03-30-2006, 10:41 AM
installed i like this

Chadi
04-03-2006, 10:01 PM
How do I uninstall? I deleted the product and the "already viewed thread" from the plugin manager.

Now, it cleared the names but the table in the template is still there

See screenshot

Paul M
04-03-2006, 10:04 PM
Are you sure you have the right hack ? - "Already viewed this thread" has never been a phrase in this.

Chadi
04-03-2006, 10:06 PM
Not to that exact word to word but yes I deleted the product and a few things that pertained to members reading threads in plugins area

mrsbuzzy
04-06-2006, 01:15 PM
Is there any way to add the time viewed?

Paul M
04-06-2006, 01:32 PM
Not in this version, this shows the time of the last viewed post. Version 3 shows the time last actually viewed.

rnmcd
04-06-2006, 02:50 PM
Not in this version, this shows the time of the last viewed post. Version 3 shows the time last actually viewed.
Where's version 3? In the works?

Paul M
04-06-2006, 03:15 PM
Where's version 3? In the works?https://vborg.vbsupport.ru/showthread.php?t=112192

Hell?
04-13-2006, 09:10 PM
Just so you know, there are no instructions included in the attached zip file.

Paul M
04-14-2006, 04:39 AM
Ah yes, it shouldn't say that any more, corrected. :)

almukmin
04-14-2006, 06:11 PM
It's not working for me. Do I need to add any code?

Paul M
04-14-2006, 07:07 PM
It's not working for me. Do I need to add any code?I assume you read this ?
You must be using the database thread marking system for this hack to work.

coffee
05-22-2006, 12:08 AM
Thank you Paul M.

redlabour
06-08-2006, 03:51 PM
Will it work in the Future with vBulletin 3.6 (http://www.vbulletin.com/forum/showthread.php?t=187654) ?

Paul M
06-10-2006, 06:02 PM
No idea atm. :)

sensimilla
07-03-2006, 06:36 AM
Paul bro
i want to move diz hack to top of thread view
can u tell me how i do diz???

It has been asked several times before, you have to move a part of the default vbulletin template

Bubble #5
07-03-2006, 05:11 PM
Paul we have tested this for you and it does appear to work fine in 3.6 B3 :)


PS;
the words 'Members/Member' and 'Day/Days' should not be capitalized because they are not at the beginning of a sentence ;)

Paul M
07-03-2006, 05:34 PM
Paul we have tested this for you and it does appear to work fine in 3.6 B3 :)Thanks for the note. :)

PS;
the words 'Members/Member' and 'Day/Days' should not be capitalized because they are not at the beginning of a sentence ;)I don't think I'll worry about that too much ;)

kollalarab
09-03-2006, 09:21 AM
* installed *

HeLLCiTo
02-11-2009, 05:42 PM
works in 3.8 ? or any similar mod?

goshalim
08-21-2009, 02:15 AM
Hi Paul

Today i added a new usergroup in my forum. This new group cannot see the members below the thread that visited the thread. Any ideas who to fix this please ?