Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,955
- How-to & Troubleshooting
- 129,247
- Creating & Extending
- 25,784
- Requests & Feedback
- 9,473
- Third Party Plugins
- 9,782
- Showcase
- 3,317
- Ideas
- 1,401
- Miscellaneous
- 9,165
-
hi Gene
how about this one then
<?php global $bp;
if(bp_get_current_profile_group_id()==1)
bp_core_redirect($bp->displayed_user->domain."profile/edit/group/2");
?>
At the top of edit.php and removing the old code.
but please note, the base field will be never editable and will not be shown, when ever user will click on edit base field, he will be redirected to edit the second groups field.
let me know what do you think
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS