Creating a leaderboard Answered

hey guys, Im trying to figure out how to create a leaderboard. Ive been trying to figure out how to get json data for all members to display the top 5 members and the placement of the current member. Thanks

Getting the current members data is easy, but to get all members is leaving me scratching my head lol
any help would be appreciated, thanks

Comments

4 comments

  • Comment author
    Julian Galluzzo

    JSON might be a hard way to do this - i dont think you can get the JSON of any member except for the logged in one - maybe if you could send a video of your setup and what youre trying to do, I can suggest another way?

    0
  • Comment author
    Matthew Sandoz

    you can get jsons using the admin package but I really recommend against it. best way is to keep track of leaderboard separately in a db if you can

    0
  • Comment author
    Manuel Ogomigo

    Why not try something like this.

    1. Have a cms for leaderboards.
    2. Update each data to the cms as users take actions
    3. Show the leaderboard and top 5 members.
    0
  • Comment author
    Lahvjal Fuimaono

    Thank you guys! I will try the cms route.

    0

Please sign in to leave a comment.