Hi. I am in the process of making a Clan website and have implemented the Leaguemanager plugin. I need to assign one person to administrate this plugin but nothing else. How do i do this?
Many Thanks in advance
Fe3n1x
Hi. I am in the process of making a Clan website and have implemented the Leaguemanager plugin. I need to assign one person to administrate this plugin but nothing else. How do i do this?
Many Thanks in advance
Fe3n1x
Even with Role Manager plugin I can't see how you can isolate just one person to one plugin.
That's "easy".
Well, at least crating the roles.
In the plugin, add the following:
//Add role
add_role('leagueAdmin',__('League Manager'));
// Add capability
$role = get_role('leagueAdmin');
$role -> add_cap('leagueAdmin');
$role -> add_cap ('read'); // If you want the user to be able to login backend.
With this role, the user can only manage your plugin, and nothing else.
That was the easy part. Now you need to assign this role to a person.
You can either do this by using the plugin Role Manager. Or you can do this programatically somehow. But I don't know how to.
You must log in to post.