The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Whats wrong with this statement?
Im trying to use this in a template to display the number of points a user has in their postbit.
No matter what i do or try though, it always says "credits system is disabled" It doesnt seem to want to work weather or not it is turned on or off. The var names are correct, and if i remove the vbulletin options conditional, it will display fine.... i just want it to be able to reflect if the system is on or off. Code:
<if condition="$vbulletin->options['enable_credits'] == 1"> <if condition="$post['credits']">Credits: $post[credits]<br /></if> <else /> <if condition="$post['credits']">Credits System Is Disabled<br /></if> </if> |
#2
|
||||
|
||||
Try changing <if condition="$vbulletin->options['enable_credits'] == 1"> to <if condition="$vboptions['enable_credits'] == 1">.
|
#3
|
||||
|
||||
sweet that worked great thanks.
|
#4
|
|||
|
|||
Please do not post modification questions or support requests in the lounge.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|