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

Lack of Interest Take Activity into Account for Birthdays

Discussion in 'Closed Suggestions' started by Amaury, Apr 15, 2015.

  1. Amaury

    Amaury Well-Known Member

    Based on this thread by @xenBoost Mike, I think it would be nice if those who have been active within a set time of your choice would be shown first. For example, if Amaury 1, Amaury 2, and Amaury 3 all had birthdays and their respective last activities were April 9, 2015, March 16, 2015, and June 6, 2012, Amaury 1 would be shown first.

    This would be especially useful on large forums, such as XenForo Community, where many users who have birthdays haven't had activity in years because they only registered and, for whatever reason, that was it -- they were never on again.
    Last edited: Apr 15, 2015
    Digital Doctor, Daniel Hood and Veer like this.
  2. Daniel Hood

    Daniel Hood Well-Known Member

    It's a really simple change as well:

    /library/XenForo/ControllerPublic/Member.php line 84:
    $birthdays $userModel->getBirthdayUsers($month$day$memberCriteria, array('limit' => 12));
    $birthdays $userModel->getBirthdayUsers($month$day$memberCriteria, array('limit' => 12'order' => 'last_activity'));
    ForestForTrees, DaniD and Amaury like this.

Share This Page