![]() |
Who's Viewed This Thread?
This hack lists users who have already viewed the current thread (provided those users weren't invisible when they viewed it).
|
Screenshot:
|
:laugh: nice hack
*All-the-vb clicks install |
nice addition m8. is there any way to have this act as a pop-up? ;)
|
can you make it so that the numbers in the "view" colum in forumsdisplay is clickable like the numbers in the "post" colum?
|
No offense, but I generally don't add functionality to hacks after I release them; only support (unofficially) the original and fix bugs.
|
Is there a way to separate this listing off who viewed and who is viewing now? And can we have the invisible users at least show up for the Admin?
|
Explain. :)
|
Like the users browsing now would be a separate list from the users that have viewed in the past.
|
They would be if you installed Firefly's Thread Browser Hack..
|
I have that installed. ;)
|
is there a way to have the invisible users show up? ;)
|
I have installed this great hack but have a couple of questions:
1.) In the text file you have: Code:
3. In showthread, find: 2.) Edit: Sorted, me being a dummy :( thanks |
nice hack thnx --- see not everyone asks for something. ;)
|
thx filburt to write this pice of code :)
|
This is a superb idea arien :)
- miSt |
I need this for one specific forum .. as you stated you won't add functionality, but is there's somebody else who's willing to help me out?
|
This is a really cool idea. But with forums with lots of members viewing the threads, I would have thought the list of people that have viewed the thread could get out of control.
Just a suggestion, but maybe it would be better to have a . . . more after x amount of listed users, or even better a popup window that shows you just like the 'who voted' hack. Nevertheless v. nice work :). |
Anyone know how only admins would be able to see this?
|
I redid this for my site so it only shows to Admins and it will show invisible users, too. I also put it at the bottom in it's own box. If anyone is interested I can attach the file, if filburt doesn't mind, that is.
|
I'd be interested Boofo. :)
|
Boofo, you would be a life saver. I've installed that hack but the members went ape#$($ because they didn't want anyone to know if they read the thread. Don't ask, I still don't know why.
Anyway, would love the "fix". |
They could just make themselves invisible and they won't be added to any more thread view lists.
|
Quote:
|
Ok, here it is. Find:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
and put "$totalviewers" wherever you want it to show up in the showthread template (I put it at the bottom). |
Nice work. Thank you, sir. ;)
Here's the only other problem that I'm expirencing. For whatever reason, it seems to not log the usernames, other than the ones that are able to view the list (in this case usergroups 5 and 6), unless I add additional usergroups, then it comes up working fine. here is the code that i have. PHP Code:
|
possible to make only show on Admins and thread creator, other ppl will still not viewtable. tks
|
MetroSports82, sorry about that. Thanks for catching it. If you'll redo the code I posted above, it should now work fine. I had the bbuserinfo[usergroupid] in the wrong place. I edited my post above to put it right before it evals the template. I tested it and it seems to fix your problem. All usergroups will be tallied now and only the usergroups you want to see the listing will be able to see it.
|
hehe, nevermind boofo! :D just saw your edit on your original post where ya adding the usergroups line, right above the evals template line, and it works just fine now! thanks again m8. ;)
PHP Code:
|
Thanks Boofo (and others--especially the original hack maker). :)
|
btw, just notice one other small issue with the template, especially when you start getting alot users who come up listed as viewed, as it doesn't wrap the text, especially for people on a 800x600 display. anyway, if you just take out the word 'no', in the word 'nowrap' it'll just wrap the usernames text, from top to bottom, rather than having it run on from left to right. thanks again! ;)
PHP Code:
PHP Code:
|
Instead of <td wrap> just make it <td> then.
|
Nice hack, but it would be nice if you included in the first post what had to be modified and added.
|
how to change the code to let admin and thread starter can see
who viewed the topic?? |
Filburt1 - nice hack. Boofo - nice modifications which I've implemented :cool:.
How many queries does this add to the page page if I've used Boofo's modification where only the admin's can view the people who have viewed the thread? [high]* Intex clicks install.[/high] |
Quote:
|
Hmm, that's what I thought. OK, thanks.
|
All times are GMT. The time now is 02:00 PM. |
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:
|