![]() |
|
|
Mod Options |
[VB3 RC3] Who viewed this thread? Details »»
|
|||||||||||
|
[VB3 RC3] Who viewed this thread?
Developer Last Online: Apr 2013
This modification is in the archives.
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. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
|||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Looks good. I trust how you support your hacks much more than the other one.
![]() No members have liked this post.
|
|
#3
|
||||
|
||||
|
cool.
![]() any way to limit the view only to admins? No members have liked this post.
|
|
#4
|
||||
|
||||
|
Great. Could it be that the add-on who downloaded this attachment would be combined with this?
No members have liked this post.
|
|
#5
|
||||
|
||||
|
Originally Posted by *arie
in the template showthread, this:
those '+' are a w h o r e a d, seems that the forum is censoring it.
__________________
Try MySmilies Mod - User-based, custom smilies for each user CemZoo.com - Anime Community CemZoo Forums - Anime Forums No members have liked this post.
|
|
#6
|
||||
|
||||
|
Originally Posted by gmarik
Do you mean Rein's Who Downloaded? It shouldn't be any problem if both hacks are installed.
__________________
Try MySmilies Mod - User-based, custom smilies for each user CemZoo.com - Anime Community CemZoo Forums - Anime Forums No members have liked this post.
|
|
#7
|
||||||||||||||||
|
||||||||||||||||
|
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
replace that with
search for this
replace that with
TXT and HTL updated of course ![]() And... all the +++++ are the word: w h o r e the complete word is w h o r e a d being censored
__________________
Try MySmilies Mod - User-based, custom smilies for each user CemZoo.com - Anime Community CemZoo Forums - Anime Forums No members have liked this post.
|
||||||||||||||||
|
#8
|
||||
|
||||
|
Thank you Kentaurus, very nice hack !
__________________
------------------------------------------------------------------------------------------- Administrator vBulletin-Ressources.com, French vBulletin Resources. No members have liked this post.
|
|
#9
|
||||
|
||||
|
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? No members have liked this post.
Last edited by Boofo : 07 Feb 2004 at 05:19. |
|
#10
|
||||
|
||||
|
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.
![]() No members have liked this post.
|
|
#11
|
||||
|
||||
|
Originally Posted by Boofo
The sort will only work in new threads or threads where the list needs to be updated, if the who viewed is already stored for a thread then it won't be sorted. Call it an insertion sort
It only sorts when something is added.I'll check for that username markup, shouldn't be that hard to modify, but keep in mind that a query is needed for that. It is not an update query so it shouldn't hurt a lot the performance but still for people that are trying to mantain queries to a minimum (like me) an extra query might not sound practical.
__________________
Try MySmilies Mod - User-based, custom smilies for each user CemZoo.com - Anime Community CemZoo Forums - Anime Forums No members have liked this post.
|
|
#12
|
||||||||||||||||
|
||||||||||||||||
|
Here is the first one. For people that already installed the hack and want to add how many users have seen the thread:
In the showthread.php file, this:
Replace it with:
In the SHOWTHREAD template, this:
Replace it with:
Guests are a little more difficult because it means storing ip addreses as well instead of userid's. I'l check if there is an easy way to do it. Those +++ are the word w h o r e that even if its a substring it is still being censored (/me makes a note on not using variable names that might be censored). TXT file updated
__________________
Try MySmilies Mod - User-based, custom smilies for each user CemZoo.com - Anime Community CemZoo Forums - Anime Forums No members have liked this post.
Last edited by Kentaurus : 07 Feb 2004 at 07:17. |
||||||||||||||||
|
#13
|
||||
|
||||
|
Is there any way to run a query to sort the users who have already seen a thread so it can strat off alphabetically from now on?
Can you just use the code in vBulletin for who is browsing this thread now to get the html markup that it is using already? ![]() No members have liked this post.
|
|
#14
|
||||||||
|
||||||||
|
i got this error when i run scheduled task in my admincp
the line 41 is
any idea?thankz edit:delete the line 41 than it works ![]() No members have liked this post.
Last edited by squawell : 07 Feb 2004 at 11:32. |
||||||||
|
#15
|
||||||||||||
|
||||||||||||
|
Originally Posted by squawell
Don't worry about it, it's a warning (it doesn't stop the code from executing), that's because some threads might not have any data to sort. If you really don't want to see the warning change it to this:
__________________
Try MySmilies Mod - User-based, custom smilies for each user CemZoo.com - Anime Community CemZoo Forums - Anime Forums No members have liked this post.
|
||||||||||||
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 19:38.







