![]() |
What is wrong with this code?
I am trying to set up subscriptions, and need to block style selections for free members. I can't do an is IN (x,y) in the modifyoptions and footer templates as it gives me an error saying that IN isn't one of the options I can use for conditional functions.
I tried this in phpinclude_start, but it isn't working either: PHP Code:
Can anyone help? |
The second line is } instead of {
|
Why not try this..
PHP Code:
PHP Code:
|
And what assassingod said is true too ..i forgot to post that in my message :P..but it that was the actual code, it should give a PARSE error somewhere along the line...
|
PHP Code:
|
Very odd -- I wonder why it didn't give me any parse errors? It just seemed to ignore that section of the code all together.
Let me try to fix it... |
Why don't you use the is_member_of condition? ;)
|
It is fixed -- thanks!
Bob -- I am not familiar with that, is it a better way? I am still confuzzled as to why I didn't get a parse error with that { in there wrong. Oh well. |
What code did you end up using?
|
Indeed, say who won :P:P
|
Since I am trying to learn how to work with arrays, I kept Bob's, but all three methods worked.
:D |
[high]* TouchingVirus pays Boofo
[/high] damnit, i will get you again :D |
Quote:
|
All times are GMT. The time now is 08:07 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:
|