Forums
-
- Forum
- Posts
-
- Installation
- 28,255
- Troubleshooting
- 61,784
- Themes
- 10,301
- Plugins
- 15,221
- Requests & Feedback
- 14,830
- Showcase
- 3,252
-
Seems like this works for pulling the Location value (on the Profile page):
global $bbdb;
$userid = $user->ID;
$profiledata = $bbdb->get_var( “SELECT meta_value FROM $bbdb->usermeta WHERE meta_key = ‘from’ AND user_id = $userid”);
echo $profiledata;
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS