HomeForumsProfile Builder ProAdmin access on wordpress multisite.

This topic has 2 voices, contains 3 replies, and was last updated by  Gabriel Barina 140 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
Author Posts
September 16, 2011 at 2:33 pm #2164
 Nicholas

I just installed profile builder on one of multisite installs with the purpose of allowing site administrators to control what information in collected when users register to their site.

However, after running a few tests I have found that site administrators don’t get access to the settings of profile builder, only the super admin does.

Is there any way to fix this ?

September 19, 2011 at 9:52 am #2171
 Gabriel Barina

Hello Nicholas,
when setting up the Profile Builder sub-menu we defined it this way:
function profile_builder_admin(){
// create menu item
$profile_builder_options = add_submenu_page( ‘users.php’, ‘Profile Builder’, ‘Profile Builder’, ‘delete_users’, ‘ProfileBuilderOptionsAndSettings’, array( $this, ‘profile_builder_options_page’ ) );

// add menu item
add_action( “admin_print_styles-$profile_builder_options”, array( $this, ‘profile_builder_load’ ) );
}

so basically anyone with the “delete_users” rights gets access to the settings. With that said, are you sure you activated the plugin on the sub-domain of the multisite? Or did you (by any chance) modify the rights certain admins have?

Awaiting your reply,
Gabriel

September 22, 2011 at 3:14 am #2217
 Nicholas

Gabrial,
Thanks for your explanation.

Firstly, I am using wordpress 3.2.1 and I have set up the multisite install in the standard way. After reading your explanation on how it should work I run some different configurations to try and isolate the issue.

Here is what I tested.

When I first started using the plugin it was network activated, so each sub site did not need to have the plugin to be activated. I tried to network deactivation the plugin, and activate it on the sub site. This made no difference in who saw the settings page of the plugin in the user menu.

I am using a plugin ‘ Pro Blogs ‘ that controls plugin and themes on a multisite, I deactivated this plugin and tried the above two configurations again. This did not produce any different results.

From this I did a bit of research into user levels on a network site, and found out that subsite administrators don’t have control (only remove control) over users of their site in a multisite install as any user that joins a subsite really joins the network rather than just the one subsite. And thus in a subsite administrators can only delete (remove) users from the subsite, not the network. So I guess this would explain explain why subsite administrators don’t see the plugin as they don’t have user delete privileges as such.

As a solution to the issue I have found a user management plugin that allows me to move the site administrator to a network administrator, then I take away network access privileges. A bit a of a backward configuration but this way they to see the settings of ProfileBuilder plugin.

Nick

September 22, 2011 at 10:25 am #2236
 Gabriel Barina

Hello Nicholas,
I am glad that you managed to fix the issue, this way everyone else who has the same issue knows what to do.

Gabriel

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.