pmpro-member-directory icon indicating copy to clipboard operation
pmpro-member-directory copied to clipboard

Enhancement/Feature Request - Enable display of data from the User table as fields.

Open ipokkel opened this issue 4 years ago • 1 comments

Currently, it is able to display any user meta from the usermeta table as fields, e.g. [pmpro_profile fields="My field,my_field], however, it is not possible to draw data like User ID, Nicename, or Display name from the wp_users` table.

Should we consider adding the ability to check for fields, (key and value), in the {prefix}_users table or possibly consider a filter that returns a custom data array, consisting of a key and value for each, that will allow developers to draw in additional fields and their values through customization from any table in the database?

ipokkel avatar Jun 09 '21 09:06 ipokkel

agree, i had to pay codeable to actually write me custom code to display the fields i wanted on the membership profile and membership card

lawhitecross avatar May 03 '22 16:05 lawhitecross

Tested and these are all working now - we are going to add some to a protected list, though, since we do not want people outputting the hashed password, for example.

[pmpro_member_directory layout="3col" elements="user_login;user_nicename;user_email;user_url;user_registered;display_name"]

kimcoleman avatar Feb 24 '25 17:02 kimcoleman