Questions and Answers

How do I collect points?

  • +4
    Chosen as best answer
  • +1
    Posted answer
  • +1
    Posted question
  • +1
    Thumb up
  • -1
    Thumb down

by cp ccp about November 24, 2011 open - report

browse members landing page- most recent

Hello, back in there was code that showed you how to make the "browse members" page show the most recent users first when landing on the page. Does anyone know this code? I would like the browse members page to be changing often because now and forever it will be the very first who ever signed up. It's a bit dull. How do I make it display the most recent users to sign up first? Thanks!

Answer: 1  •  Score 0  •  Views: 2499

1 Answer
Browse by
  • 40

    by Vitaly Manzenko about November 24, 2011

    I think it will help you. Find this file /application/modules/User/controllers/IndexController.php Replace line: ->order("{$userTableName}.displayname ASC"); with ->order("{$userTableName}.creation_date DESC");
    1 comment
    • cp ccp
      by cp ccp
      November 26, 2011

      Thanks Vitaly! That worked.

You must login to post an answer.