-
Randy Hicks replied to the topic using action bp_core_signup_after_activate in the forum Creating & Extending 9 years, 4 months ago
Found it. This action fires when the user clicks the activate link from the activation-email.
do_action( 'bp_core_activated_user', $user_id, $key, $user );
-
Randy Hicks replied to the topic using action bp_core_signup_after_activate in the forum Creating & Extending 9 years, 4 months ago
Further 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…[Read more]
-
Randy Hicks replied to the topic using action bp_core_signup_after_activate in the forum Creating & Extending 9 years, 4 months ago
Further 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 rout them after they have clicked the activate…[Read more]
-
Randy Hicks replied to the topic using action bp_core_signup_after_activate in the forum Creating & Extending 9 years, 4 months ago
I’ll do some more testing.
I was mainly trying to find out if this action was one that needed to be called in a special way.
Some actions need to be called from within a function that is hooked to another action.
-
Randy Hicks replied to the topic using action bp_core_signup_after_activate in the forum Creating & Extending 9 years, 4 months ago
No errors, no print_r. The user is activated and sent to the sites home_url().
It’s as if my function is being over looked. I thought maybe it needed to be called at a specific point in time so I dropped it in the functions.php to try and circumvent any timing issues.
-
Randy Hicks started the topic using action bp_core_signup_after_activate in the forum Creating & Extending 9 years, 4 months ago
I’ve been trying to hook into this action, but I can’t seem to. I’ve been digging into the bp code using phpxref to try and follow any possible paths, but I think I’m missing something obvious.
My assumption is that this action should file when a new user clicks the activation link from the activation email.
I tired the following get a simple…[Read more]
@vc27
Active 6 years, 6 months ago