Search Results for 'activation email'
-
AuthorSearch Results
-
July 13, 2015 at 7:01 pm #241823
In reply to: using action bp_core_signup_after_activate
Randy Hicks
ParticipantFurther investigation shows that the following added to functions.php will run if the “activate” button is clicked from the wp-admin by an existing admin. It will not run from the activate link in the user activation-email.
I must be looking for a different action.
The goal is to login the user and redirect them after they have clicked the activate link from the activation-email.
add_action( 'bp_core_signup_after_activate', 'bp_autologin_on_activation', 1 ); function bp_autologin_on_activation( $signup_ids ) { print_r($signup_ids); die('bp_autologin_on_activation'); }June 26, 2015 at 9:27 am #241123In reply to: Activation link doesn’t work
nnc24
ParticipantHi danbp, thanks for your reply.
But this is not exactly the same problem that I am having.
I did read both topics but they are not really helpful for me, I still don’t know what to do now to fix this problem.I get the activation email but when I click on that link, nothing really happens. It redirects me to my homepage. So I dont even get a message if the activation failed or succeeded.
Can someone please help me with a clear explanation what I need to do to fix this.
THANKSJune 18, 2015 at 6:11 am #240823In reply to: Trouble with registration process
billreefer
ParticipantStill happening. It’s adding a second iteration of sending activation email before it finally works at login. Different message too when you do it a second time.
June 3, 2015 at 8:51 am #240084Robert Hart-Fletcher
ParticipantYES!!! Only yesterday after ages of research I found a plugin: Unconfirmed.
Gives you access to Pending users:Unconfirmed creates a Dashboard panel under the Users menu (Network Admin > Users on Multisite) that shows a list of unactivated user registrations. For each registration, you have the option of resending the original activation email, or manually activating the user.
Robert
May 24, 2015 at 9:08 am #239631In reply to: [Resolved] User Activation Issue
danbp
ParticipantCross posting !
There is no problem with sending emails, the problem is around the activation key or perhaps a wrong message output due to language file…
Forgot to tell you to revert site language to english while testing.
Make a register test in english, if ok, change the language and re-test.May 24, 2015 at 8:48 am #239628In reply to: [Resolved] User Activation Issue
proteas
ParticipantI see you have registered.
Some info from the “signups” table for your account.
“Registered” column: 2015-05-24 08:30:56
“Activated” column: 2015-05-24 08:30:59
“Active” column: 1
“Activation_Key” column: –The activation key–And you can now login despite the “Invalid Activation Key” you saw when you clicked the email link.
This is excactly whats happening with all emails I’ve tried so far except two.
If I register with info@myotherdomain.com, before I click the email link then the “signups” table is as:
“Registered” column: 2015-05-23 21:17:24
“Activated” column: 0000-00-00 00:00:00
“Active” column: 0
“Activation_Key” column: –The activation key–and is only activated after I click on the email link, which is what we want.
Could there be a problem with my email setup on the server level? Should I talk to my hosting company?
March 26, 2015 at 11:16 pm #236704In reply to: Double entries
bluedawg
ParticipantI was getting a lot of those entries before I got email registration activation working. turns out there was a conflict with another plugin and that’s why I was getting the invalid activation key error. Since I got that working I have not gotten any more spam signups but I’ll keep an eye out. I only have the live site – no local install.
I have another question about formatting profile pages – Mine look terrible. Maybe I did something along the way to break them. I have been working feverishly at this for days but I will start another thread for that new topic π
March 24, 2015 at 1:21 am #236471In reply to: Registration page not working (tried EVERYTHING!)
gksgudtjr
ParticipantHey danbp,
Ok, I’ve tested with removing a period and reloaded the page and I saw an error message show up saying something wrong with the line 112 or something and I corrected it and saved again to see an error message but I didn’t see any errors..
β Sorry, i donβt use MAMP so i canβt give you any advice how to use it. – I think everything is functioning properly and setup properly.. unless there someone here who has tips on Mamp =)
β If you can register a user from the dashboard, i guess the registration is working. Can you also change a password from there ? Tought the problem is elswhere. – Yes, I can change the user’s password in the dashboard.
Is mod_rewrite enabled on the server ? See your htaccess and httpd.conf in apache. Just in case of. – Yes, mod_rewrite is enabled in httpd.conf but I don’t see any .htaccess in apache nor my root folder for the website.. should I make one?
Now the unknown part: when you register a new user and enter a password and save, you say the page refresh and password is not showing. OK. But do you have a message telling about a missing data ? – I’ve pressed the sign up button without inputting any password but it doesn’t give me any errors.. maybe this is a clue!?!? fingers crossed!
GO to DB and check the wp_user table. Look about this new user and see if a hashed password is in the table. See also wp_signup table. – The user I made in the dashboard, yes, it has the password field filled in and has the activation key filled too. I only see admin (original me) and this test user nobody else here. Also, when I go into wp_signup table, it’s empty.
Also, do you use a single or a multisite install ? – It’s single.
Last but not least, did you allowed user registering ? (wp-admin/options-general.php β checkbox just after the site admin email) – Yes, everyone can register is checked in the settings.
March 16, 2015 at 4:20 pm #236121In reply to: Activation Issue
r-a-y
KeymasterWhat is the sample email activation link that your users are receiving?
March 9, 2015 at 11:03 am #235707In reply to: Create an account refreshes without doing anything
JulieBorgeot
Participant@henrywright Thank you for your answer.
I tried to test what I had on 1&1 and registration works. It confirmed that MAMP is the one causing the problem.
I think I found where the problem is : it’s all about emails. The email that should be sent for activation can’t be sent so nothing happens and the registration fails.
MAMP (and other web hosts) doesn’t support sending email. I tried to find a solution to it with no luck until now :
– first, by getting MAMP Pro free trial, where you’re supposed to be able to configure PostFix to be able to send emails but I couldn’t figure out how to set it up properly and couldn’t find anything useful on the internet to do so. This http://blog-en.mamp.info/2009/09/how-to-sending-emails-with-mamp-pro.html did NOT help. If anyone knows how to make that work I’d love to see how.
– Then I tried that http://www.wpbeginner.com/plugins/how-to-receive-wordpress-emails-from-localhost/, and I do receive the test email, but it doesn’t fix my BuddyPress problem.I am not sure how to work on BuddyPress without being able to register a user.
An example of what I’m working on : I want to add a long form in a tab in people’s profile page, which then generates a graphic element, a map (that will be part of their profile).I could either :
– bypass the code that is used to send the email for activation and activate the users manually as an admin.
– go to the database and enter the new user manually.
I’ll try to bypass the sending of the email first.Please let me know if there is an easier way to work on what I intend to program.
Also, if anyone knows how to set up MAMP to support sending emails, I’m interested !
March 5, 2015 at 6:21 pm #235513In reply to: Users are Automatically Activated
danbp
ParticipantHi @russadams,
on any WordPress site, once a new user registers, the user is created in
the database. That’s why site admin can see him in the control panel. This is normal.Here default WordPress registration process:
- User registers.
- User is shown message to check email.
- Login credentials are sent to new user in an email.
- User logs in to site using login credentials.
- Admin is notified of new user sign up via email.
This doesn’t change when BP is installed, as BP doesn’t handle registration.
Guess your issue is due to browser session. Make the following test.
Create a new user from frontend.
Close the browser or clear cookie and nav history.
Don’t use activation key yet.
Reopen the browser, and see if the user can login. Normaly he can’t as he hasn’t use the activation key.February 14, 2015 at 9:30 pm #234497In reply to: what is "Pending" mean?
djsteveb
Participant@jessiewordpress
I would assume they are listed as pending because they did not get click an activation in email yes.Now does that mean that your server sent an email correctly and they actually recieved the email? Who knows.. sometimes my bp emails get auto-blackholed for some email services and users will never get an email from my bp site if they have say “gmail” or yahoo or something… (there are different methods for sending email via wordpress, some are less “flagged-as-spam-automatically” than others.. sometimes users do get the emails but they end up in a junk folder..
sometimes it’s spammers trying to setup a fake account and they never will click on activate…
if you start to get a lot of these, you might want to look into how your wp install is sending emails, what the headers look like, and see if you can adjust with something like a “wp mail via smtp” plugin or something.. and if you need to manage a bunch of pending users you might want to see if https://wordpress.org/plugins/unconfirmed/ is working with current bp version..
random thoughts, hope they help.
February 14, 2015 at 9:16 pm #234494In reply to: what is "Pending" mean?
@mercime
Participant@jessiewordpress in a way yes. Either because the activation email got caught in their spam folder, or they have not clicked on the activation link, or they did click on the activation link but did not log in yet.
February 13, 2015 at 11:02 pm #234457In reply to: Welcome email customize?
jessiewordpress
ParticipantIf that plugin doesn’t work, does Buddypress allow us to change this notice you receive after clicking on the activation email link:
Youβre almost there! Simply enter your activation code below and weβll take care of the rest.
(there was no activation code needed, so Iβd like to edit this content out)
February 12, 2015 at 5:11 pm #234351In reply to: Activation Email Name edit?
jessiewordpress
ParticipantThank you for that plugin! I’ll use that for now π
What would be great is a plugin that helps with that AND editing the activation email AND changing the register/login page to not look like WordPress.
For instance, this is a wordpress website and has this register/login page: https://www.ziibra.com/signup/
Any suggestions for a workable plugin that accomplishes all of this?
February 10, 2015 at 6:32 pm #234243In reply to: Welcome email customize?
jessiewordpress
ParticipantI mean the “activation” email.
Also, is there a way to change the notice you receive after clicking on the activation email link:
You’re almost there! Simply enter your activation code below and we’ll take care of the rest.
(there was no activation code needed, so I’d like to edit this content out)
February 3, 2015 at 10:26 am #233473danbp
ParticipantI guess something is not translated, but in this case, the email text should come in english.
If yo use an “old” translation from a previous version, it is possible that something is missing in your translation.
After checking both portugese version on GlotPress, (pt_PT and pt_BR) it appears that pt_PT is not translated for 2.1.x and to 38% for pt_PT in the dev version – the one actualy used by BP 2.1.1
https://translate.wordpress.org/projects/buddypress/dev
If you use an email plugin, ensure it is matching with WP’s mail action. Or if your theme has is own mail function, check that he uses the same wording as BP (and particulary the $s var) who fires the link.
Code in 2.1.1 looks like this
%1$s,\n \n \n \n Thanks for registering! To complete the activation of your account and blog, please click the following link:\n \n %2$s\n \n \n \n After you activate, you can visit your blog here:\n \n %3$sJanuary 27, 2015 at 5:16 pm #233024Henry Wright
ModeratorIt’s only kept there until the user clicks on the link in the activation email. At that point, the user gets taken to your website, and the activation key is deleted.
January 19, 2015 at 9:12 pm #232557In reply to: Customizing emails template
capeleng
ParticipantI have used Henry’s method to customize the activation link email, but now I want to tweak the registration email. That’s the email that goes out after the user clicks on the link. How can I filter that?
January 14, 2015 at 12:23 am #231919In reply to: Email activation not working
marcomarquez
ParticipantHey @wikicopter, I think I may be running into the a similar issue. My site isn’t sending out activation emails but somehow manages to send emails when a friendship is established and other activities…I just can’t get the activiation email to work! hopefully someone can help us out π
January 6, 2015 at 11:43 pm #231572In reply to: Customizing emails template
Henry Wright
ModeratorSo if you want to edit also the headers and/or attachments you have to edit the BP core file adding the parameters and the corresponding filters
There is a way around that (you don’t have to edit core files).
Step 1: Filter
bp_core_signup_send_validation_email_toso the default activation email isn’t sentfunction filter_bp_core_signup_send_validation_email_to( $user_email, $user_id ) { $user_email = ''; return $user_email; } add_filter( 'bp_core_signup_send_validation_email_to', 'filter_bp_core_signup_send_validation_email_to', 10, 2 );Step 2: Send your own activation email
function my_custom_activation_email( $subject, $message, $user_id, $user_email, $key ) { // Create your $headers and $attachments here // Send the email. wp_mail( $user_email, $subject, $message, $headers, $attachments ); } add_action( 'bp_core_sent_user_validation_email', 'my_custom_activation_email', 10, 5 );Notes: I haven’t tested
December 8, 2014 at 12:36 pm #230281In reply to: Registration Not Working
danbp
Participant@rohitkatke, @rathodsuraj1
sorry to answer this, but here are 25 pages of topics from people having “the same problem”.If you don’t use X theme, if you don’t use woocommerce and if you don’t use BP 2.0.1, you have NOT the same problem as @jlent14 ! π
It seems to be, looks like, but most probably isn’t. And generally, jumping in others topic or old topics is not a good idea on this support forum.
To all readers
When encountering a registration problem, first thing to do is to test your install without any plugins and one of WP’s Twenty default theme. Ensure that your site send correctly emails. Before activating any plugin, your base WP install must work.
Once WP is OK – you can install BuddyPress and check your permalinks. Pretty permalinks must be activated to get the plugin working correctly.
This point is important, especially if you have redirection issues after BP is activated.
Second point to check is your theme installation.
Proceeding like this will help you to isolate easely the culprit. If:
– WP install: OK
– BP install: OK
– theme activation: problemSo you know here the problem comes from.
While testing your install, you can activate wp_debug (set to TRUE) in the wp-config file. This can give you a lot of information about conflict and/or errors.
Just keep in mind that these information have 2 levels of importance: notice and warning.
While notice are generally harmless, warnings should be taken seriously in account and solved.If WP is the problem, see first the wordPress support
If it’s BuddyPress, see the BP support
If it’s the theme, see the theme support
If it’s any other plugin, see first the plugin support.Thank you for you attention. π
December 6, 2014 at 1:47 am #230234In reply to: Users Are Not Being Activated After Registering
LESLEYSHR1
ParticipantHello again
Sorry, I have just thought of a question. What about the message that comes up stating ‘wait for an activation email’ after people register? Can that be stopped?
Thanks
Sharon
October 26, 2014 at 2:47 pm #227733In reply to: Change link in confirmation email
mohammad-mursaleen
ParticipantSure you can change that link as well as content of confirmation email by adding the following code in you function.php;
add_filter( 'bp_core_signup_send_validation_email_message', 'custom_buddypress_activation_message', 10, 3 );function custom_buddypress_activation_message( $message, $user_id, $activate_url ) { $user = get_userdata( $user_id ); $activate_url = 'http://www.domain.de'; // change this link to what ever you want. return "Hi $user->user_login, Thanks for registering! To complete the activation of your account please click the following link: $activate_url Thanks, Jesin"; }For more details you can visit the following link;
http://jesin.tk/custom-buddypress-activation-email/October 20, 2014 at 3:55 pm #220269danbp
Participanthi @ideasdesigninc,
can this be done by editing a language file ?
Yes, this is also best practice and the easiest way to do that, even if your site is in english.
And here a somehow recent tutorial about filtering such messages.
Also to be clear, when it’s time to use, we all made errors. So “it’s not working” is mostly because we did something wrong. π
-
AuthorSearch Results