Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications

Reply
 
Thread Tools
UKBL ~ Quality Drop Down Menu System Details »»
UKBL ~ Quality Drop Down Menu System
Version: 1.00, by UKBusinessLive UKBusinessLive is offline
Developer Last Online: Feb 2012 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.0 Rating:
Released: 01-28-2009 Last Update: 02-22-2009 Installs: 155
Template Edits
Re-useable Code Translations  
No support by the author.

UKBL ~ Quality Drop Down Menu System

You wanted Drop down Menu's that were easy to install and edit, Well now you've got it

Live Demo

http://www.aboxcafe.com/index.php

http://www.wheelsbd.com/

Compatible with almost ALL Browsers.

Hi Guys, i've had so many messages about My "Easy Menu Tabs" and when was i going to do Dropdown Tabs, Well i've listened and now i can happily add UKBL ~ Quality Drop Down menu's to our list of modifications.

This is just so easy to edit and install, as long as you feel confident with a few simple edits and uploading a graphics file to your images directory or even your photobucket account, if you don't want to mess about uploading to your server.

UKBL ~ Quality Drop Downs sit quite happily on top of your forums accessable from all pages of the forum



They look like any bog standard Menu Nav bar but when you hover the mouse over it you'll see the dropdowns, I've uploaded a test version to my forum, Take a look for yourselves http://www.ukbusinesslive.co.uk/forum

I've left the Top White Easy Men Bar in place also so you can compare both of them.

When you go over the menu bar the dropdowns should appear like in the picture below



See how the chosen links are highlighted

So now we come to the installation stage.

Download the dropdown.zip file below and open the VBOrg_Menu.txt file in notepad or any other text editor, as we need to edit a few files.

The first one we need to edit is the url of our Graphic File, So to cut a long story short we'll upload our graphic file to our Photobucket account, or any other account or image directory on your server, So firstly find

Code:
	/*"""""""" (MAIN) Container Edit Picture URL Here :-) """"""""*/	
	#qm0	
	{	
		padding:5px;
		background-image:url(http://i475.photobucket.com/albums/rr114/ukbusinesslive/center_tile_blue.gif);
		border-width:1px;
		border-style:solid;
		border-color:#eeeeee;
	}
and this is the line we need to edit, so that it gives us a nice gradiant blue acdcross the menu bar

Code:
background-image:url(http://i475.photobucket.com/albums/rr114/ukbusinesslive/center_tile_blue.gif);
Just replace the url within the brackets ( ) and thats it

Then we go and do the menu edits, You don't want your members click on your forum menu and ending up on my site :erm: So what we need to do now is change the menu links for yours, It take about 15 min's but its not hard to do, so lets do it.....

First find where our menu starts, This will be right at the bottom of the code, The HTML part of this and the first bit we need to change starts from here...

Code:
 <li><a class="qmparent" href="javascript:void(0)">MY CONTROL PANEL</a>

		<ul>
		<li><a href="http://www.ukbusinesslive.co.uk/forum/profile.php?do=editavatar" title="Edit Avatar">Edit Avatar</a></li>
		<li><a href="http://www.ukbusinesslive.co.uk/forum/profile.php?do=editsignature" title="Edit Signature">Edit Signature</a></li>
		<li><a href="http://www.ukbusinesslive.co.uk/forum/profile.php?do=editoptions" title="Edit Options">Edit Options</a></li>
		<li><span class="qmdivider qmdividerx" ></span></li>
		<li><a href="http://www.ukbusinesslive.co.uk/forum/subscription.php?do=viewsubscription" title="List Subscriptions">List Subscriptions</a></li>
		</ul></li>
Basically each tab is made up of a block like what you see above, You have the Main Tab Description which looks like this

Code:
<li><a class="qmparent" href="javascript:void(0)">MY CONTROL PANEL</a>
and you have all the sub links underneath and they look like this...

Code:
<li><a href="http://www.ukbusinesslive.co.uk/forum/profile.php?do=editavatar" title="Edit Avatar">Edit Avatar</a></li>
and its this one which we need to edit, basically if you want to keep the same link, all you need to do is to chasnge my url http://www.ukbusinesslive.co.uk/forum to your forums URL, and thats it, your link should work for your site.

If you want to change the link altogether and put your own, then replace the full URL with one that you want and don't forget to edit the end part "Edit Avatar" as that is the title thats shown on the dropdown.

When you've finished all your editing, we need to upload this whole code to your Header Template of the Style that your Currantly using on your forum, So once you've saved your edited code, Just copy and paste directly to your Header, Go right to the end and click paste, save the template and thats it, The Graphic File which you need to upload to your server or image host is also in the zip file.

So easy and a great improvement to any VBulletin Forum

This is a Freebie for all you members on VB.org with my compliments

If anyone wants any custom menus made, Just PM me I'll help where i can, Just bear in mind a menu like this takes a good couple of hours or so, so a donation is more than welcomed

Oh almost Forgot guys,

If you like it, Please Click on Installed, as this really does motivate me to improving these hacks

UPDATE 09.02.09

Uploaded a New Zip File, Black Menu.Zip This is the same as this original except that its black for darker Websites and Forums, Instructions are the same as above, and comes complete with customised Graphics which will need to be uploaded to your /images/ directory.



UPDATE 23.02.09

For some of you Admins who prefer menu Buttons as opposed to a menu bar, i've made some buttons based on the above menu formate, You can install it by following the same instructions as the main install, Just upload the graphics and edit your menu links and thats it.

Experiment with the css to change colors width of boxes etc, Add more or as little as you want, the important thing is to have fun learning.



UPDATE: 26th April 2009

Centering the Menu so that it appears central


There has been much debate about trying to centralise the menu tabs, I didn't want to edit the code too much as this would make a mess of it in different browsers, However i've found that there is a way

The easiest way to center menu content is to place it inside of a center aligned table, as shown below:

Code:
<table cellpadding=0 cellspacing=0 align="center"><tr><td>

----[ your menu structure]----

</td></tr></table>
This way the menu tabs will appear central in all browsers.

Hope this helps :up:



Enjoy

Download Now

File Type: zip Dropdown.zip (42.8 KB, 1109 views)
File Type: zip Black Menu.zip (15.7 KB, 647 views)
File Type: zip Blue Button.zip (17.2 KB, 441 views)

Screenshots

File Type: png menu1.png (19.0 KB, 0 views)
File Type: png menu2.png (19.9 KB, 0 views)
File Type: png black.png (11.0 KB, 0 views)
File Type: jpg blue button.jpg (15.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #242  
Old 09-19-2009, 07:31 PM
crazymilk's Avatar
crazymilk crazymilk is offline
 
Join Date: Aug 2008
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok navbar gone and replaced with this ty looks great

Link Here

If anyone wants help doing it give me a shout (pm)
Reply With Quote
  #243  
Old 09-20-2009, 10:02 AM
taffy056 taffy056 is offline
 
Join Date: Sep 2004
Location: In a house in Wales ;)
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how would you add the logout link to this hack? Thanks!
Reply With Quote
  #244  
Old 09-20-2009, 11:04 AM
MylesM MylesM is offline
 
Join Date: Aug 2009
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use the black menu, how do I change the width of the boxs?
Reply With Quote
  #245  
Old 09-20-2009, 11:15 PM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How Can I Change the Color of Active Menu Titles?

How do I change the color of the menu title when it is active. I do not see a listing for that in the CSS.

Please see my attached screenshot. I need the menu titles to be different once they are moused over. In my screenshot the menu title "SOCIAL GROUPS" is what I need to change.

Do I need to add a color line of code to a section of the CSS? If so where???

THANKS!
Attached Images
File Type: jpg My Drop Menus.jpg (29.7 KB, 0 views)
Reply With Quote
  #246  
Old 09-21-2009, 08:18 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I solved my own problem in my previous post.

The menu code is missing a color attribute for changing the menu title text color when you open a menu. So the title will stay the same color. If your color scheme demands a alternate title color you should add the red line of code to the CSS here:

Quote:
/*"""""""" (main) Rounded Items Content""""""""*/
#qm0 .qmritemcontent
{
padding:0px 0px 0px 4px;
color:#000000;
}
Now that I have added this missing color code in... I can change the menu title tect color when a menu pops open to better match my color scheme.

(See attached before and after screenshots)
Attached Images
File Type: jpg My Drop Menus.jpg (30.6 KB, 0 views)
File Type: jpg My Drop Menus Fixed.jpg (32.5 KB, 0 views)
Reply With Quote
  #247  
Old 09-25-2009, 02:28 AM
AWMGolfer AWMGolfer is offline
 
Join Date: Dec 2007
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great drop down menu! I have installed it on my site http://www.maineforums.net and overall it is exactly as I want. Just one thing I can not get figured out if my life depended on it..lol

The first is I would like the entire sub-menu box to be a little bit lower so that the drop down box lines up with the very bottom of the main menu, hope that makes sense.

Thanks in advance.
Reply With Quote
  #248  
Old 09-26-2009, 03:28 PM
Sador's Avatar
Sador Sador is offline
 
Join Date: Mar 2009
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks nice. I'll have to play with the colors for a while, to make it more fitting with my styles, but thanks a lot for the nice addon.
Reply With Quote
  #249  
Old 09-27-2009, 06:55 PM
taffy056 taffy056 is offline
 
Join Date: Sep 2004
Location: In a house in Wales ;)
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This probably has an obvious answer, but can't figure it out, I am trying to add a HOME link to this before the control panel drop down, the little spacer between the different drop downs is not showing, can someone please tell me where I am going wrong before I pull my hair out LOL - many thanks

Code:
<ul id="qm0" class="qmmc">


<span class="qmdivider qmdividery" ></span></li>
    <li><a class="qmparent" href="http://www.site.net/">HOME</a>

    <li><a class="qmparent" href="javascript:void(0)">CONTROL PANEL</a>

        <li><ul>
                <li><a href="http://www.site.net/forum/profile.php?do=editusergroups" title="User Groups">User Groups</a></li>
        <li><a href="http://www.site.net/forum/profile.php?do=editavatar" title="Edit Avatar">Edit Avatar</a></li>
        <li><a href="http://www.site.net/forum/profile.php?do=editsignature" title="Edit Signature">Edit Signature</a></li>
        <li><a href="http://www.site.net/forum/profile.php?do=editoptions" title="Edit Options">Edit Options</a></li>
        <li><span class="qmdivider qmdividerx" ></span></li>
        <li><a href="http://www.site.net/forumsubscription.php?do=viewsubscription" title="List Subscriptions">List Subscriptions</a></li>
        <li><a href="http://www.site.net/forum/misc.php?do=donate" title="Donate">Donate</a></li>
Reply With Quote
  #250  
Old 09-27-2009, 07:51 PM
AWMGolfer AWMGolfer is offline
 
Join Date: Dec 2007
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add the part in red.

Code:
<ul id="qm0" class="qmmc">


<span class="qmdivider qmdividery" ></span></li>
    <li><a class="qmparent" href="http://www.site.net/">HOME</a>

<span class="qmdivider qmdividery" ></span></li>

    <li><a class="qmparent" href="javascript:void(0)">CONTROL PANEL</a>

        <li><ul>
                <li><a href="http://www.site.net/forum/profile.php?do=editusergroups" title="User Groups">User Groups</a></li>
        <li><a href="http://www.site.net/forum/profile.php?do=editavatar" title="Edit Avatar">Edit Avatar</a></li>
        <li><a href="http://www.site.net/forum/profile.php?do=editsignature" title="Edit Signature">Edit Signature</a></li>
        <li><a href="http://www.site.net/forum/profile.php?do=editoptions" title="Edit Options">Edit Options</a></li>
        <li><span class="qmdivider qmdividerx" ></span></li>
        <li><a href="http://www.site.net/forumsubscription.php?do=viewsubscription" title="List Subscriptions">List Subscriptions</a></li>
        <li><a href="http://www.site.net/forum/misc.php?do=donate" title="Donate">Donate</a></li>
Reply With Quote
  #251  
Old 09-29-2009, 09:54 AM
yotsume's Avatar
yotsume yotsume is offline
 
Join Date: Dec 2006
Posts: 844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sub-Menu Arrow and Alignment?

How can I add a little arrow to a menu item that has a sub-menu attached to it? I need the arrow to be aligned to the right. When I do this it breaks the image to another line.

See screenshot...

Here is my menu item code:

Code:
<li><a href="http://www.mydomain.com/index.php?pageid=language_study" title="">Language Directory <img src="http://www.mydomain.com/images/misc/languages/drop_arrow.gif" ALIGN="RIGHT" border="0"></a>
When I use the code ALIGN="RIGHT" the arrow image is pushed down a line. I marked this is red in my screenshot where the arrow should be aligned with.

How can I fix this?

Thanks!
Attached Images
File Type: jpg Sub-Menu Arrow Issue.jpg (55.9 KB, 0 views)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:27 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.04901 seconds
  • Memory Usage 2,371KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (9)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete