- This topic has 3 replies, 2 voices, and was last updated 10 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Retrieve Profile Image and Custom Fields?
I am would like to generate a directory of my members. I’ve used get_user_by_id to get a member’s record, but I also want the custom fields I added with the form builder and the member’s profile picture.
I can query table swpm_form_builder_custom to get the custom fields I added to the profile.
I can retrieve the profile image from table posts where ID = the value in the member’s profile_image field.
Before I code those last two queries I just wanted to check and see if you already provide them?
Thanks!
Hi please check the following documentation. It provides other PHP code you might be interested in. Your request or procedure has not been added to the aforementioned link.
Thanks for the response and for providing the PHP and CSS samples. I was able to trace through the tables to find the custom field values for each of my membership levels, so writing the SQL to pull the “complete” profile including the image and custom fields was pretty trivial.
Hi rwdrummond, where you able to create that function and resolve your issue? If you where able to resolve your issue, you might like to share your solution here to help others in the future.
Kind regards