The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Questions About phrase
Hello
there is something is confuse me i have phpcode and i need to use some phrase like "Username"PostCount"Welcome"Rank"avatars" i get the Username work fine without use any vbphrase In the PHPCode i have add this . PHP Code:
in the template i have add this Code:
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[gtcustom_permissionsadmin_msg]</phrase> Thankyou |
#2
|
||||
|
||||
Quote:
|
#3
|
|||
|
|||
Hmm what do i forget ? The Space ?
Here i was trying this PHP Code:
<strong><phrase 1="$vboptions[username]">$vbphrase[gtcustom_page1_msg]</phrase> in the vBphrase i add a new phrase called gtcustom_page1_msg i try to test and add {1} but it dont work i'm not sure what wrong Thankyou |
#4
|
||||
|
||||
Quote:
<strong><phrase 1="$userinfo[username]">$vbphrase[gtcustom_page1_msg]</phrase> |
#5
|
|||
|
|||
Hello
i try this and it dont work here is the php code Quote:
Here in the template <phrase 1="$userinfo[username]" 2="$userinfo[rank]">$vbphrase[gtcustom_page1_msg]</phrase> So in the page i created it should look like Hello {1} Your Rank {2} but it dont work with me for some reson .. :tired: |
#6
|
|||
|
|||
i see no problem in your code however note that not all phrasegroups are loaded on all vbulletin pages ... and that might be the cause of your problem at the top of vbulletin source files you will find
PHP Code:
|
#7
|
|||
|
|||
Hmm Then why it dont work with me
if i use $vboptions[bbtitle] $vboptions[companyname] this work fine .. just the above code dose not work .. |
#8
|
|||
|
|||
try to rebuild the languages you have installed (admincp => phrasemanager => languagemanager => rebuild) that helped me before when i had a similar problem
|
#9
|
|||
|
|||
Hello
Thankyou For the help i dont think this work for me i try this before alot and it dont work know i use anther way and it seem to me work fine .. i use $bbuserinfo[something] and it work without i need to add the construct_phrase() in the php code.. hmm. Peace. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|