amr users
[resolved] Array on Certain Field (5 posts)

  1. X-Raym
    Posted 1 year ago #

    Hi !

    I tried to add several properties of other plugin in a user list, and I just get "Array" (and not what I wanted to see).

    What is the generic way to solve that kind of problem ?

    Thanks !


  2. anmari
    Plugin Author

    Posted 1 year ago #

    If you provided more info then one could help more.

    it sounds like other plugin is not using wordpress meta well - else data would show.

    users plugin does try to dig down and into arrays to extract and make the data as meaningful as possible. It sounds like it is not succeeding here or perhaps there is something odd about how other plugin stores data.

    1) what is other plugin ?
    2) did you run 'find fields' with existing sample data in DB?. Were fields found ? what is special about fields ?

  3. X-Raym
    Posted 1 year ago #

    Oh sure !

    I used two plugin, LearnDash and BadgeOS.

    LearnDash is a paid e-learning plugin.
    BadgeOS is a free open source award system plugin, with a very complete API.
    Both are totally awesome and can work together : the user can do a quiz from LearnDash, and be reward by a badge if he succeed.
    They have a great support if you want to contact them (I already spoke to your plugin to the LearnDash developper and he was quite interested).

    So, what I'm trying to do is to display withn the user list the badges images of the user (and if possible, this img are link to the individual badge pages) and the course progression information from learndash.

    I think I that the strings in amr users :


    But the first display "Array" and the other "Array, Array, Array, Array", as you cans see on this screenshot.

    Let me know if I can provide you any other useful information.

    Thanks for your support :)

  4. anmari
    Plugin Author

    Posted 1 year ago #

    Hi x-raym,

    it sounds like these fields are going to need a custom formatting routine - ie not a generic solution.

    You can either write these yourself, see

    or if you send me a sql dump of those usermeta fields, and a description of how you expect those fields to be formatted, I'll might be able to do a add-on, like these:

  5. X-Raym
    Posted 1 year ago #

    Thank you very much !

    I will try to do somethings by myself, and go back to you if I need help :)

    thanks for the resources !


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • amr users
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic