Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author justin_k

    (@justin_k)

    The widget was designed to be used in WordPress, as Buddypress includes its own default login widget – so no, for the moment the link is just hardcoded to the WP profile url. I have been asked for this a number of times though, so I’ll likely be adding it to the premium widget in a future release – once I’ve worked out some slightly more critical/important features. Until then, I can only suggest looking through the BP documentation for how to get a link to the BP user’s profile.

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    OK, thanks.

    Thread Starter SheerHeartAttack

    (@sheerheartattack)

    I believe I got it working by changing the following line in Widget.php:

    <a href="<?php echo get_option('siteurl')?>/wp-admin/profile.php"><?php _e("Edit Profile")?></a> | <a href=" <?php echo wp_logout_url( $_SERVER['REQUEST_URI'] )?>"><?php _e("Logout")?></a>

    to

    <a href="<?php echo bp_loggedin_user_domain(); ?>"><?php _e("My Profile")?></a> | <a href=" <?php echo wp_logout_url( $_SERVER['REQUEST_URI'] )?>"><?php _e("Logout")?></a>

    Plugin Author justin_k

    (@justin_k)

    Looks good ??

    Excellent solution, exactly what I was looking for. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘"Edit Profile" link to BuddyPress profile instead of backend?’ is closed to new replies.