how to find the stylevars !!!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • samiro
    Senior Member
    • Mar 2006
    • 333
    • 4.0.0

    [Forum] how to find the stylevars !!!

    please help me to find this stylevar (4.1 beta)
    maybe i am doing somthing wrong
    in the photo i attached - there is a font color that i want to change. (the DDDDDD to 000000)

    Click image for larger version

Name:	34512345.jpg
Views:	1
Size:	95.5 KB
ID:	3719167

    1. check the css with firebug and i saw this:
    Code:
     #sidebar_container .blocksubhead {
    color:#DDDDDD;
    i search Templates for sidebar_container and i found that the var that shuld change the color is:
    Code:
     color: {vb:raw [B][COLOR=red]moduleinactive_text_color[/COLOR][/B]};
    but i cant find "moduleinactive_text_color" in the stylevars search !!!
    please help... maybe i am doing somthing wrong ?
    Last edited by samiro; Wed 24 Nov '10, 12:23am.
    My Women's Forums:
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    Those are all mapped in the file profilecustomize.php

    Code:
            $theme = array('font_family' => 'default',
            'fontsize' => self::$stylevars['font']['size'] . self::$stylevars['font']['units'],
            'title_text_color' => self::$stylevars['body_color']['color'],
            'page_background_color' => self::$stylevars['body_background']['color'],
            'page_background_image' => self::$stylevars['body_background']['image'],
            'page_background_repeat' => self::cleanRepeat(self::$stylevars['body_background']['repeat']),
            'module_text_color' => self::$stylevars['navbar_tab_color']['color'],
            'module_link_color' => self::$stylevars['navbar_tab_color']['color'],
            'module_background_color' => self::$stylevars['navbar_tab_selected_background']['color'],
            'module_background_image' => self::$stylevars['body_background']['image'],
            'module_background_repeat' => self::cleanRepeat(self::$stylevars['body_background']['repeat']),
            'module_border' => self::$stylevars['navbar_background']['color'],
            'moduleinactive_text_color' => self::$stylevars['header_background']['color'],
            'moduleinactive_link_color' => self::$stylevars['header_background']['color'],
            'moduleinactive_background_color' => self::$stylevars['tabslight_selected_background']['color'],
            'moduleinactive_background_image' => self::$stylevars['body_background']['image'],
            'moduleinactive_background_repeat' => self::cleanRepeat(self::$stylevars['body_background']['repeat']),
            'moduleinactive_border' => self::$stylevars['light_border']['color'],
            'headers_text_color' => self::$stylevars['body_color']['color'],
            'headers_link_color' => self::$stylevars['link_color']['color'],
            'headers_background_color' => self::$stylevars['light_border']['color'],
            'headers_background_image' => self::$stylevars['body_background']['image'],
            'headers_background_repeat' => self::cleanRepeat(self::$stylevars['body_background']['repeat']),
            'headers_border' => self::$stylevars['mid_border']['color'],
            'content_text_color' => self::$stylevars['body_color']['color'],
            'content_link_color' => self::$stylevars['link_color']['color'],
            'content_background_color' => self::$stylevars['body_background']['color'],
            'content_background_image' => self::$stylevars['body_background']['image'],
            'content_background_repeat' => self::cleanRepeat(self::$stylevars['body_background']['repeat']),
            'content_border' => self::$stylevars['body_background']['color'],
            'button_text_color' => self::$stylevars['header_background']['color'],
            'button_background_color' => self::$stylevars['tabslight_selected_background']['color'],
            'button_background_image' => self::$stylevars['header_background']['image'],
            'button_background_repeat' => self::cleanRepeat(self::$stylevars['header_background']['repeat']),
            'button_border' => self::$stylevars['header_background']['color'],
            'page_link_color' => self::$stylevars['link_color']['color']);

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • samiro
      Senior Member
      • Mar 2006
      • 333
      • 4.0.0

      #3
      But this is not a method
      How do we actually can know every time what the VAR of what we want to change?
      This time I'm "playing" in the profile style... next time maybe i want to change something else
      i can not just ask here and there every time to know what i is the "string" i need to change to make style changes...

      please help us to make itt simple - not harder than 3.8V...
      There is no logic in it.
      My Women's Forums:

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        Normally there are stylevars. The profile page is different since the customization. You can use firebug for all other pages.

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

        • samiro
          Senior Member
          • Mar 2006
          • 333
          • 4.0.0

          #5
          but i am using direbug and cant get the vars i need to change
          can you explain how you do that ?
          My Women's Forums:

          Comment

          • Trevor Hannant
            vBulletin Support
            • Aug 2002
            • 24351
            • 5.7.X

            #6
            This is a bug in 4.0.8. To set these for a default profile for all users, please see this article:

            http://www.vbulletin.com/forum/conte...-Profile-Style.
            Vote for:

            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

            Comment

            • samiro
              Senior Member
              • Mar 2006
              • 333
              • 4.0.0

              #7
              Originally posted by Trevor Hannant
              This is a bug in 4.0.8. To set these for a default profile for all users, please see this article:

              http://www.vbulletin.com/forum/conte...-Profile-Style.
              i have 4.1 beta
              still same bug !
              My Women's Forums:

              Comment

              • Trevor Hannant
                vBulletin Support
                • Aug 2002
                • 24351
                • 5.7.X

                #8
                Have you reported this in the appropriate bug report in the tracker?
                Vote for:

                - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                Comment

                • samiro
                  Senior Member
                  • Mar 2006
                  • 333
                  • 4.0.0

                  #9
                  no
                  I can't sit all day and report bugs
                  You are a team, and your obligation is to enter threds to see problems and report the bugs yourself.
                  I uploaded over 20 bugs, I've seen reference to them is not worth the effort

                  So many bugs
                  It's tiring
                  Real shame
                  My Women's Forums:

                  Comment

                  • KW802
                    Senior Member
                    • Jul 2003
                    • 1165
                    • 3.8.11

                    #10
                    Samiro,

                    If you don't want to submit it in the tracker, you could at least vote for the issue that I've already submitted. (VBIV-9970 -- Request for Search & Replace functionality for Stylevars values)

                    There was also an add-on posted over at vBulletin.org that may do what you're after. (Stylevar Search)
                    [URL="http://coolscifi.com"]Cool Sci-Fi[/URL="http://coolscifi.com"] | [URL="http://awalkerbit.me"]Walking Dead[/URL="awalkerbit.me"]

                    Comment

                    • samiro
                      Senior Member
                      • Mar 2006
                      • 333
                      • 4.0.0

                      #11
                      thank you !!!!!!!
                      i voted for the issu

                      the search in the tracker also make me crazy.
                      My Women's Forums:

                      Comment

                      • Steve Machol
                        Former Customer Support Manager
                        • Jul 2000
                        • 154488

                        #12
                        Originally posted by samiro
                        no
                        I can't sit all day and report bugs
                        You are a team, and your obligation is to enter threds to see problems and report the bugs yourself.
                        I uploaded over 20 bugs, I've seen reference to them is not worth the effort

                        So many bugs
                        It's tiring
                        Real shame
                        Also as per the announcement, 4.1 is Beta and therefore not supported. The reason to install a Beta is to test it and report any potential problems.
                        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
                        Change CKEditor Colors to Match Style (for 4.1.4 and above)

                        Steve Machol Photography


                        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


                        Comment

                        • samiro
                          Senior Member
                          • Mar 2006
                          • 333
                          • 4.0.0

                          #13
                          Originally posted by Steve Machol
                          Also as per the announcement, 4.1 is Beta and therefore not supported. The reason to install a Beta is to test it and report any potential problems.
                          100% - but these bugs are "fixed" in 4.0.9
                          and they still in 4.1
                          My Women's Forums:

                          Comment

                          • Trevor Hannant
                            vBulletin Support
                            • Aug 2002
                            • 24351
                            • 5.7.X

                            #14
                            So report back that they're not and give an example
                            Vote for:

                            - Admin Settable Paid Subscription Reminder Timeframe (vB6)
                            - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

                            Comment

                            • Garamond
                              Senior Member
                              • Jul 2004
                              • 296
                              • 3.8.x

                              #15
                              Originally posted by Trevor Hannant
                              Have you reported this in the appropriate bug report in the tracker?
                              I must say that, generally, reporting a bug in the tracker is no guarantee that it will be fixed. It's been months since I reported a bug, and even now after 4.1.0 there is no evidence that it will be fixed

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...