MyBB Community Forums

Full Version: custom profile default filled in
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Okay, well in the postbit, I am seeing the custom images instead of the default. I'm not sure why you are not. As for the profile, your code is incorrect (though that may be my fault for not being clear). It should be:

<if $userfields['fid1'] == "" then>
<img src="/forum/images/avatars/default1.png" align="left" class="icons" style="position: relative; margin-top: -50px; height: 130px; width: 130px;">
<else />
<img src="{$userfields['fid1']}" align="left" class="icons" style="position: relative; margin-top: -50px; height: 130px; width: 130px;">
</if>


<if $userfields['fid2'] == "" then>
<img src="/forum/images/avatars/default2.png" align="left" class="icons" style="position: relative; margin-top: -95px; margin-left: 110px; height: 110px; width: 110px;">
<else />
<img src="{$userfields['fid2']}" align="left" class="icons" style="position: relative; margin-top: -95px; margin-left: 110px; height: 110px; width: 110px;">
</if>

Instead of $post['fid1'] it needed to be $userfields['fid1']
I'm not sure why its not showing up for me. Thank you so much for your help, I think it changed in the profiles now <3 the circles are blank for me in firefox but I can see them in chrome. Thank you <3
Pages: 1 2