I’m having the same issue with WPMU 2.9.1.1 & BP 1.1.3. I’m looking into a fix. I will let you know if I figure it out.
Well, for those people who can’t/don’t want to update to the new version of BP, here’s the fix.
Make sure if you have a custom edit profile or registration template that you put brackets at the end of any multiselectbox field name that you’re using.
So, the following:
<select name="<?php bp_the_profile_field_input_name() ?>" id="<?php bp_the_profile_field_input_name() ?>" multiple="multiple">
would become:
<select name="<?php bp_the_profile_field_input_name() ?>[]" id="<?php bp_the_profile_field_input_name() ?>" multiple="multiple">
Then, you need to edit lines 400-421 of the BuddyPress core file: /buddypress/bp-xprofile/bp-xprofile-templatetags.php
. It starts with case 'selectbox': case 'multiselectbox':
and ends with break;
Replace lines 400-421 with code from here.
Note: this isn’t a very upgrade friendly way to deal with it, but if you’re stuck with BuddyPress 1.1.3 because of some custom written components, it’s the way to make it work.
@brandondove – thank you!!!!!!!!!!!!!
this one really save me.
Cheers!
i am using BP 1.2.3 and WP 2.9.2 and it is still not possible to save the content of multiselebtbox lists in the profile.