1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest Posted by Member - drop down should show all members

Discussion in 'Closed Suggestions' started by AndyB, Jun 13, 2015.

  1. AndyB

    AndyB Well-Known Member

    Currently when we use the Search in the navbar:


    the Posted by Member drop down is limited to members that have been active within the past 6 months. I think this can be confusing as members that you know exist but do not show.

    I can edit the following file Model/User.php file:

    if ($conditions['active_recently'] === true)
    // general definition of recently active: 6 months
    $conditions['active_recently'] = 30 86400;
    by increasing the number, but it would be great if this was an Option setting.

    Thank you.
    adwade, Dadparvar and Jeanette like this.
  2. Jeanette

    Jeanette Member

    I've just been using the member search and come across this problem. Would be great if it was set at 12 months. I use it to assist when chasing subs

  3. Jeanette

    Jeanette Member

    @AndyB I've just suggested your fix to the boss and he doesn't fancy it, can it cause problems?

    @Brogan is this something you might address in the future?


  4. Mr Lucky

    Mr Lucky Well-Known Member

  5. AndyB

    AndyB Well-Known Member

    No it won't cause any problems, but you have to make the change each time you upgrade.
  6. Jeanette

    Jeanette Member

    A bit of a pain, hope they do something more user friendly then....

    Thanks :)

  7. Wendy Cutler

    Wendy Cutler Member

    @AndyB, does something like that also have to be done for the search on the Members page? So two places to fix with each upgrade?
    And what does it do if there are 14 hits? Have a more button or number of pages? (Does it automatically handle that?).

    The problem is worse on the Members page, as a name that is a subset of recently active name is very hard to enter without resorting to tricks, which you need to know that you need to use.

    Right, because then presumably it would apply across the site.

    I wonder what our admin, @danielmo thinks of this.
  8. AndyB

    AndyB Well-Known Member

    It only has to be done once here:

    Remove activity recent for username dropdowns:
    Line 813
    $conditions['active_recently'] = 30 * 6 * 86400;
    $conditions['active_recently'] = 30 * 360 * 86400;
    The number of rows shown in the dropdown is not changed with this hack.
  9. Wendy Cutler

    Wendy Cutler Member

    I want to Like this part of AndyB's posting. That should be easy to do, and those of you who want to hide your not recently active members can still do that, but those of us who still want to find those people can do so without having to hack our system and re-hack it with every new release. Presumably, option settings are kept somewhere that new installs do not reset them.

Share This Page