PDA

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


Pages : [1] 2

Paul M
12-20-2009, 10:00 PM
--------------------------------------------------------------------------------
This modification has been withdrawn.
vBulletin 4.0.x and 4.1.x are no longer supported.

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


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

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

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

1. Turn the system on/off.
2. Restrict the display to certain usergroups
3. Restrict the IP display to certain usergroups.
4. Restrict the display to a set number of days.
5. Option to allow thread author to view who read information.
6. Option to turn on the who read cutoff date (reset) function
7. Restrict use of reset function to certain usergroups.
8. Option to set whoread data records to be cleaned out after xxx days.
9. Clicking on a user will display a page of their thread viewing history, most recent first.
10. Restrict the display to certain forums only.
11. The display can be set as always collapsed on initial page load.
12. Restrict the list of reader names to certain usergroups.
13. Restrict the list of recent threads a member has read to certain usergroups.

The set/reset facility allows members to click on the 'set' link which then sets a personal 'cutoff' time - only showing who has read the thread after that time. The time can be reset as many times wanted, and also completely cleared again.

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

Warning: When using the set/reset option - there is only a limited capacity of entries per thread (several thousand) - therefore you should only allow this feature to be used by a limited number of people - typically Staff usergroups. Allowing all members to use it will probably slow down your forum and cause errors if more than about 3000 members set a date on one thread.

Note: When using option 4 or the set/reset facility, the data is still kept beyond this limit, so they can be changed at any time.

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

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


History:

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

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

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

bart6767
12-21-2009, 09:23 PM
Thanks paul .

iguano
12-21-2009, 10:18 PM
Thanks :)

arauf
12-21-2009, 10:37 PM
Perfect !

Thanks.

kevin2008
12-21-2009, 10:47 PM
thank you

elwachiman
12-22-2009, 02:56 AM
perfect tnks man

Raug
12-22-2009, 03:19 AM
I believe the first 3 div blocks in Display_Readers looked like this:
<div id="thread_onlineusers" class="collapse">
<div class="inner_block" id="wrt_list" style="{vb:raw vbcollapse.collapseobj_wrt_list}">
<div>

But shouldn't it look like this?

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

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

Outside of that, thanks for updating!

kisanjong
12-22-2009, 06:28 AM
Thanks Paul looks great - Installed

sa3sa3
12-22-2009, 07:56 AM
Thanks .... works fine

Paul M
12-22-2009, 08:29 AM
I believe the first 3 div blocks in Display_Readers looked like this:
<div id="thread_onlineusers" class="collapse">
<div class="inner_block" id="wrt_list" style="{vb:raw vbcollapse.collapseobj_wrt_list}">
<div>

But shouldn't it look like this?

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

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

Outside of that, thanks for updating!

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

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

bollie
12-22-2009, 08:59 AM
thanks for update ;)

gyaronn
12-22-2009, 09:41 AM
you are the MAN :-)

Adem GEN?
12-22-2009, 11:50 AM
Thanks, Installed

halkum
12-22-2009, 12:48 PM
I want to send you a Christmas gift!

Paul M
12-22-2009, 02:05 PM
I want to send you a Christmas gift!
The (Paypal) Support Developer link is always available in the main post. :cool:

sa3sa3
12-22-2009, 11:01 PM
Paul

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

CarterMarkham
12-23-2009, 12:44 AM
Paul, I am also having trouble getting this to show on my forum, I have a custom theme and its not showing up...

HN?
12-23-2009, 01:23 AM
Thanks paul

chriske
12-23-2009, 04:36 AM
Wow, I made this suggestion a couple of weeks ago @ vbul.com, and now here I see this fantastic mod :)

I will definitely try it out! Thanks man :)

Merjawy
12-23-2009, 04:57 AM
Thanks .. used the mod for 3.8 for sometime and loved it

Marked installed

KissOfDeath
12-24-2009, 07:46 PM
Thanks, works great

Gleedo
12-31-2009, 06:27 AM
Very tidy mod paul - many thanks :)

EDIT:Just spotted an issue I think...

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

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

Should that have worked?

Paul M
12-31-2009, 12:10 PM
Should that have worked?
Yes it should.

I'll try it on my test forum shortly.


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

Paul M
12-31-2009, 12:59 PM
This was due to the conversion to vb4 and the way the a new hook I used actually worked. Should be fixed in 4.0.5.

Gleedo
12-31-2009, 01:18 PM
This was due to the conversion to vb4 and the way the a new hook I used actually worked. Should be fixed in 4.0.5.

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

albibak
01-10-2010, 06:08 PM
Paul M,

Thanks for the mod
Please, find in attachment the french translation
You can find the french topic for this mod here: http://forum.vbulletin-fr.org/modifications/1096-Qui-a-lu-cette-discussion

Marv
01-12-2010, 01:56 PM
And another goodie by Paul ;)

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

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

Paul M
01-12-2010, 02:42 PM
Yes, I plan to add a couple more permissions, and convert all the usergroup options to actual permissions in the usergroup manager (which will mean uploading a bifields file).

absy
01-14-2010, 03:24 PM
Can anyone help me with a stylevar please, using a customised style, this text:
Last Post : 01-11-2010, 01:49 PM in the mod is white and I wish to change it, Ive been searching for hours to find what controls the colour of text on it and failed

Thanks if you can

Paul M
01-14-2010, 08:48 PM
Can anyone help me with a stylevar please, using a customised style, this text:
in the mod is white and I wish to change it, Ive been searching for hours to find what controls the colour of text on it and failed

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

absy
01-14-2010, 09:00 PM
its ok thx I fixed it now :)

Dr.osamA
01-14-2010, 11:07 PM
All settings are located in vBulletin Options > Who Has Read a Thread

I'm very happy about this MOD, but unfortunately I can not find the settings no wher

thanxx very mutch

installed
________
The cigar boss (http://thecigarboss.com/)

ndut
01-15-2010, 12:07 AM
installed. thank you

Paul M
01-15-2010, 07:57 AM
I'm very happy about this MOD, but unfortunately I can not find the settings no wher

thanxx very mutch

installed
The options section in your Admin Control Panel.

CheeSie
01-15-2010, 08:17 AM
Some of my members gets this error when viewing the list of thread readers..
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1146) : eval()'d code on line 109

Paul M
01-15-2010, 08:29 AM
That may be true, but its not being caused by this mod.

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

CheeSie
01-15-2010, 08:40 AM
oh okay.. XD
I just thought it was your mod as it showed up when viewing that list.. But thanks, I'll go do some debugging :)

KissOfDeath
01-15-2010, 11:24 AM
Hi, is their a mod like this available to show you who has read an article

Paul M
01-15-2010, 06:34 PM
None I know of.

Robru
01-16-2010, 08:26 PM
v4.0.4 must be v4.0.8 ?

Paul M
01-16-2010, 08:30 PM
Yes, I corrected that, but not quick enough :)

Robru
01-16-2010, 08:33 PM
haha... Thanks for your good work ;)

Cybeth
01-17-2010, 12:35 PM
Hi Paul,

v4.0.8 is Style broken, Forum Rules in Postbit.
v4.0.7 ist Style okay

Paul M
01-17-2010, 02:52 PM
Im afraid you need to be a little more specific because nothing seems broken on my forum, and this doesnt touch postbits.

TimberFloorAu
01-18-2010, 04:12 AM
Works brilliant.

Except the Collapse on Page load bit.

Theres no icon to expand/collapse ?

Is this how it should be ?

Paul M
01-18-2010, 10:17 AM
Nope, there should be an image, are you sure you have /images/buttons/collapse.png & /images/buttons/collapse_collapsed.png on your server ?

TimberFloorAu
01-18-2010, 11:51 AM
Will check , our VPS has just crapped itself. So awaiting tech support :down:

josantos
01-18-2010, 05:29 PM
I'd like to install, but gives me this error:

Database error in vBulletin 4.0.1:

Invalid SQL:

UPDATE template SET
styleid = -10
WHERE product = 'paulm_wrt_40' AND styleid = -1;

MySQL Error : Duplicate entry 'Display_Readers--10-template' for key 2
Error Number : 1062
Request Date : Monday, January 18th 2010 @ 02:25:01 PM
Error Date : Monday, January 18th 2010 @ 02:25:06 PM
IP: *****************
User: ************
Classname : vB_Database_MySQLi
MySQL Version : 5.0.85-community-log

Why ???

regards

TimberFloorAu
01-18-2010, 05:44 PM
Nope, there should be an image, are you sure you have /images/buttons/collapse.png & /images/buttons/collapse_collapsed.png on your server ?

Both those images are on the server and paths correct. Still no collapse/expand

Paul M
01-18-2010, 07:36 PM
I'd like to install, but gives me this error:

Why ???

regards
Thats some kind of error in the vbulletin product system, its not the first time Ive seen that reported by people. Its related to changes they made for their upgrade system. I suggest you simply try again.

Both those images are on the server and paths correct. Still no collapse/expand
Then I have no idea, what do you see in the page source ?

JGONZ_1979
01-18-2010, 08:03 PM
awesome mod!! i was loking for something like this.

as a sugestion.

add the number of times each user has seen the thread.

thks!!

TimberFloorAu
01-18-2010, 09:29 PM
This is the code:


<h4 class="threadinfohead"><span class="optiontitle">Members who have read this thread : 0</span></h4> <a class="collapse" id="collapse_wrt_list" href="http://www.yobromofo.com/forum/f111/brisbane-man-loses-finger-after-ambulance-delay-8732/#top"><img src="http://www.yobromofo.com/forum/images/buttons/collapse_collapsed.png" alt="" title="Collapse/Expand" /></a> <div id="thread_onlineusers" class="collapse"> <div class="thread_info_block" id="wrt_list" style = "display: none""> <div class="inner_block"> <p>Actions : <span>(<a rel="nofollow" href="http://www.yobromofo.com/forum/misc.php?do=wrtviewall&amp;t=8732" title="View all thread readers">View-Readers</a>)</span> </p>


There are no names to display.


The image paths are correct and reachable. Just do not display on the forum

Storyteller69
01-18-2010, 09:46 PM
@TimberFloorAU

Try the collapse-button in "Thread Information"-box above the wrt-box. That's where i find it.

TimberFloorAu
01-18-2010, 09:50 PM
@TimberFloorAU

Try the collapse-button in "Thread Information"-box above the wrt-box. That's where i find it.

Strangely that works !

How uncanny, and totally abstract lol.

So there is a conflict somewhere !

Thankyou

Paul M
01-19-2010, 11:16 AM
Ah, interesting, I dont have Thread Information turned on.

Tested and confirmed, that is a bug I will look into when I get chance.

TimberFloorAu
01-19-2010, 11:49 AM
Ah, interesting, I dont have Thread Information turned on.

Tested and confirmed, that is a bug I will look into when I get chance.

Cheers Paul

:up:

Paul M
01-19-2010, 07:05 PM
Fixed in v4.0.9

RedHacker
01-19-2010, 08:18 PM
The option "Set Date" cant show..

etg ScreenShot 1 of this mod

Paul M
01-19-2010, 08:21 PM
Have you enabled it ?

RedHacker
01-19-2010, 08:24 PM
Have you enabled it ?

I am sorry Paul M not show option can enable...
Its OK now...

3DUInc
01-19-2010, 09:55 PM
Thank you :)

TimberFloorAu
01-20-2010, 12:23 AM
PERFECT Cheers Paul

ENF
01-20-2010, 02:53 AM
Anyone have problems with this plug-in updating styles when installing or upgrading this plug-in? I tried to upgrade to the latest release as of today and the plug-in will update the first style (vb4 default) and it just hangs there. It does not continue on to the two other styles, just stops, doesn't even say 'Done' on the first style.

I'm still troubleshooting this; if you've had this happen and know where the problem could be, please let me know.

Thanks All.

Paul M
01-20-2010, 07:08 AM
That is the standard vb product install code thats hanging, not this.

ENF
01-20-2010, 08:50 AM
That is the standard vb product install code thats hanging, not this.

Yep, whatever it is, started when I tried to update this plug-in. I finally have time to backtrack to see why it decided to start acting all goofy. My post above was a knee-jerk instead of researching the problem more carefully first. Luckily, we haven't done too much and it should be easy to duplicate on our test environment.

fishmaster
01-21-2010, 06:35 AM
If it cant create the tables needed, what is the work around?

Install stopped with error.

Paul M
01-21-2010, 08:46 AM
Yep, whatever it is, started when I tried to update this plug-in. I finally have time to backtrack to see why it decided to start acting all goofy. My post above was a knee-jerk instead of researching the problem more carefully first. Luckily, we haven't done too much and it should be easy to duplicate on our test environment.
JFYI, if you have the store css as files option enabled in vb, style processing is now very slow.

If it cant create the tables needed, what is the work around?

Install stopped with error.
There is no workaround, it cannot function without the tables. What error ?

leeman
01-22-2010, 07:46 PM
Installed!

First run it hung on the creating of a table.
Second run without glitches.

Works like a charm now.

Thanks Paul!

Paul M
01-22-2010, 09:25 PM
After it creates the table, it processes all the existing thread read records, this could take some time.

josantos
01-23-2010, 06:57 AM
After it creates the table, it processes all the existing thread read records, this could take some time.

Witch table will be created ?

may be I can resolve my problem is I delet this table ...

rollerman
01-23-2010, 09:24 AM
Works like a charm on the mirror test site I've set up for working out my upgrade.

One of my favorite vB mods of all time, from a back-office perspective. Thanks! :up:

COL NIL SATIS
01-23-2010, 02:55 PM
installed..works well

Paul M
01-23-2010, 03:46 PM
There was a small typo in 4.0.9 which Firefox happily ignored, but did cause a small display glitch in IE. This is fixed as part of 4.0.10.


Witch table will be created ?

may be I can resolve my problem is I delet this table ...
Um, no. Deleting the table it requires will break it. What problem ?

steve1966
01-23-2010, 04:33 PM
thanks for the update

Dr.osamA
01-23-2010, 06:00 PM
thanks for the update

100%
________
Silver surfer herbal vaporizer (http://vaporizers.net)

Trek
01-24-2010, 05:52 AM
Just upgraded from the prior version to this one, got a DB error:

Database error in vBulletin 4.0.1:

Invalid SQL:

UPDATE dhv_template SET
styleid = -10
WHERE product = 'paulm_wrt_40' AND styleid = -1;

MySQL Error : Duplicate entry 'Display_Readers--10-template' for key 'title'
Error Number : 1062
Request Date : Sunday, January 24th 2010 @ 01:49:39 AM
Error Date : Sunday, January 24th 2010 @ 01:49:45 AM
Script : http://www.mydomain.com/admincp/plugin.php?do=productimport
Referrer : http://www.mydomain.com/admincp/plugin.php?do=productadd
IP Address : 71.117.224.18
Username : Trekkan
Classname : vB_Database
MySQL Version : 5.1.30

josantos
01-24-2010, 10:14 AM
There was a small typo in 4.0.9 which Firefox happily ignored, but did cause a small display glitch in IE. This is fixed as part of 4.0.10.



Um, no. Deleting the table it requires will break it. What problem ?

This problem here: https://vborg.vbsupport.ru/showpost.php?p=1959374&postcount=48

I'd like so much to install this Produkt

Beava
01-24-2010, 11:12 AM
Installed... Thank you!

Paul M
01-24-2010, 08:22 PM
Just upgraded from the prior version to this one, got a DB error:

Database error in vBulletin 4.0.1:

Invalid SQL:

UPDATE dhv_template SET
styleid = -10
WHERE product = 'paulm_wrt_40' AND styleid = -1;

MySQL Error : Duplicate entry 'Display_Readers--10-template' for key 'title'


This problem here: https://vborg.vbsupport.ru/showpost.php?p=1959374&postcount=48

I'd like so much to install this Produkt

Thats an intermittant oddity of the vbulletin product install system.

Trek
01-24-2010, 08:41 PM
Thats an intermittant oddity of the vbulletin product install system.

Fair enough, things seem to be working ok anyway. Just thought I'd report it. =)

Kolbi
01-25-2010, 03:01 PM
How much ressources / queries does it produce?

Trek
01-27-2010, 11:10 PM
Hey Paul, I know you posted the DB problem over at vb.com, but was wondering if you have a work around for it? The product doesn't install due to this error and I really miss this mod.

Paul M
01-28-2010, 07:14 AM
Delete all the -10 templates from your template table.

[ Delete from template where styleid = -10 ]

You dont need them, they are just copies of old templates.

Trek
01-28-2010, 03:56 PM
Delete all the -10 templates from your template table.

[ Delete from template where styleid = -10 ]

You dont need them, they are just copies of old templates.

Thanks Paul, works great!

Mrdby
01-30-2010, 02:31 PM
any idea?

Database error in vBulletin 4.0.1:

Invalid SQL:
SELECT COUNT(*) AS rows FROM whoread;

MySQL Error : Table '*****_vbull.whoread' doesn't exist
Error Number : 1146
Request Date : Saturday, January 30th 2010 @ 10:25:14 AM
Error Date : Saturday, January 30th 2010 @ 10:25:22 AM
Script : http://www.*****.net/forum/admincp/plugin.php?do=productimport
Referrer : http://www.*****.net/forum/admincp/plugin.php?do=productadd
IP Address : *****
Username : *****
Classname : vB_Database
MySQL Version : 4.1.22-standard-log

Paul M
01-30-2010, 04:35 PM
any idea?
Yes, a missing prefix in the installer. Re-download it.

steve1966
01-30-2010, 07:06 PM
thanks for the update

josantos
02-01-2010, 08:08 AM
Delete all the -10 templates from your template table.

[ Delete from template where styleid = -10 ]

You dont need them, they are just copies of old templates.

Thankyou ! It works fine now :up: :up:

we_are_borg
02-04-2010, 08:28 PM
Paul can this work in the calendar to.

Paul M
02-05-2010, 04:01 PM
Nope. Its called who has read a thread for a reason :)

we_are_borg
02-06-2010, 05:18 PM
Thanks for the answer Paul

gerico
02-07-2010, 08:49 AM
For me no works option on admin cp "ip display" restrictions.. only usergroups:all appears.. can not changes..

Thanks

Paul M
02-07-2010, 10:53 AM
Sorry, Im not really sure what your saying ?

gerico
02-07-2010, 12:17 PM
Sorry, Im not really sure what your saying ?

:confused:

Paul M
02-07-2010, 07:38 PM
The mod must be enabled, otherwise those options will not work.

djbaxter
02-08-2010, 04:33 PM
Delete all the -10 templates from your template table.

[ Delete from template where styleid = -10 ]

You dont need them, they are just copies of old templates.

What does styleid = -1 mean?

Stingray27
02-08-2010, 06:11 PM
-1 is the Master Style.

djbaxter
02-09-2010, 12:34 AM
-1 is the Master Style.

Thanks. I saw a lot of those and wondered. :)

tiengnhat
02-12-2010, 12:21 AM
Database Error when i install:
Importing Product, Vui l?ng đợi một ch?t...

[:]
Members who have Visited

Installing : Version 4.0.5 ; Revision: 1.37

Please remember to Mark as Installed at vBulletin.org

Processing : Version 4.0.1

Processing : Version 4.0.5

Database Error

Database error in vBulletin 4.0.1:

Invalid SQL:

UPDATE template SET
styleid = -10
WHERE product = 'paulm_wvt_40' AND styleid = -1;

MySQL Error : Duplicate entry 'Display_Visitors--10-template' for key 'title'
Error Number : 1062
Request Date : Thursday, February 11th 2010 @ 07:18:13 PM
Error Date : Thursday, February 11th 2010 @ 07:18:20 PM
Script : /Forums/admincp/plugin.php?do=productimport
Referrer : /Forums/admincp/plugin.php?do=productadd
IP Address : 247.175.147.76
Username : duck
Classname : vB_Database
MySQL Version : 5.1.43

Please help me for fix it. Thanks you!

Paul M
02-12-2010, 08:59 AM
This is a vb4 bug in the product system, see post #83 to get round it.

FaiSao_963
02-22-2010, 05:08 PM
thank you for this product .
but, I have a problem


Allow Thread Author
If set to yes then this allows the thread creator to see the who has read display whatever usergroup they are in.


Sorry, this setting does not work with me ..

Xeyn
02-22-2010, 05:43 PM
Ahhh.very usefull mod...thx alot....

Popa Andrei
02-22-2010, 06:00 PM
its a great mod

Paul M
02-22-2010, 10:22 PM
thank you for this product .
but, I have a problem



Sorry, this setting does not work with me ..

Hmmm, having just tested this, I can confirm you are right, it seems to have broken somewhere along the line. Looking into it atm.

Paul M
02-23-2010, 07:12 AM
4.0.12 - Fix author display.

Jonluci
02-23-2010, 07:34 AM
thanks for the update :)

naisho
02-23-2010, 08:47 AM
Problem with this last upgrade:

MySQL Error : Duplicate entry 'Display_Readers--10-template' for key 2
Error Number : 1062

And the product does'nt show up any longer in the admincp product list.
In the vBulletin Options settings the product name is blank... and when I check the blank space I see it's the good product but menus have gone away...
Anyway to manually remove it to re-install completely?

Wseries
02-23-2010, 09:49 AM
I've had the same issues Naisho. I solved it by using phpMyAdmin to delete the relevant templates manually from the database and then re-importing the product file.

naisho
02-23-2010, 10:37 AM
Thanks a lot wseries. I deleted the following templates:
Display_Readers
Display_Readers_View_Bit
Display_Readers_View_User
Display_Readers_Bit
css_common_wrt.css
which belonged to "paulm_wrt_40" product and then re-installed.
It's oK now!

hollosch
02-23-2010, 10:42 AM
Problem with this last upgrade:



And the product does'nt show up any longer in the admincp product list.
In the vBulletin Options settings the product name is blank... and when I check the blank space I see it's the good product but menus have gone away...
Anyway to manually remove it to re-install completely?


Same problem !!!

Paul M
02-23-2010, 10:56 AM
Problem with this last upgrade:



And the product does'nt show up any longer in the admincp product list.
In the vBulletin Options settings the product name is blank... and when I check the blank space I see it's the good product but menus have gone away...
Anyway to manually remove it to re-install completely?

I've had the same issues Naisho. I solved it by using phpMyAdmin to delete the relevant templates manually from the database and then re-importing the product file.

This is covered in the forum announcements.

https://vborg.vbsupport.ru/announcement.php?f=245&a=47

FaiSao_963
02-23-2010, 04:51 PM
Hmmm, having just tested this, I can confirm you are right, it seems to have broken somewhere along the line. Looking into it atm.



thank's

It's good now with 4.0.12 ..

ascott
02-23-2010, 07:27 PM
Installed, thank you Paul!

hollosch
02-24-2010, 08:14 AM
This is covered in the forum announcements.

https://vborg.vbsupport.ru/announcement.php?f=245&a=47

This query don't work for me: DELETE FROM Display_Readers WHERE styleid = -10

This error occured:

Errornumber: 1146
Error description: Table 'dbname.Display_Readers' doesn't exist

What's wrong ?

Paul M
02-24-2010, 10:49 AM
The query says DELETE FROM Template WHERE styleid = -10, not Display_Readers

DeviantFlash
02-24-2010, 11:20 PM
I get this error when I try to run that code:

#1146 - Table 'deviantm_forum.Template' doesn't exist

Paul M
02-25-2010, 11:44 AM
I get this error when I try to run that code:

#1146 - Table 'deviantm_forum.Template' doesn't exist

From the announcement :)

Remember any tablename prefix if you use one.

War.Frog
02-25-2010, 12:10 PM
Sorry...I'm a n00b with this. Would someone be so kind as to post the syntax of the queries you ran? I keep getting "doesn't exist" errors.

aaronrand
02-25-2010, 01:58 PM
Hi Paul M, i read through the threads, but is there a way to view all thread viewers and what threads they viewed, say for the last 24 hours?
It would help gauge what content my members are liking.

Paul M
02-25-2010, 07:00 PM
No, there is no way to view the data for all users in one list.

DeviantFlash
02-27-2010, 01:02 AM
From the announcement :)


Ok, I tried a couple of configurations.

Any help on the exact line I would need to use would be appreciated.

lostguy
02-27-2010, 11:22 AM
I always big fan this script since Vb2 !

Like previous i always ask to remove the preview name to normal text ! I have different color and size usergroup text so..i want all show as regular text only .

Can u help me pls ?

Paul M
02-27-2010, 11:44 AM
Ok, I tried a couple of configurations.

Any help on the exact line I would need to use would be appreciated.

You have to use the actual name of your template table, as you apparantly must be using a prefix (e.g. it might be vb3_template).


I always big fan this script since Vb2 !

Like previous i always ask to remove the preview name to normal text ! I have different color and size usergroup text so..i want all show as regular text only .

Can u help me pls ?

Try editing the Display_Readers_Bit template - change musername to username.

lostguy
02-27-2010, 02:54 PM
You have to use the actual name of your template table, as you apparantly must be using a prefix (e.g. it might be vb3_template).




Try editing the Display_Readers_Bit template - change musername to username.

Opss okay i try that and thanks again bro

Lg

lostguy
02-27-2010, 03:01 PM
Hi paul ,

Thanks for the previous help and it work nicely ..I now face another problem when i click "(View-Readers) " option any thread ..I saw Names but the Box all White and i have to Highlight to see Ips .

Plus i dont want people access that option cause it review IPs..not safe :( ..Any idea to remove " Actions : (View-Readers) " option ?

here my preview

(View-Readers)

Paul M
02-27-2010, 03:07 PM
Please read the main post and the modification options.

3. Restrict the IP display to certain usergroups.

As for the colours, I guess you must have a customised style so you would need to customize the mod colours (css) as well.

DeviantFlash
02-27-2010, 11:21 PM
You have to use the actual name of your template table, as you apparantly must be using a prefix (e.g. it might be vb3_template).




Try editing the Display_Readers_Bit template - change musername to username.

Wouldnt deviantm_forum be the prefix?

Paul M
02-27-2010, 11:53 PM
Nope, thats the name of your databse.

Goto ACP > Maintenance > Repair / Optimize Tables and you will have a list of all your tables, you can find the name there.

DeviantFlash
02-28-2010, 12:30 AM
Nope no prefixes there

RaSa
03-01-2010, 07:05 AM
Who Has Read a Thread

Installing : Version 4.0.13 ; Revision: 1.40

Please remember to Mark as Installed at vBulletin.org

Processing : Version 4.0.1

Processing : Version 4.0.10
-------------------------------------------------------

Invalid SQL:

UPDATE template SET
styleid = -10
WHERE product = 'paulm_wrt_40' AND styleid = -1;

MySQL-Fehler : Duplicate entry 'Display_Readers--10-template' for key 'title'
Fehler-Nr. : 1062

Hmm? I use Standard Template. Thanks!

princeedward
03-01-2010, 08:24 AM
better late than never...thanks...installed...nominate....rated

:p:up:

FaiSao_963
03-01-2010, 09:41 AM
thanks for upgrade

Paul M
03-01-2010, 11:45 AM
Who Has Read a Thread

Installing : Version 4.0.13 ; Revision: 1.40

Please remember to Mark as Installed at vBulletin.org

Processing : Version 4.0.1

Processing : Version 4.0.10
-------------------------------------------------------

Invalid SQL:

UPDATE template SET
styleid = -10
WHERE product = 'paulm_wrt_40' AND styleid = -1;

MySQL-Fehler : Duplicate entry 'Display_Readers--10-template' for key 'title'
Fehler-Nr. : 1062

Hmm? I use Standard Template. Thanks!

Please read the forum announcements.

DeviantFlash
03-03-2010, 12:12 AM
Please read the main post and the modification options.



As for the colours, I guess you must have a customised style so you would need to customize the mod colours (css) as well.

Where can one find the mod colors to customize?

Paul M
03-03-2010, 10:51 AM
In the CSS template (custom_wrt.css)

RedHacker
03-08-2010, 06:08 PM
View all threads readr how to open in new tab and not same...

parks72
03-15-2010, 05:55 PM
thanks for this........

-=Leb=-
03-16-2010, 11:46 PM
installed :)

Sara Tancredi
03-17-2010, 09:45 AM
i need this
well my version is 3.8.5
plz help me

Welshy2008
03-17-2010, 10:15 AM
i need this
well my version is 3.8.5
plz help me


Try this one Sara:

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


Can you PM me your thoughts on the 3.8.5 and if this works alright on 3.8.5 too please? I should imagine it would though.

dianna
03-26-2010, 05:20 PM
Works great thanks!

SCSCSC
04-02-2010, 08:43 AM
Members who have read this thread

how can i hide this from guests
in Usergroup Restrictions i have only select Admins & Mods

Paul M
04-02-2010, 10:47 AM
Then its hidden from guests.

merlin_de
04-24-2010, 08:12 AM
Hello,
thanks for this hack. Is there a way to view a link in profile from users like "show all readed from this user" ? I think i remember in 3.8 it was possible ;).
Greets,Micha

Paul M
04-24-2010, 10:15 AM
You mean this ?

9. Clicking on a user will display a page of their thread viewing history, most recent first.

lucybb
04-27-2010, 10:55 AM
Hi,

I am using this, but I need invisible members who have viewed the thread to show to everyone (not just admins/mods).

I don't want to change my overall settings so members can't be invisible or so everyone can see invisible members, I just want everyone to be able to see invisible members in the context of this "Who has read a thread" feature.

Is there something I can do to make this happen?

If it's not an easy ask, would the developer or anyone else be interested in doing it for me as a paid job.

Thanks

Lucy

Sea Shepherd
05-26-2010, 01:53 PM
Quick one to watch out for guys.
The default setting in this mod is to display a Users IP address for all user groups.

I just had a major panic when i saw that unregistered users could see my members IP addys!

Can that be altered in this mod so that it doesn't occur?

Paul M
05-26-2010, 03:33 PM
That isnt the default setting.

The default is groups 5,6,7.

jonty
05-26-2010, 04:09 PM
you dont get to pick groups using id unlike your other mods- this one is a list box of usergroups.

/update just tested again and it defaults the 'all' for the usergroups and forums.

using 4.0.3

Paul M
05-29-2010, 09:51 AM
/update just tested again and it defaults the 'all' for the usergroups and forums.
Thats clearly a bug in the install code then. I'll take a look.

Paul M
05-29-2010, 10:42 AM
Fixed in 4.0.14.

Now I have to fix it in a few other mods :(

The Coon
05-29-2010, 11:04 AM
And we have to install them, Paul :D ...

Thank you for your work!

nomoreturn
06-10-2010, 01:57 AM
Got this error after update
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(817) : eval()'d code online 13

persianpros
06-10-2010, 09:19 AM
Persian Language For Who has read a Thread

By Persian Prince

Good Luck

Paul M
06-11-2010, 11:36 AM
Thank you

baghdad4ever
06-16-2010, 07:47 AM
tanks paul for this great mod

installed

KURTZ
06-22-2010, 10:59 AM
hi Paul, just installed onto a 4.0.4 board and got this error:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(833) : eval()'d code on line 113

any fix?

ps. i've tried to disable your hack and the error is gone ...

Paul M
06-22-2010, 09:13 PM
Sorry, but as per the other thread, I cannot replicate that on any of my 4.0.4 forums.

I would hazard a guess from the error, and its location, that the (vbulletin) settings for the mod are corrupt or missing - try editing/saving them. Same for the other report.

KURTZ
06-23-2010, 08:16 AM
Sorry, but as per the other thread, I cannot replicate that on any of my 4.0.4 forums.

I would hazard a guess from the error, and its location, that the (vbulletin) settings for the mod are corrupt or missing - try editing/saving them. Same for the other report.

today i tried to reinstall your product and magically runs fine ... (instead yesterday i've upgraded from the 3.8.5 product)

let's try with the other product ...

kinchyle
07-01-2010, 01:47 PM
Any thoughts on having this work with CMS or the Blog area of VB4 ? Mainly wondering about CMS. The information is great!

Gero50
07-04-2010, 02:41 AM
Works great (Installed)

FractalizeR
07-06-2010, 06:53 AM
I suppose this whoread table should use InnoDB engine by default if it is available at the system because on busy forums a high number of inserts can be done into this table.

There are already some supporting functions in VBulletin core in install scripts:
$hightrafficengine = get_high_concurrency_table_engine($db);

Some tables later are created with
ENGINE=$hightrafficengine

So, I think whoread should also use "hightrafficengine".

Dr.osamA
07-06-2010, 07:42 AM
thanx for upgrade

Paul M
07-06-2010, 10:41 AM
I suppose this whoread table should use InnoDB engine by default if it is available at the system because on busy forums a high number of inserts can be done into this table.

Why would Innodb be better ? MyISAM is perfectly able to handle many inserts, and table v row locking is not really an issue as records are not being updated.

In fact, with the current index design, Innodb would be slower, as it stores data in Primary Key order, but the inserts will be in date order, so it would be forever re-ordering the data. MyISAM pretty much stores them in Insert order.

FractalizeR
07-07-2010, 07:29 AM
When some registered user opens a thread, REPLACE query is issued effectively blocking all reads from whoread table (in MyISAM writes block as I know except for INSERTs) until it is finished (REPLACE is actually performed as DELETE+INSERT as I know). Queries on whoread table on my 2-3M monthly hits forum are often listed in slow query log.

Yes, you are right, I didn't think about Innodb clustering by primary key... But here are some other performance suggestions:


I don't see how index on ipaddress field is used in addon other than for displaying. It looks, like it can be safely removed because it just slows table inserts
ipaddress is better to be stored as integer and converted there and back using ip2long family (there is MySQL equivalents - INET_ATON family). This effectively decreases table row size by about 16 bytes. This is really important because on my forum this table contains 4,059,351 records and it's data size (without index) on disk is 123Mb. Having it converted to INT UNSIGNED will reduce table data size on disk in half. Also VARCHAR type for ipaddress is ineffective. It forces table format to be dynamic slowing data seek. If you will decide not to convert it to INT, please convert it to CHAR at least

I will appreciate any feedback on them.

Paul M
07-07-2010, 07:02 PM
The ipaddress index is not currently used, and probably never will be. As I recall, when I first wrote this (in early 2006), I had intended to add an option to display all threads accessed by an IP address, but later dropped that idea. The index has however remained in all versions. You can delete it if required.

As for it being vchar(20) - Well I guess 20 is a slight overkill as 15 is the max, but since mysql only uses what it actually needs, its not a big issue. A fixed char 15 might just be slightly better on average (taking into account the overhaed for the data length bytes).

Yes Im sure it would be better to store them using ip2long, however, that was not the standard in vbulletin when this was written. Since a lot of people have simply moved from one version to another, changing that would require install routines to update all existing data - not something I intend to do.

COL NIL SATIS
08-04-2010, 12:23 PM
great stuff ...v4.0.14 : 29-May-2010 : Fix error in upgrade section of install code.

works brilliantly !!!! thanks Paul

Sarcoth
08-05-2010, 02:55 PM
hi Paul, just installed onto a 4.0.4 board and got this error:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(833) : eval()'d code on line 113

any fix?

ps. i've tried to disable your hack and the error is gone ...

Sorry, but as per the other thread, I cannot replicate that on any of my 4.0.4 forums.

I would hazard a guess from the error, and its location, that the (vbulletin) settings for the mod are corrupt or missing - try editing/saving them. Same for the other report.

Just a quick note, I ended up getting the same error, but as Paul suggested, you need to make a small change in your "Who has read a thread" settings. When upgrading from an older version, your ID Display may have been set at 0 (for all forums). Now that this mod is using the usergroup selection option, you will have to click on All (for all forums).

CharlieDelta
08-06-2010, 01:13 AM
Installed and working great! 4.0.3

xtremecoders
08-13-2010, 10:12 AM
Very nice Product my friend.

Thank you.:up:

apokphp
08-14-2010, 04:15 PM
Installed, always loved this mod.

However, I have multiple styles on my forum. This mod works fine (shows up) on all except one. It's the cf1 theme found here at vb.org. Any reason why it wouldn't work on 1 particular style but works fine on all others? It just doesn't show up at all on cf1.

Paul M
08-14-2010, 05:49 PM
Probably the style is missing the template hook.

mrsbuzzy
08-17-2010, 12:03 AM
Just a quick note, I ended up getting the same error, but as Paul suggested, you need to make a small change in your "Who has read a thread" settings. When upgrading from an older version, your ID Display may have been set at 0 (for all forums). Now that this mod is using the usergroup selection option, you will have to click on All (for all forums).


With the latest upgrade I got the same error. I had to uninstall and reinstall clean and the error went away.

TheLastSuperman
08-17-2010, 01:35 AM
/me marks as installed, thanks Paul!

Madita
08-18-2010, 06:51 AM
How can I show it above, top ot the threads ?

Paul M
08-18-2010, 12:05 PM
You would have to edit your showthread template, Im afraid I cant provide specifics as its beyond the scope of mod support.

marinelife
08-21-2010, 02:22 AM
Can you search for a user with this, I would like to see what threads one user is looking at. Can that be done?

Paul M
08-21-2010, 09:55 PM
As it says ;

9. Clicking on a user will display a page of their thread viewing history, most recent first.

Veer
08-22-2010, 12:26 AM
Is to possible to have support for Blog Posts and CMS Articles?

marinelife
08-22-2010, 01:13 AM
Thanks for the information, this helps alot. GREAT MOD!!!

Paul M
08-22-2010, 08:18 AM
Is to possible to have support for Blog Posts and CMS Articles?
Well, it is called who has read a thread, which kinda suggests its threads only.

Maybe i'll expand it for 4.1, we'll have to see.

Veer
08-22-2010, 02:45 PM
Well, it is called who has read a thread, which kinda suggests its threads only.

Maybe i'll expand it for 4.1, we'll have to see.
Thanks, I will look forward.

silent angel
08-22-2010, 05:22 PM
when i install it is hows this .. please help me ...

1. This product is not compatible with version 4.0.0 Beta 4 of vBulletin. (Compatible starting with 4.0.0 / Incompatible with 4.0.99 and greater)

Charis
08-23-2010, 02:40 PM
Does it work in 4.0.6?

marinelife
08-23-2010, 05:16 PM
Yes it does, I am running 4.0.6

Mr Peabody
09-12-2010, 06:40 AM
I just updated from 3.8.x to 4.0.6 and get this error when updating this mod.

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(833) : eval()'d code on line 13

sulasno
09-12-2010, 07:58 AM
installed on 4.0.6

Marv
09-30-2010, 07:06 AM
Hi Paul,

I?m using this one now for quite a long time for admin purposes only. I would love to show that informations even public to all members, but a little personal survey under a part of my users showed me they?ld have serious problems if they could be tracked down by the function you described as

9. Clicking on a user will display a page of their thread viewing history, most recent first.My site runs in germany as you know and the germans are very sensitive to everything that looks (and feels) like their privacy could be endangered. Is it possible that you could add a simple on/off option for that particular function in the admin panel ? Sure, could be done in the xml by deleteing the url wrapping of the usernames and/or replacing the link to the profile page. But really, it would be nicer if you could add this to your mod.

And btw: thanks for the mod ;) Appreciate your work around here very much.

Paul M
09-30-2010, 08:54 PM
I'll think about it if I have some free time, but tbh, its not going to be high on my list as its a bit pointless, there is no extra privacy issue, its only showing information thats already available either in default vb or the basic display added by the mod.

manzanita
10-07-2010, 01:55 PM
Any word on making this 4.0.7 compatible?

marinelife
10-07-2010, 02:15 PM
It worked for me on 4.0.7

manzanita
10-07-2010, 09:28 PM
I disabled all other plugins except for this one, and I still got a bootstrap error message.

marinelife
10-07-2010, 09:50 PM
Did you disable them all when you upgraded, if not that could be an issue.

Paul M
10-07-2010, 11:38 PM
I just updated from 3.8.x to 4.0.6 and get this error when updating this mod.

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/class_bootstrap.php(833) : eval()'d code on line 13

Thats most likely a corrupt mod setting, got the mods settings in vboptions and re-save them, alternatively, uninstall the product and then re-install it, that will re-create the options.

manzanita
10-08-2010, 06:11 AM
Thats most likely a corrupt mod setting, got the mods settings in vboptions and re-save them, alternatively, uninstall the product and then re-install it, that will re-create the options.

I had the same error; I did both of these things and no dice.

Paul M
10-08-2010, 09:43 AM
Then its unlikely to be this, but there is nothing more I can do or tell you without server access.

Martini-man
10-08-2010, 04:49 PM
Hi

I tried to install this mod, but something went wrong...

Who Has Read a Thread

Installing : Version 4.0.14 ; Revision: 1.43

Please remember to Mark as Installed at vBulletin.org

Processing : Version 4.0.1

vB_Database_Alter: fetch_table_info() has not been called successfully.
MySQL server has gone away

I'm using vB 4.0.7

Paul M
10-09-2010, 01:33 PM
MySQL server has gone away is basically a mysql timeout error. Just try again.

RobbieZ
10-20-2010, 11:57 AM
I had the same error; I did both of these things and no dice.

Re-saving didnt work but the uninstall and re-up worked fine.

Thanks Paul

Paul M
10-22-2010, 02:49 PM
Fixed for vb 4.0.8 style changes in latest release.

bluered
10-22-2010, 06:47 PM
Fixed for vb 4.0.8 style changes in latest release.

thanks for update:)

Hippy
10-22-2010, 07:12 PM
once again
thanks Paul for your work..
Much appreciated

Trevor Matthews
10-22-2010, 07:24 PM
Many thanks. Another very useful feature.

-=Leb=-
10-22-2010, 07:32 PM
once again
thanks Paul for your work..
Much appreciated

same here :)

nikki712
10-22-2010, 11:13 PM
When upgrading from 3.8.4 to 4.0.8, do I just disable this hack, then upgrade vb, then upgrade the hack?

Hippy
10-22-2010, 11:36 PM
yes.. going from vb3 to vb4 you might want to disable all hooks..

good luck

Swordman844555
10-24-2010, 10:02 PM
Menus are gone, need Help? :confused:

Paul M
10-24-2010, 11:35 PM
Hmmm. Seems they have gone missing.

I guess I must have broke something. Time to go bug hunting.

Paul M
10-24-2010, 11:47 PM
Menus are gone, need Help? :confused:
Fix uploaded (4.0.17).

Hippy
10-24-2010, 11:50 PM
thanks paul

Swordman844555
10-25-2010, 04:41 AM
Big Thx Paul!

Edit: I can see only the 1'st Menu and the 2'nd? :confused:

Paul M
10-25-2010, 10:23 AM
The only other action items are the Date Set / Reset options, and will only appear if you have permission to use them. It works fine for me (and is actually now unchanged from before I accidently broke that line in 4.0.16).

Swordman844555
10-25-2010, 10:37 AM
Sorry Paul,

my Mistake, I had turned off this Option, Works Fine great!

persianpros
10-27-2010, 06:54 AM
Persian Translation :cool:

By Persian Prince

MrD
10-30-2010, 04:12 PM
Hi Paul,
is there an Option to make it Forum Specific?
Eg, only Forum x,y,z have the option ?

Paul M
10-30-2010, 10:09 PM
It always helps to read the main post ;)

10. Restrict the display to certain forums only.

MrD
10-31-2010, 11:38 AM
Hi,
sorry, it?s going under :D
clicks inst.

marshal_ramdev
11-01-2010, 06:51 PM
thanks :)

wolfey
11-11-2010, 11:33 AM
Love this mod...use it always

Is this possible:
I have a usergroup that I want to make sure reads certain threads..
Can I have the output of users who "have not" read?

That would be great!

Right now I have to import the usergroup list and who read list to excel and see who is missing

Paul M
11-11-2010, 08:53 PM
Sorry, no, thats not possible.

Trek
11-12-2010, 02:10 AM
Love this mod...use it always

Is this possible:
I have a usergroup that I want to make sure reads certain threads..
Can I have the output of users who "have not" read?

That would be great!

Right now I have to import the usergroup list and who read list to excel and see who is missing

I think what you're looking for is this: https://vborg.vbsupport.ru/showthread.php?t=241754&highlight=force+users

starman?
11-12-2010, 11:40 AM
installed - great stuff - thanks man!

POL_ED
12-05-2010, 10:42 AM
Thank you Paul
Works perfectly on VB 4.1.0

Dr.osamA
12-05-2010, 01:38 PM
Thank you Paul
Works perfectly on VB 4.1.0

BadgerDog
12-19-2010, 03:02 PM
Just a heads up for anyone using this mod, who also implements Google's CSE (Custom Search Engine) for their site at the same time.

Even if you restrict access to this data within the mod's options set-up with AdminCP, google can sill access the do=wrtviewuser function and display the results to anyone, including unregistered guests being able to view it using Google's "http://webcache.googleusercontent.com/search?" capability.

I'm currently looking for a way to either stop the Google CSE from displaying this data, or having the mod itself block access to Google.

Although not a serious issue, it is a point of privacy, certainly in having public unregistered guests view this kind of information by circumventing the mod's privacy display options.

Any idea Paul? :)

Regards,
Doug

Edit: Would putting the following into the robots.txt file, stop Google from indexing and creating entries from this mod, readable by everyone, including unregistered guests?

Disallow: /misc.php

Paul M
12-19-2010, 08:23 PM
Edit: Would putting the following into the robots.txt file, stop Google from indexing and creating entries from this mod, readable by everyone, including unregistered guests?

Disallow: /misc.php
Yes it would.

You could also not allow guests to use the who read facility in the first place by restricting it to certain usergroups.

BadgerDog
12-19-2010, 10:37 PM
Yes it would.

You could also not allow guests to use the who read facility in the first place by restricting it to certain usergroups.

Thanks Paul ... :)

I've updated the robots.txt file with that change and I'll see what happens ....

Just for clarity, even unregistered guests (in fact anyone) can use Google's web cache using their http://webcache.googleusercontent.com/search?q=cache function and view any of these screens (see attached pic), regardless of the settings within the mod itself ie: usergroups. Their process appears to circumvent Vbulletin and they add these screens to their web cache.

I'm hoping the robots.txt change stops future access, plus I submitted a URL purge request to Google of that specific URL to remove all links existing within their web cache envirionment.

I'll update here if and when these things work.

Appreciate the support .. :up:

Regards,
Doug

Update: Google said they couldn't remove existing links saying

"Your request has been denied because the webmaster of the site hasn't applied the appropriate robots.txt file or meta tags to block us from indexing or archiving this page. Please work with the webmaster of this site or select an alternate removal option from the webpage removal request tool."

So, I don't know what's wrong with the new robots.txt file that they feel we haven't done what we're supposed to do?

BadgerDog
12-20-2010, 11:43 AM
Google responded again and indicated that we needed to add a meta tag to the code, as shown in the example below, to block their indexing of this mod's specific pages.

I'm not sure where to put it, except somewhere in the original XML before uploading, or perhaps in a plugin for it?

<html>
<head>
<title>...</title>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
</head>


Also, I don't know what should go between the "<title>" expression?

Any guidance would be appreciated ... :)

Thanks ..

Regards,
Doug

Paul M
12-20-2010, 12:10 PM
Just for clarity, even unregistered guests (in fact anyone) can use Google's web cache using their http://webcache.googleusercontent.com/search?q=cache function and view any of these screens (see attached pic), regardless of the settings within the mod itself ie: usergroups. Their process appears to circumvent Vbulletin and they add these screens to their web cache.

Just to be clear, if you set the usergroups correctly then guests (including spiders) cannot view that page (they are u/g 1). Obviously that wont affect anthing already in the google cache, but its spiders wont be able to read the page anymore to cache new results.

I'm not sure where to put it, except somewhere in the original XML before uploading, or perhaps in a plugin for it?

<html>
<head>
<title>...</title>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
</head>


Any guidance would be appreciated ... :)

If you wanted to do that then you would modify the Display_Readers_View_User template. What you suggested before will work just as well.

BadgerDog
12-20-2010, 12:28 PM
Just to be clear, if you set the usergroups correctly then guests (including spiders) cannot view that page (they are u/g 1). Obviously that wont affect anthing already in the google cache, but its spiders wont be able to read the page anymore to cache new results.


If you wanted to do that then you would modify the Display_Readers_View_User template. What you suggested before will work just as well.

Thanks Paul ... :)

I'll add the meta tag to the Display_Readers_View_User template as well and see what happens ... :up:

When I originally installed the "Who Has Read a Thread" mod earlier this year, I set the ability to use it to moderators ONLY, besides the original thread creator. When Google CSE shows a search, it does show a link to the screen (see attached pic for example of a link title List of Threads Viewed by : alarsen303) which appears in Google's CSE to every member who views the search, regardless of whether they are in the mod's AdminCP setup or not.

If anyone who is not a moderator clicks on that link, they get the standard vBulletin message that they are "not allowed", as per the mod's setup options in the AdminCp.

However, if anyone uses Google's Web Cache search, as shown in the pic in the last post, anyone on the Internet can view the mod's screen, The example pic I posted earlier was posted and sent into us from a regular registered member (not a moderator) who wasn't able to see the screen directly, but was able to get at it through Google's Web Cache search.

I'm not sure what I'm missing and I apologize if I don't understand what you're saying, but it appears that all the user screens are accessible using Google Web Cache search, regardless of the AdminCP settings or when they were added? :confused:

Thanks for your support.. it is appreciated ... :up:

Regards,
Doug

Marv
12-20-2010, 01:09 PM
I'm not sure what I'm missing and I apologize if I don't understand what you're saying, but it appears that all the user screens are accessible using Google Web Cache search, regardless of the AdminCP settings or when they were added? :confused:


I double and triplechecked that for me and can?t confirm what you are experiencing. Could it be that you have set a login for the GoogleBot you may be have forgotten about? Happend to me in the past and resulted in an ugly reminder like that ;)

BadgerDog
12-20-2010, 01:26 PM
I double and triplechecked that for me and can?t confirm what you are experiencing. Could it be that you have set a login for the GoogleBot you may be have forgotten about? Happend to me in the past and resulted in an ugly reminder like that ;)

Hmmm... not sure ... :confused:

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

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "xxxxxxxxxxx";
urchinTracker();
</script>

Is that what you're referring to? :)

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

Thanks for the feedback Marv... :)

Regards,
Doug

Marv
12-20-2010, 01:37 PM
To be honest, I can´t recall wether it was Analytics or AdSense. In one of both you could set a login for their bots to crawl sites in the way registered users see it. I guess it was AdSense but I´m not sure. Guess you have to look into your settings there.

BadgerDog
12-20-2010, 01:55 PM
To be honest, I can?t recall wether it was Analytics or AdSense. In one of both you could set a login for their bots to crawl sites in the way registered users see it. I guess it was AdSense but I?m not sure. Guess you have to look into your settings there.

Interesting ... :)

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

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

Thanks again ...

Regards,
Doug

Paul M
12-20-2010, 02:36 PM
I have looked into this more deeply this afternoon and confirmed there is an issue within the code.

In short - if you have the "Allow Thread Author" option enabled, a bug within the code will allow guests to bypass the permission check on the viewuser page. The workaround [until its fixed] is to disable that option.

BadgerDog
12-20-2010, 03:25 PM
Thank you so much Paul .... :)

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

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

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

Regards,
Doug

ps: I was actually going to spend the holidays going through your excellent mods, as I bet we have nearly every one of them installed, checking to see which ones we can upgrade and which later ones don't support our version any longer.

Paul M
12-20-2010, 03:42 PM
Line 686 of the XML ;

Change this ;

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



To this;

$ugroups = unserialize($vbulletin->options['wrtgrps']);
if (!(is_member_of($vbulletin->userinfo,$ugroups) OR $ugroups[0] == 0))
{
print_no_permission();
}

Paul M
12-20-2010, 03:45 PM
Unfortunately. I notice that the latest version you have v4.1 is noted as not compatible with vBulletin 4.0.7 or Less.
This is purely down the the large number of style changes made in 4.0.8 - they affected about 8 (or more ?) of my mods.

BadgerDog
12-20-2010, 04:02 PM
This is purely down the the large number of style changes made in 4.0.8 - they affected about 8 (or more ?) of my mods.

Understood .. no problem ... I just appreciate being able to continue to use your mods, even on our older version.. :up:

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

Thanks Paul .. :)

Regards,
Doug

Paul M
12-20-2010, 08:35 PM
It is the second instance (only).

BadgerDog
12-21-2010, 09:45 AM
It is the second instance (only).

Done, patched v4.0.14 with our vbulletin 4.04pl1 and turned ON the "Allow Thread Author" option again for testing ... :up:

Thank you Paul ... :)

Very gracious of you to patch the old version, when I know you prefer to support only current version .... sent along a PayPal donation.... ;)

My best wishes for a very Merry Christmas and Happy New Year to you and your family ... :up:

Regards,
Doug

Marv
12-21-2010, 10:01 AM
You know what ? It?s damn long ago, that I read such a pleasant thread. A guy with a problem asking for help, a real bug found and an (hell, well respected!) author, who responded quickly, fixed the bug immediatly and even more supported his mod for nearly outdated versions - and: the guy comes back to say, thank you!

I know, it sounds a lil bit confusing wth I?m referring to that - but I?m so sick of it, that most people forget about, that on the other end of the line, there sits a human being ;)

Paul, thx for your efforts and contributions.

Martini-man
12-22-2010, 03:19 PM
I'm using 4.1.0, PL2 and I still have this problem while uploading it:

"vB_Database_Alter: fetch_table_info() has not been called successfully.
MySQL server has gone away"

It only happens with this mod, so I'm really clueless to what's causing it. Help anyone?

Dr.osamA
12-27-2010, 10:34 AM
thank you for update Paul M

Mark.B
12-27-2010, 06:52 PM
You know what ? It?s damn long ago, that I read such a pleasant thread. A guy with a problem asking for help, a real bug found and an (hell, well respected!) author, who responded quickly, fixed the bug immediatly and even more supported his mod for nearly outdated versions - and: the guy comes back to say, thank you!

I know, it sounds a lil bit confusing wth I?m referring to that - but I?m so sick of it, that most people forget about, that on the other end of the line, there sits a human being ;)

Paul, thx for your efforts and contributions.
Paul is the "bees knees" of mod authors, he's really rather good at the whole support thing.

-=Leb=-
12-28-2010, 09:48 PM
youre best paul, always keeping your plugins up to date . thx for your hard work

BaanFarsang
12-30-2010, 02:09 AM
I want the format of "who-has-read thread" according or seem to the format of "user legend color bar", such as the Newbie group was shown Normal not Bold.

user legend color bar:
http://img690.imageshack.us/img690/2706/30122553105504.png

who-has-read thread:
http://img41.imageshack.us/img41/4315/30122553105551.png

Dr.osamA
12-30-2010, 09:53 AM
thank you for update sir

Paul M
12-30-2010, 11:57 AM
I want the format of "who-has-read thread" according or seem to the format of "user legend color bar", such as the Newbie group was shown Normal not Bold.
They are displayed according to the vb usergroup/displaygroup markup rules (using the standard vb musername function). That isnt going to change.

BlackThorn
01-08-2011, 08:44 AM
Thanks for updated Paul M.