Forum Discussion

Inactive User's avatar
Inactive User
13 years ago

'Top Contributors' Custom Component

We are looking to create a 'Top Contributors' custom component that basically highlights people for certain criteria. My original idea was to set up some criteria for a rank and just pull in people who have that certain rank. However, does anyone here have a better idea? From what I'm seeing in the REST API doc is that there is no way to get a list of users with a certain rank like there is for role(roles/name/TopContributor/users).

 

Thanks.

  • Technically speaking, there may be ways of approaching this using user search via the REST API (ie /restapi/vc/search/users?ranking=10 where you can swap in the numeric id of the rank)...

     

    However, you may actually want to reconsider using roles instead. With the ranking tool, it's possible to grant roles to users when they acheive a rank. This way you can grant them the "Top Contributor" role once they reach the desired threshold, but then they can continue ranking up in the community. Allowing them to continue moving through the rank structure will help keep those users engaged and participating.

1 Reply

  • AdamN's avatar
    AdamN
    Khoros Oracle
    13 years ago

    Technically speaking, there may be ways of approaching this using user search via the REST API (ie /restapi/vc/search/users?ranking=10 where you can swap in the numeric id of the rank)...

     

    However, you may actually want to reconsider using roles instead. With the ranking tool, it's possible to grant roles to users when they acheive a rank. This way you can grant them the "Top Contributor" role once they reach the desired threshold, but then they can continue ranking up in the community. Allowing them to continue moving through the rank structure will help keep those users engaged and participating.