Viewing 10 replies - 1 through 10 (of 10 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    From the looks of it, I may have some work ahead of me for a new update.

    First thing is a permissions issue when it comes to multisite: https://codex.www.ads-software.com/Roles_and_Capabilities#Additional_Admin_Capabilities.

    In multisite, only the super admins have the ability to to create/edit/delete users. This makes sense and is a design decision made by the WP core developers.

    For that reason, I believe the code around https://plugins.trac.www.ads-software.com/browser/bp-registration-options/trunk/includes/admin.php#L265 was implemented. I’m having trouble remembering at the moment if it was me specifically, or if that’s code that was there when I took over as lead dev, that I’ve since tweaked. Regardless, it’s there, and it’s preventing the menu from showing up on more than the main site, out of the box. I’m pretty certain the filters were added by me, being forward thinking, because I would like to make it so that for the duration of using our plugin’s code, sub-site administrators can moderate incoming potential users, but nowhere else.

    However, and this is where my work ahead of me comes in. While I was troubleshooting and trying to recreate what you’re describing, I came to realize that my 4.2.0 release is not working on multisite at all. This is, I believe, my likely leak that I wasn’t managing to figure out, when I had people still reporting that people were slipping through.

    Regrettably, that doesn’t likely give a workable solution to your initial question/issue. You can tinker around with those two filters and see if something ends up being workable for you, or if you are adventurous, comment out that primary if statement check and see if you reach a workable solution with those as well. Let me know if you do find something, and I’d gladly take contributions/pull requests on github and give proper credit.

    I have the same issue : nothing in Settings menu for a multi site network (and I’m Super Admin).

    Can I find an older version somewhere ?

    Edit : found it here :
    https://www.ads-software.com/plugins/bp-registration-options/developers/

    But I don’t see anything in Settings menu…

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    There’s conditional checks around the add menu line that is only doing so for the main site. I need to work out all the necessary logic with that topic still, but until then, it’ll only show on the main site.

    How can I help?

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    A main issue, as I recall, is that only super admins are able to manage users in multisite. If you’re trying to have BuddyPress available to many users with their own sites, via a multisite network, it’s not going to work. I have idea noodles down in GitHub on how to potentially get around that long enough, but I haven’t found a surefire solution yet.

    This weekend, regarding the site ID checking, I realized that it’s technically not right, even with the filter, so I need to patch that part so that if it’s still a 1 big network that’s not individual users managing their own site, then BuddyPress could be in something that’s not the main site.

    Hi ??

    Any updates about this bug ? I really need your plugin to laucnh my new family (and private) puddypress website ??

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Nope. It actually wouldn’t be able to be considered a bug either, technically, since it’s doing what the code is intended. It’s just not what some people are wanting/needing.

    I just haven’t had a good chance to tinker and try things out yet.

    comment to the code around https://plugins.trac.www.ads-software.com/browser/bp-registration-options/trunk/includes/admin.php#L265 :
    Instead of checking the blog_id you’d better use is_main_site()

    I did not understand which lines do you propose to be commented ?

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Fee’s suggestion was to me more than others.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Can't Access Plugin in Menu’ is closed to new replies.