Remove additional WP-members fields
-
Hi, is there any way to remove the additional WP-members fields from the users profile page? Thanks
-
The primary control of fields is managed in the plugin’s Fields tab. Any field included in that table is used as a user field.
If “registration” is checked, the field is included in the registration form, user profile, and the user’s view of the user profile page.
If “registration” is unchecked, the field is “admin only”. It will not display in the above instances, but it will display in the admin’s view of the user profile.
If you want to remove a field from the user-facing view of the user profile (i.e. the [wpmem_profile] shortcode profile view), you can filter out the field from the fields array. Here’s a code snippet example of how to so that: https://rocketgeek.com/code-snippets/remove-a-field-from-the-profile-update-form-but-not-the-registration-form/
The 3.5.0 version of the plugin will add the ability to control the above view via the Fields tab. This will be released as beta sometime during the next few weeks.
i have just now found that the fields save settings action fails: check/uncheck a field, select save settings, click apply, nothing happens-(page jumps to top, but no success banner as on other tabs) other ops (add/delete/move) work as expected
In review, it does appear to be working as expected, so your issue may be a local one.
If you’re checking the left box in the row, that is for deleting a field, so you’d choose “delete” from the bulk action menu, not “save”. You can’t delete and save in the same action.
nope, not checking left-column boxes, just reg/req-\ and this is happening on 3 websites, 1 a recent fresh install…
there is another issue, not related to wpmem: all non-wpcore settings pages are titled “action workflow editor” on 2 of the 3 websites
and another oddity: on my login pages, i display
[wpmem_logged_in]You are logged in as [wpmem_field user_login][/wpmem_logged_in]
[wpmem_profile register=hide]but when clicking on update password
https://asapackermansion.letartliveon.com/home/login/?a=pwdchange
wpmem_logged_in is not true…not a showstopper, but an annoyance
I’ll need to check into that one.
getting back to field updates, i just tested recent fresh install with all but wpmem disabled, still same problem…where else shd i look?
-
This reply was modified 1 year, 6 months ago by
airdrummer.
aaaahhhhh finally figgered out the sekritsauce: in addition to checking/unchecking desired function cloumns, the left column must_also_be checked, even tho “save settings” doesn’t mention it, unlike “delete selected” maybe make that clearer?
Was this issue on WP 6.7 when you noticed it? Or 6.6?
I was able to track this down to a specific change in the WP List Table object class in version 6.7.
I will be working on a more “official” fix for this and including it in the plugin. However, until then, there is a patch available. You can replace the file wp-members/includes/admin/tabs/class-wp-members-admin-tab-fields.php with the version at the gist below:
https://gist.github.com/rocketgeek/2bb08a8649cf1f273c6354b12ed93e1a
-
This reply was modified 1 year, 6 months ago by
The topic ‘Remove additional WP-members fields’ is closed to new replies.