The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Changing navbar template
Hello, i need to change string "Private messages" in the navigation bar in the top of the page. (it is near "Welcome, username").
I have a template in my database with title "navbar" (templateid 9767). Needed part of menu prints with this template by next function: construct_phrase("$vbphrase[private_messages_nav]", "$vbphrase[unread_x_nav_compiled]", "$vbphrase[total_x_nav_compiled]", "" . $GLOBALS['vbulletin']->session->vars['sessionurl_q'] . "") I have a problem - i cannot find where i can change content of $vbphrase[private_messages_nav], can anyone help me please? Tnx in advance My vBulletin Version is 3.7.2. |
#2
|
||||
|
||||
Admin CP > Language & Phrases > Search in Phrases > private_messages_nav / Search in phrase variables only > Search
|
#3
|
|||
|
|||
Search in Phrases -> private_messages_nav + Phrase Text and Phrase Variable Name -> Find
Returns "No Phrases Matched Your Query" Where it could be in .php codes? I need to change not just phrase, but and link from it. |
#4
|
|||
|
|||
Well if you follow his instruction, you'd have it by now. But since you missed the part about:
Search in phrase variables only Try this way: Admin CP > Language & Phrases > Search in Phrases > Private Messages > Search |
#5
|
|||
|
|||
Find code it in "phrases" table.
It is: <a href="/private.php{3}">Private Messages</a>: {1}, {2}. But after i make changes - nothing happens. May be some cache? |
#6
|
||||
|
||||
You do not change the one in the database! You must add a translation through the Admin CP! There is a cache so changing the one in the database will not take effect immediately.
|
#7
|
|||
|
|||
Dismounted, hi! Through the Admin CP i can change text content of the link, for example
<a href="/private.php{3}">Private Messages</a>: {1}, {2}. to a <a href="/private.php{3}">Your mail</a>: {1}, {2}. but can i change <a href="/private.php{3}">Private Messages</a>: {1}, {2}. to a <a href="/other.php{3}">Private Messages</a>: {1}, {2}. through the Admin CP? Thank you very much for answers. |
#8
|
||||
|
||||
You can change the entire phrase if you wanted to.
|
#9
|
|||
|
|||
Tnx VERY much! I find it! AdminCP rulezz
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|