PDA

View Full Version : Navbar Question


Matty.B
10-02-2007, 02:28 AM
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:
<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:
<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