Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted October 15, 20168 yr I'm trying to get the custom profile field for a section called about me to appear in pages. Im trying to make an "About the author" section at the end of the articles and would like to pull the post authors info. I've got everything else I need just can't figure this one out. Thanks
October 22, 20168 yr It's a bit tricky to work with customFields in IPS 4, unfortunately. You would have to do something along the lines of: $member->profileFields()["core_pfieldgroups_1"]["core_pfield_2"]; You would have to figure out the actual IDs in your case yourself. The first is the ID of the profile field group, while the second is the ID of the profile field itself.
Archived
This topic is now archived and is closed to further replies.