![]() |
conditionals not working
In my product I check what number is in the field then I write an HTML conditional for the appropiate parts.
PHP Code:
|
you've got a typo.
Code:
<if condition='".$show['meber']."'> Code:
<if condition='".$show['member']."'> |
I fixed that but still doesn't work.
Maybe if I cancel out the array <if condition='.\$show['member']."'> |
Make sure $show['member'] is set and try...
Code:
<if condition="$show[member]"> |
I tried this but this doesn't work
PHP Code:
|
Oops, missed your hook location. Yes it's that b/c $show['member'] is not defined until after that hook. In global you'll see...
Code:
if ($vbulletin->userinfo['userid']) Code:
<if condition="$bbuserinfo[userid]"> |
i'll do that tonight.
thanks |
All times are GMT. The time now is 01: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:
|