Sinisterly
Showing User's Display Group on Postbit - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Design (https://sinister.ly/Forum-Design)
+--- Forum: Web Design (https://sinister.ly/Forum-Web-Design)
+--- Thread: Showing User's Display Group on Postbit (/Thread-Showing-User-s-Display-Group-on-Postbit--15151)



Showing User's Display Group on Postbit - Dean Winchester - 06-19-2013

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.


RE: Showing User's Display Group on Postbit - Kyou - 06-19-2013

Nice Jimmy, simple yet effective. It does a nice job too, actually. Keep up with these threads, it's nice to get users to stick in certain sections and keep them alive and well.