Hello guys i am new here , i trying to create groups such as global moderator , moderator , donator etc ... if i wanted to do that i need to change the regular user size so i want to each group to have a specific avatar size ; i'd appreciate any kind of help thanks in advance !
Open
postbit_avatar template:
Replace:
<a href="{$post['profilelink_plain']}"><img src="{$post['avatar']}" alt="" {$avatar_width_height} /></a>
With:
<a href="{$post['profilelink_plain']}"><img src="{$post['avatar']}" alt="" <if (in_array($mybb->user['usergroup'], array('X1','X1','X1'))) then>
width="X2" height="X2"<else>{$avatar_width_height}</if> /></a>
You'll need to have template conditionals installed
Change in this conditional:
<if (in_array($mybb->user['usergroup'], array('X1','X1','X1'))) then>
width="X2" height="X2"<else>{$avatar_width_height}</if>
X1 = User Group ID
X2 = Image width and height