• Hi,

    I want to use the profile edit screen from bbPress instead of the WordPress one.

    I’ve spotted this:

    $link_string_profile = "<a href=\"".get_bloginfo('wpurl')."/forums/users/'%s'/edit\" title=\"".__('My Profile','hypervisor-login-logout')."\">".__('My Profile','hypervisor-login-logout')."</a>  |  ";

    As you can see, I’ve tried to customise the URL to include a username and match the bbPress profile edit screen which is url.com/forums/users/USER/edit/ – but my change isn’t working.

    Are you able to help me understand how I can do this?

    Regards,
    Jamie

    http://wordpress.org/extend/plugins/login-and-out/

Viewing 1 replies (of 1 total)
  • You have to change lines 68 and 147. Try using page IDs like so:
    $link_string_profile = "<a href=\"".get_bloginfo('wpurl')."/index.php?page_id=243\" title=\"".__('My Profile','hypervisor-login-logout')."\">".__('My Profile','hypervisor-login-logout')."</a>&nbsp;&nbsp;|&nbsp;&nbsp;";

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Login-Logout] Wanting to customise profile address’ is closed to new replies.