PDA

View Full Version : Forum Home Enhancements - UKBL ~ Quality Drop Down Menu System


UKBusinessLive
01-28-2009, 10:00 PM
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.
https://vborg.vbsupport.ru/external/2009/02/32.gif

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

https://vborg.vbsupport.ru/external/2009/01/10.png

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

https://vborg.vbsupport.ru/external/2009/01/11.png

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


/*"""""""" (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

background-image:url(http://i475.photobucket.com/albums/rr114/ukbusinesslive/center_tile_blue.gif);



Just replace the url within the brackets ( ) and thats it :D

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...

<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

<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...

<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 :D

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.

https://vborg.vbsupport.ru/external/2009/02/100.png

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.

https://vborg.vbsupport.ru/external/2009/02/38.png

As always, post here if you want help i'll help where i can :D



Enjoy :D

UKBusinessLive
01-29-2009, 07:29 PM
:rolleyes: Reserved ;)

valdet
01-30-2009, 06:07 AM
Gerry, this is great.

Thanks.

UKBusinessLive
01-30-2009, 01:52 PM
Gerry, this is great.

Thanks.

Thank you Valdet,
Hope you enjoy using it :D

UKBusinessLive
02-01-2009, 08:18 AM
Quick Update

Ok guys just a quick update on browser support and and a few specs which i'm sure you'll be deleghted with...

The menu's are fully compatible with every one of the leading browsers,

https://vborg.vbsupport.ru/external/2009/02/32.gif

IE - v5: (Limited)
IE - v5.5,
IE - v6:
IE - v7:
IE - v8:
Firefox - All:
Mozilla - All:
Netscape - v6 & up:
Opera - v6 & Up:
Safari - All:
Goolge (Chrome):

The Code is 100% Pure CSS with optional JavaScript add-on's, now if your worried that a browser may have javascript disabled, fear not, as this is capable of functioning in browsers with their JavaScript disabled :eek:

The code is very easy to edit as its just pure CSS with each section identified, The menu links are simple HTML menu links and can have html mark up included, you won't get confused between the two.

For customised jobs and perhaps a different kind of menu, i can create a new one which will compliment your site, each one takes about 1 to 2 hours work, so a small donation would be appriacated ;) Just PM me and i'll help where i can.

Now everyone can have Top quality Dropdowns on their site :D

UKBusinessLive
02-09-2009, 02:26 PM
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.

https://vborg.vbsupport.ru/external/2009/02/100.png

Enjoy :D

PGAmerica
02-17-2009, 02:54 PM
This looks very slick, thank you.

Question: How do I modify this so that some of the menu options are NOT drop-downs? For example, on your website, you have the "Portal Home" drop-down menu. What if I wanted to have no drop-down there at all and just have the "Portal Home" be a link to the homepage?

UKBusinessLive
02-17-2009, 04:26 PM
This looks very slick, thank you.

Question: How do I modify this so that some of the menu options are NOT drop-downs? For example, on your website, you have the "Portal Home" drop-down menu. What if I wanted to have no drop-down there at all and just have the "Portal Home" be a link to the homepage?


Hello PGAmerica,

To just use a tab as a click option as oppose to a dropdown see the start of each tab as below

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

and change the javascript:void(0) for the url of your choice, so to turn a tab to point to your home page you would do something like this (keeping it inside the " " )


<li><a class="qmparent" href="www.mywebsite.com/home.php">HOME</a>

Don't forget to delete all the unused submenu links below or you could just cut and paste the above example to your menu links in the html part of the code (right at the bottom!)

Give me a shout if you get stuck

;)

PGAmerica
02-17-2009, 04:27 PM
OK, I figured out the answers to the earlier questions. To remove the drop-down from on of the menu options, I replaced "<a class="qmparent" href="javascript:void(0)">" with "<a class="qmparent" href="/">Home</a>" or whatever other link I want. I also removed the <ul> drop-down options that were under the menu item.

I have it working, however, whenever I paste the code at the end of my header, the menu displays fine, but the rest of page does not show up at all. Look at my screencap. The forums are supposed to be between the new menu and the "style selection" options.

Ideas?

UKBusinessLive
02-17-2009, 04:39 PM
OK, I figured out the answers to the earlier questions. To remove the drop-down from on of the menu options, I replaced "<a class="qmparent" href="javascript:void(0)">" with "<a class="qmparent" href="/">Home</a>" or whatever other link I want. I also removed the <ul> drop-down options that were under the menu item.

I have it working, however, whenever I paste the code at the end of my header, the menu displays fine, but the rest of page does not show up at all. Look at my screencap. The forums are supposed to be between the new menu and the "style selection" options.

Ideas?

Can't see very well from that pic, can you PM me a link?? and include the code that you've pasted and i'll check it for you :D

PGAmerica
02-17-2009, 04:49 PM
The link is http://www.christianfunforums.com/forums

Go to the bottom of the page and choose the "Testing" style. I

The menu code I changed is:
<ul id="qm0" class="qmmc">

<li><a class="qmparent" href="/">Home</a>

<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="/forums/">Forums</a>

<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="/forums/misc.php?do=cfrules">Forum Rules</a>
<if condition="$bbuserinfo['userid']">
<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="javascript:void(0)">Chat</a>

<ul>
<li><a href="/forums/misc.php?do=flashchat">Chat</a></li>
<li><a href="javascript:popUp('/forums/chat/flashchat.php')">Chat in New Window</a></li>
</ul></li>
</if>
<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="javascript:void(0);">Study Resources</a>

<ul>
<li>Search></li>
<li><a href="/forums/Bible_SuperSearch_vb.php"><img src="/forums/images/gifts/bible.gif" border="0" align="left">&nbsp;&nbsp;Super Bible Search</a></li>
<li>Bibles</li>
<li><a href="/forums/Bible_KJV_vb.php"><img src="/forums/images/gifts/bible_green.gif" border="0" align="left">&nbsp;&nbsp;King James (KJV) Bible</a></li>
<li><a href="/forums/Bible_WEB_vb.php"><img src="/forums/images/gifts/bible_red.gif" border="0" align="left">&nbsp;&nbsp;World English (WEB) Bible</a></li>
<li><a href="/forums/Bible_WEB-ME_vb.php"><img src="/forums/images/gifts/bible_red.gif" border="0" align="left">&nbsp;&nbsp;World English (WEB) Bible: Messianic Edition</a></li>
<li>Bible Resources</li>
<li><a href="/forums/Bible_Eastons_vb.php"><img src="/forums/images/gifts/book_dgreen.gif" border="0" align="left">&nbsp;&nbsp;Easton's 1897 Bible Dictionary</a></li>
<li><a href="/forums/Bible_MHC_vb.php"><img src="/forums/images/gifts/book_purple.gif" border="0" align="left">&nbsp;&nbsp;Matthew Henry's Commentary</a></li>
</li>
</ul></li>

<if condition="$bbuserinfo['userid']">
<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="javascript:void(0);">Entertainment</a>

<ul>
<li><a href="/forums/arcade.php">Arcade</a></li>
<li><a href="/forums/petz.php$session[sessionurl_q]">Pets</a></li>
<li><a href="javascript:openRadioAndTV()">$vbphrase[rs_radiostations]</a></li>
<!-- <li><a href="/forums/quiz.php">Quizzes</a></li>-->
<li><a href="/forums/vbtubepro.php">Video Tube</a></li>
</ul></li>
</if>

<if condition="$bbuserinfo['userid']">
<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="/forums/LivingAvatars_vb.php">Edit Living Avatars</a>
</if>

<if condition="$bbuserinfo['userid']">
<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="/forums/credits.php$session[sessionurl]?do=banking">Bank</a>
</if>

<if condition="$bbuserinfo['userid']">
<if condition="$show['member']">
<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="javascript:void(0);">Shopping Menu</a>
<table cellpadding="0" cellspacing="0" border="0">
<ul>
<li>$vbphrase[vbplaza_name] $vbphrase[vbplaza_main]</li>
<!-- <li><a href="/forums/vbplaza.php?$session[sessionurl]">Store Main</a></li>-->
<!-- <li><a href="/forums/vbplaza.php?$session[sessionurl]do=action&amp;itemid=27">$vbphrase[vbplaza_give_gifts]</a></li>-->
<!-- <li><a href="/forums/vbplaza.php?$session[sessionurl]do=action&amp;itemid=118">$vbphrase[vbplaza_give_ribbons]</a></li>-->
<li><a href="/forums/vbplaza.php?$session[sessionurl]do=action&amp;itemid=7">$vbphrase[vbplaza_donate]</a</li>
<li><a href="/forums/vbplaza.php?$session[sessionurl]do=userhistory">$vbphrase[vbplaza_history]</a></li>
<li><a href="/forums/vbplaza.php?$session[sessionurl]do=mostsold">$vbphrase[vbplaza_most_sold]</a></li>
<if condition="is_member_of($vbulletin->userinfo, $vboptions['vbplaza_adminusergroups'])">
<li>$vbphrase[vbplaza_admin_only]</a></li>
<li><a href="/forums/vbplaza.php?$session[sessionurl]do=action&amp;itemid=12">$vbphrase[vbplaza_admin_donate]</a></li>
</if>
</li>
</ul></li>
</if>
</if>

<li class="qmclear"> </li></ul>

I pasted all the code, but only changed the above.

UKBusinessLive
02-17-2009, 04:59 PM
I've checked everything and it looks great :confused::eek:

Not sure what could be wrong? the code is fine ;)

https://vborg.vbsupport.ru/external/2009/02/61.png

I think that you may be refering to the bottom bar at the end of your default style forum, It seems wider?? Aparently its the same on all VBulletin default themes, the bottom bar is wider and goes right up to the white border,

Take a look at a screenshot i did from the VBulletin.com site, and you'll see what i mean, I know they don't use my menu's on there, well not at the moment :p

https://vborg.vbsupport.ru/external/2009/02/62.png

PGAmerica
02-17-2009, 05:37 PM
Well, I am not sure what all this means. Is this an issue with your menu and vbulletin 3.8?

UKBusinessLive
02-17-2009, 05:56 PM
Well, I am not sure what all this means. Is this an issue with your menu and vbulletin 3.8?

NOOOOOOOOO :D

The bottom bar on the default style goes like that, it goes right to the edge of the white, My menu bar doesn't, It fits in line with the rest of the forum, Thats how its meant to be :D

In short the menu bar on your default style is exactly how its meant to be ;)

PGAmerica
02-17-2009, 06:03 PM
So what do I do about my problem then?

UKBusinessLive
02-17-2009, 06:05 PM
So what do I do about my problem then?

What problem?? Your site is fine http://www.christianfunforums.com/forums

whats the problem to you??? :confused:

PGAmerica
02-17-2009, 06:33 PM
Your site is fine
My site is NOT fine.

What problem??

The problem I mentioned earlier. When I paste your code to the bottom of my header template, the only thing that shows up on the forums page is the header and the footer. Nothing else.

UKBusinessLive
02-17-2009, 07:09 PM
My site is NOT fine.



The problem I mentioned earlier. When I paste your code to the bottom of my header template, the only thing that shows up on the forums page is the header and the footer. Nothing else.

Hi

Not being funny, but i can see your site fine

https://vborg.vbsupport.ru/external/2009/02/61.png

Can you confirm this is your site???

Plus can anyone else confirm that this site is working?? http://www.christianfunforums.com/forums/ Go to the bottom of the page and choose the "Testing" style.

Have you tried clearing your PC's cache or pressing Ctrl F5 to try and reload the page from the server??

PGAmerica
02-17-2009, 07:19 PM
I will try again. However, the staggered menu you are displaying is not what I am seeing.

PGAmerica
02-17-2009, 07:40 PM
Well, I cleared my cache, rebooted and went back to it again. I then pressed "CTRL-F5" and I still get the same result. I also tried it on 2 other computers, same thing.

What you are showing me is an old menu. That is NOT that way it currently looks.

UKBusinessLive
02-17-2009, 07:54 PM
Well for the life of me i can't figure out whats happened?? if you click on the link you gave me it takes me to your forum and your menu.

The time shown on your forum is All times are GMT. The time now is 09:50 PM. which is what the time is here in the UK.

In all the menu Installations i've done i've not had any problems like this before :confused:

Is it just in the testing Default theme that its like this??? Have you tried any other styles???

Are you still seeing a blank screen apart from the header and footer???

PGAmerica
02-17-2009, 08:05 PM
I am uncomfortable trying it on a style that all my users use until I can determine if it will work. However, I can give it a quick try and undo it if it does the same thing. I will let you know.

UKBusinessLive
02-17-2009, 08:07 PM
I am uncomfortable trying it on a style that all my users use until I can determine if it will work. However, I can give it a quick try and undo it if it does the same thing. I will let you know.

Thanks perhaps a Screenshot may help me??

PGAmerica
02-17-2009, 08:11 PM
OK, 1st I nuked the "Testing" style and made a new one. I pasted the code from the "non-black" version of the menu and got the same result. I then removed the code and the forums displayed perfectly.

2nd I went to the "Green and Gold" style and pasted the code at the end of the header. I got the same results as the other one. See for yourself. Go to http://www.christianfunforums.com/forums/index.php and choose the "Green and Gold" style.

As for a screenshot, it is the same as the last screencap I provided.

UKBusinessLive
02-17-2009, 08:38 PM
OK This is what i see from your forum

https://vborg.vbsupport.ru/external/2009/02/59.png

Its working fine my end??

I can't figure out why it won't work for you???

I saw that your using vBSEO 3.2.0, Can you temporarily disable it and then try if you can view your forum???

PGAmerica
02-17-2009, 08:46 PM
Maybe it has something to do with the fact that I am logged in and you are not. I will check that out.

UKBusinessLive
02-23-2009, 06:42 PM
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 format, 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.

https://vborg.vbsupport.ru/external/2009/02/38.png

As always, post here if you want help i'll help where i can :D

The Zip file is in the Download section in the first post ;)

Enjoy :D

Pvtiste
03-05-2009, 08:54 PM
Thanks for this menu system. I just have a quick question. When my cursor goes on the menu, it drops down for a few seconds and I don't want it to drop down that long if I don't mean to look for something in the menu. Do you know what I mean ? I want the menu to drop down and disappear very quickly if I don't stay on it. Can we do that ?

Thanks in advance !

UKBusinessLive
03-06-2009, 05:01 AM
Thanks for this menu system. I just have a quick question. When my cursor goes on the menu, it drops down for a few seconds and I don't want it to drop down that long if I don't mean to look for something in the menu. Do you know what I mean ? I want the menu to drop down and disappear very quickly if I don't stay on it. Can we do that ?

Thanks in advance !


Hi,

at the very end of the code find this

<!-- Create Menu Settings: (Menu ID, Is Vertical, Show Timer, Hide Timer, On Click (options: 'all' * 'all-always-open' * 'main' * 'lev2'), Right to Left, Horizontal Subs, Flush Left, Flush Top) -->
<script type="text/javascript">qm_create(0,false,0,500,false,false,false,false,fa lse);</script>

Find the 500 (In Red above) and change to 50, Then save,

That should speed up the changes

have fun :D

Pvtiste
03-06-2009, 10:48 AM
Thanks dude ! It's perfect now :D
You can see : http://forum.pvtistes.net/

UKBusinessLive
03-06-2009, 02:49 PM
Thanks dude ! It's perfect now :D
You can see : http://forum.pvtistes.net/

Now thats a brilliant Menu :D:D

https://vborg.vbsupport.ru/external/2009/03/49.png

well done ;)