Award points, badges, and ranks to your users for various activities. Bimber includes a set of readymade hooks, badges, and ranks that you can easily import.
Requirements
Points, badges, and ranks require the myCRED plugin to work.
The plugin is available for free in wordpress.org repository.
You can download it or install directly
from the WP Dashboard › Plugins › Add new panel.
After installing the plugin you will see the following notice:
myCRED needs your attention. Run Setup
at the top of the admin panel. Please perform the setup, it is necessary for the plugin to work.
Activation Problem
If you can’t activate the plugin because of the error:
The plugin could not be activated because it triggered a fatal error.
Sorry but your WordPress installation does not reach the minimum requirements for running myCRED. The following errors were given: The mcrypt PHP library must be enabled in order to use this plugin! Please check your PHP configuration or contact your host and ask them to enable it for you!
You have to install on your server the PHP mcrypt library (myCRED uses it to encrypt data transmitted on the “front end” of your website to prevent tempering or abuse) or
you can, for a development phase, disable the protection by adding the line below to your wp-config.php file:
define( 'MYCRED_DISABLE_PROTECTION', true );
After adding this line, you will be able to activate the plugin.
Updates
As any other plugin from wordpress.org site, when a new version of the plugin is available, you will be notified about it directly in your Dashboard.
Official Documentation
Please refer to the official documentation for extensive information on the plugin’s functionalities.
Basic Concepts
Hooks. The most important part. They are preset events that you can assign points for. Without defined hooks, you won’t gain any points, badges and finally ranks.
Example
If you enable the Publishing Content hook and set it to assign 10 points for a published post, 10 points will be given to each user every time they publish a post.
Points are awarded to a user for chosen actions, like adding content, leaving comments, posting on the forum, etc. Every time points are added, an entry to points log is made, which contains the number of points and the reference (action which was awarded points)
Ranks are titles awarded to the user for getting a set number of points in total. They are displayed next to the avatar.
Badges are ‘achievement’ that is awarded for getting a set number of points for a chosen action. For example, you can get ‘Forum Submissions’ badge for getting 10 points for posting on the forum. Badges might have multiple levels.
How To Import Bimber Content For MyCred?
- Please go to WP Dashboard › Appearance › Theme Options panel and choose the Tasks tab
- In the Import MyCred section, you can choose content you wish to import. The content is sorted by the associated plugins and also by the type of content (hooks, badges, ranks). Please notice, that some checkboxes might be disabled if the plugin is not active or if not all of the MyCred add-ons are turned on (in case of badges and ranks). Check the section below to enable them.
- Press Run Now to start the import. This might take up to a minute
- You can clean all the MyCred content using the Reset MyCred task
Icons Not Imported
Depends on your site’s setup, WordPress might not allow you to import SVG icons.
The reason SVG images are not allowed is that there are security concerns to be addressed. SVG is an XML file, which by itself opens it up to different
vulnerabilities of which normal image formats are not affected.
Best and, what’s more important, a safe way to allow SVG uploads is to use the Safe SVG plugin.
The theme is fully compatible with it, so when you enable the Safe SVG plugin it will take full control over uploaded SVGs, the same protect your site against SVG/XML vulnerabilities.
More detailed info about SVG security concerns you will find in the How to Safely Enable WordPress SVG Support article.
How To Enable Badges/Ranks/Notifications
- Please go to WP Dashboard › Points › Add-ons panel
- Find the functionality you’re interested in and click Activate
How To Get Your First Points And a Badge?
After importing the content you can take a few quick steps to test the plugin with What’s your reaction
- Please go to WP Dashboard › Points › Add-ons panel
- Please enable the Notifications addon to see the notifications
- Please go to a post and vote for a reaction. For each reaction, you will receive 1 point.
- You will receive a notification for getting points in your next page view.
- After getting 10 points for reactions you will receive a level 1 Reactions badge.
- You will receive a notification for getting the badge in your next page view.
How To Create a Leaderboard, Badges or Ranks page (like on the demo)
- Please go to WP Dashboard › Pages panel and create a new page
- Inside the page content please paste the following code:
[mycred_leaderboard template="page"]
to get the Leaderboard page - Inside the page content please paste the following code:
[mycred_badges]
to get the Badges page - Inside the page content please paste the following code:
[mycred_list_ranks]
to get the Ranks page
How To Display MyCred Information In the BuddyPress Profile Header?
- Please go to WP Dashboard › Points › Settings panel
- Inside the Ranks section set BuddyPress to include in the profile header
- Inside the Badges section set BuddyPress to include in the profile header
- Inside the BuddyPress section set Point Balance to include in the profile header
How To Customize the Notifications?
- Please go to WP Dashboard › Points › Add-ons panel
- Inside the Notifications section set Template to modify the format of the points notifications
- Inside the Notifications section set Duration to modify the displaying time of the points notifications
How To Add My Own Ranks?
- Please make sure that the ranks addon is enabled (see above)
- Please go to WP Dashboard › Points › Ranks panel and press the ‘add new’ button
- Set the title of the rank and add the rank image on the right
- Set the point requirements (minimum and maximum), between which the rank will be awarded
- Press publish
- You can learn more here
How To Add My Own Badges?
- Please make sure that the badges addon is enabled (see above)
- Please go to WP Dashboard › Points › Badges panel and press the ‘add new’ button
- Set the title of the badge and add the default image on the right (displayed for users without the badge, the ‘locked’ version)
- You can create levels for the badge, each with its own image, requirements, and rewards
- You can set the description to be used on the ranks page by setting the excerpt (you might have to enable it in the Screen Options at the top of the page)
- You can change the order of rank display using the Order input on the right
- Press publish
- You can learn more here
How To Add My Own Hooks?
- Please go to WP admin panel › Points › Hooks panel and press the ‘add new’ button
- You can choose and drag hooks like widgets to activate and deactivate them
- For each hook, you can manipulate their individual options. Please remember to press save.
- You can learn more here
How To Manually Assign Badges And Points?
- Please go to WP Dashboard › Users panel and choose a user
- You can give/reduce points in the Balances section
- You can give/reduce badges in the Badges section
- Please remember to save the changes
How To Recalculate Badges Ranks For Users?
When you create or edit Badges or Ranks you might want to apply them to the users who already have fulfilled their requirements. To do this, please follow those steps:
- Please go to WP Dashboard › Points › Settings panel
- In the Management section please press Assing Ranks to Users
- Please go to WP admin panel › Points › Badges panel and go into the edition of the badge you wish to apply
- Press Assing Badge. You have to do it for every badge individually