@mortspud
7 years, 5 months ago
I’ll phrase this a differnt way.
Is there a way to get serialized xprofile field data? Functions like
bp_profile_field_data() and xprofile_get_field_data() seem to be unserializing the data.
bp_profile_field_data()
xprofile_get_field_data()
Anyone?
7 years, 8 months ago
I have managed to fix this and here is the solution in case anyone is interested:
The problem was at the bottom of edit.php: <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
<input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
Because I manually called certain xprofile fields by their ID, I had to specify which profile fields to write back to.
This: <input type="hidden" name="field_ids" id="field_ids" value="<?php bp_the_profile_field_ids(); ?>" />
Became this: <input type="hidden" name="field_ids" id="field_ids" value="73, 83, 106, 27" />
<input type="hidden" name="field_ids" id="field_ids" value="73, 83, 106, 27" />
Additional Info:
Using Firebug console, the script tab is reporting: “Access to restricted URI denied.” This does not appear when the admin is editing the page, just a normal user/member.
I have s2member installed but do not have any URI restrictions in place.