![]() |
Please take a second and help me with this if conditional
Why Wont this work?
PHP Code:
How about this ?? PHP Code:
|
Maybe this?
PHP Code:
No maybe this... PHP Code:
|
Neither worked
|
What if you got rid of the THIS_SCRIPT?
PHP Code:
|
whole thing goes away , and yes i have field15 set to yes on my profile :D
|
Check the field15 and see if yes is set as all caps. It needs to be EXACTLY as you entered it in the profile field setup.
|
I went and toggled profile field 15 to no , then yes and it appears to be working with
<if condition="$bbuserinfo[field15] == 'Yes'"> <if condition="is_member_of($vbulletin->userinfo, 5, 7, 6, 16, 12, 11, 17, 10, 13, 9)"> <!-- CometChat Footer Code Start --> <link type="text/css" rel="stylesheet" media="all" href="/cometchat/cometchatcss.php" charset="utf-8" /> <script type="text/javascript" src="/cometchat/cometchatjs.php" charset="utf-8"></script> <!-- CometChat Footer Code End --> </if></if> But why did i have to toggle it? --------------- Added [DATE]1277255751[/DATE] at [TIME]1277255751[/TIME] --------------- even tho its Yes at default you have to go to edit options and hit save for it to show how can i fix that? |
Did you create the custom field in the acp? If so, you are looking for an integer, not text.
|
Yes i created the profile field in the admin cp , what do i need to do to get this on track , i got it working but you have to go to edit options and hit save for it to take , and still cant figure out how to keep it off chat.php
|
Well I had that in my first ones...and he said it didn't work. Maybe if he tries one of the first ones I said and took out THIS_SCRIPT part?
|
All times are GMT. The time now is 01:29 PM. |
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:
|