The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
cometchat folder is on root dir
Header of site has <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> <script>jqcc=jQuery.noConflict(true);</script> at the top and footer has <if condition="$bbuserinfo[field15] == 1 AND THIS_SCRIPT != 'chat' AND is_member_of($bbuserinfo, 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> at the bottom dont see footer code on page source |
#22
|
|||
|
|||
echo out the custom field by putting this in the template..
Field15 = $bbuserinfo[field15]<br /> See if you can find that in the source code view. |
#23
|
||||
|
||||
like put
Field15 = $bbuserinfo[field15]<br /> at the bottom of the forum home? |
#24
|
|||
|
|||
correct.
|
#25
|
||||
|
||||
well ill try that right now but fyi with
<if condition="THIS_SCRIPT != 'chat' AND is_member_of($bbuserinfo, 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> i got the bar back and its showing to the right people but its showing on the chat page still Ill change it back and run your test --------------- Added [DATE]1277258861[/DATE] at [TIME]1277258861[/TIME] --------------- Footer now has <if condition="$bbuserinfo[field15] == 1 AND THIS_SCRIPT != 'chat' AND is_member_of($bbuserinfo, 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> Field15 = $bbuserinfo[field15]<br /> in it and the source code is... Field15 = Yes<br /><script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1620004-1"; urchinTracker(); |
#26
|
|||
|
|||
OK, the answer is being parsed to how you spelled Yes when creating the field.
So, I blew it. Try this... HTML Code:
<if condition="$bbuserinfo[field15] == 'Yes' AND THIS_SCRIPT != 'chat' AND is_member_of($bbuserinfo, 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> |
#27
|
||||
|
||||
Quote:
|
#28
|
||||
|
||||
THANK YOU THANK YOU !
i also surrounded the header code in the conditional to keep if from loading when it wasnt needed the final answer was <if condition="$bbuserinfo[field15] == 'Yes' AND THIS_SCRIPT != 'addonchat' AND is_member_of($bbuserinfo, 5, 7, 6, 16, 12, 11, 17, 10, 13, 9)">STUFF</if> noppid Please PM me your pay pal for a donation |
#29
|
|||
|
|||
Glad to help. Sorry it took so long. I forgot about the parsing of the options, but remembered the form.
|
#30
|
||||
|
||||
Thanks Again $ Sent , More people should donate to people who help them and maybe more people would help others on here
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|