Suggestion: Exclude Guests from Online User List
#1
Posted 11 January 2012 - 12:22 PM
Thanks
#2
Posted 11 January 2012 - 12:38 PM
#3
Posted 11 January 2012 - 12:49 PM
#4
Posted 11 January 2012 - 01:01 PM
&show_mem=reg
Should look like this
app=members&module=online&section=online&show_mem=reg
OR, if you don't mind editing source file....
/admin/applications/members/module_public/online/online.php
Find
'show_mem' => ( $this->request['show_mem'] AND in_array( $this->request['show_mem'], array( 'reg', 'guest', 'all' ) ) ) ? $this->request['show_mem'] : 'all',
Change to
'show_mem' => ( $this->request['show_mem'] AND in_array( $this->request['show_mem'], array( 'reg', 'guest', 'all' ) ) ) ? $this->request['show_mem'] : 'reg',
Just changing the last bit to 'reg' instead of 'all'.
- Edward Shephard and Collin S. like this
Client Area | File a Support Ticket | Download IPS Apps | Marketplace
Useful Links
Guides | Knowledge Base | Community Articles | Error Codes
#6
Posted 11 January 2012 - 03:43 PM
Worked like a charm, thanks for the help.
I have almost 200 guests on at any one time usually, and wading through them was tedious.
I've wanted a way to set the default behavior for the online list for years. I know just what you mean.
Add this to the end of the link in the template.
&show_mem=reg
Should look like this
app=members&module=online&section=online&show_mem=reg
OR, if you don't mind editing source file....
/admin/applications/members/module_public/online/online.php
Find'show_mem' => ( $this->request['show_mem'] AND in_array( $this->request['show_mem'], array( 'reg', 'guest', 'all' ) ) ) ? $this->request['show_mem'] : 'all',
Change to'show_mem' => ( $this->request['show_mem'] AND in_array( $this->request['show_mem'], array( 'reg', 'guest', 'all' ) ) ) ? $this->request['show_mem'] : 'reg',
Just changing the last bit to 'reg' instead of 'all'.
Thank you.
- Aiwa likes this
#7
Posted 11 January 2012 - 04:38 PM
It's always bugged me too, just never looked into changing it until I saw this.
Client Area | File a Support Ticket | Download IPS Apps | Marketplace
Useful Links
Guides | Knowledge Base | Community Articles | Error Codes
#8
Posted 11 January 2012 - 04:57 PM
Scroll to the bottom of the online users list, where it says Sort By: Show All Users, select Show Registered Only.
Oops - sorry. At least my stupidity helped others! Thanks everyone.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users













