I created a test user account on my site,
If I go to Users > manage signups, I see the new user account,
So I click the email link to resend the activation email,
It sends the new account activation email
Why doesn’t it send it when the user created the account?
And I need to know is Buddypress forcing new members into that pending list?
Meaning it’s not automatically registering new accounts or sending them their activation email when they sign up.
I’m confused.
Cause was found. Issue resolved. One extended profile field (required) has not been loaded to the registration page. Therefore email is not sent. Once the field was deleted, activation mails are sent.
Update: nvm it only worked flawlessly when I had it all to the default wp-login.php.
When someone registers to my site they are redirected to my buddypress register.php and within that page is would say thank you for registering please check your email for activation link.
I wanted to place a resend activation email on the same page so I placed this code in that register.php file
$resend_url=( ‘If you have not received an email yet, click here to resend it.’, ‘buddypress’ ), esc_url( $resend_url ) );
The problem is ran into is the plugin wp security I use has an option to change the wp-login.php to whatever I want so I just renamed it to /login.
I then changed the wp-login.php in the code to login?action and the linked redirected to the correct wp-login now the /login page but never sent the resent activation email.
I also have it when a user trys to login without activating first it would post an error on the login popup with the resend activation email, if I keep wp-login.php it works but if I change the wp-login.php to just /login it won’t work.
Those two issues have me confused. I’m totally new to php and recently been studying as much as I can but all the documentation out there had me struggling to Figuer this out.
Does anyone by chance have any insight on this?
Tyvm for the reply.
It seems I get redirected to a 404 page when the resend activation email link is clicked.
Here’s the path that leads to it.
/wp-login.php?action=bp-resend-activation&id=3586&_wpnonce=1fc8482a5b
Most likely a plugin conflict since I hide wp pages from the public.
I’m trying to do something similar like the code below.
class=”bp_registration_needs_activation”>Resend Activation Email
You can trigger an activation email manually:
bp_core_signup_send_validation_email( $user_id, $user_email, $activation_key );
You will need to get $user_id, $user_email and $activation_key before hand.
Hi @arbolife any chance you even vaguely remember what you did to get new user activation email being sent out when using WPML + BuddyPress? Like you, everything works 100% correctly on the ‘English’ side when new users register, requests membership for a private BP group, logs-in, etc – BUT if a user registers on the french registration page (fr/register/) they never get any emails (I they are foever listed as “pending” in the user area). I’ve also noticed that no emails (outgoing) get triggered if an existing user switches to the /fr/ side & tries to join a private BuddyPress group. Trying to access the /fr/wp-login.php page (or the password reset) from the /fr/ side will also trigger a 404 page. So, like you mentioned, it’s a setting “somewhere” in WPML to resolve these (many) anomalies, but for whatever reason, I can’t see to find the resolution!
My test setup:
WP: 3.7.4
BP: 2.8.2
WPML: 3.7.0
BuddyPress WPML Plugin: 1.5.5.1
-Jeff
You should use HTTPS throughout your site if you want to force the email to use SSL links.
Or force HTTPS on individual pages like the registration page so activation email links will use SSL.
The other alternative is filtering the email tokens to use HTTPS:
https://buddypress.trac.wordpress.org/browser/tags/2.8.2/src/bp-core/bp-core-functions.php#L3120
If you’re a WordPress developer, hook on to the 'bp_after_send_email_parse_args' filter and do checks against the 'tokens' array key.
For more info on the 'bp_after_X_parse_args' filter, see:
https://codex.buddypress.org/developer/using-bp_parse_args-to-filter-buddypress-template-loops/
For unknown reason I suddenly started getting a page asking me for activation key every time after I register myself as a pretend new user and after clicking on the activation link in the email.
I read a post https://buddypress.org/support/topic/activation-code-after-new-member-registration/ with the same problem saying the activation key is in the email. I tried that so this is an example of the link,
http://localhost/wordpress/activate-3/zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh/
I tried zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh
activate-3/zhG7gX5p4mtAnSv91K1ePhgBO3V3laWh
and the entire url,
but none of them work.
In fact, the new user was never created because I checked the Users at admin backend, the new user was never there.
A participant in the post said BP Autologin on Activation plugin solved her this problem but I tried it and it did not work. I think my situation is different from other members in that post because their newly registered members was actually created but mine wasn’t.
I don’t know why this would happen because it never had this problem before.
My site is still localhosted, if that matters.
WP 4.7.3
BP 2.8.2
Please help.
Thank you.
Did you tested without any additionnal mail plugin ?
Have you found this topic ?
Hi, I’m having the activation email issue as well. I’m running exactly the same install as I was on a another site 2 weeks ago (before upgrading to WP 4.72) that worked fine. This one I can’t even send messages manually. I’m a plug and play person; no coding skills. If these things don’t work, I don’t know where to begin. Guidance is appreciated.
WP 4.72
WP default 2017 theme
all plugins disabled except BP
Thanks for the response, djsteveb.
Every thing is using my own dedicated server. Therefore, I have access to all functions.
With buddypress deactivated all works and its the same theme that is working on the old site. Also, I do not think it could be a theme issue since that I can resend the activation email from the backend but it is still not coming. Also, I see not error message in my log unless that I am missing the message, which I am going back to test again.
I suggestion that I have in mind could be a compatible issue between Buddypress 2.7.4
and WordPress 4.7.2 but since buddypress was set-up on the old site when wordpress was version 3 and when through the many upgrades it still works on that old site.
I am just having thoughts since I cannot see the issue and from the searches this issue goes back a long time and there seems to be no one fix.
I have tried with and without Easy WP SMTP.
Thanks
Fred
There are some plugins, do a google search.
you can also use this code but you will get spam if they can get in without email conformation.
add_filter( 'bp_registration_needs_activation', '__return_false' );
When someone registers it is no longer sending activation emails. is there a place to check why?
Have you tried asking on the WordPress forums? the activation email is a feature inherited from their so they might have an idea
Any idea if there is a way to confirm activation to the user’s email after they have been manually approved rather than automatically letting them get approved. I can’t seem to see a code to use to implement an email to go to the user after sign up when they’ve been manually approved from the backend.
I think one of your plugins must be stopping the activation emails from going out. I’d deactivate them until the one that is blocking them is found.
If they are known to you then you can set them up in the way that you suggested, if you choose not to send them and email, that will prevent the activation mail going out and they will be free to login, you will have to tell them their password though.
To those that have not activated their accounts you can view them in the Dashboard>>Users>>All Users views, their one view called Pending, it’s in here you will find unactivated users.
You could always turn registration on, for them, let them see a new users view of getting set up on the site.
I’m trying to put together a guide to setting up social networks with BuddyPress, you might like to give it a look, it’s here: It’s spread over multiple chapters that you can access via the “Installing BuddyPress” menu.
It’s nothing official, just information on what I’ve discovered over the past couple of years so it’s pretty current.
There are a few ways to do this, and it depends a bit on why you want to do it. If you are in development, and just want to ensure that no users get emails while you’re working on stuff, I highly recommend Postman SMTP. You can configure it so that all emails get logged, but not actually sent. It’s very useful for troubleshooting and for protecting your users from accidental mail. But with the ability to still see what “would be” sent, if you were live.
If you have a different goal — like just eliminating the sign up or activation emails, that’s a different thing. If you post up a bit more detail, I’m sure you’ll get the info you need. 🙂
After a new user register, they are sent an activation email, they can click on this or copy the key and paste it into the activation page
My install has stopped sending any emails out for new user activation.
I can receive emails sent by WordPress after a user is manually activated, and can receive any email from Postman SMTP, as these test emails work.
I don’t use any other activity markers, but emails were not received when messages were sent either.
I have tried all of the listed troubleshooting steps that others have gone through before.
I have a custom function that creates a post for the user during the registration process. I have removed all custom functions and tried registering a user, and it still will not send any emails.
As BuddyPress uses it’s own PHP Mailer, I am not able to log them via any WP Mail logging tools, and want to see what might be going on here.
The problem reared its head around the time I upgraded to 2.6 (although the custom function during registration was also added at this time) as well
I have reset the emails multiple times, and I have not made any changes to them.
Could someone please provide assistance, or given me a suggestion on how to run the BP Email Debug code to get an email of any issues
Host is Bluehost
Here is my install, and plugin list
WordPress 4.5.4
BuddyPress 2.6.2
Advanced Custom Fields 4.4.10
Akismet 3.1.11 (inactive)
BackWPuP 3.3.4
BP Force Profile Photo 1.0.5
BP Member Type Manager 1.0.1 (inactive)
BP xProfile Location 1.2
BP XProfile WordPress User Sync 0.6.4
Broken Link Checker 1.11.2
Buddy Progress Bar 1.0.2
BuddyPress Conditional Field Groups 0.1.0
Buddypress Conditional Profile Field 2.0
Buddypress Geodirectory Integration 1.0.0 (inactive)
BuddyPress Member Type Generator 1.0.2
BuddyPress Profile Tabs 1.6.1
BuddyPress Security Check 2.1.2
BuddyPress Simple Terms And Conditions 1.3
BuddyPress Xprofile Custom Fields Type 2.5
BuddyPress Xprofile Member Type Field 1.0.4
Cherry Parallax Plugin 1.0.0 (for my theme)
Cherry Plugin 1.2.8.1 (for my theme)
Conditional Profile Fields for BuddyPress 1.1.9
Contact Form 7 4.5
Contact Form 7 – Dynamic Text Extension 2.0.1
Custom Hooks 1.0 (All my custom functions are in this plugin)
Custom Login 3.2.5
Custom Post Template By Templatic 1.0
Custom Post Type UI 1.4.1
Disable Comments 1.5.2
Display Posts Shortcode 2.7.0
Easy Parallax Slider 2.1.1
FacetWP 2.6.4
GEO my WP 2.6.6.1
GeoDirectory 1.6.5 (inactive)
Hello Dolly .1.6 (inactive)
MOJO Marketplace 1.0.1 (inactive)
MotoPress Content Editor Lite 1.6.5 (inactive)
Quick and Easy FAQs 1.0.3
SuitePlugins – Advanced XProfile Fields for BuddyPress 1.0.3
Super Socializer 7.8.1
WP Private Content Plus 1.11
WPFront User Role Editor 2.12.4
Yoast SEO 3.5
Can BuddyPress send all other emails? Like new message, groups changes etc?
So, is the email with activation link the only email, that is not sent by BuddyPress?
Hi,
can be done from within the language file, if you want the message to be full part of the success message.
The original string is here: bp-templates/bp-legacy/buddypress/members/activate.php:43
Your account was activated successfully! Your account details have been sent to you in a separate email.
or if you want to show persistent instructions, you can use one of the hooks available on the activation page: bp-templates/bp-legacy/buddypress/members/activate.php
This will need a function like these:
function my_registration_message() {
echo 'My message text';
}
add_action( 'bp_before_activate_content', 'my_registration_message' );
You can use same function to show a custom message on the register page, in wich case you use one of the existing hook in bp-templates/bp-legacy/buddypress/members/register.php
For ex.
add_action( 'bp_before_register_page', 'function_name' );
Customizing Labels, Messages, and URLs
Hi,
For some reason all the above methods don’t work for me. I even tried uninstalling and re-installing PoEdit but no joy. Below is the .mo file that was automatically created using the above method. Note the translations are there but it all looks a bit messed up with nonsense at the start. Is this what an .mo file should look like?
Þ• L|¨x©’”qµŒ’h´Ÿw½þ5þ4‚3‚¶Registering for this site is easy. Just fill in the fields below, and we’ll get a new account set up for you in no time.Thanks for registering!
To complete the activation of your account, go to the following link: {{{activate.url}}}Thanks for registering!
To complete the activation of your account, go to the following link: {{{activate.url}}}Your account was activated successfully! You can now log in with the username and password you provided when you signed up.Your account was activated successfully! Your account details have been sent to you in a separate email.Project-Id-Version: BuddyPress 2.6.2
Report-Msgid-Bugs-To: https://buddypress.trac.wordpress.org
POT-Creation-Date: 2016-09-26 13:45-0700
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
PO-Revision-Date: 2016-09-26 13:49-0700
Language-Team: ENGLISH <jjj@buddypress.org>
X-Generator: Poedit 1.8.9
Last-Translator:
Plural-Forms: nplurals=2; plural=(n != 1);
Language: en_GB
Registering for this site is easy! Just fill in the fields below and we’ll get a new account set up for you in no time!Thank you for registering with Skewen Angling Club!
To continue, please verify your email address via the email we have just ”
“sent to you.</br></br></br></br></br></br></br></br></br></br></br></br></”
“br></br></br></br></br></br></br></br></br></br>Thank you for registering with Skewen Angling Club!
To continue, please verify your email address via the email we have just ”
“sent to you.</br></br></br></br></br></br></br></br></br></br></br></br></”
“br></br></br></br></br></br></br></br></br></br>Thanks for verifying your email address! Once your account has been approved we will notify you via email with your login details.Thanks for verifying your email address! Once your account has been approved we will notify you via email with your login details.
Thanks,
Simon
HI –
Yes, my test email gets the activation email. no issues there.
When I click on the link it takes me back to the paige, but I get a “Page not found” error. I have not created an activation page and not sure how do do that..
Thanks for your help..!
What is the error you are getting?
The user should get an email with and activation link
By the way, this activation email sometimes ends up in the Spam bin on the users email, one fix to this is to set the outgoing email address used for this email using a plugin such as https://wordpress.org/plugins/cb-change-mail-sender/