Search Results for 'disable registration'
-
Search Results
-
Hi,
We are using BuddyPress to integrate with LearnDash.
The LearnDash registration form is now not working as when a customer registers, it redirects to the BuddyPress registration form.
Is there a way to disable the BuddyPress registration feature so we can use just the LearnDash registration setup.
Thanks
I use a profile builder and form to manage site registrations (the url was originally /register)
Now when I go to register I get this “Member registration is currently not allowed.”
When I go to Settings > Buddypress > URLS there is no “registration” slug and neither when I go to Pages and I able to see any buddypress created pages.
How do I disable Buddpress hijacking the registration?
Can I disable Buddypress registration in any way?Topic: Unable to register users
I’m trying to troubleshoot my BuddyPress registration form, which seems to be having some serious problems. I should start by noting that I have added some customizations to my form to add additional data fields, but the registration fails regardless of whether the customizations and overrides are enabled or disabled, and fails in exactly the same manner based on the error log, so the customizations are unlikely to be having an impact.
Here are the hooks that I am using to track where the problem is originating from:
// Hook into various stages of the BuddyPress registration process
add_action( ‘bp_before_registration_submit_buttons’, ‘log_before_registration_submit_buttons’ );
add_action( ‘bp_core_screen_signup’, ‘log_core_screen_signup’ );
add_action( ‘bp_signup_pre_validate’, ‘log_signup_pre_validate’ );
add_action( ‘bp_signup_validate’, ‘ex_custom_bp_signup_validate’ );
add_action( ‘bp_core_signup_user’, ‘log_core_signup_user’, 10, 2 );
add_action( ‘bp_core_activate_user’, ‘log_core_activate_user’, 10, 3 );
add_filter( ‘bp_core_validate_user_signup’, ‘log_core_validate_user_signup’ );
add_filter( ‘bp_core_signup_user_notification’, ‘log_core_signup_user_notification’, 10, 2 );function log_before_registration_submit_buttons() {
error_log( ‘Hook: bp_before_registration_submit_buttons fired.’ );
}function log_core_screen_signup() {
error_log( ‘Hook: bp_core_screen_signup fired.’ );
error_log( ‘Form submission data: ‘ . print_r( $_POST, true ) );
}function log_signup_pre_validate() {
error_log( ‘Hook: bp_signup_pre_validate fired.’ );
}function ex_custom_bp_signup_validate() {
global $bp;
error_log( ‘bp_signup_validate hook fired. Validation errors: ‘ . print_r( $bp->signup->errors, true ) );
}function log_core_signup_user( $user_id, $user_data ) {
error_log( ‘Hook: bp_core_signup_user fired.’ );
error_log( ‘User ID: ‘ . $user_id );
error_log( ‘User Data: ‘ . print_r( $user_data, true ) );
}function log_core_activate_user( $user_id, $key, $user ) {
error_log( ‘Hook: bp_core_activate_user fired.’ );
error_log( ‘User ID: ‘ . $user_id );
error_log( ‘Activation Key: ‘ . $key );
error_log( ‘User Data: ‘ . print_r( $user, true ) );
}function log_core_validate_user_signup( $result ) {
error_log( ‘Hook: bp_core_validate_user_signup fired.’ );
error_log( ‘Validation Result: ‘ . print_r( $result, true ) );
return $result;
}function log_core_signup_user_notification( $user_id, $user_data ) {
error_log( ‘Hook: bp_core_signup_user_notification fired.’ );
error_log( ‘User ID: ‘ . $user_id );
error_log( ‘User Data: ‘ . print_r( $user_data, true ) );
return $user_data;
}Here is a sample of the outputs from testing, with and without the Extended Profiles setting turned on:
[19-Jul-2024 00:01:28 UTC] Hook: bp_core_screen_signup fired.
[19-Jul-2024 00:01:28 UTC] Form submission data: Array
(
[signup_username] => TestUserAlpha
[signup_email] => AlphaEmail@EmailAlpha.com
[signup_password] => xEO^ONJS1ZkY
[signup_password_confirm] => xEO^ONJS1ZkY
[field_1] => Imma User
[signup_profile_field_ids] => 1
[signup-privacy-policy-check] => 1
[signup-privacy-policy-accept] => on
[signup_submit] => Complete Sign Up
[_wpnonce] => 3184f10172
[_wp_http_referer] => /register
)[19-Jul-2024 00:01:28 UTC] Hook: bp_before_registration_submit_buttons fired.
[19-Jul-2024 00:01:32 UTC] Hook: bp_core_screen_signup fired.
[19-Jul-2024 00:01:32 UTC] Form submission data: Array
(
[signup_username] => TestUserBeta
[signup_email] => AlphaEmail@EmailAlpha.com
[signup_password] => oeHAfbtPlIRG
[signup_password_confirm] => oeHAfbtPlIRG
[signup-privacy-policy-check] => 1
[signup-privacy-policy-accept] => on
[signup_submit] => Complete Sign Up
[_wpnonce] => 9240fe3ccc
[_wp_http_referer] => /register
)After poking around in various threads and ChatGPT, the suggestion is that the error is happening in the form validation, and I was told to look at bp-core-signup.php in the bp-core folder. Problem: this file does not exist in my BuddyPress installation. I deleted everything, did a fresh installation, and the file still does not exist. I added the hooks back in, made another test, and got exactly the same result. So am I just straight up missing a file in my installation? Or is there a deeper problem that’s outside the scope of my current awareness?
Hello,
Hmm, unsure how to diagnose this; but have an issue w/ buddypress not displaying the correct registration page. When disabled, it works (the default wordpress registration form), so it is either a plugin dependent on buddypress or buddypress itself. I tried setting the register page to none, and to the register page with a “Page to Link” plugin that sets it to the correct url ending in /wp-login.php?action=register but it still will not, any idea how I can fix this? It was fine before but not sure why it just stopped, I did migrate it from a local install and deployed it online
Any help would be very much appreciated
Hello,
I am trying to change back the sign up process to use WordPress’ and not the BuddyPress registration page. I attempted to use the following to no avail.
Any help would be appreciated!
Resolved – How to disable the registration function of buddypress?
How can I deactivate activation email and make wordpress activate users automatically.
Also can I have users autologged in after filling our registration form?
Hi,
I don’t understand the logic of requiring an email/username (text) field in Signup form, which will be shown near the default WordPress signup fields (including both email and username).
For a good UX sign up, I would require only a social login or email + password. I have dozens of BP xFields so the user should go and edit them after signup anyways.Can you please share some best practices to avoid unnecessary requirements for signup?
I tried to disable bp signup form completely but I haven’t found the plugin folder.Hello
I find many codes and plugins that help me to avoid the activation email when members join in the site, but when I tried these options affect the invitation system of buddyboss.
For example, if I invite a user to join with a specific role “teacher” with the code the join as subscriber. I know I can change the role, but I want to know if it’s possible to automatically detect the role where I invite the user.
“”function disable_validation( $user_id ) {
global $wpdb;
$wpdb->query( $wpdb->prepare( “UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d”, $user_id ) );
$users = $wpdb->get_results( “SELECT activation_key, user_login FROM {$wpdb->prefix}signups WHERE active = ‘0’ “); foreach ($users as $user) {
bp_core_activate_signup($user->activation_key);
BP_Signup::validate($user->activation_key); //fix roles
$user_id = $wpdb->get_var( “SELECT ID FROM $wpdb->users WHERE user_login = ‘$user->user_login'”); $u = new WP_User( $user_id );
$u->add_role( ‘subscriber’ );
}
} add_action( ‘bp_core_signup_user’, ‘disable_validation’ );
add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );
add_filter( ‘bp_core_signup_send_activation_key’, ‘__return_false’ );”
Plugin name: BuddyPress Auto Activate Auto Login and BP Disable Activation Reloaded
Thanks for the helpHello, I have a problem with my registration page. When I click on “Registration” it says “Not Found. The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at 192.168.1.111 Port 80” but if I disable BuddyPress, it works. I have already checked that no plugin conflicts with it, I am using the BuddyX theme so it doesn’t come from there either, I have checked the permalinks as well as the .htaccess file, I have checked that it is indeed the registration page that is indicated in the BuddyPress settings, nothing works, I still have this error over and over again. Can you help me please? Thank you in advance.
Is it possible to disable User Registration for BuddyPress and only have the wordpress admin or owner of the site create the users by assigning them a User name and a password ?
If we are able to disable user registration, and only have the website owner create their username and password will the users still be able to update their profiles ?
I expect this is likely a configuration issue with either our BuddyPress installation, a conflict from another plugin (though it works on staging version), or perhaps a lingering cacheing issue. But looking to find assistance resolving it and willing to consider hired help on this.
No url to share, as it is a member’s only site (Intranet).
### wp-core ### version: 6.1.1 site_language: en_CA user_language: en_CA timezone: America/Vancouver permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 0 default_comment_status: open environment_type: production user_count: 431 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /home/susyah/public_html wordpress_size: 58.81 MB (61669230 bytes) uploads_path: /home/susyah/public_html/wp-content/uploads uploads_size: 62.25 MB (65272481 bytes) themes_path: /home/susyah/public_html/wp-content/themes themes_size: 23.15 MB (24279208 bytes) plugins_path: /home/susyah/public_html/wp-content/plugins plugins_size: 400.27 MB (419712905 bytes) database_size: 96.29 MB (100972517 bytes) total_size: 640.78 MB (671906341 bytes) ### wp-dropins (2) ### advanced-cache.php: true maintenance.php: true ### wp-active-theme ### name: Kleo Child (kleo-child) version: undefined author: SeventhQueen author_website: http://seventhqueen.com parent_theme: Kleo (kleo) theme_features: core-block-patterns, widgets-block-editor, editor-style, automatic-feed-links, post-formats, menus, post-thumbnails, html5, featured-content, title-tag, customize-selective-refresh-widgets, responsive-embeds, kleo-facebook-login, kleo-mega-menu, kleo-menu-items, bbpress, woocommerce, buddypress-use-nouveau, widgets theme_path: /home/susyah/public_html/wp-content/themes/kleo-child auto_update: Disabled ### wp-parent-theme ### name: Kleo (kleo) version: 5.1.2 author: SeventhQueen author_website: https://themeforest.net/user/SeventhQueen theme_path: /home/susyah/public_html/wp-content/themes/kleo auto_update: Disabled ### wp-themes-inactive (1) ### Twenty Twenty-Three: version: 1.0, author: the WordPress team, Auto-updates disabled ### wp-plugins-active (71) ### Admin Menu Editor Pro: version: 2.18.1, author: Janis Elsts, Auto-updates disabled AS Admin Customizer: version: 1.0, author: Andolasoft, Auto-updates disabled bbPress: version: 2.6.9, author: The bbPress Contributors, Auto-updates disabled bbp style pack: version: 5.4.1, author: Robin Wilson, Auto-updates disabled Better Notifications for WP: version: 1.9.2, author: Made with Fuel, Auto-updates disabled Big File Uploads: version: 2.1.1, author: Infinite Uploads, Auto-updates disabled BP Profile Search: version: 5.4.8, author: Andrea Tarantini, Auto-updates disabled Brozzme Multiple Admin Emails: version: 1.4, author: Benoti, Auto-updates disabled BuddyPress: version: 11.1.0, author: The BuddyPress Community, Auto-updates disabled BuddyPress Notifications Widget: version: 1.3.2, author: BuddyDev, Auto-updates disabled Classic Editor: version: 1.6.2, author: WordPress Contributors, Auto-updates disabled Display Posts: version: 3.0.2, author: Bill Erickson, Auto-updates disabled Document Library Pro: version: 1.9.4, author: Barn2 Plugins, Auto-updates disabled Duplicate Page: version: 4.5.1, author: mndpsingh287, Auto-updates disabled Envato Market: version: 2.0.8, author: Envato, Auto-updates disabled Essential Grid: version: 3.0.16, author: ThemePunch, Auto-updates disabled FileBird: version: 5.1.4, author: Ninja Team, Auto-updates disabled Force Login: version: 5.6.3, author: Kevin Vess, Auto-updates disabled GeoDirectory: version: 2.2.25, author: AyeCode - WordPress Business Directory Plugins, Auto-updates disabled Image Upload for BBPress: version: 1.1.18, author: Aspen Grove Studios, Auto-updates disabled Jetpack: version: 11.9.1, author: Automattic, Auto-updates disabled Jetpack Boost: version: 1.7.0, author: Automattic - Jetpack Site Speed team, Auto-updates disabled K Elements: version: 5.1.2, author: SeventhQueen, Auto-updates disabled K Fonts: version: 1.1.0, author: SeventhQueen, Auto-updates disabled Like Button Rating ♥ LikeBtn: version: 2.6.47, author: LikeBtn, Auto-updates disabled List Categories: version: 0.4, author: Fernando Briano, Auto-updates disabled MainWP Child: version: 4.4.0.1, author: MainWP, Auto-updates disabled Manage Notification E-mails: version: 1.8.4, author: Virgial Berveling, Auto-updates disabled Media Sync: version: 1.2.9, author: Erol Živina, Auto-updates disabled Meta Box: version: 5.6.17, author: MetaBox.io, Auto-updates disabled MonsterInsights - Dimensions Addon: version: 2.0.6, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Forms Tracking Addon: version: 2.2.6, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Media Addon: version: 1.0.7, author: MonsterInsights Team, Auto-updates disabled MonsterInsights - Page Insights Addon: version: 1.5.2, author: MonsterInsights Team, Auto-updates disabled MonsterInsights Pro: version: 8.13.1, author: MonsterInsights, Auto-updates disabled Ninja Forms: version: 3.6.20, author: Saturday Drive, Auto-updates disabled Page-list: version: 5.3, author: webvitaly, Auto-updates disabled Page scroll to id: version: 1.7.7, author: malihu, Auto-updates disabled Pages with category and tag: version: 0.9.0, author: YAHMAN, Auto-updates disabled Popup Maker: version: 1.18.1, author: Popup Maker, Auto-updates disabled Post Slider For Visual Composer: version: 1.1, author: Nasir, Auto-updates disabled PublishPress Permissions: version: 3.8.5, author: PublishPress, Auto-updates disabled Redirection: version: 5.3.9, author: John Godley, Auto-updates disabled rtMedia for WordPress, BuddyPress and bbPress: version: 4.6.13, author: rtCamp, Auto-updates disabled SearchWP: version: 4.2.9, author: SearchWP, Auto-updates disabled SearchWP bbPress Integration: version: 1.3.1, author: SearchWP, Auto-updates disabled SearchWP Custom Results Order: version: 1.3.6, author: SearchWP, Auto-updates disabled SearchWP Live Ajax Search: version: 1.7.4, author: SearchWP, LLC, Auto-updates disabled SearchWP Shortcodes: version: 1.8.3, author: SearchWP, Auto-updates disabled Shortcode in Menus: version: 3.5.1, author: Gagan Deep Singh, Auto-updates disabled Site Plugin for susyah.csfs.org: author: (undefined), version: (undefined), Auto-updates disabled Social Articles: version: 2.9.5, author: Broobe, Auto-updates disabled SQ Sidebar Generator: version: 1.2.2, author: SeventhQueen, Auto-updates disabled TablePress: version: 2.0.4, author: Tobias Bäthge, Auto-updates disabled The Events Calendar: version: 6.0.10, author: The Events Calendar, Auto-updates disabled The Events Calendar: Community Events: version: 4.10.5, author: The Events Calendar, Auto-updates disabled The Events Calendar: Filter Bar: version: 5.4.3, author: The Events Calendar, Auto-updates disabled The Events Calendar PRO: version: 6.0.9.2, author: The Events Calendar, Auto-updates disabled User Role Editor: version: 4.63.3, author: Vladimir Garagulya, Auto-updates disabled User Switching: version: 1.7.0, author: John Blackbourn & contributors, Auto-updates disabled UsersWP: version: 1.2.3.11, author: AyeCode Ltd, Auto-updates disabled Wbcom Designs - BuddyPress Member Export Import: version: 1.5.0, author: Wbcom Designs, Auto-updates disabled When Last Login: version: 1.2.2, author: Yoohoo Plugins, Auto-updates disabled WordPress Toolbar Editor: version: 1.4.2, author: Janis Elsts, Auto-updates disabled WP Add Mime Types: version: 3.0.3, author: Kimiya Kitani, Auto-updates disabled WPBakery Page Builder: version: 6.10.0, author: Michael M - WPBakery.com, Auto-updates disabled wpDataTables - Tables & Table Charts: version: 2.1.53, author: TMS-Plugins, Auto-updates disabled WP Easy Updates: version: 1.1.20, author: AyeCode Ltd, Auto-updates disabled WPForms Lite: version: 1.8.0.2, author: WPForms, Auto-updates disabled WP Rocket: version: 3.12.5.3, author: WP Media, Auto-updates disabled WP SMS: version: 6.1.1, author: VeronaLabs, Auto-updates disabled ### wp-plugins-inactive (1) ### Password Protected Categories: version: 2.1.8, author: Barn2 Plugins, Auto-updates disabled ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 128M upload_max_filesize: 128M max_effective_size: 128 MB max_file_uploads: 20 gd_version: 2.3.3 gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.25 ### wp-server ### server_architecture: Linux 3.10.0-962.3.2.lve1.5.42.el7.x86_64 x86_64 httpd_software: Apache php_version: 7.4.33 64bit php_sapi: litespeed max_input_variables: 10000 time_limit: 360 memory_limit: 2048M max_input_time: 360 upload_max_filesize: 128M php_post_max_size: 128M curl_version: 7.84.0 OpenSSL/1.1.1p suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.7.41 client_version: mysqlnd 7.4.33 max_allowed_packet: 268435456 max_connections: 250 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/susyah/public_html/wp-content WP_PLUGIN_DIR: /home/susyah/public_html/wp-content/plugins WP_MEMORY_LIMIT: 1024M WP_MAX_MEMORY_LIMIT: 2048M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: true SCRIPT_DEBUG: true WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable 0: Writable ### jetpack ### site_id: 212215713 ssl_cert: No time_diff: 2 version_option: 11.9.1:1678828073 old_version: 11.9:1678301680 public: Public master_user: #1 ConceptDesign current_user: #1 ConceptDesign tokens_set: Blog User blog_token: P8&fk$QOWUjx^E0IRR3qiHSD*VPExwHg user_token: bvJ0#WWGEoaVgl@fq*KX$BqCk5YW7Si1 version: 11.9.1 jp_plugin_dir: /home/susyah/public_html/wp-content/plugins/jetpack/ plan: free protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Tue, 08 Nov 2022 19:26:26 +0000","finished":"Tue, 08 Nov 2022 19:31:21 +0000","progress":{"comments":{"total":"5","sent":5,"finished":true,"last_sent":"3"},"constants":{"finished":true},"functions":{"finished":true},"options":{"finished":true},"posts":{"total":"3647","sent":3647,"finished":true,"last_sent":"2"},"term_relationships":{"total":"3115","sent":3115,"finished":true,"last_sent":{"object_id":"1","term_taxonomy_id":"270"}},"terms":{"total":"398","sent":398,"finished":true,"last_sent":"1"},"themes":{"finished":true},"updates":{"finished":true},"users":{"total":"83","sent":83,"finished":true,"last_sent":"1"}},"config":{"comments":1,"constants":1,"functions":1,"options":1,"posts":1,"term_relationships":1,"terms":1,"themes":1,"updates":1,"users":1}} sync_size: undefined sync_lag: 0 seconds full_sync_size: undefined full_sync_lag: 0 seconds idc_urls: {"home":"https:\/\/susyah.csfs.org","siteurl":"https:\/\/susyah.csfs.org","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: All Pass. ### buddypress ### version: 11.1.0 active_components: Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups template_pack: BuddyPress Nouveau 11.1.0 ! hide-loggedout-adminbar: No ! bp-disable-account-deletion: No ! bp-disable-avatar-uploads: Yes ! bp-disable-cover-image-uploads: Yes bp-enable-members-invitations: No bp-enable-membership-requests: No ! bp-disable-profile-sync: Yes ! bp_restrict_group_creation: No ! bp-disable-group-avatar-uploads: Yes ! bp-disable-group-cover-image-uploads: Yes ! bp-disable-blogforum-comments: Yes _bp_enable_heartbeat_refresh: Yes ### redux-framework ### version: 4.3.12 installation: in_plugin data directory: /home/susyah/public_html/wp-content/plugins/k-elements/lib/options/ browser: Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/112.0 Browser: Firefox Version: 112.0 Platform: Apple ### redux-instance-kleo_kleo_child ### opt_name: kleo_kleo_child global_variable: false dev_mode: false ajax_save: false page_slug: kleo_options page_permissions: manage_options menu_type: menu page_parent: themes.php compiler: false output: false output_tag: true templates_path: undefined extensions: Customizer: 4.0.0 Import Export: 4.0.0 Metaboxes: 4.0.0 Options Object: 4.0.0 Repeater: 4.3.7 Search: 3.4.5 Shortcodes: 4.3.5 ### wpforms ### version: 1.8.0.2 lite: Nov 14, 2022 @ 5:41pm upload_dir: Writable total_forms: undefined total_submissions: undefined ### bp-profile-search ### version: 5.4.8 platform: BuddyPress 11.1.0 theme: Kleo Child index: /plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/index.php loop: /plugins/buddypress/bp-templates/bp-nouveau/buddypress/members/members-loop.php template0: /themes/kleo/buddypress-nouveau/members/bps-form-legacy.php template1: /themes/kleo/buddypress-nouveau/members/bps-form-inline.php template2: /themes/kleo/buddypress-nouveau/members/bps-form-with-labels.php