![]() |
Did I set it up right?
|
strange. Did you get my PM?
|
I have done that, and it works, but it has 'Gender:' before the image. How can i take that away?
|
@ GrabAssGirl
Change 'Field Editable By User' To YES @ Murty Remove this code Code:
$vbphrase[gender] |
I'd love to be able to use this hack, but unfortunately the vBarcade has an edit in the postbit in the same phrase that you call to replace.
EX: You say to find: <div id="postmenu_$post[postid]"><if condition="$show['profile']"> <a class="bigusername" href="member.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> and replace it with: <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a> $post[onlinestatus]<if condition="$post[fieldx]">$vbphrase[gender] <img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></if> <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername]<if condition="$post[fieldx]">$vbphrase[gender] <img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></if> </if> </div> BUT: the vB3 arcade edits that same section and it now looks like this: <div id="postmenu_$post[postid]"> <if condition="$show['profile']"> <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a><!-- v3 Arcade --> <if condition="$post['arcadeawards']"><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]"><img src="$vboptions[arcadeimages]/trophy.gif" align="absmiddle" alt="$vbphrase[arcade_champion]" border="0" /></a></if> <!-- /v3 Arcade --> $post[onlinestatus] <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script> <else /> $post[musername] </if> </div> so... what do I do?? :surprised: |
Put this
Code:
<if condition="$post[fieldx]">$vbphrase[gender] <img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></if> Code:
<else /> |
Ok that worked... but now... I have the word Gender in front of the little image
what can I do? ALSO... do I have to edit the postbit_legacy as well, or just one of them. I did the postbit template |
Quote:
To remove the word Gender delete this section of code Code:
$vbphrase[gender] |
works perfect... thank you peter!
|
Hey Peter.. Just curious, but does everyone have to have the option: Undisclosed <-- as one of the options... Cuz i would rather just use Male & Female.. Would there be any problems in the code that i would have to change to get it to work
|
All times are GMT. The time now is 02:17 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|