Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

  • mortspud
    Participant

    @mortspud

    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.

    Anyone?


    mortspud
    Participant

    @mortspud

    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(); ?>" />

    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" />


    mortspud
    Participant

    @mortspud

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar