Skip to:
Content
Pages
Categories
Search
Top
Bottom

redirect wp user profile to bbpress profile – how?

Viewing 3 replies - 1 through 3 (of 3 total)
  • @bjstone906

    Participant

    I’ve found where the code lives! Now I don’t know how to change it to point to the bbpress profile (see below).

    &lt; ?php printf(__(&#039;Logged in as <a href="%1$s">%2$s.'), get_option('siteurl') . '/forums/users/', $user_identity); ?&gt; </a><a href="" title=""></a> 
    

    I’ve tried changing the href to

    href="http://retreadwerks.com/forums/users/%1$s" 
    

    but that’s not working either. I dont know what bbpress users for its profile url but I’ll keep looking. In the meantime does anyone have any suggestions?

    • This reply was modified 12 years, 2 months ago by bjstone906.
    • This reply was modified 12 years, 2 months ago by bjstone906.
    • This reply was modified 12 years, 2 months ago by bjstone906.

    @genzographics

    Participant

    Try this:

    `
    global $current_user;
    get_currentuserinfo();

    echo ‘You are logged in as ‘. $current_user->user_login . ‘‘;
    `

    @yoav1987

    Participant

    Is that the solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar