• Resolved mhkhosravi

    (@mhkhosravi)


    Hi, The database is not organized when using the Radio field. It is not possible to use the output file cleanly in Excel; Also in the Multi-select field.
    what should we do? Is there a way to fix it?
    –> https://imgur.com/jhsEFGS

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

    (@champsupertramp)

    Hi @mhkhosravi

    Are you using another plugin to export the user data? If so, could you please tell us what’s the plugin name?

    Regards,

    Thread Starter mhkhosravi

    (@mhkhosravi)

    Thanks for your attention @champsupertramp

    Export by Import and export users and customers plugin.

    But I do not think it’s relevant. Because these problems exist in the database. Please note this image: https://ibb.co/YPwjxZ0

    (Ultimate Member v.2.1.17)

    Regards,

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi @mhkhosravi

    Please try this code snippet to unserialize the data when using the Import/Export plugin. I’ve created this snippet with their filter hook:

     add_filter("acui_export_data","um_050621_unserialize_usermeta",99999, 5);
     function um_050621_unserialize_usermeta($row, $user, $datetime_format, $columns, $order_fields_alphabetically){
       
        $row['zendeh_mama'] = implode(", ",unserialize($row['zendeh_mama']) );
        $row['Language'] = implode(", ",unserialize($row['Language']) );
        $row['gender'] = implode(", ",unserialize($row['gender']) );
        $row['color'] = implode(", ",unserialize($row['color']) );
       
        return $row;
     }

    You can add the code in your theme’s function.php file or use the Code Snippets plugin to run the code.

    Please test and let me know if you’re still having issues.

    Regards,

    Thread Starter mhkhosravi

    (@mhkhosravi)

    Hi @champsupertramp

    Thank you very much, the problem was solved.
    I hope in the next updates of the plugin this issue will be solved radically for all users.
    Good luck to you.

    Plugin Contributor Champ Camba

    (@champsupertramp)

    Hi,

    Thanks for letting us know how it resolves the issue.

    Regards,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Extra content when using the Radio field’ is closed to new replies.