Advertisement
Guest User

Untitled

a guest
Feb 1st, 2013
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. <?php $type_member = xprofile_get_field_data( 'Position', $user_id );?>
  2.  
  3. <?php if ( bp_is_active( 'xprofile' ) ) : if ( bp_has_profile( '' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group('profile_group_id='); ?>
  4.  
  5. <?php
  6. if($type_member == 'Actress') {
  7. bp_the_profile_group( 'profile_group_id=2');
  8. } else {
  9. bp_the_profile_group( 'profile_group_id=1');
  10. }
  11.  
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement