![]() |
harry *clicks install* with a big hug for Kerry-Anne :-)
|
Please look. It messed up my postbit_legacy and I know for sure I added them all right.
|
what version are you running?
You can either drop the $vbphrase from your template or move the code to before the IM icons. |
I just installed it 15 minutes ago so latest version.
Please tell me where "before the IM icons"? I don't want to mess up. I'm not exactly pro on coding so I just want to make sure. Thanks |
in your postbit_legacy template
FIND Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon]</div> Code:
<if condition="$post[fieldx]"><div>$vbphrase[gender] <img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></div></if> |
It keeps trying to show the country flags instead of male/female image. Why is that?
|
This is the code portion:
Code:
<if condition="$show['reputation']"><div><if condition="$show['reppower']">$vbphrase[reppower]: $post[reppower]</if>$post[reputationdisplay]</div></if> |
make sure that field 7 is your gender profile field. if it is wanting to show the flags then it is the wrong number so go back into your profile field manager and get the correct field number.
|
installed :) thanks
|
does anyone have anymore male and female gifs animated if possible?
|
Quote:
|
I'll see what I can find for you and get back to you. it'll probably be monday though due to a busy weekend
|
Small problem (I think) I installed this when it just came out. After installing your christmas-style it was gone. So I try to reinstall this but I get little red X and I'm sure that the pictures are in pictures/misc. Can it be that it's expecting the pictures somewhere in the xmas folder? I installed the christmas-style as a childstyle.
|
Thats exactly what it is doing. If you upload the gender images to /xmas/misc as well then it will work correctly.
|
Ok... I know that this is only for postbit, but is there a way to show this in the user profile too?
|
I'm just on my way out the door but I'll take a look when I get back. It should be straightforward enough.
|
Quote:
|
Ok, in template MEMBERINFO
FIND Code:
<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if> Code:
<div class="smallfont">$vbphrase[gender] <img src="$stylevar[imgdir_misc]/$post[fieldx].gif" alt="$post[fieldx]" /></div> |
Tks a lot peterska2!
If latter you need some graphics done or something, just ask :) take care. |
I am having a problem with this, all going in all showing up just in the wrong place :( its showing up right next to the username rather than below it, can anyone help
Thanks |
what is the:
STEP THREE ADD PHRASE type: global varname: gender Text: Gender: bit?? i dont know what that 'add phrase' bit means?? |
Quote:
FIND Code:
<div> Code:
<div> |
Quote:
Then complete that form with the above info. |
Quote:
|
Did you do it on the right style?
It should work, although I've not yet upgraded to 3.5.3 myself but nothing should have changed that would affect this. Do you have a link to a users posts who has set their gender via the userCP? |
Quote:
|
Did you create the user profile field?
|
Yes - it's field7.. I put that in all the fieldx areas as well.
|
strange. Did you do the postbit_legacy edits?
|
Yes... just checked that again. I edited postbit_legacy
|
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 04:16 AM. |
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:
|