vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   modding the navbar (https://vborg.vbsupport.ru/showthread.php?t=174831)

invitezone 04-01-2008 06:43 PM

modding the navbar
 
can someone tell me how i make changes to the navbar?

i have a customised style and have removed all other styles including all the default ones.
now the navbar links should look like this

User CP / FAQ / members list / calendar / new posts / search / quick links / log out

all the links are there and are working correctly but the text saying

'members list'
'new posts'
'quicklinks'

is not there. These links do work, its just that there it no text saying what the link is to.
Can someone tell me how i make changes to the navbar as i am new to making forums. I am sure i have to edit the navbar template code in someway but im not sure how.
I thought i would search the navbar tenplate for calendar as that link text shows up fine and maybe i could see where that was and work it out from there. But I could'nt find it.

So i am now stuck.

Boofo 04-01-2008 06:58 PM

Look for the phrases that should be connected to those.

invitezone 04-01-2008 07:25 PM

sorry what do you mean? the php filenames that they link to?

Lynne 04-01-2008 07:57 PM

Look in your navbar template. Do you have a line like this:
<a href="$vboptions[bburl]/memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a>

That is the link to the memberlist page and the text is from a phrase called "members_list". So, go into Admin CP > Language & Phrases > Search in Phrases > put in "members_list" and click next to Phrase Variable Name Only and hit find. See what is in there.

Boofo 04-01-2008 08:01 PM

Thank you, Lynne. I should have explained it better, sorry.

Lynne 04-01-2008 08:09 PM

Quote:

Originally Posted by Boofo (Post 1480402)
Thank you, Lynne. I should have explained it better, sorry.

Sometimes you never know exactly what to say that will ring the bell for someone. Who knows if I clarified it better, or just confused him more! :eek:

invitezone 04-01-2008 08:20 PM

ahh i see there is a seperate template called phrases that i need to edit.

yes that is clarified better lol.

thanks for your help both of you i will go and try that now

Boofo 04-01-2008 08:34 PM

Quote:

Originally Posted by Lynne (Post 1480416)
Sometimes you never know exactly what to say that will ring the bell for someone. Who knows if I clarified it better, or just confused him more! :eek:

Yes, but you do it with such style and grace. Not like my clumsy attempts. ;)

invitezone 04-01-2008 09:57 PM

i went to the navbar template and i cant even find members.php when i search it.

any other suggestions?

cheat-master30 04-01-2008 10:18 PM

Then it's probably not even there, so add it. Something like this for memberlist:

Code:

<td class="vbmenu_control"><a href="memberlist.php">Member List</a></td>


All times are GMT. The time now is 07:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01775 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete