The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Usergroup Usertitle HTML Markup
Is it possible to do markup for a usertitle like the username for entire usergroups. But apply the HTML markup to all usertitles of the usergroup including admin set custom ones. For example we have usergroups with all custom admin set titles but we all want them to be one color based on the usergroup. We would rather not manually add color HTML markup to every user we change their usertitle to.
Is this possible through a template hack/mod? Thank You |
#2
|
||||
|
||||
vBAdminCp --> Manage Usergroups --> Edit --> HTML Markup.
There you can set a usergroup based color. |
#3
|
|||
|
|||
Yes I know you can, my question is doing the exact same for custom usertitles
Thanks |
#4
|
||||
|
||||
Try this (I haven't tested it to see if it works but I think it will)
Find in your post bit template Code:
<if condition="$post['usertitle']"><div class="smallfont">$post[usertitle]</div></if> Code:
<if condition="$post['usertitle']"><div class="smallfont"><if condition="is_member_of($bbuserinfo, X, Y, Z)"><font color="#FF00FF">$post[usertitle]</font><else />$post[usertitle]</if></div></if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|