BN_IT_Support Posted January 11, 2012 Share Posted January 11, 2012 When you are viewing the list of online users would it be possible to have little check box or some such to either include or exclude guests in the list. It would be helpful sometimes just to see the list of registered users. Thanks Link to comment Share on other sites More sharing options...
m3rk0rd Posted January 11, 2012 Share Posted January 11, 2012 Scroll to the bottom of the online users list, where it says Sort By: Show All Users, select Show Registered Only. Link to comment Share on other sites More sharing options...
wmarcy Posted January 11, 2012 Share Posted January 11, 2012 Anyway to make this the default action? Link to comment Share on other sites More sharing options...
Aiwa Posted January 11, 2012 Share Posted January 11, 2012 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'. Link to comment Share on other sites More sharing options...
wmarcy Posted January 11, 2012 Share Posted January 11, 2012 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. Link to comment Share on other sites More sharing options...
• Jay • Posted January 11, 2012 Share Posted January 11, 2012 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. Should look like this app=members&module=online§ion=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. :) Link to comment Share on other sites More sharing options...
Aiwa Posted January 11, 2012 Share Posted January 11, 2012 Glad to be of help. :) It's always bugged me too, just never looked into changing it until I saw this. Link to comment Share on other sites More sharing options...
BN_IT_Support Posted January 11, 2012 Author Share Posted January 11, 2012 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.