![]() |
[VB3 RC3] Who viewed this thread?
I know there is already one version of this by Gary W but I already made (and documented) my own so I thought I would post it.
Advantages of my hack: My hack adds only 1 query to showthread, and it only queries the user table, so it is less server intensive. That is important to any busy board or anyone that wants to save some resources. It integrates with the "thread views" system to update the people that have seen the thread. Disadvantages: Well.. with mine even if you browse the forum as "invisible" you would end up showing in the "who read" list. Info for hackers: You may modify, improve, upgrade, redistribute this hack, include it in another hack or yours or translate it provided you do it free of charge and you distribute it in www.vbulletin.org at least, there is no need to pm me asking for permission Some portions of the code are (c) Jelsoft Enterprises Ltd. |
Looks good. I trust how you support your hacks much more than the other one. ;)
|
cool. :)
any way to limit the view only to admins? |
Great. Could it be that the add-on who downloaded this attachment would be combined with this?
|
Quote:
Quote:
Quote:
those '+' are a w h o r e a d, seems that the forum is censoring it. |
Quote:
|
An update for this hack:
With this modification the "who viewed" list will be ordered alfabetically, the original behaviour was to order the users as they saw the thread, but that's not very reliable. Apply this modification only if you would like to see the list ordered. search for this Code:
if ($threadidcache) Code:
if ($threadidcache) Code:
$+++++adarray[$bbuserinfo['userid']] = $bbuserinfo['username']; Code:
$+++++adarray[$bbuserinfo['userid']] = $bbuserinfo['username']; And... all the +++++ are the word: w h o r e the complete word is w h o r e a d being censored |
Thank you Kentaurus, very nice hack !
|
Hey, buddy, I have a request. Is there a way to have the names follow the color and intensity (html mark-up, I think it is called) like Admins and Supermods and users and such? It would make it easier to identify with a quick glance as the list grows. ;)
And maybe the total numbers of members and guests (if they are allowe to read the threads like mine are) who have read the thread so far? |
The sorting feature doesn't seem to be working for me. I have me (Boofo) in the list, the next one strats with an M and the next one strats with an A. They are not going alphabetically. ;)
|
All times are GMT. The time now is 10:59 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|