Jump to content


Photo
- - - - -

Suggestion: Exclude Guests from Online User List


  • Please log in to reply
7 replies to this topic

#1 Edward Shephard

Edward Shephard

    Just me

  • +Clients
  • 600 posts

Posted 11 January 2012 - 12:22 PM

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

#2 m3rk0rd

m3rk0rd

    Advanced Member

  • +Clients
  • 259 posts

Posted 11 January 2012 - 12:38 PM

Scroll to the bottom of the online users list, where it says Sort By: Show All Users, select Show Registered Only.

#3 wmarcy

wmarcy

    Advanced Member

  • Members
  • PipPipPipPip
  • 319 posts

Posted 11 January 2012 - 12:49 PM

Anyway to make this the default action?

#4 Aiwa

Aiwa

    I code for fun

  • Marketplace Moderator
  • PipPipPipPipPipPipPipPip
  • 5,036 posts

Posted 11 January 2012 - 01:01 PM

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'.

#5 wmarcy

wmarcy

    Advanced Member

  • Members
  • PipPipPipPip
  • 319 posts

Posted 11 January 2012 - 01:18 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.

#6 • Jay •

• Jay •

    Dirty Thirties

  • +Clients
  • 19,060 posts

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. :)
Posted Image

#7 Aiwa

Aiwa

    I code for fun

  • Marketplace Moderator
  • PipPipPipPipPipPipPipPip
  • 5,036 posts

Posted 11 January 2012 - 04:38 PM

Glad to be of help. :)

It's always bugged me too, just never looked into changing it until I saw this.

#8 Edward Shephard

Edward Shephard

    Just me

  • +Clients
  • 600 posts

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