default Avatar Problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Haiwan88
    Senior Member
    • Jul 2015
    • 126
    • 5.1.x

    default Avatar Problem

    Hi

    i have a Problem The Avatar Size dont want to change, i change the Size of the avatar bye uploading bigger Image and change the code, but it dont want to change.
    The Red Code is there and i cant change it?

    i have this Code in additional.css

    Code:
    .b-avatar--m > img {
    max-height: 90px;
    max-width: 90px !important;



    this is css with firebug


    Code:
    .thread-view .b-avatar--m > img {
    max-height: 90px;
    max-width: 90px !important;
    
    
    }
    
    
    
    
    
    .b-avatar--m > img {
    max-height: 90px;
    max-width: 90px !important;
    
    
    }
    
    [COLOR=#FF0000][B].b-avatar--m > img {
    max-height: 64px;
    max-width: 64px !important;[/B][/COLOR]
    
    
    }
    
    .b-avatar > img {
    max-height: 32px;
    max-width: 32px;
    
    
    }
    
    #sg_canvas fieldset, img {
    border: 0 none;
    
    
    }
    
    img {
    height: auto;
    max-width: 100%;
    
    
    }
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    Avatar sizes are defined in the file /core/includes/class_core.php

    There's a line quite near the top of the file which defines the 64px size, you would need to edit this file as well as the css to effect a change.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • Haiwan88
      Senior Member
      • Jul 2015
      • 126
      • 5.1.x

      #3
      Originally posted by Mark.B
      Avatar sizes are defined in the file /core/includes/class_core.php

      There's a line quite near the top of the file which defines the 64px size, you would need to edit this file as well as the css to effect a change.

      i found this, do you mean it?

      /**#@+
      * The maximum sizes for the "small" profile avatars
      */
      define('FIXED_SIZE_AVATAR_WIDTH', 60);
      define('FIXED_SIZE_AVATAR_HEIGHT', 80);
      /**#@-*/

      Comment

      • Mark.B
        vBulletin Support
        • Feb 2004
        • 24287
        • 6.0.X

        #4
        Yes that's it....alter those to the size you want them to be, as well as the css.
        MARK.B
        vBulletin Support
        ------------
        My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
        My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

        Comment

        • Flash04jv
          Senior Member
          • Aug 2015
          • 474
          • 5.1.x

          #5
          What!? Where did you find this: /core/includes/class_core.php ? How do I find it to edit that code, been wanting to do this for months now. Should this not be in the Cloud section or is it really possible for Cloud users?

          Comment

          • Haiwan88
            Senior Member
            • Jul 2015
            • 126
            • 5.1.x

            #6
            ive change it, but nothing happen

            Comment

            • Mark.B
              vBulletin Support
              • Feb 2004
              • 24287
              • 6.0.X

              #7
              Make sure you clear the system cahce in AdminCP > Maintenance
              MARK.B
              vBulletin Support
              ------------
              My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
              My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

              Comment

              • Haiwan88
                Senior Member
                • Jul 2015
                • 126
                • 5.1.x

                #8
                Originally posted by Mark.B
                Make sure you clear the system cahce in AdminCP > Maintenance
                Done, but no changes

                Comment

                • Haiwan88
                  Senior Member
                  • Jul 2015
                  • 126
                  • 5.1.x

                  #9
                  any other Idee to fix this Problem?

                  Comment

                  • Mark.B
                    vBulletin Support
                    • Feb 2004
                    • 24287
                    • 6.0.X

                    #10
                    The only way is to edit the file stated in an earlier post, and also edit the css.

                    I have done this on several sites, so if it isn't working for you, you've probably made a mistake somewhere.
                    MARK.B
                    vBulletin Support
                    ------------
                    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
                    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

                    Comment

                    • Carrfixr
                      Senior Member
                      • May 2017
                      • 1369
                      • 5.5.x

                      #11
                      Some good information on accessing and implementing this would be a very popular thing if it can be done on the cloud.

                      Comment

                      Related Topics

                      Collapse

                      Working...