MyBB Community Forums

Full Version: Default avatar based on gender
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Maybe it could be useful - many users dont use avatars, so default avatar in mybb 1.8 was a perfect addition, thanks. Hovewer it can be impoved - based on gender.

<if $post['fid3'] == 'Male' then>
<img src="avatar1.png" alt="" />
<elseif $post['fid3'] == 'Female' then>
<img src="avatar2.png" alt="" />
<elseif $post['fid3'] == 'Other' then>
<img src="avatar3.png" alt="" />
</if>

What do you think? 3 default avatar images are not a problem
I Agree
It isn't a bad idea, but imo, I don't think this needs to be a part of the core.
(2014-07-20, 04:30 PM)jshort Wrote: [ -> ]It isn't a bad idea, but imo, I don't think this needs to be a part of the core.
I agree. Given that MyBB 1.8 does not have (by default) "gender" as a required field in the registration form, your idea is more suitable as a plugin.
OK, no problem... I will create small plugin for this, but I am waiting for final MyBB 1.8 gold Wink
I don't like this idea. It will just give females (and some males) a new way to attract attention.
no problem mate Smile it will be a plugin solution Wink
if you have created this one can you give me this plugin please ?
Yes, I have a working solution but is is based on template conditional plugin and css
can you make a tutorial for it please ?
Pages: 1 2