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 | 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/
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?