User Awards
Activating this plugin now means that you are able to award users for specific actions that they take. NOTE : Currently this only works for actions that update or add to user meta values. At a basic level, the following happens when you activate this plugin: Awards custom post type is added to the a
Activating this plugin now means that you are able to award users for specific actions that they take.
NOTE : Currently this only works for actions that update or add to user meta values.
At a basic level, the following happens when you activate this plugin:
- Awards custom post type is added to the administration window. Regular post type window but with a few additional meta boxes that provide access to the core behavior of this plugin.
- A new table is created under the name of {wpdb_prefix}user_awards . This contains all award assignment references to users. The User Awards sub-menu provides an interface to help perform administrative actions on the table.
There is also a User Awards sub-menu which gives a tabular view of all the awards that are assigned to users. This is accessible from the Awards admin menu in your WordPress administration area.
Usage
Understanding the different actions you can take in each available window is key to having this plugin work for you.
Award List Window
This window displays all of the specific “Award” post types.
There are two different bulk actions available to you:
- Bulk Assign – Assign multiple awards to a user
- Bulk Give – Give multiple awards to a user
New Award / Edit Award Window
These administration windows have three meta boxes associated with them. Below are descriptions of each metabox and why it is included.
Awards Trigger
Text Input . Accepts an awards trigger string , which will describe the behavior of how an award will be assigned to users. Documentation for the awards trigger is shown below.
Example
You have a membership blog site, and because you’re a nice person, you want to award your members for being engaged with your site and liking at least ten blog posts!
A previous developer implemented a like button on each of your site’s blog posts that increments a post_likes user_meta value on the user that clicks it (e.g. If a member likes 3 blog posts, they will have a post_likes meta value of 3 ).
We’ve decided to name our award the “User Engagement” award. In order to assign it to a member based on the prerequisites, you would put something like this in the “Awards Trigger” input.