MyBB Community Forums
Variable to print value of a profile field in member.php - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Variable to print value of a profile field in member.php (/thread-159575.html)



Variable to print value of a profile field in member.php - ElectricShock - 2014-09-16

I want to print the value of a certain profile field in member.php?action-profile

However, I don't know which variable in MyBB can do this. {$fidX} doesn't workm {$mybb->user['fidX']} doesn't print the required value, and {$post['fidX']} doesn't work as well.

How would I go about doing it?


RE: Variable to print value of a profile field in member.php - .m. - 2014-09-17

there is a setting to show the field on the member profile. doesn't it work ?
~/admin/index.php?module=config-profile_fields >> edit / add --> Display on profile?


RE: Variable to print value of a profile field in member.php - ElectricShock - 2014-09-17

I know that, but I want to print the value if only that particular field in a place of my choosing.


RE: Variable to print value of a profile field in member.php - .m. - 2014-09-17

^ you can use {$userfields['fidX']}