The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
Hello,
i want to retrieve some info from active style into a php file. Example : I want to take the : Normal Links CSS Color Normal Links CSS Font Hover Links CSS Color Hover Links CSS Font from Popup Menu Option Row (vbmenu_option) Any way to do that? Thanks SorentoUltimate |
#2
|
||||
|
||||
![]()
you want to add this in a php file or you want a php file to use it?
key words of the day { firebug } |
#3
|
||||
|
||||
![]() Quote:
Example : $linkcolor = ......; $linkfont = ......; $linkhovercolor = ......; $linkhoverfont = ......; what i have to put?? |
#4
|
||||
|
||||
![]()
look man this is what i know you can have your php file connect to style.css file but to have a css code in a php file i never see it before...
use the vbseo for an Example... |
#5
|
||||
|
||||
![]()
i making a hack with tabbar for vbulletin 3.8.x and i want to use colors etc from style css
|
#6
|
||||
|
||||
![]()
am going to need to see the code that you playing with to help you man....
|
#7
|
||||
|
||||
![]() Quote:
in Global Start Plugin put in some variables (Used in Javascript) colors defined at Settings. I want to put to that variables values from css (depent on style, because i have 8 styles) Code:
$invtedfonsiz = $vbulletin->options['tabbar_with_dropdown_fonsiz']; $invtednohovddlk = $vbulletin->options['tabbar_with_dropdown_nohovddlk']; $invtedhovddlk = $vbulletin->options['tabbar_with_dropdown_hovddlk']; $invtedcssimglft = $vbulletin->options['tabbar_with_dropdown_cssimglft']; $invtedcssimgrht = $vbulletin->options['tabbar_with_dropdown_cssimgrht']; $invtednohovlkcol = $vbulletin->options['tabbar_with_dropdown_nohovlk']; $invtedhovlkcol = $vbulletin->options['tabbar_with_dropdown_hovlk']; $invtedjshowme = $vbulletin->options['tabbar_with_dropdown_jspath']; $invtedbkgrd = $vbulletin->options['tabbar_with_dropdown_bkgrd']; $invtedpddg = $vbulletin->options['tabbar_with_dropdown_pddg']; |
#8
|
||||
|
||||
![]()
try adding
Code:
class="alt1" Code:
class="alt2" |
#9
|
||||
|
||||
![]()
Hi all,
i found the solution to my problem. Here the solution : $vbmenu_option_template = fetch_template('.vbmenu_option', 0, false); $vbmenu_option_css = unserialize( $vbmenu_option_template ); $dropdown_back_color = $vbmenu_option_css['background']; $dropdown_font_color = $vbmenu_option_css['color']; $dropdown_font_size = $vbmenu_option_css['font']['size']; $dropdown_font_style = $vbmenu_option_css['font']['style']; $dropdown_font_family = $vbmenu_option_css['font']['family']; $dropdown_extra = $vbmenu_option_css['EXTRA']; $dropdown_link_normal = $vbmenu_option_css['LINK_N']['color']; $dropdown_link_hover = $vbmenu_option_css['LINK_M']['color']; |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|