MyBB Community Forums

Full Version: Display custom user field in postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Say i add a custom user field 'Skype:', How would i display it undernearth the post count area?
i got couple of links for you hope i helped
http://mods.mybb.com/view/skype-mybb
http://www.mybbextras.net/showthread.php...on#pid6867 you can just change the name
You need to open Templates -> Post Bit templates -> Edit Template: postbit_author_user.

And there you add needed field:

Custom profile fields you add like this:
{$post['fid1']}
where change "1" to field ID.

Another example, usergroup you can add like this:
    {$usergroup['title']}

Other variables you can look up like this:
http://mybbaddict.com/thread-how-to-disp...-variables
Edit the postbit template and add this:

{$post['fidX']}

Where X is the ID of the custom profile field.
Thanks, all of those methods worked.