Can I somehow add this thing to postbit_display_complete hook with forum ID? It's just a bit annoying to add code to every template..
Anyway can I somehow short whole code?
Code:
<vb:if condition ="$post[usergroupid]==6">
<span style="color: #0000FF">
</vb:if>
<vb:if condition ="$post[usergroupid]==2">
<span style="color: #CC0000">
</vb:if>
{vb:raw post.message}
<vb:if condition ="$post[usergroupid]==2">
</span>
</vb:if>
<vb:if condition ="$post[usergroupid]==6">
</span>
</vb:if>