Quote:
Originally Posted by insidegames
is it possible to get the gender-icon after the username?
|
working Perfectly on VB 4.2.0pl3
yes.
Firstly understand. The image name is case sensitive. Find first you
Fieldx.
No number, but
the two names.
e.g:
Male and
Female =>
Female is different of
female
just rename the img as you filled in FieldX
Put the two img in
/yourforum/images/misc
if you use VB4.2x
Find in postbit_legacy or postbit, this line: ( in my case I used postbit_legacy).
To put After USERNAME, use my attachments.
PHP Code:
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
Change to:
PHP Code:
<vb:if condition="$post['userid']">
{vb:raw memberaction_dropdown}
<vb:if condition="$post['fieldX']"> <img src="{vb:stylevar imgdir_misc}/{vb:raw post.fieldX}.png" alt="{vb:raw post.fieldX}" />
<vb:else />
<span class="username guest">{vb:raw post.musername}</span>
</vb:if></vb:if>
I alter to PNG File. (case sensitive to) if you need change to .gif or .GIF? it's OK.
I used spacing
( ) to separate the image of Username.
Maybe you need to take out or put more ( ).
Depending on the template of your postbit.
Be happy
----------------

18x18-PNG

18x18-PNG
----------------

12x12-GIF

12x12-GIF