![]() |
process_template_conditionals doesn't work
I am planning on using the function 'process_template_conditionals()' in a script I'm making for vBulletin. It's returning "Test" even though the conditional should return false.
PHP Code:
|
Use single outer quotes instead of double... (so the condition is enclosed in double quotes). I haven't looked at the function, but I'm pretty sure that's how they are parsed.
PHP Code:
|
It doesn't make a difference.
This Works PHP Code:
I'm not that good when it comes to writing tutorials but can you understand it OK? ================================================== ============== This tutorial will show you how to return data from a column you've created and parse template conditionals. PHP Code:
================================================== ============== |
All times are GMT. The time now is 07:12 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:
|