vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Mini Mods - Sort Who's Online by Last Activity (https://vborg.vbsupport.ru/showthread.php?t=123158)

Dream 08-05-2006 10:00 PM

Sort Who's Online by Last Activity
 
This plugin will make the default sort type on Who's Online by Last Activity instead of by Name.

To install just import the plugin and activate it.

aLReeMi 08-06-2006 09:22 AM

yeb...
thanks alot.

alserb 08-15-2006 06:12 PM

Great :)

Thanks

kungfujesus 11-05-2006 02:52 PM

Nice! Saves me from always clicking Last Activity when looking over the shoulders of my members!

gforce75 05-28-2007 01:12 AM

Ha, nice way to spy on the members. I'll give this one a crack.

dackdigital 07-02-2007 07:19 AM

ok gracias, instalado

Subah 07-02-2007 09:22 AM

Cool , Thanks :)

keyness 07-02-2007 09:12 PM

Wow, that's a simple but very nice addon, thank you.

MickDoneDee 07-06-2007 05:42 AM

Thanks for that useful mod, Dream. I'd also like to order "Currently Active Users" on FORUMHOME by lastactivity. How do I do that?

Update:

The order of loggedinusers is selected in admincp:
vBulletin Options > Forums Home Page Options > Display Logged in Users?
Quote:

Displays those users that have been active in the last XXX seconds on the home page, where XXX is the value specified by your Cookie Time-Out option (Default is last 15 minutes). Not recommended for sites with hundreds of simultaneous users. The Alphabetical option requires more resources than the random option.
Only two options are available: Alphabetical or random.

The index.php file has a section:
// ### LOGGED IN USERS ###################################

a few lines below that is:
WHERE session.lastactivity > $datecut
" . iif($vbulletin->options['displayloggedin'] == 1 OR $vbulletin->options['displayloggedin'] == 3, "ORDER BY username ASC") . "

username can be replaced with lastactivity which overrides the vbulletin options setting.

Dream 07-06-2007 08:11 AM

Sorry Mick, I know nothing about the code on FORUMHOME. You could try to ask for help with this in the General vBulletin Mod discussions forum.


All times are GMT. The time now is 07:18 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
  • Page Generation 0.01058 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete