Which CSS please?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lionel
    Senior Member
    • Apr 2001
    • 688

    #46
    You had 52 users who customized their profiles already. Are those userid in there?

    Comment

    • Gursimran
      Member
      • Jun 2008
      • 97
      • 4.0.x

      #47
      Originally posted by Lionel
      You had 52 users who customized their profiles already. Are those userid in there?
      Sorry but I am not getting what you are talking about

      Comment

      • M.Scheel
        Senior Member
        • Sep 2001
        • 482
        • 5.7.0

        #48
        The workaround with the SQL Query only works if the usergroup is allowed to customize their profile.

        As soon as I disallow customization for a usergroup the profile is converted back to its original vB colors.
        And a blue editor and a blue backround look horrible in a Green forum design!

        Any help here?

        I dont want my users to edit their profile but I want the profile to have the same colors as my site has.
        Michael Scheel
        Facharzt für Kinder- und Jugendmedizin

        Web: www.Kinderarzt-Cuxland.de
        Facebook: Kinderarzt.Cuxland
        Instagram: Kinderarzt.Cuxland

        Comment

        • Gursimran
          Member
          • Jun 2008
          • 97
          • 4.0.x

          #49
          Originally posted by StarBuG
          The workaround with the SQL Query only works if the usergroup is allowed to customize their profile.

          As soon as I disallow customization for a usergroup the profile is converted back to its original vB colors.
          And a blue editor and a blue backround look horrible in a Green forum design!

          Any help here?

          I dont want my users to edit their profile but I want the profile to have the same colors as my site has.
          +1.....

          Comment

          • Bergler
            Senior Member
            • Dec 2006
            • 560

            #50
            Doesnt work on mine, although it did work for everything but the button background!!

            Comment

            • audiokid
              Senior Member
              • Apr 2009
              • 555
              • 4.1.x

              #51
              I'm had the exact same issue where I couldn't set the profiles to look like mine until I went back and allowed that Usergroup permissions to change their profile. Once is made the sql change, I when back to the usergroup and disabled their permissions. Works great and like this option now that I understand it all and things were announced here on how to fix things. Well done and sorry to be quick to attack a good feature.

              Cheers!
              Cheers!

              RECORDING ORG
              created for musicians, by musicians

              Comment

              • Gursimran
                Member
                • Jun 2008
                • 97
                • 4.0.x

                #52
                Edwin Brown PMed me a temporary trick and it worked. If anyone else facing similar problem, he can PM me or Edwin otherwise patch is going to release on Monday which 'll fix it.

                Comment

                • is_it_me
                  Senior Member
                  • Apr 2008
                  • 546

                  #53
                  This seems to be the problem I've got.

                  Click image for larger version

Name:	ProfilePage.jpg
Views:	4
Size:	50.4 KB
ID:	3680527

                  I can't believe we were not warned about this before the release, so we could have chosen to wait for 4.09.

                  Originally posted by Gursimran
                  Edwin Brown PMed me a temporary trick and it worked. If anyone else facing similar problem, he can PM me or Edwin otherwise patch is going to release on Monday which 'll fix it.
                  Well that's something I guess, not that it brings back the hours wasted trying to work out what the hell was going on.


                  testing 1..2..3

                  Comment

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

                    #54
                    Originally posted by Gursimran
                    Edwin Brown PMed me a temporary trick and it worked. If anyone else facing similar problem, he can PM me or Edwin otherwise patch is going to release on Monday which 'll fix it.
                    Have already commented in the tracker, but that fix didn't work for me...

                    What DID work was to edit the profilecustomize.php file and use more sensible mapping to avoid the font colours from being snagged from the header_background colour.
                    You don't know what you don't know...

                    Comment

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

                      #55
                      Originally posted by Edwin Brown

                      Go to your own profile and customize it to look like the default.
                      How do I customize my profile to look like the default? Do you mean remove all the information, like where I live?
                      Originally posted by Edwin Brown
                      Get your userid. It very likely is one but isn't guaranteed.
                      Very likely is one what?
                      Originally posted by Edwin Brown
                      Execute the query
                      UPDATE <TABLE_PREFIX>customprofile SET userid = -1 WHERE userid = <this userid>;
                      So for example if on your member profile page the url is something like member.php?12-fred, and your table prefix is vbf_, your query would be
                      [B]UPDATE vbf_customprofile SET userid = -1 WHERE userid = 12;
                      What does it mean "execute a query"? please.
                      Last edited by Mermaid; Tue 26 Oct '10, 12:32pm.

                      Comment

                      • Gursimran
                        Member
                        • Jun 2008
                        • 97
                        • 4.0.x

                        #56
                        Temporary fix, PMed by Edwin Brown.

                        In /vb/profilecustomize.php, about line 195

                        (add the red code)


                        public static function getSiteDefaultTheme()

                        {
                        //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;
                        }
                        }

                        //We set from stylevars.
                        if (!self::$stylevars)
                        {
                        self::$stylevars = vB::$vbulletin->stylevars;
                        }

                        Comment

                        • Bergler
                          Senior Member
                          • Dec 2006
                          • 560

                          #57
                          Nope that didn't work for me either! I did as they all said, and it half worked! It changes the colors but not the button background which is the most important, cause the member cant see what the button reads!

                          Comment

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

                            #58
                            Originally posted by Bergler
                            Nope that didn't work for me either! I did as they all said, and it half worked! It changes the colors but not the button background which is the most important, cause the member cant see what the button reads!
                            Changing the header background sort of worked, in that the links are noe there except the link on the active button, but the colour is wrong (as it's the header colour, duh)

                            This is the most absurd thing to do to software. This aspect of it wasn't broken, yet somebody thought they should fix it and now it's a mess.

                            Please, please please do something.

                            Comment

                            • Bergler
                              Senior Member
                              • Dec 2006
                              • 560

                              #59
                              I agree, this makes no sense, what's the point of having the option of editing your profile if no one can see the button, "Edit Profile"

                              Comment

                              • Bergler
                                Senior Member
                                • Dec 2006
                                • 560

                                #60
                                After reading this post by lynne, http://www.vbulletin.com/forum/showt...07#post2063607

                                I found this css template, userprofile.css

                                .userprof_button{
                                color: {vb:raw button_text_color};
                                background-color: {vb:raw button_background_color};
                                background-image: {vb:raw button_background_image};
                                background-repeat: {vb:raw button_background_repeat};
                                border-color: {vb:raw button_border};

                                To this,

                                .userprof_button{
                                color: {vb:raw button_text_color};
                                background-color: {vb:raw button_background_color};
                                background-image: {vb:raw button_background_color};
                                background-repeat: {vb:raw button_background_repeat};
                                border-color: {vb:raw button_border};

                                and it seems to have disappeared?

                                Comment

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