![]() |
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"> |
Try changing <if condition="$vbulletin->options['enable_credits'] == 1"> to <if condition="$vboptions['enable_credits'] == 1">.
|
sweet that worked great thanks.
|
Please do not post modification questions or support requests in the lounge.
|
All times are GMT. The time now is 03:11 AM. |
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:
|