The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Weirdness with $vbphrase
Hello,
I ran this question over on vBulletin.com and surprise, surprise, they referred me here. I created a new setting in my admincp called termsofuse so that I could just add the URL to the file to load, just exactly like the Privacy Statement. The $vboption[termsofuse] works perfectly BUT the $vbphrase piece is empty for some reason even though I can see and access it in the database and in the phrase utility in the admincp. For some reason, the array value $vbphrase[termsofuse] that I think is suppose to contain "Terms Of Use" is empty and no matter what I do, I can not get or don't know how to get that value loaded from the database to the working array. This code works: Code:
<if condition="$vboptions[termsofuseurl]"><a href="$vboptions[termsofuseurl]">Terms Of Use</a> - </if> Code:
<if condition="$vboptions[termsofuseurl]"><a href="$vboptions[termsofuseurl]">$vbphrase[termsofuse]</a> - </if> Any idea where or how I can initialize the array to grab the correct phrase from the database? TIA for your help. regards, mikesz |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|