Skivey
04-01-2013, 09:54 AM
Im trying to get my infractions to look like this:
http://forum.parttimepoker.com/appeals-forum/937591-voltrix80-appeal-dns.html
Basically whenever someone is given an infraction, it adds an avatar to the postbit.
I see that user ranks controls pictures but it only works for post numbers, is there a way of changing this so it works on the usergroups instead?
Thanks
Matt
--------------- Added 1364814776 at 1364814776 ---------------
i just added this to the postbit legacy template
<if condition="$post['usergroupid'] == 24"><img src="https://www.getastake.com/images/infractions/caution.png"</if>
is this good nuff?
--------------- Added 1364814966 at 1364814966 ---------------
http://www.getastake.com/forum/showthread.php?p=91334#post91334
I tried it, but it makes the postbit text go gert large for the conditional usergroup
--------------- Added 1364815132 at 1364815132 ---------------
<if condition="$post['usergroupid'] == 24"><div class="smallfont"><img src="https://www.getastake.com/images/infractions/caution.png"</div></if>
That made it work... any ways to simplify would be great! :)
http://forum.parttimepoker.com/appeals-forum/937591-voltrix80-appeal-dns.html
Basically whenever someone is given an infraction, it adds an avatar to the postbit.
I see that user ranks controls pictures but it only works for post numbers, is there a way of changing this so it works on the usergroups instead?
Thanks
Matt
--------------- Added 1364814776 at 1364814776 ---------------
i just added this to the postbit legacy template
<if condition="$post['usergroupid'] == 24"><img src="https://www.getastake.com/images/infractions/caution.png"</if>
is this good nuff?
--------------- Added 1364814966 at 1364814966 ---------------
http://www.getastake.com/forum/showthread.php?p=91334#post91334
I tried it, but it makes the postbit text go gert large for the conditional usergroup
--------------- Added 1364815132 at 1364815132 ---------------
<if condition="$post['usergroupid'] == 24"><div class="smallfont"><img src="https://www.getastake.com/images/infractions/caution.png"</div></if>
That made it work... any ways to simplify would be great! :)