![]() |
How can i do this code ?
I want to show my adv. in my forum. I want to this code but I want different one.
<if condition="$post[postcount] == 21"> I want to show my adv. in 21. , 31. ,41., 51..... but there is a lot of if cause. I want to 1 code to show a adv in *1, Thanks |
did u try
<if condition="$post[postcount] == 21,31,41,51"> ?? |
Parse error: syntax error, unexpected ',' in /home/abc/public_html/includes/adminfunctions_template.php(3596) : eval()'d code on line 150
|
Quote:
Try <if condition="$post[postcount] % 10 == 1"> |
Thanks, really thanks
|
Quote:
Just for my knowledge, can you please tell me how is the % interpreted in vBulletin code. I recently had another example % 2 . Does % means "after" X posts ? Thanks. Val. |
worked ?
|
[QUOTE=valdet;1407179]
Just for my knowledge, can you please tell me how is the % interpreted in vBulletin code./QUOTE] Its PHP not vBulletin Code. Arithmetic Operators |
All times are GMT. The time now is 12:35 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:
|