[buddypress-trac] [BuddyPress] #2350: Add user to blog in console

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat May 1 21:13:38 UTC 2010

#2350: Add user to blog in console
 Reporter:  motomac  |       Owner:                  
     Type:  defect   |      Status:  new             
 Priority:  major    |   Milestone:  1.2.4           
Component:  Core     |    Keywords:  has-patch tested
Changes (by DJPaul):

  * keywords:  reporter-feedback => has-patch tested


 On a WPMU BP site, you want user registration and user activation to
 happen on the BP_ROOT_BLOG. The BP functions which send the user account
 activation email do not handle this situation correctly when an Admin adds
 a user via the wp-admin backend on a blog which isn't the BP_ROOT_BLOG.

 The locate_template calls look for activate.php or
 /registration/activate.php on this non-BP_ROOT_BLOG, and unless this blog
 contains that file (i.e. most probably running a BP theme), it falls back
 to the standard wp-active.php. Attached is a patch which duplicates some
 of the locate_template logic because constants can't be redefined

Ticket URL: <http://trac.buddypress.org/ticket/2350#comment:6>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list