Login Register


Showing User's Display Group on Postbit filter_list
Author
Message
Showing User's Display Group on Postbit #1
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.
[Image: JchOGM.png]

Reply

RE: Showing User's Display Group on Postbit #2
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.
[Image: 7yW1UHU.jpg]

Reply







Users browsing this thread: 1 Guest(s)