![]() |
Trying to use if conditional but can't get it to work
I'm trying to use the code below to make the following happen:
If $show['spelling_checker'] OR $show['infraction_checker'] are true AND $vbulletin->GPC['accept_rules'] is not true, then show the error code. Also, if $show['intro_checker'] is true and $vbulletin->GPC['intro_rules'] is not true, also show the error code. I'm trying to put them together in one combined statement, but not sure what I'm doing wrong. PHP Code:
|
You don't have () around the full condition and you have an extra if:
PHP Code:
|
Thank you Lynne. :)
|
All times are GMT. The time now is 02:17 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:
|