Administration

As an administrator, you gain full control over how points are managed, displayed or even what they are called. You can name and re-name points at any time and myCRED even supports white-labeling which allows you to replace the “myCRED” name with your own.

When it comes to points management, administrators an add / remove points from users along with editing or removing log entries.

myCRED supports up to two types of users to manage points:

 

Point Editors

Point Editors can edit balances and view / export log entries. So if you have a deducated role setup in your WordPress installation that can manage users but not settings, you can assign them to also be point editors. Point editors however can not change any plugin related settings e.g. which hooks to use and how much points to give.

 

Point Administrators

Just like the WordPress administrator role, Point Administrators have full access to all myCRED features.

Figure 1. Capabilities based on admin type.

Task Point Editor Point Admin
View Log
View Users History
Adjust Balance with log entry
Edit Log Entry
Adjust Balance without log entry
Manage Hooks
Manage Add-ons
Manage Settings

When “Point Editors” adjusts a users balance, myCRED will require that they enter a log entry with the adjustment. Administrators however can adjust a users balance without a log entry.

Adjusting a users balance without a log entry will not update their total balance!

Capabilities

 

“Point Editors” and “Point Administrators” are identified using capabilities and not roles. This way, you can create custom roles and still have access to myCRED features.

By default, “Point Editors” are identified via the export capability while “Point Administrators” are identified using the manage_options capability. It is imperative that you keep this in mind when you adjust your roles and capabilities in WordPress or you run the risk of locking yourself out of myCRED.

If you for example choose to disable the export capability in order to disable WordPress exports, you will need to make sure you set a different capability in myCRED to identify “Point Editors”.

Figure 2. In case you lock yourself out of your myCRED settings after changing the capability settings, you can use the code snippet below to allow your account to access the settings again. Remember to remove it once you have corrected your myCRED security settings.

Editing Users Balance

Administrators with balance edit capabilities can edit your users balances on the Users page in your admin area. myCRED will add in a column in your list of users for each point type you have installed. Hovering your mouse over a particular user will reveal two options:

  • History – Takes you to the log page where the selected users log entries are shown and
  • Adjust – Brings up the balance editor modal where you can edit their balance.

As of version 1.7, you can also adjust a users balance with a log entry and see their recent activity.

The new balance editor in 1.7 allows you to add a log entry along with your balance adjustment.
The new balance editor in 1.7 allows you to add a log entry along with your balance adjustment.

Note that “Point Editors” must always add a log entry when adjusting a users balance! Administrators on the other hand can adjust balances without one.

Viewing Users Balance

When you edit a particular user in your admin area, myCRED will insert their balance on the edit screen. If you have multiple point types installed, myCRED will show each balance they are not excluded from.

myCRED will show each point type balance you have installed when you edit their account.
myCRED will show each point type balance you have installed when you edit their account.

Last edited June 22, 2016