![]() |
Quote:
|
Boy did I miss read that one! I need a nap! :D
|
Ok this is what I put
<if condition="$bbuserinfo[field18] === 'Yes'"><div>Gender Status Icon</div></if> should I put a comma between Gender and status Icon? or did I do that bit wrong? |
Where did you put that code? And, you need to put the actual *code* from the templates between the conditon.
|
I put it in my postbit...
So you mean like the field number? |
Here is an example from my site. I have field 6 which asks users whether they wish to see post count or not:
HTML Code:
<if condition="$bbuserinfo[field6] === 'Yes'"><div>$vbphrase[posts]: $post[posts]</div></if> |
hmm it is still not working for me..
Field18 asks if members want to show postbit icons like "Gender, and status" <if condition="$bbuserinfo[field18] === 'no'"><div>$vbphrase[gender]: $gender[gender]</div></if> I only have it for gender right now, but I set mine to no, and I still see them. |
Well, your logic says "if it's set to no, show it" which is the opposite of what you want. You want, "if it's set to yes, then show it".
|
Ok so I changed it to
<if condition="$bbuserinfo[field18] === 'yes'"><div>$vbphrase[gender]: $gender[gender]</div></if> but its still not working on my end, and I did switch my answer to yes on my end. |
Well, if you switched your answer to yes, then it is going to show according to that condition.
|
All times are GMT. The time now is 12:30 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:
|