Your address will show here +12 34 56 78

This topic contains 2 replies, has 2 voices, and was last updated by  Anna 3 years, 2 months ago.

  • Author
    Posts
  • #60058

    Nelson

    Hello Anna,

    I have set the new user registrtion not to be agents but now I notice that in the normal user list does not display the ammount of properties submited by that user.

    My question is: How easy it would be to make regular users agents or how to diaplay in the normal user list the amount of properties submited.

    Thanks in advance.

  • #61691

    Anna
    Keymaster

    Hi Nelson,

    I don’t know if we can display the properties submitted in Admin – Users.

    That’s where you wish to see that? As admin, correct?

    I will ask my partners and follow up on this in 1-2 days.

    Thanks
    Anna

  • #62250

    Anna
    Keymaster

    Hello,

    It’s not a simple thing and if you have lots of users can be demanding on database.

    Basically for each user you need to count the number of published listings. That means for each user you need to do a wp_query which again can reduce the speed of the site. If you still want this you can do it in agent_unit.php using the WP_QUERY instruction (http://codex.wordpress.org/Class_Reference/WP_Query)

    Good luck,
    Anna

You must be logged in to reply to this topic.