bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

bbpress user profile link on WP?

(3 posts)
  • Started 1 year ago by Ahni
  • Latest reply from Ahni
  • This topic is not a support question
  1. hey. I've integrated the login/registration no problem, but now I'm trying to do something about people having two separate profiles.

    IMO the profile in bbpress is alot better than in WP (if only because it's naturally not in the dashboard) so I'm wondering if just adding the users bbpress profile link in WP would be the way to go?

    I was able to get the profile link to show up in WP, though I suspect that because it wasn't in the loop (whatever the heck that is) it showed the link to admin on my test subscriber account.

    Is there a way around this, or perhaps a better way to go?

    Posted 1 year ago #
  2. What exactly did you change?

    Trent

    Posted 1 year ago #
  3. ah! I went to trackdown what I added, and realized I was calling the author ID, which is evidently wrong... but this allowed me to get the profile of the logged in user:

    <a href="<?php global $userdata;
    get_currentuserinfo();
    echo('http://intercontinentalcry.mahost.org/discussions/profile.php?id=' . $userdata->ID . '');
    ?>">Your Profile</a></li>

    Thanks trent! You may have only said five words, but they led me to the solution I was looking for - Ahni

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.