MyBB Community Forums

Full Version: Showing a custom profile field in the postbit_author_user template
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
If I wanted to show the value of each user's custom profile field (Operating System) beside their post under their avatar, what code would I use?

This is the content as it is now :

Quote:<div class="authorstyle"><strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['useravatar']}<br />
{$post['groupimage']}<br />
<div style="text-align: left;">{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}<br />
{$lang->postbit_status} {$post['onlinestatus']}{$post['replink']}<br />
</span></div></div>
s'ok, figured it out.

Quote:<div class="authorstyle"><strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['useravatar']}<br />
{$post['groupimage']}<br />
OS: {$post['fid5']}<br />
<div style="text-align: left;">{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}<br />
{$lang->postbit_status} {$post['onlinestatus']}{$post['replink']}<br />
</span></div></div>
[Wiki: Help:Customizing_Postbit] (Broken link, head over to docs.mybb.com instead) for future reference.