The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Display members who have recently read a thread Details »» | |||||||||||||||||||||||||||
Display members who have recently read a thread
Developer Last Online: Nov 2023
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. Show Your Support
|
Comments |
#47
|
|||
|
|||
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
TEMPLATE MODIFICATION (do this instead of the one that's written in the companion txt, not both) In SHOWTHREAD find: HTML Code:
<td class="tcat" colspan="2"> <phrase 1="$totalonline" 2="$numberregistered" 3="$numberguest">$vbphrase[users_viewing_this_thread_x_y_z] </td> </tr> HTML Code:
<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]"> HTML Code:
<tr> <td class="alt1" colspan="2"> <span class="smallfont">$activeusers </td></tr> HTML Code:
<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> I attach a screenshot too so that you can see what this is about |
#48
|
||||
|
||||
Quote:
|
#49
|
||||
|
||||
Quote:
|
#50
|
|||
|
|||
* installed *
thanks! |
#51
|
|||
|
|||
Quote:
|
#52
|
|||
|
|||
Quote:
NO phrases. |
#53
|
||||
|
||||
Quote:
JFYI, it uses the following global phrases - member_has, members_have, no_members_have, no_names & read_this_thread. |
#54
|
|||
|
|||
Woops, you're right! Sorry!
Well most of the times one can tell by the template! |
#55
|
|||
|
|||
Quote:
How do I turn this on. |
#56
|
|||
|
|||
Quote:
|
#57
|
||||
|
||||
Quote:
|
#58
|
|||
|
|||
Thank you Loukrhtia for posting your code. Looks very clean
|
#59
|
||||
|
||||
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. |
#60
|
|||
|
|||
Anyway to have this showing spiders also? Thanks in advance.
|
#61
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|