2014-01-28, 05:18 PM
2014-01-28, 05:31 PM
(2014-01-28, 05:18 PM)marcus123 Wrote: [ -> ]Guys I want to show a default avatar in the user profile when user doesn't have avatar????
<if ($memprofile['avatar']) then>TEST</if>
try something like
<if ($memprofile['avatar']) then>
code to display avatar
<else>
code to display std avatar
</if>
just slot the code into the correct template... I have not checked if $memprofile is a valid array so u may need to use the $mybb array2014-01-28, 05:33 PM
How embarrassing I am using this all the time! Thanks very much LOL
<if ($memprofile['avatar']) then><else>
code to display std avatar
</if>