WPservice DEVELOPMENT STUDIO PRESENTS
LONG-TERM GROWTH
We always design our websites with your future success in mind, carefully planning and optimizing all content to ensure maximum visibility and long-term profitability

How to Change User’s Capabilities with WordPress Role Manager Plugin

The reason that most people turn to the wordpress role manager plug in is because they need to upload files and make them visible only to specific users. The software provides administrators with the option to both upload something and let everyone see it, or alternatively upload it and then only allow him or herself to see it. There are some other included solutions, too, which allow administrators to show files to only certain privileged users while blocking out those who were general Web surfers.

 Working with the Manager

The first step is to add the wordpress user manager plug in and then configure it on the server. At the time of this writing the current version was 1.5.2, and it was released this year. Users of the 3.1 or higher blogging platform should feel comfortable when it comes to compatibility, though bleeding edge users beyond 4.0 might experience some difficulties.

Once the enhanced edition is configured, it will allow system administrators to:

  •  Create and manage roles
  •  Set any privilege to either blocked out, granted or not granted
  •  Copy any of these privileges to all sites across a network
  •  Mark any role for automatic reproduction on future sites created on said network
  •  Backup and restore privileges
  •  Revert to the previous changes
  •  Revert all changes to WordPress defaults

In addition, there are delegation options that include:

  •  Prevention of administrator deletion
  •  Non-administrator screen that only allows management for equal or lower capability users
  •  Blocking out of all users without a manage_capabilities code line configured at install time
  •  Organization by WordPress post types, origin or operation

Individuals who want to use HTTPS to increase system security should be happy to know that the extensions fully support the use of use content_url() and plugins_url(), which provides a standard framework for the system to work through. The system is hypertext secure compliant through this framework, and that should help those who insist on having that bit checked at all times. Those who want to open up the code and have a look under the hood should check out pp_manage_settings to manually adjust the way the system repopulates the settings for each individually managed user.

 Extending it with Some Code

Currently the capability manager wordpress provides support for English, Spanish, Italian, German, Russian, Swedish, Belorussian and Catalan language installation. The software allows extensions via coding, however, and to that end it comes with a POT file that can be manipulated for inclusion of other foreign language support options. In addition the WordPress service service also integrates with Press Permit, for those who have that plug in installed.

Those that do can show Press Permit capabilities by type role assignment, and can easily specify what capability definitions that everyone has. The system requires PHP 5.2, and that means that those who want to mess with the database are also possibly able to do so. Most importantly the software provides a full WordPress development log, and it provides some general coding definitions.

For instance, the backup and restore tool works with the restore_roles line of code, according to that log, and the wp_roles array is used to store the privileges of individual users. Individuals wanting to edit the code will find create_posts and edit_posts to be rather useful, and most of the code is overall well documented. It helps when it comes time to write a little and have it inserted into the existing structure.

Comments are closed.