vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Navbar Question (https://vborg.vbsupport.ru/showthread.php?t=159256)

Matty.B 10-02-2007 02:28 AM

Navbar Question
 
Okay now i may be sounding like a n00b and that because with vBul i am!

I was just after a quick bit of help.. This may also help other vBul users too. As i canot find any information regarding THIS (not problems occuring after editing which is all i could seem to find in google :S)

I have been searching high and low and cannot find a tutorial on how to edit the navbar in vBul 3.6.8..

I have no problems finding what i need to find in the navbar template:

ie (for the UserCP tab):
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>

But i don't know how to edit this..

I wish to know...

1. How do i make it say something else ie UserMenu instead of UserCP?

2. How do i delete the ones i dont want?

3. How do i add more custom ones?

4. How do i make a Drop Down (Quick links style) Menu?

5. The Complicated one.... How do i make some only appear when you are signed in

Cheers Everyone

Dismounted 10-02-2007 05:14 AM

1./ Edit the phrase 'user_cp'.
2./ Simple remove the code.
3./ Add more of these:
Code:

<td class="vbmenu_control"><a href="custom_page.php">Custom Link</a></td>
4./ There's a tutorial in the Articles section.
5./ Instead of adding the above, do this:
Code:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="custom_page.php">Custom Link</a></td>
</if>


Matty.B 10-02-2007 05:33 AM

Thankyou heaps!

one thing

4./ Link?

Cheers :D

Dismounted 10-02-2007 05:44 AM

Why didn't you just look for it? It takes half a minute max.
https://vborg.vbsupport.ru/showthread.php?t=126649

Matty.B 10-02-2007 06:05 AM

Sorry about that.. I have been looking for things ALL DAY and i just got really lazy and thought i would get the same answers every time.. Thankyou very much for posting the link, and not just telling me to look for it like a lot of others would. I appreciate it

Thanks heaps :D


All times are GMT. The time now is 03:50 PM.

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.01096 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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