Support Forums
[MyBB] Postbit Display Group - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Website Development (https://www.supportforums.net/forumdisplay.php?fid=43)
+---- Thread: [MyBB] Postbit Display Group (/showthread.php?tid=28883)



[MyBB] Postbit Display Group - Galaxy - 10-24-2014

This will show you how to display a user's primary group in a theme's postbit.

Steps:
  • Login to your Forum's ACP.
  • Go to Themes & Templates Tab
  • Click on Templates
  • Select the theme whose template you want to modify.
  • Expand the postbit templates
  • Open postbit_author_user
  • Replace the contents with:
    Code:
    {$lang->postbit_posts} {$post['postnum']}<br />
        {$lang->postbit_joined} {$post['userregdate']}<br />
    Group:<b> {$lang->primary_usergroup}{$usergroup['title']}</b>
        {$post['replink']}{$post['warninglevel']}
    or just add this to your existing one:
    Code:
    Group:<b> {$lang->primary_usergroup}{$usergroup['title']}</b>
  • Save it and you're done


Thanks for reading.