Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,005
- How-to & Troubleshooting
- 129,528
- Creating & Extending
- 25,790
- Requests & Feedback
- 9,496
- Third Party Plugins
- 9,783
- Showcase
- 3,316
- Ideas
- 1,397
- Miscellaneous
- 9,170
-
For arguments sake, I’ve deleted the Nickname one and tried with another. Here’s my code incase I’m being a complete thicko
`
<!
<?php
$account_type= xprofile_get_field_data( ‘Account Type’,bp_get_member_user_id());
if ($account_type== ‘Standard’) {
echo ‘standard’;
} else {
echo ‘premium’;
};
?>
<?php $Street= xprofile_get_field_data( "Street");
echo $Street;
?>
<!
`
The only thing that displays on the custom field front is the account_type of either Standard or Premium.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS