PDA

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


Pages : 1 [2]

Paul M
08-03-2012, 03:52 PM
That should work on any vb4 database (that has this installed of course).

Midohash
08-04-2012, 04:16 PM
Perfect ... Installed ... Thank you

IKShadow
08-05-2012, 08:13 PM
I installed the mod on my forum ver. 3.8.4, checked the template and hook is ok.

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

$template_hook[showthread_after_activeusers]

<if condition="$show['popups']">

I don't see any option where to check who read the thread, can someone please upload the link where is it shown ?

CoffeeLovesYou
08-07-2012, 11:11 AM
NVM fixed it

viper357
10-21-2012, 08:43 AM
Does anybody know how to make this mod recognise users on Tapatalk?

testerv
10-29-2012, 07:57 PM
Is there a way to have it display the time of the first (instead of the last) time it was looked at by a user?

ChiNa
11-17-2012, 11:30 PM
Installed and Voted!!

Amazing Addon,,, It has really helped us admins realise who is using the forum and who isnot! Thanks a lot Paul,

RWilcox
12-13-2012, 04:51 PM
Can somebody tell me the template name to edit the box it's inside?

Tyran1
02-05-2013, 08:13 PM
Updated to vB5 ??

Paul M
02-06-2013, 12:47 AM
I have not updated any mods to vB5 at this time.

Simon Lloyd
02-06-2013, 12:27 PM
Can somebody tell me the template name to edit the box it's inside?Display_readers

Tyran1
02-06-2013, 07:29 PM
I have not updated any mods to vB5 at this time.

No, not at this time, in feature to 5.0 Gold or 5.1 ??

Paul M
02-07-2013, 01:27 AM
When (if !) I ever have some actual free time, I'll look at some of them.

Tyran1
02-11-2013, 10:42 PM
When (if !) I ever have some actual free time, I'll look at some of them.

Thanks!! This is a very nice Addon!!

viper357
08-04-2013, 07:15 PM
Does anybody know how to make this mod recognise users on Tapatalk?Can anyone help with this?

viper357
11-24-2013, 08:55 AM
Anyone know how to make this mod recognise Tapatalk users?

ozzy47
11-24-2013, 09:03 AM
Anyone know how to make this mod recognise Tapatalk users?


You asked this in post #245 and were answered in post #246

viper357
11-24-2013, 11:11 AM
You asked this in post #245 and were answered in post #246That wasn't an answer, that was simply Paul stating he doesn't account for 3rd party addons. He didn't say it couldn't be done, he just said he won't do it. I'm still asking in the hopes that someone else has been able to modify this to recognise Tapatalk.

DEGE
11-24-2013, 01:21 PM
As both a Tapatalk user and a "Who has read a Thread" user, I must say I've requested Tapatalk team if there was any plugin system... any hooks on their product.

Unfortunately they said they don't have plugins yet (perhaps we can convince them to use them). So I've found myself too without solution.

What I did is to modify Tapatalk code. I've "hardcoded" the plugin into their scripts so to say...

I've found out that the file preparing to send the data for the "thread read" is under ...functions/get_thread.php

I've also found out that adding the code before:
if(!empty($breadcrumbs))
$return_data['breadcrumb'] = new xmlrpcval($breadcrumbs, 'array');

(approximately line 1463 in notepad++ )
it works...

And the code I've added is the same that is inside the plugin for 3.8 forums
// #################### DEGE ADDS
if ($vbulletin->userinfo['userid'] AND $vbulletin->options['wrt'])
{
$time = TIMENOW;
$ipaddress = IPADDRESS;
$threadid = $threadinfo[threadid];
$userid = $vbulletin->userinfo['userid'];
$db->query_write("
REPLACE INTO " . TABLE_PREFIX . "whoread
(userid, threadid, dateline, ipaddress)
VALUES
($userid, $threadid, $time, '$ipaddress')
");
}
// #################### DEGE ADDS


As always, do a backup of the file and test it before going online...

Hope this helps.

viper357
11-24-2013, 04:59 PM
Thank you Dege, very helpful.:up::up::up:

FirstDz
11-24-2013, 08:15 PM
Thank you Paul

Asmod
12-06-2013, 07:55 PM
any clue how to make it work for 4.2.2 ?

Max Taxable
12-06-2013, 08:01 PM
any clue how to make it work for 4.2.2 ?https://vborg.vbsupport.ru/showthread.php?t=230736

This modification is not required for vBulletin 4.2 onwards

CrashfAB
03-28-2014, 03:16 PM
I need to remove this mod due to the size of the table thats created. If I remove the mod will it remove the table?

CrashfAB
03-28-2014, 03:40 PM
Or can I empty the contents of the whoread table without causing any issues with this mod?

Paul M
03-28-2014, 09:13 PM
You have read the first post ?

Specifically this ;

8. Option to set whoread data records to be cleaned out after xxx days.

CrashfAB
03-28-2014, 09:57 PM
You have read the first post ?

Specifically this ;

Sorry paul but you will have to excuse my ignorance concerning databases. Up until 3 days ago it was taken care of by my partner so I never had to worry about--so I am doing a little learning here :cool:

But I would still like to know if I can delete the contents of the table to clear it out now?

Alan_SP
03-28-2014, 10:48 PM
Don't do it manually, do it with option Paul mentions. Just set for how long you want to keep data, for example, use 30 to keep record only for last 30 days.

Mod will automatically clean older info from database in its next cron task.

CrashfAB
03-28-2014, 11:38 PM
Don't do it manually, do it with option Paul mentions. Just set for how long you want to keep data, for example, use 30 to keep record only for last 30 days.

Mod will automatically clean older info from database in its next cron task.

Any way to run it manually via scheduled task?

Paul M
03-29-2014, 04:30 PM
By default I think its set to 180 days (thats from memory, so may be wrong).

Just set it to 30 or something if you want, the cron runs daily.

051119
06-15-2014, 10:17 PM
I've just updated to 3.8.8. and this has stopped working. I uninstalled and then reinstalled it and it shows all viewers of the threads, but at the exact time that the thread was posted. It only does this for threads that existed at the time I reinstalled it. Ive made no changes since before 3.8.8.

s_cocis
12-11-2014, 03:38 PM
this add-ons view the "who has WRITE a thread" and not READ a thread ?

Paul M
12-11-2014, 08:20 PM
Um .. No :confused: