MyBB Community Forums

Full Version: Displaying the icons of gender
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Hi,
I'm looking for several minutes and I can not find anywhere else: how to make the subject view, etc., next login, display an icon of gender?

Regards,
albatros
To add gender icon;

Go to: ACP > Configurations > Custom Profile Field > Add New profile Field > and make one.

Now Go to: ACP > Templates > Postbit Templates > postbit_author_user > edit and find;
{$post['warninglevel']}

add just beneath the following code;

<br/>Gender:&nbsp;<img src="{$mybb->settings['bburl']}/images/{$post['fidX']}.gif" />

Replace "X" with the actual Profile Field ID. Wink

See screen;
That's text, not an icon.
I mean something like this: [attachment=21004]

Icons female.gif and male.gif are standard in the package MyBB. The only question is how to insert them into the template.
(2010-12-27, 05:53 AM)Uncontrol Wrote: [ -> ]That's text, not an icon.

I didn't said its an icon BTW;
(2010-12-27, 05:43 AM)Yaldaram Wrote: [ -> ]To add gender text;
:s
Yeah, but that's not what he was asking for ... you are just rushing to answer every question as usual, even if you don't have a real answer ...
@OP: If you want, you may request a plugin for this: http://yaldaram.com/forumdisplay.php?fid=3 Smile
What are these icons in the MyBB package if they can not be easily replicated?
I just made an edit and its working fine now for me. See the post above please.
How does that switch between male and female? Very cool if it works.
Pages: 1 2 3