vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - UKBL ~ Quality Drop Down Menu System (https://vborg.vbsupport.ru/showthread.php?t=203521)

crazymilk 12-16-2009 09:55 AM

Is there away to have 2 columns - 1 dropdown ? I have one dropdown that goes off the page so i would like it to be in two colums. Thanks in advance for your help

Miss Chatterbox 01-08-2010 07:59 AM

This has made a dramatic improvement to the appearance of my forum! Thank you so much! :):):)

nectons 01-11-2010 12:34 PM

It is one of my favorites. YOU ARE ONE OF THE BEST moders in vbulletin man.

Just a question. I need something to feet to my forum (colors design etc). Anytime you can take a look (when you have free time) and pm me if you want anything from me friend (i can donate with paypal or anything you ask for).

http://www.bytheway.gr

KeyHunterz 01-17-2010 11:46 PM

Could you please tell me how I can Center the menu content on the page? Currently its leaning more to the left ... here is an example :

https://vborg.vbsupport.ru/external/2010/01/36.png

I would like to have the menu in the middle of the page instead of the left side. Please let me know if its possible to change it.

columbusgeek 01-18-2010 12:54 PM

It's aligned to the left, not leaning.

Center menus are so 1980. Also this issue is covered in this thread quite extensively.

KeyHunterz 01-18-2010 06:01 PM

I found the answer at page 8, thanks for the mod !

TheLastSuperman 01-20-2010 05:45 PM

Quote:

Originally Posted by columbusgeek (Post 1959154)
It's aligned to the left, not leaning.

Center menus are so 1980. Also this issue is covered in this thread quite extensively.

Bah :p next time just help the man :p

Quote:

Originally Posted by KeyHunterz (Post 1959395)
I found the answer at page 8, thanks for the mod !

It was all on page 8 ;) but for those coming in to this thread near the end or this page here it is below ;)

Quote:

Originally Posted by UKBusinessLive (Post 1764656)
The only way you can make the tabs central is by extending them the full width of your forums

https://vborg.vbsupport.ru/external/2010/01/29.png

you need to find this in the CSS

Code:

/*"""""""" (MAIN) Items""""""""*/       
        #qm0 a       
        {       
                padding:3px 60px 3px 3px;
                margin:0px 60px 0px 0px;
                background-color:transparent;
                color:#aaaaaa;
                font-family:Arial;
                font-size:11px;
                text-decoration:none;
                border-width:0px 1px 0px 0px;
                border-style:solid;
                border-color:#aaaaaa;

and change the padding and margin (in Red) to a higher value.

The only problem you have then is that it will be set to your resolution, people with other screen resolutions will just see a mess, or the menu bars on two rows.

i did state before the reson its coded like it is, is that it will work in all resolutions and in All Browsers, Changing the above will create problems when viewing, thats why i don't recommend it.

Thanks ;)

Quote:

Originally Posted by UKBusinessLive (Post 1764959)
Hi

All those points have been covered already, I will answer them below...

I love the color of the bar, but is there any way to change just the color of the actually drop down menus?

The first half of the code is the css, You can change different colors by simply changing the hex numbers - background-color:#000000;

there are serveral hex number referances in the css, that do different parts of the menu, Change the ones you need.

Code:

/* UKBL ~ Menu 0 */

        /*"""""""" (MAIN) Container""""""""*/       
        #qm0       
        {       
                width:auto;
                padding:5px 50px;
                margin:0px;
                background-color:#000000;
                background-image:url(qmimages/gradient_16.gif);
                border-width:1px;
                border-style:solid;
                border-color:#000000;
        }


        /*"""""""" (MAIN) Items""""""""*/       
        #qm0 a       
        {       
                padding:3px 30px 3px 3px;
                margin:0px 20px 0px 0px;
                background-color:transparent;
                color:#aaaaaa;
                font-family:Arial;
                font-size:11px;
                text-decoration:none;
                border-width:0px 1px 0px 0px;
                border-style:solid;
                border-color:#aaaaaa;
        }


        /*"""""""" (MAIN) Hover State""""""""*/       
        #qm0 a:hover       
        {       
                color:#ffffff;
                border-color:#ffcc33;
        }


        /*"""""""" (MAIN) Hover State - (duplicated for pure CSS)""""""""*/       
        #qm0 li:hover>a       
        {       
                color:#ffffff;
                border-color:#ffcc33;
        }


        /*"""""""" (MAIN) Active State""""""""*/       
        body #qm0 .qmactive, body #qm0 .qmactive:hover       
        {       
                color:#ffffff;
                border-color:#ffcc33;
        }


        /*"""""""" (SUB) Container""""""""*/       
        #qm0 div, #qm0 ul       
        {       
                padding:15px;
                background-color:#000000;
                border-width:1px;
                border-style:solid;
                border-color:#ffcc33;
        }


        /*"""""""" (SUB) Items""""""""*/       
        #qm0 div a, #qm0 ul a       
        {       
                padding:3px 20px 3px 5px;
                margin:0px;
                color:#cccccc;
                border-width:0px;
                border-color:#ffcc33;
        }


        /*"""""""" (SUB) Hover State""""""""*/       
        #qm0 div a:hover       
        {       
                color:#ffcc33;
                text-decoration:underline;
        }


        /*"""""""" (SUB) Hover State - (duplicated for pure CSS)""""""""*/       
        #qm0 ul li:hover>a       
        {       
                color:#ffcc33;
                text-decoration:underline;
        }


        /*"""""""" (SUB) Active State""""""""*/       
        body #qm0 div .qmactive, body #qm0 div .qmactive:hover       
        {       
                color:#ffcc33;
                text-decoration:underline;
        }


        /*"""""""" Individual Titles""""""""*/       
        #qm0 .qmtitle       
        {       
                margin:2px 5px 5px;
                color:#f6f6f6;
                font-family:Arial;
                font-size:11px;
                font-weight:bold;
        }


        /*"""""""" Individual Horizontal Dividers""""""""*/       
        #qm0 .qmdividerx       
        {       
                border-top-width:1px;
                margin:4px 5px;
                border-color:#aaaaaa;
        }


        /*"""""""" Custom Rule""""""""*/       
        ul#qm0 li .qmparent       
        {       
                background-image:url(http://www.ukbusinesslive.co.uk/forum/images/arrow_14.gif);
                background-repeat:no-repeat;
                background-position:90% 50%;

How can I make certain links open in a new window?

Below is a link from a Menu Structure

Code:

<li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php" title="My Calender">My Calender</a></li>
To get the link to open in a new browser window, what you do is add the target="_blank" attribute to your link tag, like this in your Menu Links area

Code:

<li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php" target="_blank" title="My Calender">My Calender</a></li>
https://vborg.vbsupport.ru/external/2010/01/30.png

Is there a way to add a different drop down menu to one of my additional CMPS pages?

Not sure what you mean by this? If your saying that you want to add a second different menu altogether then you can if you add it to the CMPS header, If you want simply to add a further menu item or new tab, then you simply copy a menu block from the code and paste it underneath the last menu block in the code, Below is a menublock you can use, just edit the links to your requirements

Code:

<li><span class="qmdivider qmdividery" ></span></li>
        <li><a class="qmparent" href="javascript:void(0);">CALENDER</a>

                <ul>
                <li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php" title="My Calender">My Calender</a></li>
                <li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php?do=add&type=single&c=1" title="Add Single Event">Add Single Event</a></li>
                <li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php?do=add&c=1" title="Ranged Event">Ranged Event</a></li>
                <li><a href="http://www.ukbusinesslive.co.uk/forum/calendar.php?do=add&type=recur&c=1" title="Recurring Event ">Recurring Event </a></li>
                </ul></li>

The Is there any way to make one of the sections just a button/link and not a drop down menu? If so, how?

if you simply want a button/link without dropdowns then just get the first part of the code

[CODE]
Code:

<li><span class="qmdivider qmdividery" ></span></li>
        <li><a class="qmparent" href="javascript:void(0);">CALENDER</a>

Delete the menu dropdown links below it, thats all these..

Code:

<ul>
                <li><a href="http://www.ukbusinesslive.co.uk/forum/search.php?searchid=167" title="Todays Post">Todays Post</a></li>
                <li><a href="http://www.ukbusinesslive.co.uk/forum/search.php?do=getnew" title="New Post">New Post</a></li>
                <li><a href="http://www.ukbusinesslive.co.uk/forum/search.php?searchid=167" title="Post Last 24 Hrs">Post Last 24 Hrs</a></li>
                <li><a href="javascript:void(0);">New Item</a></li>
                </ul></li>

and then you need to add your link to the menu tab so from this

Code:

<li><span class="qmdivider qmdividery" ></span></li>
        <li><a class="qmparent" href="javascript:void(0);">CALENDER</a>

you need to add your url here (In Red)

Code:

<li><span class="qmdivider qmdividery" ></span></li>
        <li><a class="qmparent" href="YOUR_URL.COM">TAB_NAME_HERE</a>

How can I add a link to mark forums read? Trying to replace the old navigation bar.

To make a link that when people press it will make all forums read, you'll need to add a url like this to the menu

Code:

http://yourforum.com/forumdisplay.php?do=markread
don't forget to change yourforum.com to the name of your own forum ;-)

I hope thats answered your questions,

;-)


NumaNK 02-16-2010 10:09 AM

How can I make can be clicked to open menus ?

TheLastSuperman 02-16-2010 11:14 AM

Quote:

Originally Posted by NumaNK (Post 1983659)
How can I make can be clicked to open menus ?

You can try...

In the code provided replace any instances of onmouseover example:

Code:

b=sp[i];if(b.tagName=="A"){lsp=b;b[w]=qm_oo;if(w==e)b.onmouseover=function(event){clearTimeout(qm_tt);qm_tt=null;qm_la=null;
with onclick example:

Code:

b=sp[i];if(b.tagName=="A"){lsp=b;b[w]=qm_oo;if(w==e)b.onclick=function(event){clearTimeout(qm_tt);qm_tt=null;qm_la=null;
I did not test so let us know ;)

Mike

Halfhidden 03-16-2010 09:15 PM

Hi, I've been using this mod for quite some time now. In fact I don't use the navbar or postbits any longer as this is truly awesome... so thanks for the mod and spending time on it for us all :)
However, I would like to ask one question if I may.
In postbits there was a rather nice welcome block and I would like to integrate this with your menu system. Can this be done and if so how please.
Thanks :D


All times are GMT. The time now is 12:47 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.02024 seconds
  • Memory Usage 1,799KB
  • 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
  • (12)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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