Version 1.1 of the myCRED BP Group Leaderboards plugin is now available for download! This version fixes some issues with leaderboards and multiple point types along with adding some new features.
New in version 1.1 is the ability for group admins to select what type of leaderboard they wish to show their members. You can selected between 6 different leaderboard types:
This is what previous versions were offering and is based on members current balance.
This will generate a leaderboard based on members total accumulated points today. This is done by adding up all point gains and losses from the beginning of each day until now.
This will generate a leaderboard based on members total accumulated points this week. This is done by adding up all point gains and losses from the the start of each week until now. Resets each week.
This will generate a leaderboard based on members total accumulated points this month. This is done by adding up all point gains and losses from the start of each month until now.
This option allows a leaderboard creation between two dates. When this option is selected, two hidden fields will become available where you can set the start and end date. These dates must be well formatted either
This version also includes caching of leaderboards to cut down on database queries. Each groups leaderboard(s) along with users positions are cached as a BuddyPress Group Meta which is deleted when:
- A members balance changes
- An administrator updates the plugin settings
- A Group admin updates the leaderboard settings (if allowed)
- A user joins / leaves the group
Once you have updated to 1.1, please go to your Leaderboard settings in your wp-admin area under the BuddyPress menu and re-save your settings, even if you make no changes.