WordPress.org

Ready to get started?Download WordPress

Forums

Login-Logout
Wanting to customise profile address (2 posts)

  1. jamieskella
    Member
    Posted 2 years ago #

    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/

  2. Noam_v_Shalom
    Member
    Posted 1 year ago #

    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;";

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic