How to add a field in bbpress profil – UserPro Forums https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/feed/ Sat, 04 May 2024 01:53:21 +0000 https://bbpress.org/?v=2.6.2 en-US https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/#post-28881 <![CDATA[How to add a field in bbpress profil]]> https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/#post-28881 Fri, 21 Mar 2014 22:59:23 +0000 Bartek Philly I would like to add one field from the user profile to be visible in the bbpress topic profiles next to the username or profile picture. I know that I have to edit loop-single-reply.php but what code to use to show for example gender?

]]>
https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/#post-29617 <![CDATA[Reply To: How to add a field in bbpress profil]]> https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/#post-29617 Tue, 25 Mar 2014 20:45:25 +0000 Bartek Philly bump! please advise.

]]>
https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/#post-29635 <![CDATA[Reply To: How to add a field in bbpress profil]]> https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/#post-29635 Tue, 25 Mar 2014 21:56:03 +0000 admin This is customization and requires stuff outside the scope of support really.

If you want to show a custom field value, use the API: userpro_profile_data(‘customkey’, ‘user_id’); custom key is the field key, user ID is the dynamic user ID you want to retrieve user ID for.

Thanks!

]]>
https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/#post-29636 <![CDATA[Reply To: How to add a field in bbpress profil]]> https://forum.userproplugin.com/forums/topic/how-to-add-a-field-in-bbpress-profil/#post-29636 Tue, 25 Mar 2014 21:56:44 +0000 admin example: userpro_profile_data(‘gender’, ‘…’); remember that second parameter must be the author/reply author ID in bb. You can use my integration sample to see what I use for dynamic ID

]]>