Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#2180 closed defect (bug) (fixed)

Filter: bp_registration_needs_activation does nothing?

Reported by: nuprn1's profile nuprn1 Owned by:
Milestone: 1.2.3 Priority: major
Severity: Version:
Component: Core Keywords:
Cc:

Description

in 1.2.2 i see the new bp_registration_needs_activation filter and the reference on register.php template page.

But I don't see anything in function bp_core_signup_user to bypass the required email activation. (setting user_status 0 directly) or do i need to hook on the action bp_core_signup_user and update the status again?

Change History (2)

#1 @nuprn1
15 years ago


@etiviti 'bp_core_signup_user' action change the wp_users.user_status to int 0 and then filter 'bp_registration_needs_activation' to false.


Problem i see with this is bp_core_signup_send_validation_email is called before the do_action on bp_core_signup_user so the user will get a confusing email about activating

#2 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2859]) Added filter to disable the sending of activation emails. Fixes #2180

Note: See TracTickets for help on using tickets.