The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Simple Conditional
Well, I asked for vB support, but didn't work out. Can you guys help?
Quote:
|
#2
|
||||
|
||||
$post isn't available in the header...
Is field7 what the current user selected? If so, try PHP Code:
|
#3
|
|||
|
|||
Thanks man. =) Here is the full code for anyone who wants it (may release a product later). It installs a nice little snow effect on your board, I'm sure you can figure out the check box as a custom profile field your self.
<if condition="$vbulletin->userinfo['field7'] == 'Yes'"> <!-- Snow Effect(Small SnowFlakes) by Blackpheonix ? to Dynamic Drive --> <script type="text/javascript" src="/board/images/misc/snow.js"> </script> <!-- /Snow Effect(Small SnowFlakes) by Blackpheonix ? to Dynamic Drive --> <else /> <!-- no snow decoration --> </if> Use with this hack. :nervous: |
#4
|
|||
|
|||
Aren't yes/no fields boolean?
|
#5
|
||||
|
||||
Quote:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|