Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,783
- Themes
- 10,301
- Plugins
- 15,221
- Requests & Feedback
- 14,830
- Showcase
- 3,252
-
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