The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Phrase Help
I have the following in a template:
<phrase 1="$vboptions[bbtitle]">$vbphrase[some_phrase]</phrase> I want to change it to <phrase 1="$vboptions[someotheroption]">$vbphrase[some_phrase]</phrase> When I make the change it does not show up. I assume there is caching going on, but I don't know what I need to do to force a rebuild. Suggestions? |
#2
|
||||
|
||||
Are you changing it in the correct style? Are you sure $vboptions[someotheroption] is valid to use there?
|
#3
|
|||
|
|||
I'm pretty sure. I'm trying to change the <title> tag in FORUMHOME so that it is something other than bbtitle. Should that just work or am I misunderstanding something?
|
#4
|
||||
|
||||
That variable may not be available yet. You'll need to test it to see.
|
#5
|
|||
|
|||
Lynne,
Shouldn't I be able to put: <phrase 1="static text">$vbphrase[some_phrase]</phrase> and have "static text" appear in the phrase. What's happening now is that the original value (e.g., bbtitle) remains no matter what I do. |
#6
|
||||
|
||||
You can only do that if the phrase is set up for that and if the phrase as available there. If the phrase is not global, then it isn't available everywhere. And, in your example, the phrase must have a {1} in it if it is to show what you passed it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|