Sinisterly
[Mybb 1.8x] Staff Member on postbit - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Design (https://sinister.li/Forum-Design)
+--- Forum: Web Design (https://sinister.li/Forum-Web-Design)
+--- Thread: [Mybb 1.8x] Staff Member on postbit (/Thread-Mybb-1-8x-Staff-Member-on-postbit)



[Mybb 1.8x] Staff Member on postbit - Quarantine - 03-17-2016

Staff Member on postbit
[Image: 3c1650d89b86ee805de6f83d4a8e3091.png]
[hide=8]
Go to your ACP -> Templates & Style -> Templates -> Your Theme -> Post Bit Templates -> and open postbit_author_user

And above all the code add the following
PHP Code:
<if in_array($post[usergroup], array(4,3)) then><div style="background-color: rgb(35, 35, 35); width: 140px; margin: 6px auto 0px; padding: 3px; border-radius: 3px; border: 1px solid rgb(203, 85, 85); color: rgb(203, 85, 85); font-size: 12px;">STAFF MEMBER</div><else></if>
4 and 3 are the default group ID's for admin, and mod. If you have other ranks such as trial mod, developer etc add their group ID's in there separated by a comma.

Modify it to your needs.[/hide]