2010-12-29, 06:46 AM
2010-12-29, 06:55 AM
(2010-12-28, 06:49 PM)Uncontrol Wrote: [ -> ]How does that switch between male and female? Very cool if it works.
Well, you can do, if you've skills
2010-12-29, 01:51 PM
2010-12-29, 04:36 PM
Thanks
2010-12-29, 05:29 PM
(2010-12-29, 01:51 PM)Uncontrol Wrote: [ -> ](2010-12-29, 06:55 AM)Yaldaram Wrote: [ -> ](2010-12-28, 06:49 PM)Uncontrol Wrote: [ -> ]How does that switch between male and female? Very cool if it works.
Well, you can do, if you've skills
Um :|
Well, thanks for the solution even if I can't understand these words, LOL
(2010-12-29, 04:36 PM)Yaldaram Wrote: [ -> ]Thanks
Haha, he doesn't even acknowledge what you've just said...
2011-01-30, 09:36 PM
http://community.mybb.com/thread-85046-p...#pid621468
How do I do that when a guest posts did not show an icon?
How do I do that when a guest posts did not show an icon?
2011-02-01, 03:31 PM
You need conditional for that.
2011-02-04, 09:19 PM
(2010-12-27, 05:43 AM)Yaldaram Wrote: [ -> ]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: <img src="{$mybb->settings['bburl']}/images/{$post['fidX']}.gif" />
Replace "X" with the actual Profile Field ID.
See screen;
(2010-12-27, 02:55 PM)Yaldaram Wrote: [ -> ](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
I don't get why you've used GIF image path in the code then? If it only displays text as gender? Your code below to use.
<br/>Gender: <img src="{$mybb->settings['bburl']}/images/{$post['fidX']}.gif" />
Should it not be this instead, if it only displays text.
<br />Gender: {$post['fidX']}
Also, I spotted that the the break code should have a space before the backslash in that code like so below.
<br />
2011-02-05, 04:59 AM
(2010-12-27, 05:43 AM)Yaldaram Wrote: [ -> ]add just beneath the following code;
<br/>Gender: <img src="{$mybb->settings['bburl']}/images/{$post['fid3']}.gif" />
I tried this, but it is no working. Apparently
{$post['fid3']}
is not returning a result, so I end up with just /.gif as my image.Ideas?
2011-02-05, 06:36 AM
I remember there was a slight issue with vBulletin on something like this. In the end the problem was with using "capital letters" for Male and Female, instead use male and female as answers with all small letters and create GIF images named the same way (using all small letters).
Worth a try?
Worth a try?