vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vbmenu_control Issue - Unsure of best way to resolve? (https://vborg.vbsupport.ru/showthread.php?t=299917)

SpawnedX 07-08-2013 01:26 AM

vbmenu_control Issue - Unsure of best way to resolve?
 
My website: http://www.automotive-technicians.com/forums

If you notice my menu bar has a nice bevel to it. Now if you go to one of the forums, and look at the search this forum drop-down menu, you will see the background image I have created to get my nice menu bevel is cuts a hideous line across the center. How can I make it so the search this forum drop-down menu does not use that background image but uses everything else?

--------------- Added [DATE]1373256878[/DATE] at [TIME]1373256878[/TIME] ---------------

What I have tried so far is to go into vbulletin-style.xml, copy the vbmenu_control template, paste a new template underneath it and change the variables I need change. Uploaded it back, and it doesn't work if I call the new template class.

tbworld 07-08-2013 02:26 AM

I am a little unclear. I see a red line underneath forum tools, search this forum, but it is not cutting it in half. The bevel you are talking about is part of your "png" correct.
I see where the png is maybe not aligned and maybe that is the underline I am seeing. Am I on the right track?

What browsers have you checked this with. It might be why I am not seeing it the same way you are. I was using firefox v22.

SpawnedX 07-08-2013 02:38 AM

I am using Chrome.

Basically what I did is this:

Downloaded the vbulletin-style.xml from the style manager upload/download section, and found this:

Code:

<template name=".vbmenu_control" templatetype="css" date="1373250531" username="Michael Costa" version=""><![CDATA[a:7:{s:10:"background";s:89:"#990000 url(http://www.automotive-technicians.com/forums/images/atfMenuBGMain.png) repeat";s:5:"color";s:7:"#FFFFFF";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:78:"tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:47:"padding: 3px 6px 3px 6px;
white-space: nowrap;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:9:"underline";}}]]></template>

Then underneath it I pasted this:

Code:

<template name=".vbmenu_navcontrol" templatetype="css" date="1373250531" username="Michael Costa" version=""><![CDATA[a:7:{s:10:"background";s:89:"#990000 url(http://www.automotive-technicians.com/forums/images/atfMenuBGMain.png) repeat";s:5:"color";s:7:"#FFFFFF";s:4:"font";a:3:{s:5:"style";s:4:"bold";s:4:"size";s:4:"11px";s:6:"family";s:78:"tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif";}s:5:"EXTRA";s:47:"padding: 3px 6px 3px 6px;
white-space: nowrap;";s:6:"LINK_N";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_V";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:4:"none";}s:6:"LINK_M";a:3:{s:10:"background";s:0:"";s:5:"color";s:7:"#FFFFFF";s:15:"text-decoration";s:9:"underline";}}]]></template>

Then I saved the file and tried both uploading this to replace the file in my install directory and by using the upload feature in the style manager.

Neither way allows me to call vbmenu_navcontrol as a class.

--------------- Added [DATE]1373258387[/DATE] at [TIME]1373258387[/TIME] ---------------

The bevel is part of my .png.


All times are GMT. The time now is 11:39 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.02199 seconds
  • Memory Usage 1,722KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete