Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

#4171 closed defect (bug) (no action required)

Activation email link missing wp-activate.php

Reported by: lenasterg's profile lenasterg Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Members Keywords: reporter-feedback
Cc:

Description

I have BP installed in a MultiSite, everything works fine But the email sent for activation to the users just contains the domain + key=
http://mydomain/?key=f5fc9e666d18b44e&e=1
instead of
http://mydomain/wp-activate.php?key=f5fc9e666d18b44e&e=1

The solution is
Modified bp-core-filters.php file:

$activate_url = bp_get_activation_page() . "?key=$key"; (this appears TWO TIMES)
for
$activate_url = bp_get_activation_page() . "wp-activate.php?key=$key";

as Daniel describes at http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/activation-email-link-missing-wp-activate-php/

Change History (2)

#1 @DJPaul
12 years ago

  • Component changed from Core to Members
  • Keywords reporter-feedback added; needs-patch removed
  • Milestone Awaiting Review deleted
  • Severity changed from major to normal

In BP 1.5, if you have a file /registration/activate.php or /activate.php in your theme, bp_get_activation_page() returns a link to that file. If your theme doesn't, it ought to be returning a wp-activate.php URL automatically.

The only way I can see this error happening is if your theme (or parent theme) does have one of those activate.php templates, but that something internal isn't being set properly. I think this is probably the issue that we fixed in #2350, which will be in BP 1.6. lenasterg, are you adding users from a non-root dashboard?

#2 @boonebgorges
12 years ago

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

Closing due to inactivity. If it turns out that this problem is not related to a custom theme, please feel free to reopen with details.

Note: See TracTickets for help on using tickets.