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 09-19-2009 07:31 PM

Ok navbar gone and replaced with this ty looks great

Link Here

If anyone wants help doing it give me a shout (pm)

taffy056 09-20-2009 10:02 AM

how would you add the logout link to this hack? Thanks!

MylesM 09-20-2009 11:04 AM

I use the black menu, how do I change the width of the boxs?

yotsume 09-20-2009 11:15 PM

1 Attachment(s)
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!

yotsume 09-21-2009 08:18 AM

1 Attachment(s)
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)

AWMGolfer 09-25-2009 02:28 AM

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.

Sador 09-26-2009 03:28 PM

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.

taffy056 09-27-2009 06:55 PM

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>


AWMGolfer 09-27-2009 07:51 PM

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>


yotsume 09-29-2009 09:54 AM

1 Attachment(s)
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!

taffy056 10-03-2009 11:28 AM

Quote:

Originally Posted by Xhaiden (Post 1891480)
Add the part in red.

Thanks very much, that did the trick :)

BioFall 10-05-2009 07:37 PM

Hey Sorry if someone already asked this but I couldnt find it anywhere. Is their a way to get so that the drop down menu would be horizontal rather than vertical so that it would look like thishttp://www.cssnewbie.com/example/css...orizontal.html top right?

crazymilk 10-05-2009 07:49 PM

Is there away to have an image repeat-x left instead of a solid color?

emath 10-05-2009 11:38 PM

hey, few problems:
my site is emath.co.il

1. how can i make the menu to go from right to left ? (im using hebrew)

i tried to change some left to right in float propeties but it become a mess on FF .

2. in addition after ive past the code when i open the menu bar then it expand all over the page , instead one lil square as it shows in the demo above.

in FF it works well, but on IE(7) when i open the menu it expands...

rly need help with this.. thanks, great mod.

crazymilk 10-06-2009 08:28 AM

Quote:

Originally Posted by ArnyVee (Post 1823657)
I used this code for the logout shinng....

Code:

<if condition="$show['member']">
<li><span class="qmdivider qmdividery" ></span></li>
                <li><a class="qmparent" href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]">LOG OUT</a></if>

...hope it helps :)

This works a treat for loging out But what about once you?ve log out it chances to loging how what that be done?

And thanks ArnyVee for the log out code

goxy63 10-06-2009 06:49 PM

Any ideas how to show drop-down menus above/over flash objects?

Thanks

Sador 10-06-2009 11:28 PM

Quote:

Originally Posted by crazymilk (Post 1895543)
This works a treat for loging out But what about once you?ve log out it chances to loging how what that be done?

And thanks ArnyVee for the log out code

I have no idea whether this works or not, but the standard vbulletin logout code seems to be this:

Code:

                <if condition="$show['member']">
                        <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
                </if>

Maybe if you were to add this?

(Again, no idea if it works, save before trying, you might accidentally destroy your forum or even the whole world with this ;) )

SBlueman 10-18-2009 03:11 AM

Thank you for this modification. I have installed it on my site and I love how smooth it is. I was able to get it to look almost like the default navbar menu:

http://gridironfans.com/

linuxututs 10-18-2009 04:28 AM

Quote:

Originally Posted by SBlueman (Post 1901550)
Thank you for this modification. I have installed it on my site and I love how smooth it is. I was able to get it to look almost like the default navbar menu:

http://gridironfans.com/

I love this Hack / Mod as well !

But I'm worthless at graphics myself, and cannot seem to edit the images to get them to match my board.

Can anyone recommend a program to do this with for me ?

Thank You,

Halfhidden 10-18-2009 02:38 PM

Has anyone any idea why I get corruption of the dropdown header in IE if the member isn't logged in.
See picture insert.
http://www.picturepenzance.co.uk/support/corrupt.jpg

MGP_Tech 10-27-2009 01:11 PM

1 Attachment(s)
I'm having a small issue with this menu on my website: http://madhatterrgames.com/vampire-larp/index.php

Browser: Firefox
Skin: Permatakus2 (you should be able to change the skin by using the bottom drop down selection box)
Error: The menu drop down selections disappear under the main content area of the website. Pictures Attached.

Anyone got a fix for this?

Halfhidden 10-27-2009 01:55 PM

Quote:

Originally Posted by camarilladee (Post 1906868)
I'm having a small issue with this menu on my website: http://madhatterrgames.com/vampire-larp/index.php

Browser: Firefox
Skin: Permatakus2 (you should be able to change the skin by using the bottom drop down selection box)
Error: The menu drop down selections disappear under the main content area of the website. Pictures Attached.

Anyone got a fix for this?

That's because you need to turn off (or remove) navbar for each style (or skin) that you want to use this menu system with. You'll also need to paste the menu system in the header of each of the styles (skins) that you want to use it with.
Hope that helps?

MGP_Tech 10-27-2009 02:51 PM

1 Attachment(s)
Quote:

Originally Posted by Halfhidden (Post 1906886)
That's because you need to turn off (or remove) navbar for each style (or skin) that you want to use this menu system with. You'll also need to paste the menu system in the header of each of the styles (skins) that you want to use it with.
Hope that helps?

I'm not sure where you "turn off" the navbar (please advise me of that one if you know) ... everywhere I've seen online says to just delete it from the template and when I tried to do that it messed the appearance of that particular template.

I have the menu already put into the header style of that skin (it shows up great on IE) and on all the templates I'm using, it's just on firefox menu goes into hiding and I have no clue why. Attached is a screenshot of the same template in IE with the menu working fine.

Halfhidden 10-27-2009 03:14 PM

1 Attachment(s)
Quote:

Originally Posted by camarilladee (Post 1906923)
I'm not sure where you "turn off" the navbar (please advise me of that one if you know) ... everywhere I've seen online says to just delete it from the template and when I tried to do that it messed the appearance of that particular template.

I have the menu already put into the header style of that skin (it shows up great on IE) and on all the templates I'm using, it's just on firefox menu goes into hiding and I have no clue why. Attached is a screenshot of the same template in IE with the menu working fine.

Works fine for me on FF3. Perhaps you should clear your cache and try again. I couldn't try another styles because Guests can't change styles... but if it shows here there no reason why it shouldn't show elsewhere.
You are right to edit the style in VB admin CP>style manager > find the style you want to edit > and find breadcrumbs and then beneath that is navbar. Open it and then delete the contents in there and save and reload. If you have altered navbar, then it's a good idea to copy the contents first. All that does is remove the navebar for that style. You can turn off navbar altogether in admin cp but that's not advisable frankly

MGP_Tech 10-27-2009 03:39 PM

I'm switching the default template to the black and red one so that you can see it now. http://madhatterrgames.com/vampire-larp/index.php

Thanks for taking a look at this, I really appreciate it!

EDIT: The theme you want to look at is Permatakus2 ... since it seems you're not online I wanted to make sure we had a theme defaulting that actually worked. You should be able to switch to it, when you have time to look it over, at the bottom of the screen.

Halfhidden 10-27-2009 04:41 PM

Ok... sorry been out to get some supplies in. Yes I can see what you mean with Permatakus
The reason why IE displays the drop down and not FF is simply the difference between the two browsers and how they handle javascript errors.
In your case, either way the script is wrong.
You have an error in the javascript and the script is expecting an ")" but it is missing and this changes the code.
You'll have to go through the code and compare yours with that of the original code posted on this thread.
To have a look yourself open your page in IE and have a look at the very bottom left hand side of the browser window of IE and you'll see a yellow triangle. This suggests that you have a code error on your page. Click on that and you'll see the suggested code error.
Don't take the code error as gospel because often a missing piece of code elsewhere can have an affect somewhere else. IE will only report some errors.... So have a good look over your code again I'm afraid.
Hope this helps?

MGP_Tech 10-28-2009 01:07 PM

Looks like I'm looking for a new template. Thanks for your advice.

davida500 11-01-2009 12:59 AM

I am having a problem with the Nav Bar, but first i would like to say that its great..other than this one little problem :)

You can see the problem that i am experiencing at: www.e3-clan.net

On some screens it looks ok, but on other screens the Navigation bar will go onto 2 lines even if there is space to the left and right of the nav bar, is there any way i can make it so they extend out more on smaller screens so that it all stays on one line if that makes sense.

Thanks.

David.

Halfhidden 11-01-2009 10:04 AM

Quote:

Originally Posted by davida500 (Post 1908854)
I am having a problem with the Nav Bar, but first i would like to say that its great..other than this one little problem :)

You can see the problem that i am experiencing at: www.e3-clan.net

On some screens it looks ok, but on other screens the Navigation bar will go onto 2 lines even if there is space to the left and right of the nav bar, is there any way i can make it so they extend out more on smaller screens so that it all stays on one line if that makes sense.

Thanks.

David.

Well David, it looks like to me that your menu script is inside a table or div that is a fixed width. If I view it at 1440x900 the menu is still on two lines. If viewed at 1024x768 it spans three lines..... That would be the reason... I'm 100% sure of that.

davida500 11-01-2009 11:02 AM

Thanks for the info so far halfhidden...Is there any way you may be able to help me further with the issue :)

It would be much appreciated.

David.

Halfhidden 11-01-2009 11:12 AM

Quote:

Originally Posted by davida500 (Post 1908975)
Thanks for the info so far halfhidden...Is there any way you may be able to help me further with the issue :)

It would be much appreciated.

David.

You could post your header script here and I'll take a look at it.

davida500 11-01-2009 01:16 PM

1 Attachment(s)
Quote:

Originally Posted by Halfhidden (Post 1908979)
You could post your header script here and I'll take a look at it.

The full header is too long to post haha, so i have attached a document with the full header code.

Thanks for the help :)

Halfhidden 11-01-2009 05:29 PM

Quote:

Originally Posted by davida500 (Post 1909001)
The full header is too long to post haha, so i have attached a document with the full header code.

Thanks for the help :)

Sorry been off.... broadband is playing up big time.
OK had a look and can't see any div or tables as I thought... but I did find the reason for the look. I can't see anywhere in your edit (where you placed in the url's for your menu) where javascript is turned off.
For instance you have:
Code:

<li><span class="qmdivider qmdividery" ></span></li>
<li><a class="qmparent" href="/forums/usercp.php">CONTROL PANEL</a>

I was expecting to see something like this:
Code:

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

If I'm right (I'm no Javascript guy) but without the switch turning off javascript the menu (I'm pretty sure) will not format correctly.
I tried several menu headers with the above javascripts and the menu moved along from left (justified) to right on one line.

Basically what I'm saying that if you replace the top code with the second code I posted for each section in your menu the menu will show properly.

davida500 11-01-2009 06:51 PM

That doesn't seem to help. I feel there may be something else affecting the format because I've tried deleting everything in my header except the navbar script and it still didn't work.

I think the problem may lie in that the section of my forum that is the header just keeps shrinking as you shrink your browser. If you go on my site and start shrinking your browser, the forums section eventually starts getting cut off, but the header just keeps shrinking.

Halfhidden 11-01-2009 07:03 PM

Why is the navbar script in the header?

davida500 11-01-2009 07:26 PM

"When you've finished all your editing, we need to upload this whole code to your Header Template of the Style"

That's what it says in the installation instructions. If it doesn't go there, then where?

Halfhidden 11-01-2009 07:39 PM

Quote:

Originally Posted by davida500 (Post 1909103)
"When you've finished all your editing, we need to upload this whole code to your Header Template of the Style"

That's what it says in the installation instructions. If it doesn't go there, then where?

No that's ok... it's just that the navbar is a different animal altogether.

I am still looking through the code and a couple of things for instance:
Code:

<!-- ********************************************** -->
<!-- END User Login and Info                        -->
<!-- ********************************************** -->
__________

<!-- ********************************************** -->
<!-- START Mood Chooser                            -->
<!-- ********************************************** -->

Not sure why the __________________

I'll let you know if I find anything else... (although that's not the reason for your problems)

Halfhidden 11-01-2009 08:06 PM

Sometime I can't see the tree's from the woods...

Look for:
Code:

/*"""""""" (MAIN) Container""""""""*/       
        /*""""""Edit the second value for
        padding to adjust centering"""""*/
        #qm0       
        {       
                padding:5px 275px;
                margin:0px;
                background-color:#000000;
                background-image:url(images/nav/gradient_16.gif);
                border-width:1px;
                border-style:solid;
                border-color:#000000;
        }


Change to:
Code:

/*"""""""" (MAIN) Container""""""""*/       
        /*""""""Edit the second value for
        padding to adjust centering"""""*/
        #qm0       
        {       
                padding:5px 5px;
                margin:0px;
                background-color:#000000;
                background-image:url(images/nav/gradient_16.gif);
                border-width:1px;
                border-style:solid;
                border-color:#000000;
        }


Job done!

davida500 11-02-2009 07:33 PM

No that doesn't help. Thanks for trying though.

Halfhidden 11-02-2009 07:53 PM

1 Attachment(s)
Really.. I haven't changed you header except the padding as mentioned above.
Here's a screen shot from my test site.... now remember I haven't loaded any of the graphics from your site so it looks a bit naff... but the navigations works as expected. This was taken at 1024x768


All times are GMT. The time now is 06:03 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.01621 seconds
  • Memory Usage 1,862KB
  • 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
  • (10)bbcode_code_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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