Support » Plugin: amr users » permanently excluded meta keys

  • I’m not seeing several of the meta fields I was hoping to from a plugin I use called Good LMS. When I look at my User List Settings, it says “User meta keys in this site today (86) – 14 excluded, 40 permanently excluded”.

    I don’t see any option to use or change those permanently excluded meta keys, so I just wanted to ask what logic you use for those and if it’s possible that the meta info I’m looking for is possibly in one of those?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author anmari

    (@anmari)

    HI becky – have you followed steps in https://wordpress.org/plugins/amr-users/installation/
    1) have you created test data for that plugin? and if you have
    2) is that plugins data stored in the wordpress database user meta table?
    If yes – plugin should ‘find’ it.
    If no – some custom work would be required to get the data out of their tables.

    There is no option to manage the permanently excluded because it would add unnecessary extra complexity. It’s bad enough having to have a page to manage meta keys AND a page for fields (within meta keys). It became necessary to permanently exclude some keys due to one plugins poor use of the usermeta – essentially using ‘data’ as the user meta key (?!) – resulting in an unmanageable ever expanding list of meta keys.

    Permanently excluded:

    ‘comment_shortcuts’,
    ‘rich_editing’,
    ‘show_admin_bar_front’,
    ‘_woocommerce_persistent_cart’,
    ‘session_tokens’,
    ‘show_welcome_panel’

    /* and exclude some deprecated fields, since wordpress creates both for backward compatibility ! */
    elseif (stristr ($i, ‘dismissed_’)) return true;
    elseif (stristr ($i, ‘media_library_mode’)) return true;
    elseif (stristr ($i, ‘meta-box-order_’)) return true;
    elseif (stristr ($i, ‘last_post_id’)) return true;
    elseif (stristr ($i, ‘nav_menu’)) return true;
    elseif (stristr ($i, ‘default_password_nag’)) return true;
    elseif (stristr ($i, ‘metabox’)) return true;
    elseif (stristr ($i, ‘plugins_last_view’)) return true;
    elseif (stristr ($i, ‘closedpostboxes’)) return true;
    elseif (stristr ($i, ‘columnshidden’)) return true;
    elseif (stristr ($i, ‘screen_layout’)) return true;
    elseif (stristr ($i, ‘metaboxhidden_’)) return true;
    elseif (stristr ($i, ‘metaboxorder_’)) return true;
    elseif (stristr ($i, ‘_per_page’)) return true;
    elseif (stristr ($i, ‘user-settings’)) return true;
    elseif (stristr ($i, ‘user-settings-time’)) return true;
    elseif (stristr ($i, ‘manageedit’)) return true;
    elseif (stristr ($i, ‘user-settings-time’)) return true;
    elseif (stristr ($i, ‘access_cap_times’)) return true; // 201501 – oh so annoying
    elseif (stristr ($i, ‘mingle_forum_last_post_time’)) return true; // 201608 – just for mingle forum – what are they doing here ?

    Ah okay that makes total sense – I completely understand why you would want to exclude those! 😛

    1) Yes I’ve done this step.
    2) Some of the user info from that plugin has come through, so I’m guessing that the info that didn’t come through (what I actually need) is not in the WP database user meta table… I honestly don’t know how to check. The plugin itself sorts users into lists based on the data I’m looking for though, so they have to store that data somewhere, right?

    I’ve confirmed that the data I need is in another table generated by the plugin (called ‘gdlrpayment’), so is there any way I could pull that info into AMR Users or will I have to find another way to do that?

    Plugin Author anmari

    (@anmari)

    There are a number of addons available that pull data from other tables or strangely structured fields but none for that plugin.

    If you hav a reasonably experienced php person, you can code up one https://wpusersplugin.com/2940/filters/ like these:

    amr users plus cimy

    amr users plus buddypress

    Plugin Author anmari

    (@anmari)

    Oh yikes – look what the support forum is doing now with those previews! I just wanted links and there doesn’t appear to be a way to edit the post now – oh dear

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘permanently excluded meta keys’ is closed to new replies.