WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Registration Options
[resolved] How to fix it for BuddyPress 1.5 (18 posts)

  1. rslayer
    Member
    Posted 2 years ago #

    BP Registration Options is completely broken when upgrading to BuddyPress 1.5. He's how to fix it:

    Open "bp-registration-options.php" in your favorite editor.

    On line 6:
    replace if ( !is_site_admin() )
    by if ( !is_super_admin() )

    On line 675 and 1592:
    replace $is_bp_dir = $bp->root_components;
    by $is_bp_dir = array_keys($bp->active_components);

    That should do the trick.

    http://wordpress.org/extend/plugins/bp-registration-options/

  2. nnclyn
    Member
    Posted 2 years ago #

    I get a white screen after using your suggestion :(

  3. kenrichman
    Member
    Posted 2 years ago #

    It seems to have worked for me!
    Had a white screen for a while then it went and all ok so far.

  4. mdrawdy
    Member
    Posted 2 years ago #

    Although I don't get the white screen (or any errors for that matter), users are still able to register without any moderation. I'm not getting any notification that a new member has registered.
    Any ideas?
    Thanks!

  5. xsn0w
    Member
    Posted 2 years ago #

    This totally works! Thank you so much for posting this easy fix, as this is a very very important plugin for us. This keeps the spammers out! Thanks again, @rslayer x 1 million!

  6. charlielove
    Member
    Posted 2 years ago #

    This fix gets the plugin so that no errors are reported but I now have new members being automatically approved rather waiting to be approved.

    Really need a fix from Author for Buddypress 1.5

  7. federico86
    Member
    Posted 2 years ago #

    Hi everyone, I made the fix suggested by rslayer and the plugin now works, but the normal activation process works too. Where am I wrong?

    Greetings

    Federico

  8. rpwillie
    Member
    Posted 2 years ago #

    I'm desperate for a solution to this.... need to get this thing up and running by morning... stressed...

    I'm willing to throw some money at this - I don't have much... but I'm really, really desperate for this to work with 1.5

    Thanks,
    Rob

  9. mattcav
    Member
    Posted 2 years ago #

    For me works. If someone have a question, I'm here trying to solve it.

  10. la79
    Member
    Posted 2 years ago #

    @mattcav what did you do to solve it? I followed rslayer's fix but it did nothing. Users are still getting in without my approval.

  11. mattcav
    Member
    Posted 2 years ago #

    well... I've followed the rslayer's suggestions and simply it works.

    Actually, this solution is just about changing the old bp bp->root_components; with the new $bp->active_components). If you take a look to the code, you can see the plugin si checking if the user is an "approved" member, and if is not, he is redirect to his profile (the only bp page that a 'pending' member can see)

    I'm running WP 3.3.1 and BP 1.5.4

    I've also customized some BP default messages, so if you try to register an account on my website, the system says something like: "hey, now you have to wait for an approval by admins!". If you can try to log in to the site, you can see your profile but NOT the members, forums, groups directories (and other bp's components).

    So yes: the user is registered, BUT he can't see bp pages until his account is approved. It means that the function is_user_logged_in returns TRUE for him, but if you're searching for something that just hide the BP pages until the member is approved, this solution could be good enough.

    If you're interested about it, I can share my code (but is hard-translated in Italian...)

  12. la79
    Member
    Posted 2 years ago #

    I followed rslayers information also but I still get users who can login AND see BP pages. What are you using to secure your BP pages from being accessed?

    My user can register, login and see every page.

    I am using WordPress 3.3.1 and Buddypress 1.5.4 also.

  13. mattcav
    Member
    Posted 2 years ago #

    That's my code. Try to upload it on your /plugins/bp-registration-options/ folder and let me know.

    http://snipt.org/uTL5

  14. la79
    Member
    Posted 2 years ago #

    Again, no luck. But thank you for your help. I hope the developer updates it one day!

  15. Yotam Tavor
    Member
    Posted 2 years ago #

    Thanks rslayer - seems to fix the issue.
    I'll keep an eye on the error logs to monitor.

    I run a private site and I use strong user moderation on it. I still need BP email activation, but provide zero access until I approve a user.
    The way I do it is by limiting URL wildcards and specific menu items using "Membership Preimum" plugin by http://bit.ly/WPMUDEV

  16. kissandim
    Member
    Posted 2 years ago #

    I did the fixes as suggested and although it would seem like it is working, I want buddypress as a private community and when i check that option, it still is NOT private...any thoughts?

  17. latinosamorir
    Member
    Posted 1 year ago #

    Does anyone know if anything new came out of this? Meaning, a new plugin that does something similar? Expected updates? etc.

    Thank you.

    Giovanni

  18. la79
    Member
    Posted 1 year ago #

    You may want to try New User Approve Plugin

    http://wordpress.org/extend/plugins/new-user-approve/

    I believe this working with Buddypress now...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic