vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Additional navbar with dropdowns (https://vborg.vbsupport.ru/showthread.php?t=166136)

attroll 11-23-2008 12:27 AM

Quote:

Originally Posted by momo2 (Post 1670902)
you uploaded your setup with all ur settings to ur forum lol
least you can do give us a clean product.. not with ur forum info in them

I don't understand what your saying here. If your complaining then remove the info from the navabr2 that is supplied with it. I left my samples in there so that others that do not understand code could relate to it and understand it by replacing it with there own code. Not everyone that downloads these hacks knows coding.

wrang 11-23-2008 12:46 PM

Where do i find the text so i can change the links etc

Edit:
I find it in the templates navbar2

wolfiejp 11-25-2008 04:42 PM

Hi, nice mod but im having some trouble with it, it's displaying fine when i use Ie to browse my site but when i use firefix the navbar vanishes and im left with a bit of txt for the added links i put in and there hyperlinks, but no navbar.

Is it somthing i did or a bug with Firefox ?

thanks

attroll 12-01-2008 03:51 AM

No this works fine with IE and FF. It is probably another hack you have in your system that is interfering with this one.

Vaupell 01-04-2009 11:34 PM

works like a charm, added right under my navbar in 3.8 rc 2
but it contains all sorts of odd links.. wth :p

www.evisystems.org

home9000 01-04-2009 11:55 PM

Is it running under 3.6.X ?

SuperTaz 01-08-2009 07:55 PM

3.8.0 compatible?

Nadeemjp 01-09-2009 02:52 PM

3.8 compatible?

SuperTaz 01-11-2009 03:49 AM

guess not.

attroll 01-11-2009 04:10 AM

Yes this works with 3.8.

dmknights 01-13-2009 01:16 AM

Will this work on 3.8?

attroll 01-13-2009 04:47 AM

Quote:

Originally Posted by dmknights (Post 1710423)
Will this work on 3.8?

Did you read the post prior to the post you made?

Battle_Ring 01-19-2009 12:40 AM

how do i make a dropdown?

TC Topps 01-25-2009 04:46 AM

Attroll:

First I tried inserting $navbar2 into a couple locations within navbar template. It worked in that the additional navbar appeared on the page shown. (*Important in that I am not qualified to judge any other programming issues.)

But I did find that the drop down arrows replicated themselve on what ever navbar was first on the page. So if I but navbar2 in 2 other locations then 3 drop down arrows would appear on the one navbar. So I edited out the additional $navbar2 statements from the vbulletin navbar template.

So then I made a renamed a copy of the product-navbar2.xml file and then edited thru out file to remove navbar2 with a simple replacement of navbar4.

This did not solve the problem. Same thing! I am sure that I am not making a complete difference in the files. Are they sharing the same table or what? I tried tinkering with date created but that was all. Is there another spot that this $navbar4 could go and not conflict with $navbar2?

I of course uploaded it thru product manager as it shows up as a product named Navbar4.

What do I need to do to make this new file a new product? (navbar4) Or is it just the placement of it?

My custom skins do not show the original navbar info on them as does Default skin. So this is a simple approach for me to solve some of this problem. What I would really like to do is put an original navbar from Default on same pages as NavBar2 in the custom skins.

Thanks for your help. Its been fun.

TC Topps

attroll 01-25-2009 05:59 AM

Wow, sorry but that confused me. Let me get this right.

What you are saying is that when you install the navbar2 as a plugin you get multiple drop down arrows on the original navbar?

Are you trying to install more then one instance of navbar2?

TC Topps 01-25-2009 03:58 PM

Attroll;

If I only edit one time in navbar template for one insidence of navbar2, then of course there are no problems.

I am exploring other options as I would want another navbar because my custom skins do not have the same navbar as Vbulletin Default skin.

So I tried adding $navbar2 to a couple locations in navbar template. The additional navbars appear as $navbar2, but the first one has all of the additional drop downs arrows.
(Not a problem of your hack!)

I only have one installation of the product-navbar2.xml running. So I am wondering how could I have

1) Another navbar like yours (such as a Navbar4)

or

2) How might I make a replication of the first Default vBulletin Navbar?

Is this to much of a task for a simple edit of an exsisting file such as product_navbar2.xml; or is it a much larger project than making an edit to create a separate navbar such as navbar4?

Hope that helps. I really like the neat clean way that Navbar2 installs.

Thanks again for for your reply,

TC Topps

attroll 01-25-2009 04:47 PM

You should be able to create multiple drop down navbars. I have done it. The only problem you will run into is the same variables being used in each navbar start screwing up the other navbars just like what you are seeing.

You could do this two different ways. You could edit the navbar2 template differently for each style but going into each styles template "navbar2".

Or

If you going to have a navbar2, navbar3, navbar4 ect..
Then you going to have to change the variable for each one. The one that comes to mind is the one in each template of "navbar2, navbar3, navbar4" that you create.

If you look in the navbar2 template, for every dropdown instance you will see two mentions of the variables "#dropdown1" and "#dropdown2", ect.

For each additional navbar template you create you will have to change these variables to something else. For example in a navbar3 template will have to change every instance of "#dropdown1" to maybe "#dropdown10" and #dropdown2" to maybe "#dropdown20", ect.

I hope this made some sense to you.

TC Topps 01-25-2009 05:30 PM

Thanks to Attroll;

I'll get back. I think that makes sense.

Yes, Yes, this works great for replicating a Navbar 2. Remember I edited an original unloaded product-navbar2.xml by simply replacing the word navbar2 with navbar4. Saved file as product-navbar4.xml and then reloaded product and it appears as a Navbar4 template.

Then I edited the original vB Navbar with the $navbar4 statement for the prefered placement on the page. It does the trick. Also we did the changing of the original variables in the new template Navbar4 from dropdown1, dropdown2 and dropdown3 to dropdown41, ..42, and ..43. Bingo! search for dropdown. You will find them.

Since I named my new template Navbar4 when I edited the old dropdown variables, I added 4 to each new dropdown variable to keep it straight. I may go back and do the same for Navbar2, but not neccessary.

Great I did something! Ha! Ha!

TC Topps

TC Topps 01-25-2009 05:58 PM

Attroll;

Thanks for the lead on the variable dropdowns inside an edited navbar2 file. That helped alot. Wow!

How about the replication of the original vb Default Navbar!

Or is this much more difficult?

Thanks,

TC Topps

attroll 01-25-2009 06:07 PM

What do you mean by replication. Do you want another separate navbar identical to the vb Default Navbar?

TC Topps 01-25-2009 08:07 PM

Yes, That is it!

Thanks!

attroll 01-26-2009 07:33 AM

Quote:

Originally Posted by TC Topps (Post 1724573)
Yes, That is it!

Thanks!

Wow, that would require some work, but I can not understand why you would want to do that.

TC Topps 01-26-2009 03:27 PM

Attroll;

In my mind I was thinking that there would be a finer integration and less work to accomplish same tasks in my custom skins. But I have been rethinking my navbar "philosopy!"

1. I will leave the original vB Navbar as an Administrative Navbar since custom skins are getting most of the job done.

2. I will make your "Navbar2" specific to the structured Project and Blog side of Forum

3. I will make your replicated "Navbar 4" specific to casual Forum activity!

That will separate out the confusion as to the purpose of each.

Many thanks for your getting back to me!

My best regards,
TC Topps

Vaupell 01-27-2009 07:19 PM

<if condition="$show[guest]">$navbar2</if>

Cant remember the condition for specifik usergroups, but i bet i would go the same way
just replace the [guest] with ehhmmm usergroupID syntax, better ask someone for syntax.

But i think u can use [member] as a syntax aswell.. its the same way the register botton
is displayed or hidden.

and i guess rename additional navbars..

Furcal15 04-15-2009 05:15 AM

Beautiful! One of my most favorite hacks!!!

Check it out in action at my forum - www.sideline-sports.com

VikesRule 04-19-2009 04:15 AM

Ok I'm loving this mod but I have two questions:

1) Is there anyway I can align the dropdown menus so the leftmost portion of the dropdown aligns with the original link that you click on? Basically I want the dropdowns to work like they do on the default navbar with the alignment.
2) Is there anyway I can make my dropdowns function to where they have two levels of dropability (I think I made that up, haha). I basically want to be able to make them like this site:
http://www.prosportsdaily.com/forums/index.php
Move the mouse over to the "Forums" link on the navbar, see how the original links in the dropdown, like Baseball, Basketball, etc. can branch off to the right to even more links? Is there someway I can do that?

Thanks for a great hack though!

Dr.LoVe 04-20-2009 02:19 AM

than you good job

i have faq

how about if i want to Disable some Section in this navbar ???

Outbackmark 05-25-2009 06:49 AM

Works well with 3.8.2 - Great Job!!!!

ade5675 06-13-2009 08:40 PM

Nice work

and it is superb with version 3.8.3

:up:

Parture 06-18-2009 04:02 AM

The drop down boxes don't work in firefox (they never worked as best as I can tell),
http://biblocality.com/forums/

Compare using Internet Explorer and Firefox.

attroll 06-18-2009 11:01 AM

Quote:

Originally Posted by Parture (Post 1831689)
The drop down boxes don't work in firefox (they never worked as best as I can tell),
http://biblocality.com/forums/

Compare using Internet Explorer and Firefox.

I am using Firefox and they are working on your site just fine.

yotsume 07-26-2009 04:14 AM

Yes installed enabled and this conflict with the MOD Advanced Navbar Link. So I had to quickly uninstall it.

I will have to try this on a test board and see where you bug is before I can go live with your mod...

s-p0k 07-26-2009 06:40 AM

i get this "XML Error: Not well-formed (invalid token) at Line 1"

yossie3660 07-30-2009 11:04 AM

This is a great Hack...this id what i'm looking for...great.....thanks to TS....(",)

regards
yossie3660

goshalim 08-26-2009 08:10 AM

i have downloaed the xml file. But i cant find anywher the <!-- breadcrumb, login, pm info -->
in order to add navbar2

I need the name of the template.
I have Add Template Name in HTML Comments so i can afind the template, but there ITS A LOT

Please somene can help please.....

attroll 08-26-2009 11:04 AM

It is in the navbar template.

jfr 09-05-2009 04:56 PM

Thanks, working great on my vb 3.8.4

I would like to know how to change the style of the navbar, right now its gray and i would like to change the color of the button and the text.

yotsume 09-05-2009 08:42 PM

Quote:

Originally Posted by yotsume (Post 1855500)
Yes installed enabled and this conflict with the MOD Advanced Navbar Link. So I had to quickly uninstall it.

I will have to try this on a test board and see where you bug is before I can go live with your mod...

I need help to prevent your mod from conflicting with the Advanced Navbar mod which has the ability to make navbar menus and drop menus using a admincp panel.

Advanced Navbar Links:
https://vborg.vbsupport.ru/showthread.php?t=120517

Can I please get you to take a look at the mod and help me install yours so I can have both running.

When I install your mod the drop menus from the other mod stop working.

I needed to bump this because my original request for help was overlooked or ignored.

yotsume 09-05-2009 08:49 PM

What we need is a backend admincp way to make a top row navbar and alter the bottom row default navbar together from inside the admincp and make stand alone menus and drop menus freely.

All someone has to do is look at the above mod link I posted and update it to allow for two instances and we are all home free! :)

Sorry I am wishing out loud here for my miracle mod! hehehe

zombietom 09-23-2009 04:37 AM

Works Great! easy to install and can put the navbar 2 anywhere i want...I like it ..Thanks


All times are GMT. The time now is 11:00 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.01758 seconds
  • Memory Usage 1,828KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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