• Hi,

    unfortunately, not all the fields’ meta values (from fields I added to my profiles with Extra User Details Plugin and Register Plus Redux) will show up in my user lists (I added 6+25 fields, 2 from RPR do not show any values – both are drop-down, 16 and ~100 options; other drop -down fields have 40 options and work). In the AMR User Lists, the columns just remain empty.

    Is there anything I can do? The meta keys do not have longer names or any forbidden characters. The meta values are only 10-20 character long, and they are in the database, I checked that. I also rebuilt the user lists several times and also reconfigured them, to be sure.

    I checked all requirements for amr-users – my system complies.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Manuel Fritsch

    (@let-me-see)

    After some testing, I found a problem with meta_key recognition or so to say. I will describe the problem in detail:

      – I had created a field “Campus-Stadt” (drop-down) in Register Plus Redux Plugin, which was renamed by RPR to “campus-stadt” as meta_key for the wp_usermeta table. This field was recognized by amr-users (after filling in values, rebuilding list of possible fields etc.), but the column remained empty in all my amr user lists, although there were values in the wp_usermeta table.
      – I created another field “Hochschulstadt” in RPR with the same specifics (drop-down values…) and selected + saved the meta-value for one user in my WP backend. The field&value then showed up in amr user lists.
      – I renamed this very field in RPR to “Campusstadt” (renamed by RPR to “campusstadt”) and again filled selected+saved a value for another user.
      – Now for the interesting part: The field column of “campusstadt” in my amr user lists is filled not only with the values for this field, but also for the first field.

    My conclusion: amr detects fields with meta_keys including “-“, but it does not fill in the values in the user lists. It only shows them if there is another field with the same name, only without “-“, and puts them in there. I suggest to put a warning somewhere in the plugin…

    This does not explain why my other field (without “-“) did not show up, but at least it’s half an explanation.

    For the latter (“DinnerCounter”), I did nearly the same: Creating new field with different name (“DinnerZähler”) in RPR, fillig in values for one user, then deleting the old field and renaming the new field to inherit the old name. Now, I get the values for “Dinnercounter” in the amr user lists where I had expected them to be in the first place.

    Thread Starter Manuel Fritsch

    (@let-me-see)

    As I found out just before, the other field’s problem is the default value of “0” (out of a drop-down list from 0 to 15), which is attributed to all new users. It will be displayed by amr-users as an empty field.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: amr users] Not all db fields (meta values) show up in lists’ is closed to new replies.