@soccercoach12345 WP/BP versions? Where are you hosted? Have you checked if activation emails are sent and received if you deactivated BuddyPress?
Hi All,
I am hoping someone is able to help me out. I searched the support tickets and found a lot of people with the problem. Thankfully some have been able to solve the problem, but with the pointers given I have not been able to solve the problem.
When people register on my website they are not getting the activation email. I tried the SMTP plugin, but that didn’t solve it. I don’t have a bp-custom.php in the files. When I create one the text in this file is in the header of my website.
The website is: http://www.soccerhomeworkacademy.com/site
Any help is really appreciated!
wordpress version = 3.7.1
buddypress version = 1.5
Theme = Encounters Lite Version 1.6.3
http://getslimwithmary.com
When I go to register, it completes and says to go to my email to activate, I get the email, click on the link and it takes me back to the registration page to register. How can this be fixed? Thanks in advance for all the help.
Hi,
I’ve noticed an issue where whitespace in a username is replaced by a hyphen during the registration process. If I register on a none BP site with ‘Paul Bursnall’ that will be my registered username. If I try the same on a BP site, my username will be changed to ‘Paul-Bursnall’.
Problem is that change in not relayed to the user so they would never know. No username is sent on the activation email (as it is with normal WP registration), and there is no notice on the registration page that there can be no spaces in a username.
Seems like something of a flaw to me? Or we all edit our registration pages?
Thanks,
Paul.
Hi,
I’m using wpmu version 3.5.4 with buddypress 1.8, bbpress 2.3.2.
When the site admin adds a new user (via users/add new) the user is sent an activation email.
When the user activates the email via the activation link they are then sent a welcome email with the registered user name and password.
The problem is the filtered password is sent which I think should not be filtered in bp-core-filters.php because admin is adding the user (the comment reads: This will not filter when the site admin registers a user.).
[User Set] is sent instead of the actual password and the result is the user must click forgot password to get log in details.
Could anyone help me with this as I’ve been on this for some time now.
Also on another topic I would like the site admin to use the registration page to add new users but if the site admin is logged on then they cannot view the page because of redirects, is there a way to turn this off some how?
Thanks in advance
Write a filter.
buddypress\bp-members\bp-members-functions.php Line 1396
$message = apply_filters( ‘bp_core_signup_send_validation_email_message’, $message, $user_id, $activate_url );
PS: I’ve tried Welcome Pack but that didn’t work. (WP 3.6, BP 1.8.1)
Hello. I would like to edit the email that is being sent by Buddypress after registering (the one containing the activation link). How do I do this? Also, the sender’s address is, for some reason, wordpress@mydomain.com, even though I’ve set my admin email to contact@mydomain.com.
Thank in advance!
Thank you for the prompt response. In my haste, I ended up using this plugin: ( http://www.timersys.com/plugins-wordpress/bp-disable-activation-reloaded ) although it wasn’t the ideal choice since I’m already using a lot of plugins.
I will definitely try this code out although the “Check Your Email to Activate Your Account” notification could still pose a problem. It just sounds like the kind of thing that wouldn’t bother me at first but then I would quickly become nitpicky about. Either way, I’m happy to just have a nice, easy way to override the activation email without the use of a plugin.
I do wonder if the users that had already registered prior to me using this override will be able to now log in just fine without still needing the activation email. I did a few test runs using the plugin I mentioned above and found that users who registered prior still needed the activation code to log in.
Finally, the help tour is a custom plugin built on top of twitter’s bootstrap 3 framework. I found the code for it here: http://bootstraptour.com/
It was very easy to install and only worked because the theme I’m currently using is built on the bootstrap framework.
You can avoid the need for activation email by using this code in bp-custom.php
function bp_disable_validation( $user_id ) {
global $wpdb;
$wpdb->query( $wpdb->prepare( "UPDATE $wpdb->users SET user_status = 0 WHERE ID = %d", $user_id ) );
}
add_action( 'bp_core_signup_user', 'disable_validation' );
add_filter( 'bp_registration_needs_activation', '__return_false', 100 );
But the next screen will still inject this $title:
“Check Your Email To Activate Your Account!”
Even with a template over-ride!
I think it’s reasonable that if this filter is applied:
add_filter( ‘bp_registration_needs_activation’, ‘__return_false’ );
That you shouldn’t need a database operation.
And the $title should not be injected.
Currently, the only way I see to change that $title is to hack a core file.
Hacking core files is NOT recommended.
That said, see:
plugins\buddypress\bp-members\bp-members-screens.php and find Line 515.
[ I’d love to be wrong about all this and hope somebody has an easier approach. ]
If you’d like to help BP and anyone else trying to solve this problem,
please submit an enhancement ticket at https://buddypress.trac.wordpress.org/
Use the same user / pw you use here.
Now… a question for you… On your site http://causeanddesign.com you have a very nice help tour using overlay boxes. The first box says: “Welcome. Every nonprofit deserves good design and good technology.”
Did you write a custom script / plugin for this?
Or find an existing plugin?
Hey @mercime
The answer on Stack Overflow changes the subject line and body text of the activation email. The text @derock299 would like to change is displayed on the registration page (registration.php template). Probably worth changing both though, for a complete custom look and feel 🙂
Hey everyone,
I need help overriding the user-activation process on my buddypress website. The problem is that it doesn’t seem very consistent in sending out those user activation emails and since time is of the essence for me right now, I would like to just override that step entirely. I have a few users already who have been waiting on the activation email.
I found this already resolved topic: ( http://buddypress.org/support/topic/resolved-disable-users-activation-email/ ) that I thought would be of help but it seems that after inserting the suggested code (both in a bp-custom.php file and then in my theme’s functions.php file when that didn’t work) all buddypress does is skip over the part where you get a message to check your email for the activation code and prompts the user to log in.
Once the user tries to login, they are once again prompted to check their email for the activation code. This is very misleading and somehow an even worse user experience that when I didn’t have activations turned off.
Does some know how to help me truly turn off activations, please?
Thank you.
I’m using both the latest WP and BP releases. This is the website in question: http://causeanddesign.com
Is there a way to disable email activation? So that when people register, they can immediately log in?
Welcome pack by Paul Gibbs will allow you to customise the text in all emails that get sent out via BuddyPress
https://wordpress.org/plugins/welcome-pack/
With reference to the emails not getting through to users, perhaps try reverting to the default theme, deactivate all plugins (aside from BP) and see if the problem is still happening.
Hiya,
Apparently a number of people have signed up to be members on our network but never received their activation email. It is not ending up in the spambox and as far as I can tell it simply never goes out/they never receive it.
I’m not a computer person and navigating these forums is a bit daunting, so apologies if I am reiterating existing/resolved topics. From what I understand however, this activation issue is a common problem that lives somewhere in the wp code and has to do with the email server. Is the only way to fix it to use a plugin? If so, any suggestions on that front? And what is the best way to deal with existing members who are inactive? Our “Unconfirmed” user list shows 8 users, whereas our active members list is at 69 versus 125 total users. What is going on?
Also, while we’re at it, I’d love to be able to change the message that members get in the activation email. In particular, I feel it should include their login details. How do I do this?
Many thanks!
Still waiting for confirmation if this is a known bug? I really don’t think users that have not activated their account with the activation email should be showing up in the members directory when sorting the members alphabetically because logically they should not be considered members until they have completed the registration and activation process. Any thoughts?
@ubernaut
No it is not supposed to happen but unfortunately it does. I believe it is more of a servers time handling of the activation email that causes this issue. I have seen this happen before and if the user just ignores the enter activation key and just logs in then they are successful.
@bphelp I haven’t been able to test this for you yet but I did notice yesterday that non-activated users get given a URL which is visible to anyone. For example, if you completed the registration form on my site and chose username ‘bphelp’ – even before you click on the link in the activation email you will be able to go to
mysite.com/members/bphelp
Here you’d see: Your name, the mystery man avatar etc.
Imagine a site that has lots of spam signups. They’d have hundreds if not thousands on unused URLs.
How is this currently handled by BP?
@garima-nag
Worked fine for me! After the user clicks the activation email link test it and see if they can just login even though it asks for an activation key. In other words just ignor that activation key page and login in using the credentials they signed up with. Let us know if they are able to login.
@nodeadbunnies
1.) You do realize BP is a WP plugin right? It is not its own entity therefor if the user registers with BP activated, they are also registering with WP.
2.) By default if a user enters a wrong password they are then redirected to wp-login.php if you want to include the lost password link there may be some login widget plugins that includes that link, other wise you could get that link from wp-login.php and hard code it into your child themes sidebar.php which may not be a good idea until you get a little more experience. Try searching for plugins that will accomplish this before going that route.
3.) You may want to check the spam folder to see if the activation email went there. If not then check your servers error logs and report back.
Hi,
I’ve just installed WP and BP (it was a couple of days ago so I believe I have the latest version of both.
I have a couple of newbie questions, which I can’t seem to find answers to anywhere. I’d appreciate any help you can give me.
1. I managed to create a registration page, by following instructions i found on the internet. I set my WP settings to allow anyone to register. While this did what I wanted, which is to allow anyone to register through my custom page, it also now allows users to create a WP account, which was NOT what i wanted to do. So, my first question is, how do I keep the BP registration page open, and hide access to register for a WP account on my site at the same time? It seems I need to enable “allow anyone to register” in WP to let users subscribe to BP, but I only want them to sign up through BP, not WP, and can’t figure out how to turn the WP registration off, or hide it.
2. I also installed BBPress, and i have a login widget I’ve added to my sidebar. I’ve managed to figure out the registration URL, but can’t find the password reset URL. Is this something which is enabled by default with BP, or do I need to do something to create a lost password page?
3. While I’m at it, I ran across another problem. I tried registering as a BP user, and never received an activation email. Is there a way I can create a link to allow a user to re-request this?
Thanks in advance for your help. Sorry if these are dumb questions. I’m loving BP so far, but I’m a little out of my comfort zone with it.
Hi,
I’m trying to edit the message body and I’ve managed using your code @henrywright-1 but in the process I have lost the link that they need to click on. I’m obviously missing a variable, can you help me identify what it is?
This is the code I have:
#-------------------------
# Edit activation email
#----------------------------
function activation_email_message_filter( $message, $user_id ) {
$message = 'Thanks for registering! To complete the activation of your account please click the following link or copy and paste it into your browser\'s address bar:';
return $message;
}
add_filter('bp_core_signup_send_validation_email_message', 'activation_email_message_filter', 10, 2 );
The email comes through with the edited message text, but the activation ink itself is missing.
Hi fellows,
@mercime: I deactivated BP and its Plugin and i registered a new user as subscriber but the new user did not get the activation mail too(meanwhile, i tick the box that allows new users to get the credentials), but i (as the administrator) got an email about the newly registered user.
So, the problem here is not with BP, its has to do with WP itself. Any suggestion or way out in solving this issues?
I’ll expect your response.
Regards
– Samuel
@asieger as hnla mentioned above, deactivate BuddyPress and BP plugins. Can you register/activate an account with BP deactivated?
Good shout, thanks @henrywright-1