The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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? |
#2
|
||||
|
||||
The second line is } instead of {
|
#3
|
||||
|
||||
Why not try this..
PHP Code:
PHP Code:
|
#4
|
||||
|
||||
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...
|
#5
|
||||
|
||||
PHP Code:
|
#6
|
||||
|
||||
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... |
#7
|
||||
|
||||
Why don't you use the is_member_of condition?
|
#8
|
||||
|
||||
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. |
#9
|
||||
|
||||
What code did you end up using?
|
#10
|
||||
|
||||
Indeed, say who won :P:P
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|