![]() |
WOL - Forums and Threads
You can view all the users browsing a specific forum and the threads within said forum.
How to Install Download the product XML. Go into to your ACP --> Plugins & Products --> Manage Products click "[Add/Import Product]". Browse to the product you have just downloaded and click "Import". File Edits Open: online.php Find: PHP Code:
Below Add: PHP Code:
Template Edits Open: FORUMDISPLAY Find: PHP Code:
Replace With PHP Code:
|
<a href="http://xenweb.net/forums/" target="_blank">Demo</a>
Go to a forum that people are browsing. Once in the forum scroll to the bottom and click on " Currently Active Users". You'll be taken to "online.php?f=X" (Where X is the forum ID). This will show all the users and guests that are viewing that particular forum and the threads within that forum. |
This will be very useful for me, thanks.
Going to try it out soon :) |
Woops Was looking for the first line of text in the templates.... Should change those directions to be a bit more specific that a core file needs to be edited.
|
I can't get it to work... First time I imported the xml I got an error the second time it looked as if it did not take. Third time is a charm but no good results
|
Do you remember what the error was?
|
Sorry I should have taken a screen shot. But it said something about invalid......line.....
|
hmm seems interesting.. but since my server is slow.. it might lag it more..
If I get a new server, I'll be using this for sure. :) Thanks for another nice hack. |
Page Generation Time
With the product enabled: 0.06717 Seconds With the product disabled: 0.06390 Seconds I would rather see the results from a very active site though. |
i'm thinking this would add an additional query for each logged in session... on a busy form, that could mean trouble.
|
All I'm adding is AND session.inforum = '$currentforumid' to the WHERE clause and only if the address bar reads "online.php?f=X" otherwise it will return blank.
|
ahhh, i see that now... just pulling more info from the existing query, i'll check it out.
|
So whats the deal? I can't get this to work. I get it to install I make the changes to the files and nothing? I'm using 3.6.7
|
I don't know why it doesn't work on 3.6.7
|
If vBulletin 3.7 has a hook in 'online.php' so manual edits are unneeded you have my permission to upgrade this hack.
|
All times are GMT. The time now is 06:39 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:
|