Search Results for 'Create an Account'
-
Search Results
-
Topic: BuddyPress + WCFM
Hi there,
I have Rehub theme+WCFM.
I have recently installed Buddy Press as I need it for a new feature on my site.
All good so far…I have 2 questions:
1: Creating a vendor (store vendor) account, then clicking on the profile icon at the header> manage your store, the WCFM panel opens, which is great.
BUT also the 4 Buddy Press menu options show above the WCFM panel (profile, listing manager,invitations, created by)
It is really confusing, as if I click on the ‘listing manager’ menu on Bpress then the WCFM panel opens in a funny way.
Is it possible to remove the listing manager option from BPress?
Not sure if it makes any sense, I can send you screenshots just let me know your email address.2: how can I remove the ‘newbie’ sign from members pages?
Thx
WP version: 5.9.3
BPress version: 10.3.0
site: https://manofestum.com/manostaging/en/ (it’s the staging version )Hello everyone,
I’m trying to build the frontend part for my blog and use WP and BP as headless CMS through their API. But I can’t get the registration to work as I expect. What I would like is to
- Have a registration form for new users to sign up.
- Once they’re registered and after account activation, they appear in member list so that other users can make friendship request to them.
- When they’re registered and after account activation they can log in (with JWT) and then display the memeber list to make friendship request.
What I’ve done, what’s not working
- When I try to make a “create member request” via POST /buddypress/v1/members -> I get an error “rest_cannot_create_user” because I don’t have rights to create new members.
- When I try to make a “signup request” via POST /buddypress/v1/signup, it registration seems to works (a user is added in WP) but he’s not visible in member list via GET /buddypress/v1/members.
- After account activation, the user is still not present in the member list
- After the user has logged in via JWT (POST /jwt-auth/v1/token), he can access to member list but he is still not present in the member list.
- The only way I found to make the user appears in the member list is to log in with the user credentials on the wp-admin interface.
How can I solve this, i.e. how can I make a new user visible in the member list without having him to log in through the wp-admin page ?
And this may be related but what is the difference between “user signups” and “member creation” ?
Thanks,
Davidlogging in at wp-login.php with a newly created account (no permission required to join) and instead of having the login like normal it makes every link go to the same place. profile/change-avatar/
Links show correctly in source but when clicked everything goes to that same location but only for this new member other members work ok..
what the?!?!?!?
Any guesses please?
I use gravity forms to create a new user from a groups tab and assign them to a group, based on the group that the group admin is adding them from. This was working just fine in BuddyPress version 8.0 but since upgrading to 10 it is no longer working. What am I missing?
/** * Add member form handler. This form is currently located under the Group Information tab */ add_action( 'gform_after_submission', 'add_member_gform_handle', 10, 2 ); function add_member_gform_handle( $entry, $form ) { if ( $form['title'] === 'Add Member' ) { $fields = $form['fields']; $first_name = rgar( $entry, '1' ); $last_name = rgar( $entry, '2' ); $login = rgar( $entry, '3' ); $password = rgar( $entry, '4' ); $email = rgar( $entry, '5' ); $group_id = rgar( $entry, '6' ); $role = rgar( $entry, '11' ); $notification = rgar( $entry, '9.1' ); $birthdate = rgar( $entry, '10' ); $userdata = array( 'user_login' => $login, 'user_pass' => $password, ); if ( ! empty( $first_name ) ) { $userdata['first_name'] = $first_name; } if ( ! empty( $last_name ) ) { $userdata['last_name'] = $last_name; } if ( ! empty( $email ) ) { $userdata['user_email'] = $email; } if ( ! empty( $role ) ) { $userdata['role'] = $role; } // Create a new user $new_user_id = wp_insert_user( $userdata ); // GFCommon::log_debug( __METHOD__ . '(): form => ' . print_r( $birthdate, true ) ); if ( ! is_wp_error( $new_user_id ) ) { groups_join_group( $group_id, $new_user_id ); // Make the user displayed as a staff on a clubhouse page if ( $role === 'staff' ) { $group_ids = groups_get_user_groups( $new_user_id ); $group = groups_get_group( array( 'group_id' => $group_ids['groups'][0]) ); $group_id = $group->id; groups_promote_member( $new_user_id, $group_id, 'admin' ); } else { groups_demote_member( $new_user_id, $group_id ); } if ( ! empty( $notification ) ) { tml_send_new_user_notifications( $new_user_id, 'both' ); } if ( ! empty( $birthdate ) ) { $date = DateTime::createFromFormat('Y-m-d', $birthdate); $date = $date->format('Ymd'); update_field('user_birthdate', $date, 'user_' . $new_user_id); } } // Delete form entry // GFAPI::delete_entry( $entry['id'] ); } } /** * Add Member form validation */ add_filter( "gform_validation_$clubnet_add_member_form_id", 'add_member_form_validation' ); function add_member_form_validation( $validation_result ) { $form = $validation_result['form']; $login = rgpost( 'input_3' ); $email = rgpost( 'input_5' ); $send_notificaton = rgpost( 'input_9_1' ); if ( ! empty( $login ) && get_user_by( 'login', $login ) ) { $validation_result['is_valid'] = false; //finding Field with ID and marking it as failed validation foreach( $form['fields'] as &$field ) { if ( $field->id == '3' ) { $field->failed_validation = true; $field->validation_message = 'The user with this login already exists.'; break; } } // foreach } if ( ! empty( $email ) && get_user_by( 'email', $email ) ) { $validation_result['is_valid'] = false; //finding Field with ID and marking it as failed validation foreach( $form['fields'] as &$field ) { if ( $field->id == '5' ) { $field->failed_validation = true; $field->validation_message = 'The user with this email already exists.'; break; } } // foreach } // GFCommon::log_debug( 'VALIDATION' . __METHOD__ . '(): form => ' . print_r( 'Empty', true ) ); // Email is required if we requested to send a email about user's account if ( ! empty( $send_notificaton ) && empty( $email ) ) { $validation_result['is_valid'] = false; //finding Field with ID and marking it as failed validation foreach( $form['fields'] as &$field ) { if ( $field->id == '5' ) { $field->failed_validation = true; $field->validation_message = 'Email is required since you requested to send an email.'; break; } } // foreach } //Assign modified $form object back to the validation result $validation_result['form'] = $form; return $validation_result; } /** * Role field */ add_action( 'init', 'clubnet_add_role_field' ); function clubnet_add_role_field( $form ) { global $wp_roles; global $clubnet_add_member_form_id; $all_roles = $wp_roles->roles; // $editable_roles = apply_filters('editable_roles', $all_roles); // $roles_to_skip = array( 'administrator' ); $editable_roles = $all_roles; $roles_to_display = array( 'mentor', 'member', 'youth_leader', 'alumni', 'staff' ); $choices = array(); foreach ( $editable_roles as $role => $role_data ) { if ( ! in_array( $role, $roles_to_display ) ) { continue; } $choice = array( 'text' => $role_data['name'], 'value' => $role ); array_push( $choices, $choice ); } // Reorder to make member role first usort( $choices, function( $choice ) { if ( $choice['text'] === 'Member' ) { return -1; } return 1; } ); $form = GFAPI::get_form( $clubnet_add_member_form_id ); if ( ! $form ) { return; } $label = 'User Role'; $field_idx = -1; $field_id = -1; foreach ($form['fields'] as $idx => $field) { if ( $field->label === $label ) { $field_idx = $idx; $field_id = $field->id; } } if ( $field_idx === -1 ) { $field_id = GFFormsModel::get_next_field_id( $form['fields'] ); } $props = array( 'id' => $field_id, 'label' => $label, 'type' => 'select', 'choices' => $choices, ); if ( $field_idx === -1 ) { $field = GF_Fields::create( $props ); $form['fields'][] = $field; GFAPI::update_form( $form ); } else if ( $form['fields'][$field_idx]->choices !== $choices ) { $field = GF_Fields::create( $props ); $form['fields'][$field_idx] = $field; GFAPI::update_form( $form ); } }Hi ,
Please help me with this, I am stuck here,
After the user enters details for registration and after clicking ” Create Account” button on registration form, a new window pops up saying ” Before you can login, you need to confirm your email address via the email we just sent to you”. Here the font colour is white with white background so not visible. I wish to change the font colour appearing in this popup window.
Plateform Buddyboss
Thank you
Hello,
I work on a Buddyboss setup. I created a profile subnav (like ‘edit profile’ and ‘change photo’).
The only thing is I don’t know which template to load in my last line of code for the content to look like a settings page.Here is my working code:
function buddyboss_custom_user_subtab() { // Avoid fatal errors when plugin is not available. if ( ! function_exists( 'bp_core_new_nav_item' ) || ! function_exists( 'bp_loggedin_user_domain' ) || empty( get_current_user_id() ) ) { return; } global $bp; $args = array(); // Tab 1 arg. $args[] = array( 'name' => esc_html__( 'Link Social Accounts', 'default' ), 'slug' => 'connect-socials', 'screen_function' => 'connect_socials', 'position' => 100, 'parent_url' => bp_loggedin_user_domain() . 'profile/', 'parent_slug' => $bp->profile->slug, ); foreach ( $args as $arg ) { bp_core_new_subnav_item( $arg ); } } add_action( 'bp_setup_nav', 'buddyboss_custom_user_subtab' ); /* Display content of custom tab. */ function connect_socials() { add_action( 'bp_template_title', 'connect_socials_title' ); add_action( 'bp_template_content', 'connect_socials_content' ); bp_core_load_template( apply_filters( ????????????? ) ); } /* Display content of custom tab. */ function connect_socials_title() { echo esc_html__( 'Custom Tab', 'default' ); }Here is the output: https://ibb.co/58Y2WDy on the tabs part, but when I select the tab ‘Link Social Account’, the tempate isn’t the right one no matter what I try.
Thank you for your help!
Hi,
I’m fairly new to WP and BP. I’m trying to help a non-profit with their WordPress site and the Registration page just spins. I’ve added define( ‘WP_DEBUG_LOG’, true ); to the wp-config.php file but I don’t get any errors logged….just the page spinning. I’ve pulled a copy to my LocalWP and disabled all plug-ins, etc but can’t find the issue. I would love any pointers or help!
Please be patient with me as my expertise is limited. I realize these are older plugins, etc. This was working and then stopped but not sure why. I will start slowing updating everything to get it current once I figure out how to get the site back functional.To get to the registration page go to: About – scroll down and select ‘Become a Member’ – ‘Create an Account’
BP Settings Options – Profile Syncing enabled
BP Pages – Register set to Register
website: https://fellowcoaches.com/
WP version: 5.6.7
BP version: 3.2.5
Theme: Twenty Twenty-One v1.3Topic: register just refreshes page
when filling out register form it just refreshes the page – seems to fail with no error message I can see.
How would I find out what is happening in the browser and on the server to debug?tried with turning off plugins and back to default theme,
also did the list of things to check from here:
(
– check the WordPress settings allows account to be created (Anyone can register checkbox needs to be active) See: wordpress.org/support/article/settings-general-screen/#membership
– check your permalink settings are using one of the pretty permalink options (not plain), see this documentation page wordpress.org/support/article/using-permalinks/#mod_rewrite-pretty-permalinks
– check the activate and register actions are associated with a public WordPress page. You can find some inputs about it from this documentation page : codex.buddypress.org/getting-started/configure-components/#settings-buddypress-pagesNB: the registration and activation pages are only displayed to users who are not logged in,
)site is https://www.chatyolo.com/register/ – it’s kind of NSFW
1. Which version of WordPress are you running?
5.8.3
2. Did you install WordPress as a directory or subdomain install?
main directory
6. Which version of BP are you running?
9.2
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
301 Redirects, All in One SEO, AdRotate, Error Log Monitor, Forminator Pro,
Slide Anything – Responsive Content / HTML Slider and Carousel, Wise Chat Pro, Wordfence Security,
WP Activity Log, Smush Pro, Query Monitor,
9. Are you using a standard WordPress theme or customized theme?
tried both -happens with 2021 theme, zakra, and astra13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
2.6.9 – it’s turned off through and still issue20. What BP Template Pack is activated in your installation? You will see that under Dashboard > Settings > BuddyPress – Options page.
was on legacy, switched to neavoxTried with firefox and chrome and different computers..
had a few other profile fields – then removed them from the base signup and it still fails –Help greatly appreciated
Hi all, I am using a paid theme called My Listing for my website https://puppydoggies.com.au/, I am thinking to try Buddy Press to allow my users to interact with each other. The My Listing theme already has the function that allows users to sign up and create an account, if I use Buddy Press would the users be able to use the same account they have already setup?
I want to create an option to add new user(register) from logged in admin account. I don’t want to use WordPress default registration page. How can I do that?
Topic: email problem
I cannot change the activation email for an account on my site. When I create an account, I receive the confirmation email but I would like to modify it or that it can be modified via another plugin. Is it possible ?
Topic: Site registration issue
Hello! I have users telling me when they try to register and create an account for my site, absolutely nothing happens. My helper used the debugger for the page and observed that the only traffic coming through are the WP heartbeats, no other activity at all. Is this is a known issue? If not, what recommendations are there to fix this issue?
Thanks!
I have a site that auto creates users at checkout through Woocommerce, and the only issue I’ve been having is with a europe.com domain email address. It keeps pulling up the error code “not enough data to create this user.” This happens when the person tries to register on the frontend (just on the registration page too) as well as when I try to create their account in the back end. After chatting multiple times with WordPress support, they believe that the Buddypress plugin is causing this issue.
I’ve tried rolling back to previous versions as well, but not luck. Any ideas?
WordPress version: 5.8.1
BuddyPress version: 9.1.1
link to your site: https://e-seeker.com/
Hi,
E-Seeker, allows users to register accounts and create their website, as part of a multisite environment.
The problem occurs after registration, where the user is added on the main site as well, as seen in the print screen:
https://prntscr.com/1s5dubhI also added this code to manage to prevent the user to have access to the main site:
https://prntscr.com/1s5anwdWhen I disable BuddyPress, and sign up a new user on https://e-seeker.com/wp-signup.php, I have a smooth registration, without the user added to my main site;
https://prntscr.com/1s5e8twI would appreciate any helpon this matter, so that a user could register an account or a website without be added and have access to my main site.
I am tried to remove/replace the gravatar text from bp-nouveau/buddypress/members/single/profile/change-avatar,
tried it by overriding file, first I created directory in my theme like this : themes=name/buddypress/members/single/profile/change-avatar.php then copying all theme and comment all gravatar function to test, but the final look my members/member-name/profile/change-avatar/ just empty and header broken,
then try to override the page with same code like original one but it still empty page.here what I need to replace or remove, that link of gravatar made it annoying to replace text via plugin
<?php /** * BuddyPress - Members Profile Change Avatar * * @since 3.0.0 * @version 3.2.0 */ ?> <?php bp_nouveau_member_hook( 'before', 'avatar_upload_content' ); ?> <?php if ( ! (int) bp_get_option( 'bp-disable-avatar-uploads' ) ) : ?> <p class="bp-feedback info"> <span class="bp-icon" aria-hidden="true"></span> <span class="bp-help-text"> <?php /* Translators: %s is used to output the link to the Gravatar site */ printf( esc_html__( 'Your profile photo will be used on your profile and throughout the site. If there is a %s associated with your account email we will use that, or you can upload an image from your computer.', 'buddypress' ), /* Translators: Url to the Gravatar site, you can use the one for your country eg: https://fr.gravatar.com for French translation */ '<a href="' . esc_url( __( 'https://gravatar.com', 'buddypress' ) ) . '">Gravatar</a>' ); ?> </span> </p>and
<p class="bp-help-text"> <?php /* Translators: %s is used to output the link to the Gravatar site */ printf( esc_html__( 'Your profile photo will be used on your profile and throughout the site. To change your profile photo, create an account with %s using the same email address as you used to register with this site.', 'buddypress' ), /* Translators: Url to the Gravatar site, you can use the one for your country eg: https://fr.gravatar.com for French translation */ '<a href="' . esc_url( __( 'https://gravatar.com', 'buddypress' ) ) . '">Gravatar</a>' ); ?> </p> <?php endif; ?> <?php bp_nouveau_member_hook( 'after', 'avatar_upload_content' );Wordpress version : 5.7.2
buddypress version : 8.0.0Good Day,
On the default WordPress Multisite environment, if the user signup through the Default WordPress form, the account is created on the Sub Site only.
But with activated BuddyPress and a user register via BuddyPress Registration form, the account will be created double. On the Main Site and the Sub Site. Is this normal behavior from BuddyPress or a bug?
Best Regards.
Wordpress version 5.8, Buddypress version 9.0. Theme is Sweetdate.
URL https://ecupid.com.au
I have an issue when a user signs up to create an account. When they select the dropdowns for the day, month and year of their birthday, the year options start from 2031 maximum and go to 1961 minimum. I have set the minimum age to join at 18 and I would like the maximum age to be 80 which is what I have set. I would have thought that the minimum date that could be entered via the dropdown would be the current year minus 18 to the maximum age of the current year minus 80. I can’t find anywhere I can adjust this apart from the minimum and maximum age setti8ngs which are not working. I would really appreciate it if you could point me in the right direction to resolve this.Topic: Emails not being sent
So I’m working on a little project, trying to grasp the workings of WordPress. I’ve created a website, currently still on localhost, and installed buddypress. My problem is that I can’t seem to send buddypress emails like the activation one, even though regular WordPress emails like the reset password email are sent correctly. I currently have WP Mail SMTP setup with a personal Gmail account of mine so I can easily see which emails are sent or not and even though WordPress says the activation emails are sent as the counter in the user tab displays, in my email no mails were ever sent. What can I do to troubleshoot the situation?
Edit: buddypress version is 9.0.0
I’ve been using WPLMS theme which includes Buddypress. Right after I install the theme, users won’t get the activation email when they create an account. Although in the user list page, the “email sent” field is “1”.
Then I install Buddypress on a plain 5.7.2 site with the 2021 theme. This time the users can get the activation email from wordpress@mysite.com(although it’s in the spam folder).
Now I go back to the previous site and deactivate all of the other plugins and change the theme to 2021, still, users won’t get the activation email. This kind of verifies what the WPLMS’s support says, this is probably not their problem.
Both sites are on the same Linode VPS server so they have the same host setting.
Now I am stuck here. Can you show me a way to debug this?
Topic: Extremely new user
I am an extremely new and adventurous user.
I was directed here from reddit.
My goal?
I am trying to create a business. It’s aim is to help people who want to learn and do but are stuck because no one ever taught them how to learn.And now. I’m willing to learn.
I want a subscription based model.
I have several user categories. To give some numbers:Basic user – 6 profiles
Group user – 30 profiles
Suite user- 200 profiles
Advanced user- 201+ profilesA user would log in and be able to add/delete a profile.
I want to give each profile a unique ID so that if someone who was under an advanced user wanted their own basic account I could migrate them over.
I would also like to have a Suite/Advanced user be in charge of an assigned Basic, group or Suite user.
I read what I could. Don’t know if this is possible.
I’ve created a function that sends a message to the current user after checking out with a woocommerce product. However, this only works if the user already has an account prior to checking out. Users of my website cannot create an account prior to checkout though, they must create their account at the checkout.
I’ve tried hooks such as:
user_register register_new_user woocommerce_order_status_completedBut none of them have worked for me 🙁
Here is my code if you have an alternative suggestion. Thanks!
function send_message_to_new_member( $user_id) { $current_user = get_current_user_id(); $current_user_name = wp_get_current_user(); $args = array( 'sender_id' => 1, 'thread_id' => false, 'recipients' => $current_user, 'subject' => 'Welcome!', 'content' => sprintf( __( 'Hey %1$s, here is my message' ), $current_user_name->user_firstname ), 'date_sent' => bp_core_current_time() ); $result = messages_new_message( $args ); } add_action( 'user_register', 'send_message_to_new_member' );