The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
if ($vbulletin->options['fireworks_enabled'] && $vbulletin->userinfo['$vbulletin->options[\'fireworks_field\']'])
How can I make that so my if my field = yes it displays the code and if it = no it doesn't. Would this be correct? if ($vbulletin->options['fireworks_enabled'] && $vbulletin->userinfo['$vbulletin->options[\'fireworks_field\']'] = Yes) BTW $vbulletin->options[\'fireworks_field\'] is linked to my vbulletin profile field which is 142. |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
|||
|
|||
![]() Quote:
![]() --------------- Added [DATE]1246769635[/DATE] at [TIME]1246769635[/TIME] --------------- Hey what about this one? It's for a template, but Im having issues: a href="$post[$vboptions[rapidsharethanks_field]]" This will be in the postbit and fireworks field is in my options which I have as field81. I tried it that way but I get: WHITESPACE, expecting T_STRING |
#4
|
||||
|
||||
![]() Code:
$post[{$vboptions[rapidsharethanks_field]}] |
#5
|
|||
|
|||
![]()
Yea that was the first thing I tried, but again:
Parse error: syntax error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING |
#6
|
||||
|
||||
![]()
Sorry, put the curly braces in the wrong place.
![]() Code:
{$post[$vboptions[rapidsharethanks_field]]} |
#7
|
|||
|
|||
![]()
Still errors out
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING Code:
"http://www.rapidshare.com/{$post[$vboptions[rapidsharethanks_field]]}" Code:
"'http://www.rapidshare.com/' . {$post[$vboptions[rapidsharethanks_field]]}" |
#8
|
|||
|
|||
![]()
O it has nothing to do with the link because it will work if I just change it to:
http://www.rapidshare.com/$post[fieldw/e] So how can I get it to work with $vboptions in it? I've tried everything except for the right away apparently. I tried {$post[$vboptions[rapidsharethanks_field]]} like you said, but with no luck. ![]() |
#9
|
|||
|
|||
![]()
I still need help with this issue!
|
#10
|
|||
|
|||
![]()
Someone!
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|