Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 13 Jan 2009, 10:57
Lisnig Lisnig is offline
 
Join Date: Jan 2009
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.
Reply With Quote
  #2  
Old 13 Jan 2009, 11:59
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
Admin CP > Language & Phrases > Search in Phrases > private_messages_nav / Search in phrase variables only > Search
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #3  
Old 13 Jan 2009, 12:46
Lisnig Lisnig is offline
 
Join Date: Jan 2009
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.
Reply With Quote
  #4  
Old 13 Jan 2009, 13:51
Infopro Infopro is offline
 
Join Date: May 2003
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
Reply With Quote
  #5  
Old 13 Jan 2009, 14:00
Lisnig Lisnig is offline
 
Join Date: Jan 2009
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?

Last edited by Lisnig; 13 Jan 2009 at 14:13.
Reply With Quote
  #6  
Old 14 Jan 2009, 04:54
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
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.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #7  
Old 14 Jan 2009, 09:46
Lisnig Lisnig is offline
 
Join Date: Jan 2009
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.
Reply With Quote
  #8  
Old 14 Jan 2009, 11:38
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Real name: Hanson
You can change the entire phrase if you wanted to.
__________________
Former vBulletin.org Staff Member

View My Modifications
29 Releases and Counting... Latest Modification: dmActivityStream - vBookie Integration (4.x)

Please do not PM me to ask for support - please use the relevant thread or forum.
Reply With Quote
  #9  
Old 20 Jan 2009, 09:23
Lisnig Lisnig is offline
 
Join Date: Jan 2009
Tnx VERY much! I find it! AdminCP rulezz
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 01:29.

Layout Options | Width: Wide Color: