Leaderboard Feature Addition

Job ID: 38198336

Budget: $8 – $15 USD

I need someone who is free this weekend to help me modify my leaderboard , backend is php Laravel, frontend is Vue.js Tailwind css

**1. Admin Interface for Contest Selection:**

* Create a new section in the admin panel specifically for "Contests".
* Allow the admin to select a pre-defined "Challenge Type" from a dropdown menu. (e.g., Referrals, Points Earned in a Specific Game, etc.)
* Depending on the chosen challenge type, display additional configuration options:
* For "Referrals": Allow setting a specific time period (e.g., 1 week, 1 month) for the contest duration.
* For other challenge types: Allow defining actions that contribute to the score (e.g., completing specific quests, purchasing products).
* Enable the admin to set a reward for the contest winner (e.g., additional coins, special badges).
* Implement a button for the admin to "Activate Contest" once all details are configured.

**2. Leaderboard Update:**

* Modify the logic that calculates the leaderboard ranking.
* Instead of solely focusing on total coins, consider the chosen "Challenge Type" and timeframe when calculating a user's score for the contest leaderboard.
* For "Referrals": Track the number of successful referrals within the specified time period for each user.
* For other challenge types: Track the completion of relevant actions and assign points based on the pre-defined configuration.
* Update the leaderboard display to show the contest leaderboard alongside the general leaderboard (optional: allow users to switch between views).
Related categories: PHP MySQL Laravel Vue.js Tailwind CSS