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)

UKBusinessLive 03-10-2009 05:19 PM

Quote:

Originally Posted by theparentpack (Post 1764677)
So is there a way for us to adjust our forums, as opposed to the MOD, so that this is centered and our forums do not require scrolling on any resolution monitor?

I doubt it, But someone may come up with it :)

theparentpack 03-10-2009 06:17 PM

Thanks, you rock! I am learning!


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,

;-)


UKBusinessLive 03-10-2009 06:23 PM

Quote:

Originally Posted by theparentpack (Post 1765107)
Thanks, you rock! I am learning!

:D No worries, give me a shout if you get stuck :up:

fukdawrld 03-15-2009 02:52 AM

I love this..thank you.

If anyone finds out a way to center the menu please PM me.

fukdawrld 03-15-2009 08:39 AM

On this site : http://www.aboxcafe.com/index.php

They have where there are sub menus that roll off to the right. How would I achieve this?

UKBusinessLive 03-15-2009 09:29 AM

Quote:

Originally Posted by fukdawrld (Post 1768516)
On this site : http://www.aboxcafe.com/index.php

They have where there are sub menus that roll off to the right. How would I achieve this?

Say for example here is your menu block

Code:

<li><span class="qmdivider qmdividery" ></span></li>
        <li><a class="qmparent" href="http://www.aboxcafe.com/forums/index.php">FORUMS</a>

                <ul>
                 
                  <li><a href="http://www.aboxcafe.com/forums/announcement.php?f=2" title="Forum Rules & Guidelines">Forum Rules & Guidelines</a></li>
                  <li><a href="http://www.aboxcafe.com/forums/forumdisplay.php?f=2" title="Announcements and News">Announcements and News</a></li>
                  <li><a class="qmparent" href="http://www.aboxcafe.com/forums/forumdisplay.php?f=189" title="AB Awards Ceremony">◊ <IMG SRC="http://img.photobucket.com/albums/v643/wanboa/16mpgn.gif" BORDER=0 NAME="">  AB Awards Ceremony</a>
                  <li><a class="qmparent" href="http://www.aboxcafe.com/forums/forumdisplay.php?f=5" title="Contests and Events">◊ Contests and Events</a>
                        <ul>

What we need to do is to add a new sub menu to the dropdowns and we do this like this (Shown in Red)

Code:

<li><span class="qmdivider qmdividery" ></span></li>
        <li><a class="qmparent" href="http://www.aboxcafe.com/forums/index.php">FORUMS</a>

                <ul>
                 
                  <li><a href="http://www.aboxcafe.com/forums/announcement.php?f=2" title="Forum Rules & Guidelines">Forum Rules & Guidelines</a></li>
                  <li><a href="http://www.aboxcafe.com/forums/forumdisplay.php?f=2" title="Announcements and News">Announcements and News</a></li>
                  <li><a class="qmparent" href="http://www.aboxcafe.com/forums/forumdisplay.php?f=189" title="AB Awards Ceremony">◊ <IMG SRC="http://img.photobucket.com/albums/v643/wanboa/16mpgn.gif" BORDER=0 NAME="">  AB Awards Ceremony</a>
                    <ul>
                  <li><a href="http://www.aboxcafe.com/forums/awards.php" title="Award Panel">• Award Panel</a></li>
                        </ul> </li>

                  <li><a class="qmparent" href="http://www.aboxcafe.com/forums/forumdisplay.php?f=5" title="Contests and Events">◊ Contests and Events</a>
                        <ul>

basically its the addition of a new <ul> Tag (In Blue) on the menu line which you want to break off, Don't forget to add the end tag too ;) </ul>

Hope that helps ;)

fukdawrld 03-15-2009 10:05 AM

Got it..thanks a bunch.

UKCE_Hitman 03-15-2009 07:40 PM

Installed thanks

UKBusinessLive 03-15-2009 10:29 PM

Quote:

Originally Posted by UKCE_Hitman (Post 1769018)
Installed thanks

Thanks Don't forget to click installed ;)

Redzzand 03-16-2009 12:46 PM

Installed & Nominated!!


All times are GMT. The time now is 03:04 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.01513 seconds
  • Memory Usage 1,801KB
  • 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
  • (11)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
  • (2)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