![]() |
Anyone?
I have set:
PHP Code:
I need it so that if: 0 Referrals = That message Above 1+ Referrals = Shows their number (as shown in else statement) 20+ = Shows in blue. How would I do that? I need an If condition x2, but not sure how to do it. |
<a href="https://vborg.vbsupport.ru/showthread.php?t=188930" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=188930</a>
Also font codes are bad coding use CSS |
Im not sure how this would help me use and / or conditions.
If they have 0 referrals, it will say 0 referrals in red. If they have 1-19 it will say it in default If they have 20+ it will say it in blue. This is what I can't work out the code for. |
The number of users that have be referred by a certain user is not stored in the database, it requires an additional query to count.
|
$referrals does work. It comes up with XX referrals. I am using a referral mod to show this.
But what I am asking is how to specify how to use the command If 0 = red font and 1 - 19 = normal or 20+ = blue font Thus using IF AND OR commands.. How would I do this? |
HTML Code:
<if condition="$referrals == 0"> |
Perfect, Thats what I was asking!!
Thanks Lynne. I was using <if condition"$referrals == <20"> Which was what was giving me the error. |
Quote:
|
All times are GMT. The time now is 07:00 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:
|