• Hello,

    So I’m using the Members plugin to restrict backend functionality and add site-functionality. I installed Gigs Calendar aswell. Now I want the people in the custom role to do nothing but edit their profile and have access to the Gigs Calendar.

    Now inside Gigs Calendar there’s a function to set the minimum user level to use the plugin, though these are limited to the standard WordPress levels;

    $levels = array(
    	'level_0' => __('Subscriber', $gcd),
    	'level_1' => __('Contributor', $gcd),
    	'level_2' => __('Author', $gcd),
    	'level_5' => __('Editor', $gcd),
    	'level_8' => __('Administrator', $gcd),
    );

    Using the Members plugin I created a new role, but it seems to have no level at all, because I manually added all the levels from 0 to 8, but none worked.
    Now in the Members plugin there’s a functionality to add custom capabilities. Great, but how do I find out what they are? I found a site saying you’d need the ‘capability_type’ hook, of which I can’t find any…

    How, how, how do I set permissions for plugin usage? This isn’t documented anywhere, at all?!
    If someone can help, I’d be eternal grateful.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter asitis

    (@asitis)

    …nobody? I cant imagine no one else ever had this problem?

    Hey!
    I dont really know the solution but I can tell you about my situation which is related…
    I created custom role with members plugin and in post edit author dropdown box I cannot see users that are assigned to custom role. I tried investigating and found out that only roles ‘contributor’ and higher populate author drodown box by default.

    I havent found a way to define user level for new custom role created with members plugin…

    In the meantime I suggest You to try ‘Admin menu editor’ plugin to restrict users from accessing certain parts of back-end ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin permission custom role’ is closed to new replies.