HTML-Code:
<if condition="$post[field7]">
<if condition="$post[field7] == 'Männlich'"><img src="$stylevar[imgdir_misc]/male.gif" alt="männlich" /></if>
<if condition="$post[field7] == 'Weiblich'"><img src="$stylevar[imgdir_misc]/female.gif" alt="weiblich" /></if>
</if>
Ich glaube das reicht ihm nicht ganz..
Um den Indikator hinter / unter den Benutzername zu bekommen, kannst du es z.b. so machen.
Suche dazu in beiden postbit-Templates diese Stelle (in rot markiert der Benutzername)
Code:
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="m.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
</div>
Den Code kannst du direkt dahinter setzen. Also z.b. so. (rot der Benutzername und Blau der Indikator)
Code:
<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<a class="bigusername" href="m.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
$post[onlinestatus]
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
$post[musername]
</if>
<if condition="$post[field7]">
<if condition="$post[field7] == 'Männlich'"><img src="$stylevar[imgdir_misc]/male.gif" alt="männlich" /></if>
<if condition="$post[field7] == 'Weiblich'"><img src="$stylevar[imgdir_misc]/female.gif" alt="weiblich" /></if>
</if>
</div>
Lesezeichen