Skip to:

Newest Sort by user_registered date instead of ID

  • CaseyD1020


    Hi! I would like to sort the newest user in the members widget and the members page by registered date instead of ID. Is this possible? I tried hacking the core file to test and changed ORDER BY u.ID DESC to ORDER BY u.user_registered DESC in class-bp-core-user, but that didn’t seem to do anything. I’m using buddypress for an intranet site and set the wordpress registered date to the hired date of each employee. Now it looks kind of funny, because it shows the dates that they were hired, but its all out of order because its sorting by their database ID instead of the actual date.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar