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).
(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).
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 >>