Peter's Login Redirect
needed buddypress suport (3 posts)

  1. jeremyBass
    Posted 3 years ago #

    I had to add the $variable case of 'bp_user_url' in wplogin_redirect.php .

    what i added was

    case 'bp_user_url':
    	$user_id = $user->ID;
    	$variable_value =  ($user_id == 0) ? network_home_url() : bp_core_get_user_domain( $user_id );

    It would be super if you could make this, buddypress a permently supported plugin.

    Cheers -Jeremy Bass


  2. Peter
    Plugin Author

    Posted 3 years ago #

    Thanks for sharing!

    I'm not a BuddyPress user, so I'll have to set it up to test it. Or, if other BuddyPress users could test and confirm this, I would happily add it to the plugin code based on their testing.

  3. bowoolley
    Posted 3 years ago #

    +1 for Buddypress support; I can't seem to find an easy way to make a Buddypress site completely private with a new user approval process...

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Peter's Login Redirect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.