The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Copying vbmenu_control
I installed this hack to add a profile drop down thing in the postbit, you can see an example on my forum here. As you can see it's blue and wide because it uses the default vbmenu_control. I want to make a copy of that and edit it with the bg color and text color I want, but I don't know where to find it. Can anyone help me? Thanks
|
#2
|
||||
|
||||
most likely the postbit / postbit_legacy template
|
#3
|
|||
|
|||
It's not in the postbit_legacy template. Well not that I could find anyway. Thanks for helping! I may be wrong though, I mean your Admin, so I'll head back and check again! Thanks.
I found it in vbulletin-style.xls and copied it there. It seems to have worked. Thanks for you help! |
#4
|
|||
|
|||
is that .xml found via FTP or is that something that I can find in the admin CP somewhere?
|
#5
|
|||
|
|||
It's in the install folder, the file name is vbulletin-style.xml.
Open the file, search for .vbmenu_control which looks like this Code:
<template name=".vbmenu_control" templatetype="css" date="1070536142" username="Kier" version=""><![CDATA[a:7:{s:10:"background";s:7:"#738FBF";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> Code:
/* ***** Start Vehicle Information in Postbit ***** */ <template name=".rigs_specs" templatetype="css" date="1070536142" username="Kier" version=""><![CDATA[a:7:{s:10:"background";s:7:"#eef0f2";s:5:"color";s:7:"#000000";s:4:"font";a:3:{s:5:"style";s:4:"";s:4:"size";s:4:"10px";s:6:"family";s:78:"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:"";}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:"none";}}]]></template> /* ***** End Vehicle Information in Postbit ***** */ |
#6
|
|||
|
|||
Thanks!
Just one question, when you say make sure you're using the right style in postbit....what exactly are you referring to? I've changed the .xml file to reflect the modification, but I'm a bit lost on the right style thing. Do I need to change the template as well? I've tried seraching our templates for '.vbmenu_control' but nothing comes up. Thanks again! |
#7
|
|||
|
|||
any help?
|
#8
|
|||
|
|||
Quote:
Code:
<div id="specs_$post[postid]" class="vbmenu_control"> Code:
<div id="specs_$post[postid]" class="(your code title here)"> |
#9
|
|||
|
|||
Thank you!
|
#10
|
|||
|
|||
Welcome!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|