Limit Who's Online to display only registered users

Limit Who's Online to display only registered users

Jeremy

Well-known member
King Kovifor submitted a new resource:

Limit Who's Online to display only registered users - Removes guests from the Who's online view

This stems from the following thread:
http://xenforo.com/community/threads/try-to-select-guests-from-the-online-list.50273/

Remove Guests from Who's Online List
If you want to just show members and their activity, there is a simple 1-line edit you can do to remove guests from your "Who's online" page (/index.php?online)

Instructions
We'll be working in the file:
/library/XenForo/ControllerPublic/Online.php

Find (line 24 in v1.1.4):
PHP:
$conditions = array(...
Read more about this resource...
 

Lone Wolf

Well-known member
Is there any way to show Guests and registered to everyone and guests, registered and bots only to a specified usergroup
 

Lone Wolf

Well-known member
Thanks. I think an option like that would be quite popular. I doubt most users want to see the bots clogging up the users online lists.
 

Jeremy

Well-known member
This is meant for the 1.1 series, the code changed and you can now link directly to the members only listing.
 
Top