Search Results for 'activation email'
-
AuthorSearch Results
-
October 8, 2016 at 12:17 pm #259613
In reply to: Email registration doesn’t work
Slava Abakumov
ModeratorCan 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?October 7, 2016 at 12:04 pm #259577In reply to: Text or redirecting custom message past registration
danbp
ParticipantHi,
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.phpThis 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.phpFor ex.
add_action( 'bp_before_register_page', 'function_name' );September 26, 2016 at 1:00 pm #259117simon1970
ParticipantHi,
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
September 16, 2016 at 7:30 pm #258825In reply to: Activate Page
findlay70
ParticipantHI –
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..!September 16, 2016 at 5:16 pm #258817In reply to: Activate Page
Venutius
ModeratorWhat 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/
September 6, 2016 at 10:34 pm #258472In reply to: Confirmation Email
roller24
ParticipantDavid Im trying to alleviate the activation process, I tried your snippet in /wp-content/plugins/bp-custom.php
I added a closing php tag because I didn’t see one, but something didn’t happen correctly.
the registration page returns to registration page and no user is activated.Are we missing something? Do I need to put the code elsewhere?
I also noticed in one file, I think it was signup that at the end of the file after submitting registration there was an if statement that asks if user activation required… send activation email..
else
echo your good go ahead and login..I was searching for the setting which makes activation required, but could not find it.
There is a strange row in the bp data tables called “registration” with only a 0 as the data.
Could this be changed to 1, I didn’t test it, but if you know.September 5, 2016 at 4:46 pm #258410In reply to: How to Change the From Email for Activation
steigw
ParticipantIt’s a staging site that doesn’t have public access, but I can put the code and info in here. Here is the complete code of the functions.php in the child theme. maybe I just put it all together wrong.
<?php function nisarg_enqueue_styles() { $parent_style = 'nisarg-style'; wp_enqueue_style( 'bootstrap', get_template_directory_uri().'/css/bootstrap.css' ); wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/font-awesome/css/font-awesome.min.css' ); wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' ); wp_enqueue_style( 'nisarg-child-style', get_stylesheet_directory_uri() . '/style.css', array( $parent_style ) ); } add_action( 'wp_enqueue_scripts', 'nisarg_enqueue_styles' ); ?> <?php function custom_wp_mail_from( $email ) { $handle = ‘accounts’; $find = 'http://'; $replace = ''; $link = get_bloginfo( 'url' ); $domain = str_replace( $find, $replace, $link ); return $handle . '@' . $domain ; } add_filter( 'wp_mail_from', 'custom_wp_mail_from' ); ?>The email link is:http://mydomain.com/activate/JA0BvkK1Q0DND10SYegdOtkTMemhGUF0/
When I click on it immediately, I get all this:
Fatal error: Uncaught exception ‘phpmailerException’ with message ‘Invalid address: ‘accounts’@mydomain.com’ in /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/class-phpmailer.php:946 Stack trace: #0 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/pluggable.php(352): PHPMailer->setFrom(‘\xE2\x80\x98accounts\xE2\x80\x99@…’, ‘WordPress’) #1 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/pluggable.php(1726): wp_mail(‘webmaster@arlin…’, ‘[My Dev Sit…’, ‘New user regist…’) #2 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-content/plugins/buddypress/bp-members/bp-members-functions.php(2031): wp_new_user_notification(18) #3 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-content/plugins/buddypress/bp-members/bp-members-screens.php(364): bp_core_activate_signup(‘JA0BvkK1Q0DND10…’) #4 [internal function]: bp_core_screen_activation(”) #5 /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/plugin.php(524): cal in /homepages/25/d283441938/htdocs/clickandbuilds/staging/wp-includes/class-phpmailer.php on line 946
If I wait a while, then I get the normal webpage and it says “invalid activation key”. I don’t understand the significance of an immediate click on the link in the email vs. waiting a few more seconds, but it definitely matters.
August 16, 2016 at 9:45 am #257672In reply to: Redirect does not work
Paul Wong-Gibbs
Keymaster@fail2reap So… after the user sends the registration form, rather than go to the page that says something like “check your email for an activation link”, you want to redirect them somewhere else?
July 23, 2016 at 6:30 am #256963In reply to: Error after update to 2.6.1.1
itnetworkexpert
ParticipantHello @danbp
I have installed wp-email-smtp plugin and configured it successfully with no errors and was able to send test messages, but activation emails still would not send.Has this issue actually been resolved?
Buddy press Version 2.6.1.1
Regards,
Fayaz
July 22, 2016 at 6:43 pm #256945In reply to: Buddypress not sending activation emails
itnetworkexpert
Participantsame problem with the plugin wp mai smtp Buddypress not sending activation emails
July 7, 2016 at 9:23 pm #256071In reply to: Buddypress not sending activation emails
danbp
ParticipantWhat is your BP version ? Have you tried to use the email repair tool ?
July 7, 2016 at 9:45 am #256057In reply to: Approve users by custom email
pulidomate
ParticipantFinally i have done this:
function send_mail_to_teacher($user_id, $user_login, $user_password, $user_email, $usermeta){ $key = get_user_meta( $user_id, 'activation_key', TRUE ); $first_name = bp_get_profile_field_data('field=Name&user_id='.$user_id); $surname = bp_get_profile_field_data('field=Surname&user_id='.$user_id); $args = array( 'tokens' => array( 'key' => $key, 'user.email' => $user_email, 'user.id' => $user_id, 'first_name' => $first_name, 'surname' => $surname, ), ); $teacher_email = bp_get_profile_field_data('field=Teacher&user_id='.$user_id); bp_send_email( 'sendtoteacher', $teacher_email, $args ); } add_action('bp_core_signup_user', 'send_mail_to_teacher', 10, 5);July 5, 2016 at 3:42 pm #255978In reply to: Approve users by custom email
pulidomate
ParticipantYes, but this code doesn’t work
function activation_email( $user_id, $user_email, $key, $user_login = '' ) { $args = array( 'tokens' => array( 'key' => $key, 'user.email' => $user_email, 'user.id' => $user_id, ), ); if ( $user_id ) { $to = $user_id; } else { $to = array( array( $user_email => $user_login ) ); } $teacher = bp_get_profile_field_data('field=Teacher&user_id='.$user_id); bp_send_email( 'core-user-registration', $teacher , $args ); } add_action('bp_core_signup_send_validation_email','activation_email',99,4);July 4, 2016 at 4:09 pm #255817In reply to: Approve users by custom email
pulidomate
ParticipantFinally i have done this:
function activation_email( $subject, $message, $user_id, $user_email, $key ) { $teacher = bp_get_profile_field_data('field=Teacher&user_id='.$user_id); $activate_url = esc_url( $activate_url ); $message = sprintf( __( "Thanks for registering! To complete the activation of this account please click the following link:\n\n%1\$s\n\n", 'buddypress' ), $activate_url ); $user_email = $teacher; wp_mail( $user_email, $subject, $message ); } add_action( 'bp_core_sent_user_validation_email', 'activation_email', 10, 5 );July 1, 2016 at 11:24 pm #255647In reply to: Confirmation Email
Dono12
ParticipantThanks for your prompt response and your help but that function did not achieve the goal I was looking for. I wanted the activation Key to come from Cymi User Extra Field. I found a solution from someone with a similar problem but it is a little too extreme for me. The result you get is a Cymi User Extra Field Key/URL, Looks like This(cimy_key=88fddcb568dcf2d6). It involved editing a core Buddypress file wp-content/plugins/buddypress/bp-core/bp-core-filters.php. Can you help with a function for my functions.php or bp-custom to achieve the same goal. If it’s not too much maybe generate the Cymi-Key in the Buddypress Email Template though not a priority. I’m fully aware that editing core files is not practical, especially being that you lose it during updates.
https://buddypress.org/support/topic/activation-email-key-doesnt-work-i-may-have-the-fix/
function bp_core_activation_signup_user_notification( $user, $user_email, $key, $meta ) { $activate_url = bp_get_activation_page() . "key=$key"; $activate_url = esc_url($activate_url); $admin_email = get_site_option( 'admin_email' ); if ( empty( $admin_email ) ) $admin_email = 'support@' . $_SERVER; // Then it ends with, on line 255 add_filter( 'wpmu_signup_user_notification', 'bp_core_activation_signup_user_notification', 1, 4 );July 1, 2016 at 7:04 pm #255638In reply to: Confirmation Email
David Cavins
KeymasterI’m not sure what behavior you’re aiming for, but this snippet will disable the confirmation email and log the user in automatically upon successful registration.
<?php add_action( 'bp_core_signup_user', array( $this, 'disable_validation_of_new_users' ) ); add_filter( 'bp_registration_needs_activation', '__return_false' ); add_filter( 'bp_core_signup_send_activation_key', '__return_false' ); function disable_validation_of_new_users( $user_id ) { // Get the user's activation key for BP. This is the activation_key in user_meta, not the key in the user table. $user_key = get_user_meta( $user_id, 'activation_key', TRUE ); // Activate the signup $awuser = apply_filters( 'bp_core_activate_account', bp_core_activate_signup( $user_key ) ); // Automatically log the user in. // Thanks to Justin Klein's wp-fb-autoconnect plugin for the basic code to login automatically $user_info = get_userdata($user_id); wp_set_auth_cookie($user_id); do_action( 'wp_signon', $user_info->user_login ); bp_core_add_message( __( 'Your account is now active!', 'my-plugin-slug' ) ); buddypress()->activation_complete = true; }June 24, 2016 at 1:33 pm #255152In reply to: New user activation emails not coming
thehappycouponer
ParticipantWe are experiencing this same issue. All auto emails are sending except new user activation email. I’ve checked to make sure this email is enabled and it is, but it’s still not sending. Please advise. We’re losing out on new customers.
June 24, 2016 at 11:17 am #255141In reply to: New user activation emails not coming
econowill
Participanti experienced exactly same issue with writer.
only activation mail not work, others do. password change, etc…try to this
admin panel – setup – buddypress
setup is including permal link menu. i dont know exactly what it in english.and click restore email setup. and i solved.
good luck!June 18, 2016 at 7:57 pm #254811In reply to: email activation.
emlehh
ParticipantOkey, so i have disabled the plugin that stopped the automatic activation emails, installed and activated the plugin you suggested. Now what? I seriously can’t find a setting for the activation email. I know i found it easily before disabling it.
June 18, 2016 at 5:29 pm #254799In reply to: email activation.
emlehh
ParticipantWhere do i find the option to change activation email sender?
Thanks, 🙂 Will try that.
June 1, 2016 at 1:42 pm #253992In reply to: Membership Codes
danbp
Participantit’s possible. I suppose you need a unique code for some later user specific actions. But that code exist nowhere when a user register. What can we do ?
1) generate a 6 digit code and show it on the register page
2) asign that code to the user
3) show the code on his profile1 – we use php mt_rand to generate the code and one of the available action hook on the register page for his output. Add this snippet to bp-custom.php
function bpfr_digit_generator() { $num = mt_rand ( 0, 0xffffff ); $output = sprintf ( "%06x" , $num ); echo '<strong>Your personnal code: '. $output .'</strong>'; } add_action( 'bp_after_account_details_fields', 'bpfr_digit_generator' );2) create a new xprofile field, call it Personnal Code or whatever. Make it mandatory and asign it the visibility level you want. In field description, ask the user to copy/paste in the code.
3) as the user entered the code in a xprofile field, you get automagically this field on his profile.
I’m a bit unsure how to insert this field value in the activation email, or if it’s even possible. Perhaps somebody else can help you. See email on codex.
A bit raw, but at least you have a start point how to do that.
Here also another method, you may use if you don’t want the user to copy/paste the code.
May 31, 2016 at 3:38 pm #253939In reply to: Users cannot register since update 2.53
Earl_D
ParticipantI am running the lest version of Buddypress and WordPress on a VPS server NOT running multisite. Tiny framework is the theme I am using. However the first thing I did to trouble shoot was try to replicate problem without any plugin and using 2012 theme (which tiny frame is based on) and 2016 theme. The issues remained the same with but those thems and th social me theme.
I will try to check the MYSQL question as I am familiar with that having done MYSQL database programming. However I have narrowed done the problem to something related to the extended profile fields component. Through trial and error and some research I surfaced the correlation which one other person seems to have referred as well. If extended profile fields are turned OFF the registration is completed and the activation email sent. If it is on the registration process is not completed. I tested this extensively turning on and off and it followed that pattern. I currently have the component turned off and users are able to register. When I turned on again I was unable to complete a registration.
It may be unrelated but no registration spam protection plugins will work now either I have tried several with recaptcha and without and in every case the registration process short circuits.
Thanks for any help in advance. I would like to get the extended field working again.
EarlDMay 30, 2016 at 12:31 pm #253881In reply to: Users cannot register since update 2.53
Paul Wong-Gibbs
KeymasterDid anything else update at the same time? Anything?
2.5.3 contained changes to email implementation, and a security fix regarding user activation. The latter is most likely cause.
What theme are you using? Do you have a custom registration template (did you make one)? What other plugins do you have running? Are you on multisite or regular WordPress?
Can you think of any other useful information regarding any customisations around user or site registration?
April 19, 2016 at 4:45 am #252609sharmavishal
ParticipantWhen I activate some members they are not added to the members list.
BP considers activated users when they login to the website. else it doesnt.
activation emails dont go or goes to spam folder? check this plugin and use it as per your requirements
https://wordpress.org/plugins/wp-mail-options/
Also if your email domain is on lets say google apps and you are using the email domain to send mail from your site hosted on a different server you need to add email srv records
April 18, 2016 at 12:08 pm #252584In reply to: BuddyPress Email Issues with New Installation
dfarland
ParticipantIt doesn’t appear to be. The only emails I’m receiving are those initiated by WP or bbPress. The emails related to activation, group requests, mentions, and other BuddyPress emails are not coming through.
-
AuthorSearch Results