• Resolved aaronjpitts

    (@aaronjpitts)


    Hi,

    I’ve just installed a clean install of the latest version of WordPress and User Meta Manager, but none of the custom meta fields I create are showing on the edit user page.

    I’m using gravity forms and the user registration addon, that plugin is finding the custom meta fields I have created and is saving them, they are just not showing on the edit user page.

    What is wrong?

    many thanks,
    Aaron

    http://wordpress.org/plugins/user-meta-manager/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Jason Lau

    (@jason-lau)

    Hi Aaron,

    A couple of things to check:
    – In the setting for each custom field, be sure the “Add To Profile” option is selected.
    – In the User Meta Manager Settings, be sure the HTML Markup fields are populated.

    HTML Before-

    <table class="form-table umm-custom-fields">
       <tbody>

    HTML During-

    <tr><th>[label]</th><td>[field]</td></tr>

    HTML After-

    </tbody>
    </table>

    Let me know if this helps.

    Jason

    Thread Starter aaronjpitts

    (@aaronjpitts)

    Hi,

    I can confirm both of the above are set correctly. Anything else I can try?

    Thanks

    Plugin Author Jason Lau

    (@jason-lau)

    Have you tried disabling gravity forms and the user registration addon? There may be a conflict with another plugin.

    Thread Starter aaronjpitts

    (@aaronjpitts)

    Hi again,

    Just deactivated both plugins and tried again. Still the same problem.

    This is just on my localhost so I can’t even give you a login to check it out.

    Plugin Author Jason Lau

    (@jason-lau)

    When you are on the Edit User screen, what is the URL in the address bar?
    Example:

    user-edit.php?user_id=7&wp_http_referer=%2Fwp%2Fwp-admin%2Fusers.php

    Thread Starter aaronjpitts

    (@aaronjpitts)

    The exact URL is:

    user-edit.php?user_id=2&wp_http_referer=%2Fclients%2Fvpcwp%2Fwp-admin%2Fusers.php

    Plugin Author Jason Lau

    (@jason-lau)

    So far I haven’t been able to reproduce this issue.

    You can try the following –
    Update the plugin settings. If that doesn’t work, deactivate and reactivate the plugin. If that doesn’t work, try it on a live server.

    If PHP version is < 4.1 the plugin cannot use $_REQUEST variable to establish user_id, and you won’t see any custom fields.

    To test this, open user-meta-manager/user-meta-manager.php

    Find on line 2417 –

    if(isset($_REQUEST['user_id'])):

    Replace with

    if(isset($_REQUEST['user_id']) || isset($_GET['user_id'])):

    Thread Starter aaronjpitts

    (@aaronjpitts)

    Ok I have found the issue (none of the above). I had set the custom meta fields to only show on the ‘Subscriber’ role, when I set it to ‘All’ it works fine. So it appears you have a bug with limiting the meta fields to specific roles?

    Plugin Author Jason Lau

    (@jason-lau)

    Actually, it is not a bug. If you want a field to be visible for the Administrator and Subscriber, you should select both Administrator and Subscriber options from the Roles menu. You can select multiple roles.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Custom meta fields not showing on edit user page’ is closed to new replies.