1. Hi guys i have php file from vbulletin zoints local for viewing user, but the file below is viewing user with avatar and user with no avatar I need Only viewing user with avatar, not viewing user with no avatar 2. This is the file zoints_randmemb.php code in red i think that influence about this, what is need to edit so only viewing user with avatar, i think there is clue what is avatar code below, i just need the right format
if (!$avatarurl) { // If the user does not have a Zoints local avatar and they do // not have a vBulletin avatar then use a generic image. $user['avatar_path'] = $stylevar['imgdir_misc'] . '/noavatar.gif'; } Just make a changes here : if (!$avatarurl) { // If the user does not have a Zoints local avatar and they do // not have a vBulletin avatar then use a generic image. $user['avatar_path'] = ''; } And Where you are showing the avatar give a condition if ($user['avatar_path'] != '' ) Show Avatars
Hi subikar, thanks for your help where is exactly i need to put this anyway what i am thinking it could be something like this, look code in blue below, but that is not the right code
one thing you can do just fetch those data which avatars field is not blank this solve your problem. i.e in where condition use $user['avatar'] != ''