Forums
-
- Forum
- Posts
-
- Installation
- 27,773
- Troubleshooting
- 60,876
- Themes
- 10,206
- Plugins
- 15,012
- Requests & Feedback
- 14,664
- Showcase
- 3,238
-
Oh if you are trying to do it from an integrated WordPress you’ll need to do this:
<?
if function_exists("get_currentuserinfo") {global $user_ID;}
else { $user_ID=bb_get_current_user_info( 'id' )}
if ($user_ID) { echo '<a href="/forums/profile.php?id='.$user_ID.'&tab=favorites">favorites</a>';} ?>
untested – change /forums/ to whatever your bbpress path is.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS