• To lockdown the plugin to a network admin only in a multisite install need to modify 1 line in 1 file:
    File class-bwp-framework-v3.php line 1390 change to:
    if ( is_super_admin() ) { $this->build_menus(); }

    It would be nice to make this a network admin setting (and possibly a network wide config screen). Since you are serializing your settings in the database its very difficult to pre-populate the settings for a multi-site install and lockdown the settings to only the superadmin/net admin (super admin is admin in single site install)

    https://www.ads-software.com/plugins/bwp-recaptcha/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Khang Minh

    (@oddoneout)

    That’s what site options are for, but right now BWP recaptcha does not have any site options. What if you want to customize the settings for each site in a multisite installation?

    I do plan to move site options to the network admin screen, though.

    Thread Starter wizkid723

    (@wizkid723)

    I didn’t want to break the entire plugin, but want to hide the Site Key pair from non-admins to the network.. We are using wordpress in a school environment and allow users to configure most options but don’t want them all to have to sign up for their own key pair. (and along with that don’t really want to share our site key pair either)

    Yes it would be great to have a site options settings, but in the mean time its a fast way to support multisites with a locked down approach. (like hosted environments where they force the recaptcha for everyone).

    WordPress needs a bit more refinement in the role area (like the ability to grant/revoke options and plugin developers can hide/display settings depending on specific options not generalized roles.)

    Still a great plugin!

    Plugin Author Khang Minh

    (@oddoneout)

    I see, that’s a valid and possibly preferred use case. One thing I can adjust quickly is to hide the site key pair from a sub blog’s plugin setting page, and provide an option to disable per blog key pair, would that be enough for now?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Network Admin Only Multisite Access’ is closed to new replies.