Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,846
- How-to & Troubleshooting
- 129,867
- Creating & Extending
- 25,895
- Requests & Feedback
- 9,546
- Third Party Plugins
- 9,832
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,179
-
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.