PDA

View Full Version : Forum Display Enhancements - Easy Navbar Links


SuperTaz
11 Jan 2009, 21:57
Description:
This template edit displays quick and easy links to your navigation.

Installation Time: Less than 1 minute

I got the inspiration from "yoyoyoyo" who made a similar mod for 3.6.8. Although his might work fine for this also, I decided to alter it a bit and cleaned up some code.

I did PM yoyoyoyo to use a variation of his hack but, since he has not been online since September 2008, I can't get a response.

Since yoyoyoyo came up with this type of template edit, all the credit goes to him.

Here is the mod from yoyoyoyo for version 3.6.8:

http://www.vbulletin.org/forum/showthread.php?t=160642

Template Edit:

Styles and Templates > Style Manager > Your Style > Navigation / Breadcrumb Templates > Navbar:

In the Navbar find:

<!-- breadcrumb, login, pm info -->

Above it add:

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->


Then click Save and Reload!

Done!

OPTIONAL:

If you want to show a link only to members use this:


<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>


If you want to show a link only to members, and a different link to guests use this:


<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Member Link Title Goes Here</a></td>
<else />
<td class="vbmenu_control"><a href="http://url.com">Guest Link Title Goes Here</a></td>
</if>


To make the link open in a new window use this URL instead:


<td class="vbmenu_control"><a href="http://url.com" target="_blank">Link Title Goes Here</a></td>


To make the link(s) only visible to certain usergroups use this:


<if condition="is_member_of($bbuserinfo, X, Y, Z)">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>


Substitute X, Y, Z with the ID numbers of the groups that you want to allow to see the link. If you only want one usergroup to be able to see the link then use: $bbuserinfo, X and substitute X with the ID number of the group that you want to allow to see the link.

Of Course you want to change the URL's to your site URL and direct the link to any site or feature you want for your site.

Any problems, let me know.

Make sure if you use this template edit to CLICK INSTALL.

Shaheen
12 Jan 2009, 00:38
Nice , i was loookin for it.
Thanks

proudgreenyin
12 Jan 2009, 01:25
exactly what i needed right now. thanks very much m8

SuperTaz
12 Jan 2009, 02:14
You're welcome. Any problems, just ask and I will help.

zefyx
12 Jan 2009, 05:50
Thanks Warden-B-, looks great :]

SuperTaz
12 Jan 2009, 05:51
You're welcome! :)

hatiramolsun
12 Jan 2009, 17:20
nice,
thanks...

SuperTaz
13 Jan 2009, 17:34
You're welcome.

shane greer
15 Jan 2009, 02:07
Excellent thankyou very much!!

inferno5
15 Jan 2009, 06:59
Hi I just made these changes to my template's navbar but I dont know why I am not able to see the change. I checked and its saved in the code and I even cleared cache to reload and check but no luck. I must be doing something wrong. Since I added this new skin with buttons in navbar, even the previously added Links have disappeared. Sorry I am new to the navbar manual editing. If you require I could post my navbar code.

inferno5
15 Jan 2009, 10:05
Nevermind. I found all the links in the "header" section of the template. Why its not in navbar I dont know but my problem is solved. Thanks

SuperTaz
15 Jan 2009, 19:15
Glad to see you fixed it inferno. Make sure to mark installed if you use this mod.

inferno5
15 Jan 2009, 19:34
Marked as Installed!

SuperTaz
19 Jan 2009, 01:07
Thank you.

nectons
19 Jan 2009, 19:02
SO PERFECT!!!

~installed~

CoolMomGuide
20 Jan 2009, 03:26
Marked as installed, and AWESOME. Is there a code I can add so it opens the links in a new window?

SuperTaz
20 Jan 2009, 05:20
Marked as installed, and AWESOME. Is there a code I can add so it opens the links in a new window?

Yes.

<td class="vbmenu_control"><a href="http://url.com" target="_blank">Link</a></td>

Shaliza
21 Jan 2009, 07:10
Installed. =)

raja811
25 Jan 2009, 13:36
thanks

TheTrust
25 Jan 2009, 14:05
nice ........ thank you

CPOWA
25 Jan 2009, 14:51
Installed: Excellent hack! Thank you so much, Warren :)

Nita

SuperTaz
26 Jan 2009, 03:35
Thank you. Make sure you mark as installed if you want any support.

Freddy.k
26 Jan 2009, 15:39
Excellent thankyou very much

SuperTaz
30 Jan 2009, 00:45
You're welcome. :)

aircool52
30 Jan 2009, 01:00
I have installed , but is any way to separate the two bars , instead one on top of the other?

SuperTaz
30 Jan 2009, 06:12
I have installed , but is any way to separate the two bars , instead one on top of the other?

Go to your "navbar" template and find this code:

<!-- breadcrumb, login, pm info -->


ABOVE IT ADD THIS:
<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
<td class="vbmenu_control"><a href="http://url.com">Your Title</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->

SuperTaz
10 Feb 2009, 03:01
Updated.

luan7749
10 Feb 2009, 03:15
Cool ! Thank partner

Videx
10 Feb 2009, 03:22
Now if only this was a product, so we wouldn't have to edit every time we updated.

SuperTaz
13 Feb 2009, 03:06
Now if only this was a product, so we wouldn't have to edit every time we updated.

I am not that good. lol But, if you use the TMS system, you would not need the product. Just update your default style and the TMS system will do the rest. Did for me.

K4GAP
18 Feb 2009, 04:50
Fantastic! And so easy :)

Q. What is this "TMS system" referred to in previous post?

o0Hubba0o
21 Feb 2009, 05:02
Fantastic! And so easy :)

Q. What is this "TMS system" referred to in previous post?

I do believe they're referring to the Template Modification System (http://www.vbulletin.org/forum/showthread.php?t=152931) if I remember right. :)

conheomap
21 Feb 2009, 05:18
Really great mod. Installed! Thanks

SuperTaz
21 Feb 2009, 08:19
Fantastic! And so easy :)

Q. What is this "TMS system" referred to in previous post?

Template Modification System

93Corvette
21 Feb 2009, 21:32
I have installed , but is any way to separate the two bars , instead one on top of the other?

I just installing this. My question is how do you make it so they are together. Mine is seperated like aircool52 wanted, but I want it the other way.... This is a screen shot of what I have now. I want mine below my original one (the way aircool52 picture looks).
EDIT, (just found out by playing with it): To make them one on top of the orginal NavBar, find the following code and place it above it:
<!-- nav buttons bar -->
<div class="tborder" style="padding:$stylevar[cellspacing]px; border-top-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
<tr align="center">

However, I still need:
Lastly, when I look at the NavBar area, I can't find "Invite Your Friends" or "ChatBox Full". Where else would I find them so I can kill them off the orginal bar, and place them on the new bar, so it doesn't look so cluttered? So, being a noob, how can I do a search on "ChatBox Full" to find out what section it's in?

btw: This is exactly what I needed for my site....

SuperTaz
22 Feb 2009, 20:10
The "Invite your Friends" area is in the styles and templates > Choose your style > Invitation Template. Find the navbar link and copy it, then delete it.

What chatbox are you using?

93Corvette
23 Feb 2009, 01:58
The "Invite your Friends" area is in the styles and templates > Choose your style > Invitation Template. Find the navbar link and copy it, then delete it.

What chatbox are you using?


When I search through my files (I have attached them below), I cannot find anything with "Invitation Template". I'm going to ACP>Styles & Templates>Style Manager>Andromeda (my style)>using the pull down "Edit Templates">Expand all Template groups.
I go into all the Navbar files and do a seach for "Invite Your Friends" or "ChatBox Full" and cannot find anything. But, understand too, I am a Noobie, and I know I'm probably doing something wrong...
Is there an easy way of searching for these texts, that will show all instances of all files using them?
Here are my Templates.... Thanks again for your help!

93Corvette
23 Feb 2009, 02:00
Here are the remaining 3 files.... Sorry to have so many....

SuperTaz
23 Feb 2009, 06:52
For the CyB Chatbox, go to AdminCP > vB Options > CyB - Chatbox > scroll down to very bottom of that where it says this: "Automatically add link to ChatBox to NavBar". Set it to NO and save. Done.

For the Invitation System go to AdminCP > vB Options > Invitation System Options > "Automatic Link Creation" set to disable and save.

Done!

Then go to your forum homepage and look at the navbar. It will be taken away. For inserting them into the above navbar, I dont know. The Chatbox uses a hook somewhere that I cant find to add it. Invitation system I will have to search for you.

93Corvette
24 Feb 2009, 02:58
For the CyB Chatbox, go to AdminCP > vB Options > CyB - Chatbox > scroll down to very bottom of that where it says this: "Automatically add link to ChatBox to NavBar". Set it to NO and save. Done.

For the Invitation System go to AdminCP > vB Options > Invitation System Options > "Automatic Link Creation" set to disable and save.

Done!

Then go to your forum homepage and look at the navbar. It will be taken away. For inserting them into the above navbar, I dont know. The Chatbox uses a hook somewhere that I cant find to add it. Invitation system I will have to search for you.


Warden-B-,

THANK-YOU~!!!!!

Dang, I was making it harder than I needed...(Please understand, I'm a noobie)

1. What I did is leave the "ChatBox Full" and the "Invite Your Friends" on, and I right clicked on them to get their properties. Then I added to your program Navbar.

2. Then I went to the Vbulletin Options. For noobs, that's ACP>vbulletin Options>Vbulletin Options>go down to Cyb - Chatbox and click "No" where it says "Automatically add link to ChatBox to NavBar". This will kill it off the orginal Navbar.

3. Do the same thing for the invite. For noobs, that's ACP>vbulletin Options>vbulletin Options>go down to Invitation System Options>"Automatic Link Creation" and select "Disable".

4. Dang it, here I was looking for code somewhere, and all it was was a dang pushbutton for the program.... Anyways, Warden-B-, I just wanted to thank you for getting me on the right track....

kronnos
24 Feb 2009, 20:10
Nice, but can the links be made with dropdows like here on vb.org. So when clicking on User Cp it gives you all the options of it.

SuperTaz
25 Feb 2009, 02:29
IT actually used to be a drop down list. I dont know why vBulletin changed it. Maybe they can shed some light on how to do that. I am working on another mod right now, but I will try to look into it for you, kronnos.

yossie3660
25 Feb 2009, 06:50
Nice, but can the links be made with dropdows like here on vb.org. So when clicking on User Cp it gives you all the options of it.
Yup...i want like that too cause i want to put may links....

IT actually used to be a drop down list. I dont know why vBulletin changed it. Maybe they can shed some light on how to do that. I am working on another mod right now, but I will try to look into it for you, kronnos.
Thanks a lot....i really need for that code, cause too many links that i will show up if just in one row, if too many row, its makes bad, people can confuse, so i just want in your code but some of drop down links menu like USERCP...thanks alot...i will waiting...;)

SuperTaz
26 Feb 2009, 00:38
I don't know if this will work or not on 3.8 series, but Princeton has a mod for just what you want here.

http://www.vbulletin.org/forum/showthread.php?t=177774

SuperTaz
15 Mar 2009, 03:09
Any luck, yossie3660?

gfcon
15 Mar 2009, 09:07
Great mod, have installed it :)

lynch23
01 Apr 2009, 16:35
thanks a lot :)

SuperTaz
02 Apr 2009, 18:39
Glad you all like it. Make sure you click Install if you want support.

realdx
03 Apr 2009, 00:37
simply AWESOME! Thanx!

supersy
17 Apr 2009, 00:42
Thanks, Great job

nomoreturn
17 Apr 2009, 03:40
nice work thanks

Criminal-Minds
25 Apr 2009, 18:24
How would i make these a quick link (drop down box)?

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->

wheres me jumpa
26 Apr 2009, 21:26
Tip of the cap kind sir!

SuperTaz
30 Apr 2009, 02:20
How would i make these a quick link (drop down box)?

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
<td class="vbmenu_control"><a href="http://url.com">Coming Soon</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->

This mod might help with the drop-down menus. It is the one I use for my site. Even though it is for version 3.7.5, it still works for my site at 3.8.2.

http://www.vbulletin.org/forum/showthread.php?t=166136

trotskid
01 May 2009, 04:58
Very nice and easy hack, installed! but I wondering wich is the code to show a dropdown menu, like Community.

Thanks

SuperTaz
01 May 2009, 06:05
I will try to make you the code to have drop-downs. I have been working a lot of hours and my time is limited. But, for now, try this mod out:

http://www.vbulletin.org/forum/showthread.php?t=166136

It may help you out.

trotskid
01 May 2009, 06:40
Yeah, works with v3.8.2 :cool:

Thank you very much ;)

pjaco
01 May 2009, 07:36
Thanks a lot :D

desi-boy
01 May 2009, 09:14
wow realy gr8 but tell me 1 thing can i use some photo with this hack i mean http://www.desiz.in/images/iChat%20White.png this image for chat room btttnnnn

tspaetten
05 May 2009, 02:11
Installed it nice

Drago13
09 May 2009, 18:22
awesome.. this is what i was looking for.. thanks

shinng
26 May 2009, 10:13
incredibly easy to install. i hope all mods are this easy. this is exactly what i needed in order to put a separate paid subscription info page. installed.

aakhan136
27 May 2009, 22:55
Thanksssssss to good

israfiel
27 May 2009, 23:33
Thanks!!!!

nnStaff
28 May 2009, 09:57
If you change

<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">


to

<div class="tborder" style="padding:$stylevar[cellspacing]px; border-bottom-width:0px">
<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">

you'll get rid of that nasty little border issue you've got on the top navbar

yossie3660
11 Jun 2009, 09:43
Any luck, yossie3660?

I will try to make you the code to have drop-downs. I have been working a lot of hours and my time is limited. But, for now, try this mod out:

http://www.vbulletin.org/forum/showthread.php?t=166136

It may help you out.

Your mod is great....but...1 things for sure...i need the links button scroll down, so for this examples...

Link1 | Links2 | Links3 | Link4 | Links5 | Links6

Thats ur links, but my links have about 20 links....so if i put in the navbar, can make too many links that can cunfuse for the people, so i want to make the simple for example :

LinkA v| LinksB | LinksC

And want i klik LinksA that will show :
Links1 --> go to links1 and open the new tab when user click
Links2
Links3
Links4
Links5
Links6

Like i said before, that the button on the link like USER CP links that have some down arrow, so thats make the simple links for my forum, do you have any mod for this? i will installed if you have, so sorry if my english is not so good and i hope my explanation can understand for who read my post.

Cause i had tried so many times but the down arrow button not correctly show up, just the links and not got what i want. And the condition is simple...just add that links and dont have make different about the user is login or soem guest, cause that links for connect to other website, so simple static links.

thanks alot ;)

regards
yossie3660

DNG
11 Jun 2009, 17:57
thanks,,

SuperTaz
20 Jun 2009, 02:58
Glad you all like it. I will try to be on here more. Work seemed to settle and now I have some spare time. lol

s-p0k
25 Jun 2009, 18:18
installed
but i got this

https://www.vbulletin.org/forum/external/2009/06/35.jpg

how to fix it?

and where do i put this code at?

If you want to show a link only to members use this:

Code:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://url.com">Link Title Goes Here</a></td>
</if>

yossie3660
02 Jul 2009, 07:06
Glad you all like it. I will try to be on here more. Work seemed to settle and now I have some spare time. lol

can u help me about this?

Your mod is great....but...1 things for sure...i need the links button scroll down, so for this examples...

Link1 | Links2 | Links3 | Link4 | Links5 | Links6

Thats ur links, but my links have about 20 links....so if i put in the navbar, can make too many links that can cunfuse for the people, so i want to make the simple for example :

LinkA v| LinksB | LinksC

And want i klik LinksA that will show :
Links1 --> go to links1 and open the new tab when user click
Links2
Links3
Links4
Links5
Links6

Like i said before, that the button on the link like USER CP links that have some down arrow, so thats make the simple links for my forum, do you have any mod for this? i will installed if you have, so sorry if my english is not so good and i hope my explanation can understand for who read my post.

Cause i had tried so many times but the down arrow button not correctly show up, just the links and not got what i want. And the condition is simple...just add that links and dont have make different about the user is login or soem guest, cause that links for connect to other website, so simple static links.

thanks alot ;)

regards
yossie3660

thanks alot
yossie3660

SuperTaz
02 Jul 2009, 21:42
I will see what I can do, yossie3660.

And s-p0k, just take out the

<--- Navbar Links---->

and save and reload and should be gone.

yotsume
12 Jul 2009, 21:54
This is awesome! Installed! and Works perfect with the mod Advanced Navbar Links!

THANKS!

SuperTaz
13 Jul 2009, 08:33
You're welcome.

yossie3660
13 Jul 2009, 10:21
I will see what I can do, yossie3660.

And s-p0k, just take out the

<--- Navbar Links---->

and save and reload and should be gone.

Thanks a lot...i will wait about this...cause i need put many links in 2 dropdown button, the idea is simple...but....i try to modification by my self....its hard...so i need your help....thanks alot...i will wait...and maybe if u created new mods, please put the links so i can know from this thread oke?...thanks a lot once again...(",)

regards
yossie3660

yotsume
13 Jul 2009, 19:38
Thanks a lot...i will wait about this...cause i need put many links in 2 dropdown button, the idea is simple...but....i try to modification by my self....its hard...so i need your help....thanks alot...i will wait...and maybe if u created new mods, please put the links so i can know from this thread oke?...thanks a lot once again...(",)

regards
yossie3660

Combining Two Mods Together For Perfection!

With this mod which easily makes a second navbar combined with the "Advanced Navbar Links (http://www.vbulletin.org/forum/showthread.php?t=120517)" mod you can have the power to add in drop menus (with icons), full permission control, single links, etc.. all editable from inside the AdminCP without having to edit the navbar menu except to initially install both mods together.

If you look at my attached screen shot you will see I have two navbars. I also have a drop menu for my blogs in the top navbar which I have made where each sub-link has icons!

Instructions For Combining These Two Mods Together:

STEP-1: Install this mod into you navbar template as instructed.

STEP-2: You only need to paste the following combined code: (Note: I used the code from this mod which only shows the second navbar to members. You can use the standard code from this mod if you wish to have guests view the second navbar as well. I gave that code example at the end of this post.)

NOTE: The BLUE code below is from this mod and the RED code below is from the "Advanced Navbar Links" mod.

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
$custom_droplinks_cat
$custom_singlelinks
</table>
</div>
<!-- / Navbar Links -->STEP-3: Now install the Advanced Navbar Links (http://www.vbulletin.org/forum/showthread.php?t=120517) mod.

NOTE: Ignore the step in that mod's instructions where it asks you to paste: $custom_droplinks_cat and $custom_singlelinks. You have already pasted these two codes into your navbar template in Step-2 above.

Step-4: Save your navbar template.

Step-5: You will now have a new AdminCP menu item for the Advanced Navbar Links mod. You can freely add in standalone or drop menu links with and without icons. This mod allows you to freely control all link permissions.

END EFFECT: With these two great mods combined together we now have full control over a second navbar that we can edit from inside the AdminCP without having to edit the navbar template directly each time we wish to add or update links.

FINAL NOTES: The Advanced Navbar Links mod does have one small bug which is discussed in their thread. It is no big deal. I now use this combo mod code and have complete navbar control the way we should have from the start in VB. Also, these hacks work perfect with vBadvanced as your homepage.

IMPORTANT: If you want your second navbar to be viewable to guests use the following code instead:
<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
$custom_droplinks_cat
$custom_singlelinks
</table>
</div>
<!-- / Navbar Links -->See my attached screenshot!

ENJOY!

SuperTaz
26 Sep 2009, 00:50
You're welcome. Make sure if you use this mod to click INSTALL.

Brathamike
26 Sep 2009, 10:47
Combining Two Mods Together For Perfection!

With this mod which easily makes a second navbar combined with the "Advanced Navbar Links (http://www.vbulletin.org/forum/showthread.php?t=120517)" mod you can have the power to add in drop menus (with icons), full permission control, single links, etc.. all editable from inside the AdminCP without having to edit the navbar menu except to initially install both mods together.

If you look at my attached screen shot you will see I have two navbars. I also have a drop menu for my blogs in the top navbar which I have made where each sub-link has icons!

Instructions For Combining These Two Mods Together:

STEP-1: Install this mod into you navbar template as instructed.

STEP-2: You only need to paste the following combined code: (Note: I used the code from this mod which only shows the second navbar to members. You can use the standard code from this mod if you wish to have guests view the second navbar as well. I gave that code example at the end of this post.)

NOTE: The BLUE code below is from this mod and the RED code below is from the "Advanced Navbar Links" mod.

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
$custom_droplinks_cat
$custom_singlelinks
</table>
</div>
<!-- / Navbar Links -->STEP-3: Now install the Advanced Navbar Links (http://www.vbulletin.org/forum/showthread.php?t=120517) mod.

NOTE: Ignore the step in that mod's instructions where it asks you to paste: $custom_droplinks_cat and $custom_singlelinks. You have already pasted these two codes into your navbar template in Step-2 above.

Step-4: Save your navbar template.

Step-5: You will now have a new AdminCP menu item for the Advanced Navbar Links mod. You can freely add in standalone or drop menu links with and without icons. This mod allows you to freely control all link permissions.

END EFFECT: With these two great mods combined together we now have full control over a second navbar that we can edit from inside the AdminCP without having to edit the navbar template directly each time we wish to add or update links.

FINAL NOTES: The Advanced Navbar Links mod does have one small bug which is discussed in their thread. It is no big deal. I now use this combo mod code and have complete navbar control the way we should have from the start in VB. Also, these hacks work perfect with vBadvanced as your homepage.

IMPORTANT: If you want your second navbar to be viewable to guests use the following code instead:
<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
$custom_droplinks_cat
$custom_singlelinks
</table>
</div>
<!-- / Navbar Links -->See my attached screenshot!

ENJOY!

This isnt working for me i get this error

public_html/PracticeForum/forum/includes/adminfunctions_template.php(2359) : eval()'d code on line 6
Fatal error: Call to undefined method vb_activecache::flush()

when im trying to add the combine code to the navbar

your instructions are vague..you didnt mention that we are not supposed to uplaod the xml file so i upload that file and it wont upload im getting the same error

great concept but dosent seem to work with new vb :( is exatly what i need though


thanks warren great mod i installed your mod great work sir

yotsume
26 Sep 2009, 10:55
Sorry did you mean my instructions are vague?

Brathamike
26 Sep 2009, 11:04
Sorry did you mean my instructions are vague?

yes sir i installed what you stated in your instructions and im getting database errors and im getting errors that i mentioned..not sure what to do on this case..

Brathamike
26 Sep 2009, 11:19
Sweet i figured it out i had to turn off vboptimise seems like that mod had a issue looks like its all a go thanks for the add on mod great work you two keep up the good work will be looking for more of your mods

yotsume
26 Sep 2009, 11:23
yes sir i installed what you stated in your instructions and im getting database errors and im getting errors that i mentioned..not sure what to do on this case..

The Advanced Navbar Links mod is not mine. I can not answer why you would get a database error while trying to install it. I have it installed on my vb3.8.4 site just fine. I have switched to using another mod for my top row navbar since I needed a much easier way to make drop menus with sub-menus as well with icons...

I have uninstalled this mod here. If you want help doing what I have done in my screenshot please PM me. It is not my intention to detract from the developer of this mod. So if you have questions for me please do not post them in this thread.

EDIT: I just saw that you fixed your issue as I was posting this. It is my wish to come up with a way to have both the top and bottom row navbars both editable from withing the AdminCP without the use of template edits to create the menus. ;) The only strong point of template driven menus is you can simply backup the template and your menus to file.

Brathamike
26 Sep 2009, 11:25
The Advanced Navbar Links mod is not mine. I can not answer why you would get a database error while trying to install it. I have it installed on my vb3.8.4 site just fine. I have switched to using another mod for my top row navbar since I needed a much easier way to make drop menus with sub-menus as well with icons...

looks like we was posting at the sametieme :)

read above post i got it working :)

Log on
28 Sep 2009, 09:29
thank you :)

findmeareptile
28 Sep 2009, 19:16
Thank you..

perfect!

e7saas
28 Sep 2009, 22:18
Thank you.

SuperTaz
29 Sep 2009, 04:52
Very nice, yotsume.

trnim.com
29 Sep 2009, 12:23
Thanks

Hawk7173
10 Oct 2009, 20:21
I installed this this way and for some rason the links are not alligned properly.

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">

<tr align = "center" >
<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?p=494101#post494101">Advertise</a></td></if>


<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://m14tfl.com/upload/forumdisplay.php?f=168">Please
Visit Our Sponsors Here</a></td></if>


<if condition="$show['member']">
<td class="vbmenu_control"><a href="http://m14tfl.com/upload/showthread.php?t=75674">Make a Donation Here</a></td></if>

</tr>
</table>
</div>
<!-- / Navbar Links -->

https://www.vbulletin.org/forum/external/2009/10/57.jpg

cybergas
26 Oct 2009, 22:30
Awesome!!!

I have installed this mod, working great. Had to modify the

border-top-width:0px

for

border-bottom-width:0px

to make the borders fit exactly, not big deal.;)


Now, I need some help creating a linked button.
I want to create 2 buttons with custom searches, for user specific (authenticated) and I don't now how to create or code the variable user. I do understand how to show the buttons for users and hide for guests, but simpy I can find a way to create the next variable for USER:

this is what I am trying to accomplish: (I need to know what to put on searchuser variable to make it work for any authenticated use)

forum _root/search.php?do=process&showposts=0&exactname=1&searchuser=[variable?] (when authenticated replaced by user name or #, example johnsmith)

I've been searching for threads on this but no success and I've seen implemented on other forums.

Help please :)

SuperTaz
28 Oct 2009, 04:24
Can you post an example to what you are trying to tell me from another site that does have this? I think I may know what you are trying to say, but I need an illustration to be sure.

cybergas
28 Oct 2009, 21:48
Sure!, you can test it on this forum!

I remember to see on some forums I registered back ago -among the hundred of them:o- on the Nav Bar 2 different buttons: My Replies or/and My threads.
Some forums had this both, some others just 1 of them.

When putting mouse over the buttons on my replies the button link showed the URL:
www.example.com/forum/search.php?do=process&showposts=0&exactname=1&searchuser=cybergas


For this forum with YOUR user it will be: (copy and paste, links are no parsed ;) )

My Replies (your replies on this case):

http://www.vbulletin.org/forum/search.php?do=process&showposts=0&exactname=1&searchuser=Warden-B-

My Threads (yours on this case):

http://www.vbulletin.org/forum/search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=Warden-B-


As you might notice, this is a dynamically created query with each specific authenticated user once is on the Nav Bar button, this has to work for ALL the users, that's why I need to now the parameters to create the USER specific that will be the user clicking on the button.

I have seen this also at phpbb boards is it call "View my posts" button and does the same, a search query but with different variables than vBulletin.

Hope we can figure this, thanks for your interest!

:)

Llandy
14 Nov 2009, 22:56
Great mod. Quick and easy install.

z0diac
06 Mar 2010, 18:38
For some reason my vb3.8 isn't showing the changes. My navbar template from very first line starts like this:

<br />

<!-- Navbar Links -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:1px">
<tr align="center">
<td class="vbmenu_control"><a href="http://www.ontariostorms.com/misc.php?do=cybtpimx">Top Posters</a></td>
</tr>
</table>
</div>
<!-- / Navbar Links -->


<!-- breadcrumb, login, pm info -->
...etc.etc.etc...


The part in bold is the link to the "Top Posters" which is also available from the QuickLinks pulldown. But it's not showing up. ??? :confused:

http://www.ontariostorms.com (is the site I've edited where I want the link in navbar)

kjsmith84
10 May 2010, 19:23
works great- any way to do a Drop Down Menus with these?

SuperTaz
03 Jun 2010, 06:49
works great- any way to do a Drop Down Menus with these?

Please refer to this article for drop-downs.

http://www.vbulletin.org/forum/showthread.php?t=122523

angeljs
25 Oct 2010, 22:14
I can't believe I've used vBulletin for so long but never tried this mod! Thank you! :)

SuperTaz
21 Dec 2010, 11:48
Edited some text, but not the mod itself. :)

Antidepresiv
23 Dec 2010, 21:48
Hello super Taz, i managed to get this mod working for vb4, replaced the default navbar links with this mod, however i can't seem to get the combined two mods working, i get errors, smting about fetch template.. Could you help me plz with this one?
I can't find this when i'm instaling his mod <!-- / NAVBAR POPUP MENUS -->, so i don't know where to add this $custom_droplinks. Thanks!

Best Regards,
Antidepresiv

SuperTaz
11 Apr 2011, 03:58
Sorry I could not get to your post sooner. I am mostly on the 4.0 series part now and will provide limited support for the 3.x series. But, if you want this mod to work for 4.0, use my mod here: http://www.vbulletin.org/forum/showthread.php?t=228492

farazfaraz
13 Apr 2011, 10:02
~installed~
Thank you.

thep3300
15 Apr 2011, 17:36
goood:D

Scyther
05 Jul 2011, 09:41
tagged for now...

Scyther
09 Jul 2011, 16:20
Installed..and marked too..
Thanks

SuperTaz
26 Apr 2012, 17:01
You're welcome. :)

www.nofal
09 Oct 2012, 13:49
Good Work

SuperTaz
26 Mar 2013, 05:08
Good Work

Thanks. :)

ged
15 Apr 2014, 07:31
A simple question. Is it possible to position the second navbar links bar adjacent to the original?

SuperTaz
18 Jun 2014, 00:06
A simple question. Is it possible to position the second navbar links bar adjacent to the original?

Sorry for the delay. I have been busy with many things.
I don't understand what you are trying to say. Do you mean having the links similar to brick stacking?