[buddypress-trac] [BuddyPress] #5042: Disable certain pages for logged-in users

buddypress-trac noreply at wordpress.org
Sat Jun 22 10:05:50 UTC 2013

#5042: Disable certain pages for logged-in users
 Reporter:  henrywright        |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Core               |     Version:  1.7
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |

Comment (by henrywright):

 Hi Boone

 Thanks for the feedback. Ah yes, of course, the lost password and reset
 password pages fall under the WP remit.

 I can confirm that the the register page redirects to the homepage.
 However, the activate page does not redirect. A logged-in user is shown
 the activation form which asks for an activation key.

 May I suggest:

 //redirect logged in users to profile
 function bp_redirect_activate_while_loggedin() {
         global $bp;

         if ( bp_is_activation_page() ) {
                 wp_redirect( $bp->loggedin_user->domain );

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5042#comment:3>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list