![]() |
WOL - Threads
1 Attachment(s)
This add-on will show you what threads users are looking at in a specific forum rather than every user on your site when you visit the 'Who's Online' page.
Once install go to a forum, scroll down and if enabled via the vBulletin Options will be text that reads "Currently Active Users". Click on the text I have quoted on your forum to take you to the "Who's Online" list. 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". Template Edits Open: FORUMDISPLAY Find: PHP Code:
Replace With PHP Code:
Open: WHOSONLINE Find: PHP Code:
PHP Code:
Updates 1.0.0 - First Release 1.0.1 - optimized query, fixed reloading, fixed reload link. |
I'm sorry if you do not understand how this mod works. I only work on a development forum and cannot link you to it so you can see how it works.
If someone could be kind enough to supply a demo I would appreciate it. |
Don't use ' around the number (it implies a string). This could result in a slow query because MySQL has to do a type conversion on the inforum column (SMALLINT to VARCHAR). If this weren't a full table scan already (which it is), the conversion would cause one, so make it a little easier on the server.
Also recommend having the product add inforum as a session table index to avoid the full scan. |
Quote:
PHP Code:
|
PHP Code:
|
Quote:
|
Yes, same result with and without plugin. IMHO the template-edit is enough ;)
Thanks *installed* :) |
Updated the add-on.
|
Great, thanks! :)
|
Any screen shots ?
|
All times are GMT. The time now is 11: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:
|