User Title HTML markup in Postbit based on UserGroup
This modification is in the archives.
User Title HTML markup in Postbit based on UserGroup
Here is a small hack for postbit as some people have requested. This will markup user titles in postbit. (Not user name) Template to edit: Postbit. Full Install Instructions are in the text file attached. Find in postbit: HTML Code:
$post[usertitle] Replace with: HTML Code:
<!-- User title HTML markup www.sevenskins.com --> <if condition="($post[displaygroupid]== X)"> <span style="font-weight:bold; color: #FF0000;">$post[usertitle]</span> <else /> <if condition="($post[displaygroupid]== X)"> <span style="font-weight:bold; color: #008000;">$post[usertitle]</span> <else /> <if condition="($post[displaygroupid]== X)"> <span style="font-weight:bold; color: #0000FF;">$post[usertitle]</span> <else /> $post[usertitle] </if> </if> </if> <!-- / User title HTML markup www.sevenskins.com --> You will have to change X for the usergroup ID. Three user groups IF statements has been added but you can add more as needed. Enjoy . Download
This modification is archived, downloads are still allowed. |
Similar Mods
Mini Mods User Name markup in Nabvbar based on UserGroup | vBulletin 3.7 Template Modifications |
Username color on forumhome (as based on usergroup markup) | vBulletin 3.6 Template Modifications |