Prevent users and bots from accessing the BuddyPress or bbPress areas of your website(s) until they are approved.
This BuddyPress extension allows you to enable user moderation for new members, as well as help create a private network for your users. If moderation is enabled, any new members will be denied access to your BuddyPress and bbPress areas on your site, with the exception of their own user profile. They will be allowed to edit and configure that much. They will also not be listed in the members lists on the frontend until approved. Custom messages are available so you can tailor them to the tone of your website and community. When an admin approves or denies a user, email notifications will be sent to let them know of the decision.
Requires BuddyPress version 1.7 or higher and bbPress 2.0 or higher.
General Data Protection Regulation
BuddyPress Registration Options temporarily stores user IP addresses as user meta to help validate and vet pending users. Saved IP values are deleted upon both approval and denial of pending user. No other personal data is recorded.
Upload the bp-registration-options folder to the plugins directory in your WPMU installation
Activate the plugin
Click on the « BP Registation » link in your admin menu.
Configure your BuddyPress registration options.
- What does this plugin do?
We do our best to prevent unmoderated users from being able to interact or even access the social network areas of your website until approved. This includes BuddyPress and evolving support for bbPress as well. The plugin has evolved since its original origins, so admittedly the « registration options » part has changed. It focuses on moderation.
- What does this plugin not do?
We do not prevent overall spam from getting through. We also don’t prevent the activation emails from going out for the user. Even on a private network, the user would be able to activate the user account and log in and see at least their own profile. When just « Moderate New Members » is checked, they will be able to browse around and see a general picture, but they won’t be able to interact. If you believe you have found a bug or « hole » with this, please start a support thread at https://wordpress.org/support/plugin/bp-registration-options and we will respond there.
- Does it offer support for bbPress?
bbPress support is a work in progress. As we continue to develop it, we will do what we can to help prevent bbPress forum acces, but at the moment it is not as comprehensively covered as BuddyPress.
- Does it account for multisite super admins being the only ones able to edit users?
A work in progress. We are aware of the limitation, and are trying to find the best solution around this issue, especially for anyone who isn’t a super admin in a Multisite network, but still wants social network functionality for their site within the network.
- Is this a good plugin to help prevent spam coming into my whole site?
If you are looking for sitewide spam prevention, we will not be the right plugin for you. Our plugin will only cover the BuddyPress and bbPress areas. Regular WordPress pages or the blog would still be able to be accessed.
Contributors & Developers
“Registration Options for BuddyPress” is open source software. The following people have contributed to this plugin.Contributors
“Registration Options for BuddyPress” has been translated into 5 locales. Thank you to the translators for their contributions.
Interested in development?
- Fix: Rename plugin per plugin repository guidleines.
- Fix: Errors around missing function in the admin screen.
- Debranding of plugin and revising contributor list. Functionality remains untouched from 4.4.2
4.4.2 – 2022-07-19
- Fixed: Prevent fatal errors with
4.4.1 – 2022-01-28
- Fixed: missed custom CSS classes on frontend message markup.
- Fixed: Friends buttons in member listings revisions and on individual profiles.
- Fixed: Prevent fatal errors from undefined functions
- Fixed: Function parameter ordering between required and optional values.
- Fixed: consistent user/usermeta table references
- Fixed: confirm we have arrays before using in foreach loops.
4.4.0 – 2022-01-05
- Added: Filter to toggle whether or not to apply wpautop() on email messages. Current states remain as is.
- Added: baseline support for BuddyBoss in regards to admin menus being added for administrators.
- Added: action hook at end of
- Added: Notification bubble to top level admin menu item.
- Added: « Pending Approval » sortable column to
- Added: Prevent notifying users of pending status if moderation is not enabled. Props KirkJohnson
- Added: General support for compatibility with « BP Better Messages ».
- Fixed: Remove friend action buttons on profiles of non-approved members, when an approved member is viewing. Approved members should not be able to prematurely interact yet.
- Fixed: Prevent access to approved members if non-approved user directly accesses profile URL.
- Fixed: Prevent ability to message pending members if username is typed in directly in recipient field.
- Fixed: touched up potential PHP errors around non-existent functions.
4.3.10 – 2021-08-16
- Fixed: error with usermeta table in multisite.
4.3.9 – 2020-03-14
- Fixed: Fatal error from a function typo.
4.3.8 – 2020-03-13
- Updated: Extra protection for users who may be using bbPress only with no BuddyPress.
- Fixed: Prevent overwriting of existing user IDs to exclude, if any are already set.
- Fixed: Remove duplicate status setting upon uster registration.
- Fixed: Prevent PHP notices for user notification content on frontend.
- Fixed: GeoIP lookup resource change.
- Added: Setting tool to help aid with more GDPR compliance. Setting queries for all previously-approved users that still have IP address user meta data saved, and removes that meta data. Should not need to be used again once all IP meta is removed.
- Fixed: Addressed issue regarding notifications sent out when a new user registers. 4.3.4 introduced a filter to customize who gets notified, but the filter needed to be added in some more places.
- Fixed: Default message values not persisting across many users when approving or denying in bulk.
- Added: IP Address removal from user meta after approved. Addresses possible issues with GDPR compliance. Denied users do not have saved data after denied.
- Added: Filter for who receives notifications for new users. Props to @cherbst
- Added: Parse « [username] » shortcode for the Activate/Profile message text. Props richardfoley on WordPress.org
- Fixed: support for [user_email] shortcode parsing in the approved/denied custom messages.
- Fixed: Re-hide unimplemented ban button. Hopefully someday.
- Fixed: Prevent possible fatal errors for non-existant functions at runtime.
- Fixed: Compatibility issues with bbPress and blank notifications.
- Added: Support for BuddyPress notifications of new user, checkbox setting to enable or disable it.
- Added: BPRO menu items to BuddyPress Member Admin Bar for administrators.
- Added: Prevention of activity stream posting about new member until member is approved.
- Added: Email notification and default message setting for pending users upon activation.
- Added: Before and after save hooks for general settings.
- Added: Filter in pending member « additional data » section for displaying custom data about user.
- Added: Filter in wp_redirect urls for non-logged in users.
- Added: Filter on IP address before saving to user meta.
- Added: Filter in « allowed areas » functions for custom area setting for 3rd party developers.
- Fixed: Issues with HTML emails and HTML in available custom message fields.
- Fixed: Changed API used for geo lookup in moderated user table.
- Fixed: Hardened user display in pending member list if no Full Name value provided.
- Fixed: Mark user as not spam, upon approval, in BuddyPress core’s user management page.
- Fixed: Prevention of working in non-main site sites for Multisite.
- Fixed: Internationalization issues with singular/plural « members » admin notice.
- Updated: Internationalization strings for default messages.