Which CSS please?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mermaid
    Senior Member
    • Mar 2008
    • 761
    • 3.6.x

    #61
    Originally posted by Mermaid
    How do I customize my profile to look like the default? Do you mean remove all the information, like where I live?

    Very likely is one what?


    What does it mean "execute a query"? please.

    So can nobody answer these question? Sorry if they are too stupid for anyone to bother with, but I'd love to have some answers

    Comment

    • marinelife
      Senior Member
      • Oct 2008
      • 214

      #62
      Is there a work around to fix every user at once, this will be a pain to fix one at a time!

      Comment

      • basilrath
        Senior Member
        • Apr 2006
        • 344
        • 4.1.x

        #63
        Ye wait until 4.0.9 loooooooool and im serious

        ive learned now upgrades are a headache and its best to stay way behind ............. youl at least be sleeping a few hours a night instead of messing around
        www.tabletennistalk.co.uk

        Comment

        • Grimsqueaker
          New Member
          • Sep 2009
          • 29
          • 3.8.x

          #64
          Originally posted by marinelife
          Is there a work around to fix every user at once, this will be a pain to fix one at a time!
          Yes, edit profilecustomize.php and map a different stylevar to the ones that are taking their value from the header colour.... Simple and effective ....
          You don't know what you don't know...

          Comment

          • Mermaid
            Senior Member
            • Mar 2008
            • 761
            • 3.6.x

            #65
            Originally posted by Grimsqueaker
            Yes, edit profilecustomize.php and map a different stylevar to the ones that are taking their value from the header colour.... Simple and effective ....
            I tried the profilecustomize.php, that didn't work. As to "map different stylevar", can you explain what that means?

            Not simple for some people.

            Comment

            • Grimsqueaker
              New Member
              • Sep 2009
              • 29
              • 3.8.x

              #66
              Originally posted by Mermaid
              I tried the profilecustomize.php, that didn't work. As to "map different stylevar", can you explain what that means?

              Not simple for some people.
              lines 215 & 216 of profilecustomize.php are as below by default

              PHP Code:
                      'moduleinactive_text_color' => self::$stylevars['header_background']['color'],
                      
              'moduleinactive_link_color' => self::$stylevars['header_background']['color'], 
              these are the stylevar mappings that are causing the majority of issues.
              On my forums I changed these lines to:

              PHP Code:
                      'moduleinactive_text_color' => self::$stylevars['body_color']['color'],
                      
              'moduleinactive_link_color' => self::$stylevars['link_color']['color'], 
              and it has resolved these issues for me...
              You don't know what you don't know...

              Comment

              • marinelife
                Senior Member
                • Oct 2008
                • 214

                #67
                Thanks that did fix it for me!

                Comment

                • Grimsqueaker
                  New Member
                  • Sep 2009
                  • 29
                  • 3.8.x

                  #68
                  Originally posted by marinelife
                  Thanks that did fix it for me!
                  It just seemed logical that these colours should be the same as for other areas so that they DO match the incumbent theme.....

                  As others have mentioned on this thread, I cannot see the logic behind mapping these colours to the header background
                  Last edited by Grimsqueaker; Thu 28 Oct '10, 10:49am. Reason: adding quote
                  You don't know what you don't know...

                  Comment

                  • Robbed
                    Member
                    • Oct 2005
                    • 98
                    • 4.2.X

                    #69
                    I had the same issue. I was able to fix mine with ideas from this thread.


                    I played around with it some more.

                    It looks like for that command to work all the usergroup settings have to be set to yes.

                    Can Edit Font Family
                    Yes No

                    Can Edit Font Size
                    Yes No

                    Can Edit Colors Covers font and background colors
                    Yes No

                    Can Edit Background Images Users must have user album permissions as well
                    Yes No

                    Can Edit Borders Covers border style, color, and width
                    Yes No

                    Can Edit Profile PrivacyWhether the user can hide blocks on their profile page from other users
                    Yes No

                    Can Customize Profile
                    Yes No

                    As soon as you choose NO to one of them it takes that option and pulls it from stylevar. If i select no to background it won't set the right background color.

                    This has to be fixed because i dont want all my usergroups set to yes for everything.
                    Last edited by Robbed; Fri 29 Oct '10, 2:33pm.

                    Comment

                    • DDIG
                      Member
                      • Oct 2007
                      • 92
                      • 3.8.x

                      #70
                      I don't understand one thing about this whole mess.

                      User profiles are messed up completely and I do want a fix now. This is rediculous. Using black theme, nobody can read a thing on their user profile.

                      This is just unbelievable.
                      Wat You See Is What I Could Have Meant
                      D-DIG.NL -
                      Hèt trefpunt voor alles over digitale fotografie op internet... En meer!

                      Comment

                      • Robbed
                        Member
                        • Oct 2005
                        • 98
                        • 4.2.X

                        #71
                        Looks like their has been a fix since oct 22nd.

                        Fix that appears to work

                        In /vb/profilecustomize.php, about line 195, just after

                        public static function getSiteDefaultTheme()
                        {

                        add

                        //try pulling a site customization
                        $theme_data = vB_dB_Assertor::getInstance()->assertQuery('customprofile',
                        array('type' => 's', 'userid' => -1) );
                        if ($theme_data->valid())
                        {
                        $theme = $theme_data->current();
                        if ($theme_data->valid())
                        { return $theme; }
                        }

                        Comment

                        • DDIG
                          Member
                          • Oct 2007
                          • 92
                          • 3.8.x

                          #72
                          @Robbed: Thanks!!

                          It works. I can't thank you enough, thanksthanksthanks.

                          Fact remains it is *unbelievable* that they didn't build it like this in the first place.

                          But now I can move on, great!
                          Wat You See Is What I Could Have Meant
                          D-DIG.NL -
                          Hèt trefpunt voor alles over digitale fotografie op internet... En meer!

                          Comment

                          • Grimsqueaker
                            New Member
                            • Sep 2009
                            • 29
                            • 3.8.x

                            #73
                            Originally posted by DDIG
                            I don't understand one thing about this whole mess.

                            User profiles are messed up completely and I do want a fix now. This is rediculous. Using black theme, nobody can read a thing on their user profile.

                            This is just unbelievable.
                            If you use the solution in post #66 of this thread, it will match the profile text colours more closely to your theme

                            Originally posted by Robbed
                            Looks like their has been a fix since oct 22nd.
                            http://tracker.vbulletin.com/browse/VBIV-9830
                            Except that hasn't been shown to work for all users.... Certainly doesn't work on my board
                            You don't know what you don't know...

                            Comment

                            • DDIG
                              Member
                              • Oct 2007
                              • 92
                              • 3.8.x

                              #74
                              Thank you, but in My case it doesn't. Fix from post #71 is much better (for me, that is).

                              Many thanks both of you were so kind to help out. I may have overlooked things, in which case I'm sorry.
                              Wat You See Is What I Could Have Meant
                              D-DIG.NL -
                              Hèt trefpunt voor alles over digitale fotografie op internet... En meer!

                              Comment

                              • Robbed
                                Member
                                • Oct 2005
                                • 98
                                • 4.2.X

                                #75
                                Same, this fix lets us choose all the colors on our profile and make it default.

                                Grimsqueaker

                                Have you tried DELETE FROM customprofile WHERE userid = -1 then customizing your profile and run the query again?

                                Comment

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