Search Results for 'activation email'
-
Search Results
-
As the title suggests, I have created a BP within the company’s intranet for corporate culture and employee communication. All tasks are completed within the intranet, and connections to the public network are prohibited due to the involvement of confidential data. But now, after creating an account in BP, it is necessary to verify the email address to activate it, which causes the server to be unable to connect to the public SMTP server using protocols such as SMTP, resulting in the account being unable to be activated.
I hope this issue can be resolved, thanks!
P.S. My native language is not English, the above content is from Google Translate. Please forgive any grammar errors.
Sincerely,
Cloud.I have been experimenting with Buddypress for several months, and during this time, Buddypress and WordPress has updated a few times, so I don’t know if this has to do with my issue, but: I use disposable email addresses like test@malinator.com to create dummy users to test Buddypress. It used to work fine, but today I discovered that even though I have an SMTP set up, Buddypress will not send registration activation emails to test users signed up with a disposable email address with this domain (mailinator.com). When I go to my dashboard and Users and resend the activation email, that also is not received.
As a test, I tried signing up with my personal, real email address, and that one received the activation email, which is why I believe Buddypress now does not send activation emails to disposable email addresses.
Can anyone confirm if this is true, and, how I can get them to send emails to disposable email addresses?
Currently using WordPress 6.7.1 and Buddypress 14.3.3.Thank you
I’m encountering an issue with BuddyPress default email notifications on my site. Only two types of emails are being triggered: private messages and friend requests. However, other default emails, such as group invitations and account activations, comments etc, are not being sent. Could you please assist in identifying the cause of this issue or guide me on troubleshooting steps?
Hello
I have wordpress 6.1.1 and buddypress 14.0.0.
Just got the news that people have been trying to jpin the website but they aren’t gettiong the buddypress activation emaiuls.
Please advise. Thank you.
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?
I have allowed registration via Buddypress on my site.
When a new user gets an account activation email after registering, the email uses the username in the “to” field like “To Username” but uses the first name in the email body like “Hello First Name”.
This inconsistency does not look good and I want the email to use the user’s first name in the “to” field so it is more personable. How can I make the activation email use the first name instead of the username in the “to” field?
Thank you.
Hello
I am using buddypress Version 12.5.0. I am not a developer but I know how to add code to the functions.php file or code snippets plugin and add CSS.
I have discovered that when a user registers for my site with the Buddypress registration form, the conformational email has the surname in the “to” field but the first name in the email body so it looks like this: https://ibb.co/pyPGFS5
I created a test user with the following names:
For the username, I called it “Username2”. For the first name, I called it Name2. For the surname, I called it “surname2”.In the screenshot I used Mailinator to test registrations and you can see that the name in the “to” field is the username and different to the name in the email body which is the first name.
I’d like to make the name in the “to” field also the first name so it is consistent with the email body. Ideally I would also like to be able to customise the email body.
Thank you to anyone who can help.
Topic: registration doesn’t work
https://www.nachbarschaftstreff-harburg.de/registrieren/
Hello
Do you have an explanation for why I receive the activation email when interested parties register?
And why when I view my profile I don’t get to my website but to the website of my websiteWP-Version
6.5.3
Buddypress Version Version 12.5.0
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’m looking to speed up a user’s recording speed.
I’d like the user to register faster by removing the account activation email.
Other methods exist to combat spam.Can you please tell me how?
Hello,
When a new user registers and comes to the page after the registration processbool(false) string(6) “j. F Y” NULL
Then the menu of the website is greatly enlarged in height and the message:
“Your user account has been successfully created! In order to fully use the functions of the members area, you must activate your account via the activation link in the email we are currently sending you.”
is constantly flickering on and off.
What could be the reason?Greetings
ReinerHello Everyone.
For the past week, I’ve been working on my website. The problem is that Buddypress doesn’t send activation mail but when I trigger forgot password email for the same account it sends it. And no one can’t activate their account.The default WordPress register page is able to send activation mail but when I activate BuddyPress it doesn’t work. I have tried all the plugins and have been going through all these forums for the last two days but all in vain.
I have reinstalled it thrice and now as stated in the requirements I have done a manual WordPress install. I am on shared hosting and using my website mail server to send emails.
My site: techcaro
WordPress Version: 6.3
Buddypress version: 11.3.2Please help me solve this issue.
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 helpTopic: Modify Activation URL
Hello,
Post signup activation email sends Activate.Url as https://mydomain.com/activate/$activation_key/
How do I modify it to https://mydomain.com/activate/$activation_key/?key=$my_key
I’ve tried many ways but failed, please help. Thanks in advance.
Hello,
Setup:
WP version 6.2,
BP version 11.1.0,
PHP version 7.4I want an activation mail setup during the registration process, as the site needs a double-opt-in for the registration of new users.
the problem is as follows:
- A user registers
- An email is sent to the admin, that a user registered
- BUT the promised activation email to the user does not get sent.
as I thought this might be a common problem, of course I have done some research and found no fitting solution, as the mails in general do work, what the solutions claim to fix.
I have also done excessive testing.
I found no cause/solution and so I supect a BP/WP bug or misconfiguration I did not find.
I confirmed via MailHog and the “Post SMTP” plugin that the mail does not get sent at all, but other mails get sent. So from my point of view there is NO Problem with SMTP or mail sending in general.
When I reject the user in the confirmation process, then a mail gets sent to the user.
I have checked the Mail-Templates of BP, repaired them twice and checked for the trigger “Der Empfänger hat sich registriert”, in english: The recipient has registered”.
All this happens on the local and the production server.I deactivated as much other plugins as possible to exclude them as source of the error.
Everything seems to be fine. But the Email does not get sent. I am totally stuck.
Can someone help?
E.g. confirm the activation mail gets sent/not sent?Hi Have set up an extra user role for members. So when someone registers they are automatically added with the user role type Subscriber. Once we verify their payment we change the user role to member. What I need help with is sending an HTML email to the person on their role change to member to inform them of the role change. Normal Buddy press emails including activation emails work great. Using the code snippet below when I change a user from Subscriber to Member the email does not trigger. Any ideas? Is there a way to set up an email on role change using the Buddy press emails rather than adding code to functions.php?
//NOTIFY USER when their Role has Been Changed to Member
// (A) HEADER – HTML MAIL
$mailHead = implode(” “, [
“MIME-Version: 1.0”,
“Content-type: text/html; charset=utf-8”
]);
// (B) FUNCTION
function user_role_update( $user_id, $new_role ) {
if ($new_role == ‘Member’) {
$site_url = get_bloginfo(‘wpurl’);
$user_info = get_userdata( $user_id );// (C) MAIL SETTINGS
$to = $user_info->user_email;
$setFrom(‘members@offroadcamping.co.za’) ;// (D) SET IMAGE
$img = “https://beta.offroadcamping.co.za/wp-content/uploads/2023/02/Logo-72-1.webp”;// (E) SET SUBJECT LINE
$subject = “Role changed: “.$site_url.””;// (F) MAIL MESSAGE
$message = “Welcome ” . $user_info->display_name. ” you have been added as a “. $new_role.” on offroadcamping.co.za. Congratulations you can now access the members area, make posts, and make online camp bookings on the Camp Page. You can access the site here: “.$site_url.””;
“<br>”;$message = “$AddEmbeddedImage(‘$img’)”;
“<br>”;
//$message .= “Can’t see the image? Click Here.“;
// (G) SEND
wp_mail($to, $subject, $message, $mailHead);
}
}
add_action( ‘set_user_role’, ‘user_role_update’, 10, 2);Topic: Custom Registration
Hi All,
I have been really struggling on finding a way to customize a nice looking registration form. As our users can add birthday and gender for each of their kids, and they may have any number of them. I wanted a form that asks for how many kids, and then dynamically polls the two fields for each.
I ended up doing up to 4 kids hardcoded and then a field “have more than 4”.
Also, I want to convert Newsletter signups in this form as well.Anyway, to make this registration page nice and usable, I was looking for a solution for days.
Furthest I have gotten so far is Ninjaforms with uncanny automator. The user gets created and all fields work as intended (getting the Ninja forms date foprmat to agree with a buddypress date field was a painfull path!!)PROBLEM IS: I need the activation email for double opt in here in Germany. This Method however skips this and immediately registers the user.
How can I call user_status 2 and activation email before creating the final user?