I'm using iGame Theme and view groups 1.6 plugin but the problem is when I load groups, it don't show up default avatar. (See Pic 1) (Where as default dp is in pic 2, which is invisible in first pic, at the place of users).
![[Image: 4LAjIkV.jpg]](https://camo.mybb.com/df5c36d5db8aaae3252d7cc75530d8aca54336a0/687474703a2f2f692e696d6775722e636f6d2f344c416a496b562e6a7067)
(2016-07-09, 10:38 PM)Cyrex Wrote: [ -> ]I'm using iGame Theme and view groups 1.6 plugin but the problem is when I load groups, it don't show up default avatar. (See Pic 1) (Where as default dp is in pic 2, which is invisible in first pic, at the place of users).
![[Image: WeSoaCi.png]](https://camo.mybb.com/989a80c88c8333308fd2ccd49df84b0a08e34341/687474703a2f2f692e696d6775722e636f6d2f5765536f6143692e706e67)
![[Image: 4LAjIkV.jpg]](https://camo.mybb.com/df5c36d5db8aaae3252d7cc75530d8aca54336a0/687474703a2f2f692e696d6775722e636f6d2f344c416a496b562e6a7067)
Hi
I don't use this plugin, but i installed it quickly on my test database. This happens with the default theme also. If you look in the plugin file: View Groups 1.5\Upload\inc\plugins\viewgroups.php
You will see this code: lines 370 - 373
if ($user['avatar'])
$user['avatar'] = '<img src="'.htmlspecialchars_uni($user['avatar']).'" width="70" height="70" />';
else
$user['avatar'] = '';
Replacing
$user['avatar'] = ''; with
$user['avatar'] = '<img src="images/default_avatar.png" width="70" height="70" />';
will fix the issue for the default theme.
You may have to adjust the path for the iGame theme, but I think it will work also as long as the avatar image is present in the images folder.
Have you tried revert?
<< snip - link spam >>