The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello.
I want to change my "Register at Forums" phrase on my register.php from saying "Forums" which is my [bbtitle] to "NashvilleChristian.com" which is my [hometitle]. I found the correct phrase to edit: $vbphrase[register_at_x] Code:
Register at {1} I looked through the code of register.php, but can't seem to find any area where {1} is defined. I tried changing this to {2} but I got an error: [ARG:2 UNDEFINED], which seems to be telling me that argument 2 is undefined. So back to my question, where can I define this value so that I can use it? Where can I say that {2}=[hometitle]? Confusing. Thanks! |
#2
|
||||
|
||||
![]()
You can just change {1} to the text. Alternatively, you will have to find where the phrase is used in templates, and change the parameters that are set.
|
#3
|
||||
|
||||
![]() Quote:
I don't understand the second part of what you are saying, about the templates. Can you please elaborate? Thanks for the help! Jeff |
#4
|
||||
|
||||
![]()
Phrases with parameters look like this in templates:
Code:
<phrase 1="$blahblah" 2="$blahblah2">$vbphrase[somephrase]</phrase> |
#5
|
||||
|
||||
![]()
So you are saying that I can do it EITHER the first way (hard coding) OR by modifying the phrase. Is that correct?
Also, those definitions are just good for that one page or template, this doesn't set them globally, right? So you could have phrase 1 = one thing on one page, and something totally different on the next, is this correct? Thanks! Jeff |
#6
|
||||
|
||||
![]() Quote:
![]() Correct. |
#7
|
||||
|
||||
![]()
Thanks!
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|