The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Who's online by last activity
Hello everyone!
Is there a way of sorting the "who's online" by last active and not in alphabetical order? I found a template modification, but unfortunately it's for vB 3.x I'd appreciate if someone could help with a suggestion. Thank you. |
#2
|
|||
|
|||
I think you just have to click on the "Last Activity" heading. If you click it again it will sort in the opposite order.
|
#3
|
|||
|
|||
Quote:
I knew that, but what i meant ...is there any way to display in that order by default? Also, on the main page of the forum @ <<WHAT'S GOING ON? Currently Active UsersCURRENTLY ACTIVE USERS There are currently 20 users online. 7 members and 13 guests Most users ever online was 66, 01-06-2015 at 11:21 PM.>> I'd like the members to be displayed by last activity rather than alphabetic. |
#4
|
|||
|
|||
You can create a new plugin using hook location online_start and this code:
PHP Code:
If you don't know how to create a plugin, you do it from the admincp under "Plugins & Products > Add New Plugin, and you can use the online manual here: http://www.vbulletin.com/docs/html/main/add_plugin That should handle the Who's Online page. I'll take a look at the main page, but I don't think that's going to be as easy. |
#5
|
|||
|
|||
Actually, it looks like someone's done this already: https://vborg.vbsupport.ru/showthread.php?t=233369
but I haven't used it myself. |
#6
|
|||
|
|||
Quote:
And that would be great. I'd really prefer the members in the main page to be displayed by "last activity". :up: |
#7
|
|||
|
|||
I double-posted above, but after looking that up I searched and found a mod that supposedly handles both, so you might want to try that instead.
|
#8
|
|||
|
|||
Just installed and tested it, unfortunately only helps with the "who's online display", it doesn't sort the active members from the main page.
|
#9
|
|||
|
|||
Yeah, I looked at the code and did see how it was going to do that, but there was a screen shot of that section so I assumed it did somehow. I'll look at it a little later, unless someone else comes up with something.
|
#10
|
|||
|
|||
Quote:
Thanks for the support. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|