vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   vb 3.8.1 question about modifying navbar (https://vborg.vbsupport.ru/showthread.php?t=204001)

dplevy 02-02-2009 09:05 PM

vb 3.8.1 question about modifying navbar
 
need to know how to do the following things:

1. move the "faq" button to the "quick links" drop down.

2. get rid of the "community" button altogether

3. rename the "calander" to "show schedule"

also, i just upgraded form an old version so im not sure if this should be, but are the "home" and "gallery" buttons part of vb 3.8?

any help appreciated. thanks!

glennybee 02-02-2009 10:01 PM

Open navbar template.
1)

Find and remove:

Code:

<td class="vbmenu_control"><a rel="help" href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
Find:

Code:

$template_hook[navbar_quick_links_menu_pos4]
Add above:
Code:

<tr><td class="vbmenu_option"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td></tr>
2)

Find and remove:

Code:

<if condition="$show['communitylink'] AND $show['popups']">
                        <td class="vbmenu_control"><a id="community" href="$show[nojs_link]#community" rel="nofollow" accesskey="6">$vbphrase[community]</a> <script type="text/javascript"> vbmenu_register("community"); </script></td>
                <else />
                        <if condition="$show['memberslist']">
                                <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
                        </if>
                        <if condition="$show['quick_links_groups']">
                                <td class="vbmenu_control"><a href="group.php?$session[sessionurl]">$vbphrase[social_groups]</a></td>
                        </if>

                </if>

If you want, you can keep the code in red, you can keep or remove any code you want.

3)

Languages & Phrases > Search in Phrases

Enter 'calendar' in the search box.
Select 'GLOBAL' from the list
Hit Find

Edit the calendar phrase with whatever you want.

dplevy 02-02-2009 10:42 PM

ok cool. thanks. one more thing, how do i change where it says "your notifications" to "private messages"

Vaupell 02-03-2009 08:52 PM

AdminCP > Languages and Phrases > Search in phrases >

in the new window, top right in the seach field enter "your notifications"

click find/search in the next window you see 3 or more on the list
the one you wish to edit is either

- your_notifications
- vb3_your_notifications

Try one at a time, if its wrong set it back ;)


All times are GMT. The time now is 05:25 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.00980 seconds
  • Memory Usage 1,720KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete