Retrieving CPF Fields
Posted
#4551
(In Topic #918)
Can someone give me some advise on how ( in php) would you return a specific CPF field for a member.
ie $_username = $GLOBALS['CNS_DRIVER']->get_member_row_field($member_id, 'm_username');
returns the Username
if I had a CPF called "ScreenName" how would i get that using the $member_id.
The end goal ( if im feeling brave) is to try and modify the forum system to display the CPF "ScreenName", rather than the username. Its only the displayed text i want to change rather than any underlying links or the functionality
This is both for security to prevent people who use their e-mail address as their user name from it obviously being displayed, and convienience as some usernames are not always clear to the user.
As a fall back if the CPF is null/blank, then i would aim to continue to display the username.
Thanks
Chris
Posted
Posted
I missed that config option completely. I'll give it a go
Chris
Posted
Works a treat.
Posted
Posted
1 guest and 0 members have recently viewed this.
