BuddyPress Admin Bar Signup Redirect to /Register
Posted: January 16th, 2012, 5:11 pm
The BuddyPress admin bar for logged out users shows a signup link, and that link directs to /register. I'd like it to direct to the page I've designated within S2Member as my page for members to join.
There is an option within BuddyPress to assign its pages to your own WP pages (example: Register to "my grandma's cat" page...) but when I did that, it didn't change the Signup link and ALSO changed the page I have designated as my page for members to join to direct to /register.
Does this make sense at all? What I'd LIKE to do is completely remove the Signup link in the BuddyPress admin bar (and I can do that my just yanking out this code below) but then I'm sure in subsequent BP upgrades, it will return.
Is there something I've missed along the way that will direct that Signup link to my registration page, or another way I can remove that action which displays the signup link that won't also be removed with every upgrade?
// Show "Sign Up" link if user registrations are allowed
if ( bp_get_signup_allowed() )
echo '<li class="bp-signup no-arrow"><a href="' . bp_get_signup_page(false) . '">' . __( 'Sign Up', 'buddypress' ) . '</a></li>';
There is an option within BuddyPress to assign its pages to your own WP pages (example: Register to "my grandma's cat" page...) but when I did that, it didn't change the Signup link and ALSO changed the page I have designated as my page for members to join to direct to /register.
Does this make sense at all? What I'd LIKE to do is completely remove the Signup link in the BuddyPress admin bar (and I can do that my just yanking out this code below) but then I'm sure in subsequent BP upgrades, it will return.
Is there something I've missed along the way that will direct that Signup link to my registration page, or another way I can remove that action which displays the signup link that won't also be removed with every upgrade?
// Show "Sign Up" link if user registrations are allowed
if ( bp_get_signup_allowed() )
echo '<li class="bp-signup no-arrow"><a href="' . bp_get_signup_page(false) . '">' . __( 'Sign Up', 'buddypress' ) . '</a></li>';