We're Moving to a New Support Platform – Starting June 1st!

We’re excited to let you know that starting June 1st, we’ll be transitioning to a new support system that will be available directly on our product websites – Amelia, wpDataTables, and Report Builder. In fact, the new support platform is already live for Amelia and wpDataTables, and we encourage you to reach out to us there.

You'll always be able to reach us through a widget in the bottom right corner of each website, where you can ask questions, report issues, or simply get assistance.

While we still do not offer live support, a new advanced, AI-powered assistant, trained on our documentation, use cases, and real conversations with our team, is there to help with basic to intermediate questions in no time.

We're doing our best to make this transition smooth and hassle-free. After June 1st, this current support website will redirect you to the new "Contact Us" pages on our product sites.

Thanks for your continued support and trust – we’re excited to bring you an even better support experience!

Okay
  Public Ticket #1864203
Serialized PHP array stored in Database
Closed

Comments

  • trevolution started the conversation

    I was thrilled to see the ability of this plugin to make something out of a serialized PHP array, however, the array I'm attempting to decode is stored as a meta_value in the wp_usermeta table. This array is stored for each user, and so appears many times in the database, if that makes sense, and each instance may carry different values and even a different number of columns.


    Eg

    User 1

    meta_key: wp_s2member_custom_fields

    meta_value:

    a:6:{s:6:"gender";s:1:"M";s:3:"dob";s:8:"1/5/2005";s:10:"sailprefix";s:3:"HKG";s:10:"sailnumber";s:3:"520";s:4:"club";s:3:"ABC";s:9:"hkodalaws";s:1:"Y";}

    User 2

    meta_key: wp_s2member_custom_fields

    meta_value:

    a:17:{s:7:"address";s:0:"";s:4:"club";s:5:"RHKYC";s:12:"contactphone";s:0:"";s:3:"dob";s:10:"27/10/2004";s:6:"gender";s:1:"F";s:6:"hkborn";s:0:"";s:9:"hkodalaws";s:1:"Y";s:10:"hkpassport";s:0:"";s:6:"isafid";s:0:"";s:8:"magazine";s:0:"";s:9:"otherclub";s:0:"";s:17:"permanentresident";s:0:"";s:10:"sailnumber";s:3:"206";s:10:"sailprefix";s:3:"HKG";s:6:"school";s:0:"";s:19:"schoolcontactperson";s:0:"";s:7:"yearshk";s:0:"";}


    With that in mind,

    1. Fundamentally, is it possible with the plugin to construct some kind of query to read and construct a table based on the serialized values  which are stored in the database as described, rather than importing from a URL as shown in the demo?

    2. How does one go about that? :-)

    Many thanks!





  •  2,576
    Aleksandar replied

    Hello trevolution.

    Thank you for your purchase.

    I am sorry to inform you that unfortunately something like this is not possible with the plugin's built-in features. It would require some customization for this to work.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables