• Resolved Toon Gerritsen

    (@toon-gerritsen)


    Hi,

    To be able to switch to UM, some existing data types pose a problem, noteably radio button an checkbox data.

    For Radio Buttons, UM reads and writes the data to the database in a serialized format such as a:1:{i:0;s:6:”Ineens“;}, while my current data are in a simple text format: Ineens.
    Can I have UM read and write radio button data in a simple text format?

    For checkbox data it is similar, except that my data are in a comma separated text string: One, Two, Three
    Can I have UM read and write checkbox data in a csv text format?

    Regards
    Toon

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @toon-gerritsen

    Sorry for the late response.

    Are you using another plugin to export users? If so, what’s the plugin?

    You will need to add a custom code to format the radio/checkbox data to match your desired output.

    Regards,

    Thread Starter Toon Gerritsen

    (@toon-gerritsen)

    Hi,

    I am currently using UPME (User Profiles Made Easy) and want to switch to UM.
    I have all member information (from UPME) in already the database (file usermeta).

    The problem when switching to UM is that UM can’t read some of the existing field values (noteably dates and imploded arrays (csv text)). UM uses a different date format for the database and uses serialized arrays for radio buttons and checkbox buttons.

    I would prefer not to rearrange my database but telling UM how to read/interpret these fields and how to write results in these formats.

    Could this be done in some way? Do you have coding examples?

    Regards,
    Toon

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @toon-gerritsen

    Unfortunately, we haven’t done this with migrating from UPME to UM plugin. I hope someone in the forum has done something similar and shares their solution here.

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hey there!

    …This thread has been inactive for a while so we’re going to go ahead and mark it Resolved. Please feel free to re-open this thread by changing the Topic Status to ‘Not Resolved’ if any other questions come up and we’d be happy to help. ??

    Regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Serialized Radio Button data’ is closed to new replies.