Lack of interest Take Activity into Account for Birthdays


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:

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'));