Back to vBulletin 3.7 Template Modifications

User Title HTML markup in Postbit based on UserGroup
Mod Version: 1.00, by Seven Skins

This modification is in the archives.
vB Version: 3.7.x Rating: (2 votes - 3.00 average) Installs: 16
Released: 06 Nov 2008 Last Update: Never Downloads: 113
Not Supported Template Edits  

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.

File Type: %1$s User Title HTML markup in Postbit based on UserGroup.txt (1.1 KB, 114 downloads)

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

vblts.ru supports vBulletin®, 2022-2024