![]() |
Who viewed this thread?
There is an enhanced version of this mod found here.
Who viewed this thread? Version: 1.0 vB-version: 3.0.0 Release Candidate 3 Developer: Gary W Install difficulty: Extremely Easy File edits: 1 Template edits: 1 Description of the Hack: This hack shows who has viewed any thread. View the screenshot to see how it looks. If you don't want to have invisible users in the list, then remove $showinvisible = 1; View the screenshot to see the hack in action :D Instructions FILES ------ showthread.php TEMPLATES ------------- SHOWTHREAD RUN QUERY: ALTER TABLE thread ADD whoviewed TEXT NOT NULL; ADD PHRASE: already_viewed_this_thread / Already viewed this thread: OPEN FILE showthread.php AND FIND PHP Code:
ABOVE ADD PHP Code:
OPEN SHOWTHREAD TEMPLATE AND FIND HTML Code:
$poll HTML Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"><tbody> |
oooh! Thanks for making this hack so fast :D !
|
you should rename that php file into .txt ;)
|
Thanks :rolleyes:
|
not bad, not bad at all, would be great as a store action :)
|
Quote:
Fixing now :) |
Quote:
|
yup theirs no vb3 version yet, but it would be awesome, to buy the power to see who's viewed threads :)
|
Is this Hack HTL compliant?
I noticed that the changes file was .htl but you didn't really indicate that it was anywhere else in this thread... |
Quote:
|
Hi
I have one question. What about if a thread was viewed by let´s say 150 members do I see the whole list of 150 members above the thread then? Wouldn´t it be better to have the who viewed as a link wich opens a popup list. Greetings Star |
Quote:
|
Quote:
|
BTW trying to use the htl file to install the hack on RC4 and get the following error:
No Phrases file found in Hack data or file system! No groupname specified. running the verbose test it showed this info: This step would import a new set of phrases for the Hack It would create this new column on the language table: phrasegroup_ It would take the new phrases from this file: ./htlfiles/whoviewed_phrases |
Quote:
just put it into a collapsable table, that way it wouldn't fill up to much space if not wanted ;) |
Quote:
|
Collapsable table added :)
|
Fancy screenshot added as well :p
|
*gg* nice screeny
|
Quote:
|
Is it possible to show this option also to super-moderatos? I have tried to insert it this way:
HTML Code:
<if condition="$+++++ad and $bbuserinfo[usergroupid]==5 and $bbuserinfo[usergroupid]==6"> |
Quote:
|
Thanks!!!
|
Hi, Gary!
Quick question - is this hack fully stable and compatible with vB 3.0 Gold? Or does it need to be updated? |
Quote:
|
Great!
Thanks again! |
Hi Gery W, I like very much this hack but I have a questions:
Is there the possibility that onlyAdmins see this "Who viewed this thread" Panel (if Yes, How?) Tnx and compliments for the nice hack :) Regards |
Hi, Gary! I just installed this hack, but I'm having three issues with it:
1. Invisible Users don't show up at all. I would have thought that this would work like vB's Currently Active Users, or even like your Who Was Online Today - where Invisible Users appear to those who have the rights to see them (and they are suffixed with a " * " character. But in this case, they are just not there. 2. The Title Bar doesn't actually reach all the way to the right side. If you collapse it, then it displays properly. But while expanded, it falls a quarter inch short. 3. On your Who Was Online Today hack, when you click on a Username, it brings up the profile in the same window. But on this one, it opens a new window. Is this easily fixable? Now the only question is - did I do something wrong? Or are these three issues actually bugs? :) |
Quote:
|
Quote:
Incidentally, I only plan on certain users being able to access this feature - so I wouldn't think it would be that great a strain on the Server, for me at least. What would I need to change, if I wanted Invisible Users handled the same way it is on the Forum Home? (i.e. Only shown to those with access to see Invisible Users, suffixed with the "*" character, etc...) :) |
Quote:
Tnx :) |
Quote:
Code:
By doing that, you are saying that that code will apply only if the User is a member of Group-ID 6 (which should be the default for Admins). |
This is a wonderfull hack, thanks for making.
I wonder if it is possible to show the members with color depending of the usergroup where they belongs, per example Admins in red, Mods in blue, etc. Thanks again. |
Quote:
Someone can help me, pls? Regards |
Quote:
p.s. I'm still interested in knowing what I would need to change, if I wanted Invisible Users handled the same way it is on the Forum Home. (i.e. Only shown to those with access to see Invisible Users, suffixed with the "*" character, etc...) :) :) :) |
Quote:
The code needs to be inserted into the ShowThread **Template** (NOT Showthread.php). If you put it into ShowThread.php, that would account for the Parse Error. But in the Template, the complete code to be inserted (including the Admin-Only section) is as follows: Code:
|
Quote:
|
Quote:
I have another question (maybe a little bug) and a suggestion: 1.) If I close the collapsable table of "Who viewed this thread" I see my Collapsable table of "Number of Active Users" in Index that is Closed too, why!? 2.) Is there the possibility to signal how many times a user has seen that threads? Tnx for the help! :) Regards |
What needs to be changed in the code, if I want this bar to be Collapsed by default, rather than expanded?
|
My table heading is showing as blank rather then stating:
"Already viewed this thread:" In the phrase manager I used "already_viewed_this_thread" as the Var name and "Already viewed this thread:" as the text. Did I goof something up? |
All times are GMT. The time now is 01:00 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:
|