Extending Featured Member Widget
Hi Everybody (@Jeff Sayre!!!)
I’m using WPMU 2.8.4 BP 1.1
I’ve installed Jeff Sayre’s Featured Members Widget and have been attempting to customise the output by editing the plugin file itself. So far I’ve had no luck. I’ve scoured the forums and found some relevant information, but unfortunately it was not specific enough, and the function that Andy wrote in this thread appears to be deprecated
(bp_get_field_data( 'Website', $user->user_id )
So I found the following:
<?php echo xprofile_get_field_data('Website', $user->user_id ) ?>
Where ‘Website’ is the name of the custom profile field I want to display. But this still doesn’t seem to work. Essentially I’m asking what code needs to go into line 53 of the plugin to display custom profile data.
I’m relatively new at coding PHP myself (I know enough to read it and hack it – I’ve got a ‘Teach Yourself PHP6 and MySQ’L book arriving from Amazon tomorrow!). So help would be appreciated.
It’s a great plugin (cheers Jeff!) but I think if we could get it to display custom data it would be AWESOME!!
- The topic ‘Extending Featured Member Widget’ is closed to new replies.