Announcement
Collapse
No announcement yet.
Visitors in the Last X Hours Module
Collapse
This is a sticky topic.
X
X
-
Thanks for confirming the suggested PHP changes work. I will add them as options in the next update.
- Top
- Translate
- Bottom
- Likes 1
-
Those two code changes did what I needed. Thank you, Glenn! Would be cool if it was user configurable in the settings at some point.
- Top
- Translate
- Bottom
-
Change:
to:PHP Code:'direction' => $options['direction'],
PHP Code:'direction' => 'ASC',
- Top
- Translate
- Bottom
-
Ok, with the code you gave me it does sort by username, but backwards. It goes from Z to A. How can I make it sort A to Z?
- Top
- Translate
- Bottom
Leave a comment:
-
Ltvscout, if you want to change it now, you could update the PHP file /includes/vb5/frontend/controller/lastvisitorsthatrock.php.
Change this line:
to:PHP Code:'orderby' => $options['orderby'],
PHP Code:'orderby' => 'username',
- Top
- Translate
- Bottom
Leave a comment:
-
Currently, there is no such option. I can add it to the next update.
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
- Top
- Translate
- Bottom
Leave a comment:
-
Hi Glenn,
Thank you for this great, easy to install mod. I had a similar mod on my old VB 3.0.7 and missed having it once I upgraded to 6.x.
What determines the order of the user listing shown by default? Can it be adjusted to sort by name, latest visitor, etc?
- Top
- Translate
- Bottom
Leave a comment:
-
Sorry, I haven't figured that out yet.
- Top
- Translate
- Bottom
-
Any news on being able to exclude invisible users yet?
- Top
- Translate
- Bottom
Leave a comment:
-
I have fixed the issue reported by flohse and released v1.15. The latest version also added support for module title translation which was introduced in vB 6.1.2.
All customers who purchased this mod will receive an email confirmation containing the download link.
- Top
- Translate
- Bottom
- Likes 1
Leave a comment:
-
I have added the secondary administrators user group only to the two bot user ids of course.Originally posted by glennrocksvb View PostOr are you only adding the secondary Administrators usergroup to Bot users and not to all Registered Users? If so, then you're good.
You have PM.
Frank
- Top
- Translate
- Bottom
Leave a comment:
-
flohse, let's debug in your forum. To prevent spamming other users here, please send me a PM and I will send you the code to temporarily add to the widget_vbmods_last_visitors template that will output debug messages on the page.
- Top
- Translate
- Bottom
Leave a comment:
Latest Posts
Collapse
-
by ChunkHello!
My name is Chunk (nickname). Im current graduated from my local college for Web Development. Today I will be exploring vBulletin...07-11-2026, 06:08 AM -
Get Affordable and Fast VPS for vBulletin -
by PitmanLol... Like I said, I am Shon.
I am I user and administrator of vBulletin since 2002 (good old days) and I joined here because I recently...07-08-2026, 02:29 PM

Leave a comment: