Anyone know how to make a vbulletin->option variable evaluate in a phrase? I'm trying to use the phrase as part of the description for an admincp setting.
For example, I have the variable $vbulletin->options['throttle_posts_time'] set to 24.
I want my phrase to read:
Quote:
Maximum number of posts in a 24 hour period? Set to -1 for an unlimited number of posts allowed.
|
I've tried:
Quote:
Maximum number of posts in a {{vbulletin->options['throttle_posts_time']}} hour period? Set to -1 for an unlimited number of posts allowed.
|
Quote:
Maximum number of posts in a {{$vbulletin->options['throttle_posts_time']}} hour period? Set to -1 for an unlimited number of posts allowed.
|
Quote:
Maximum number of posts in a $vbulletin->options['throttle_posts_time'] hour period? Set to -1 for an unlimited number of posts allowed.
|
with no luck. The variable still stays as the string (like {{vbulletin->options['throttle_posts_time']}}) instead of being evaluated. Any ideas?
Thanks!