Quote:
Originally Posted by Souli
:tired:
in vb3 you do not need to hack the functions_showthread.php
use conditions directly in the templates postbit
eg:
HTML Code:
<if condition="$post['usergroupid'] == 6">
<table style="filter:glow(color=red, strength=6)"><tr><td><font class="bigusername" color="white"><b>$post[username]</b></font></td></tr></table>
<else />
$post[musername]
</if>
and after it create two new custum-userfields and give the users an option to selelct the two colors
eg:
HTML Code:
<if condition="$post['usergroupid'] == 6">
<table style="filter:glow(color=$bbuserinfo['field29'], strength=6)"><tr><td><font class="bigusername" color="$bbuserinfo['field30']"><b>$post[username]</b></font></td></tr></table>
<else />
$post[musername]
</if>
$bbuserinfo['field29'] and $bbuserinfo['field30'] are my fieldnumbers
|
Where exactly do you post these two new additions in the postbit?