Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Get Profile Links


Ario
Member

@ariolander

I was going to hide it behind tags:

<?php if ( bb_is_user_logged_in() ) : ?>

What I wanted to do was to replace the standard:

<?php if ( is_bb_profile() ) profile_menu(); ?>

With other things including links for the “Your Profile”, “Edit (your) Profile”, PM Inbox, Memberslist, “Logout” etc.

Basically I am trying tp bypass the profile_menu() non-global status along the lines of this thread that I wasn’t able to work:

https://bbpress.org/forums/topic/profile_menu-doesnt-work-on-all-pages

I was trying to force the URL and trying to force such a global profile menu using:

<?php echo bb_option('uri'); ?>/profile/<?php echo bb_get_current_user_info( ' name ' ); ?>

But that is pretty ghetto and as you can see it outputs the display name not the username so thus can’t be used for getting a link to the user’s profile…

Skip to toolbar