Announcement

Collapse
No announcement yet.

default Avatar Problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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;
    
    
    }
    
    .b-avatar--m > img {
    max-height: 64px;
    max-width: 64px !important;
    
    
    }
    
    .b-avatar > img {
    max-height: 32px;
    max-width: 32px;
    
    
    }
    
    #sg_canvas fieldset, img {
    border: 0 none;
    
    
    }
    
    img {
    height: auto;
    max-width: 100%;
    
    
    }

  • #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

    TalkNewsUK - My vBulletin 5.5.2 Demo
    AdminAmmo - My Cloud Demo

    Comment


    • #3
      Originally posted by Mark.B View Post
      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


      • #4
        Yes that's it....alter those to the size you want them to be, as well as the css.
        MARK.B | vBULLETIN SUPPORT

        TalkNewsUK - My vBulletin 5.5.2 Demo
        AdminAmmo - My Cloud Demo

        Comment


        • #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


          • #6
            ive change it, but nothing happen

            Comment


            • #7
              Make sure you clear the system cahce in AdminCP > Maintenance
              MARK.B | vBULLETIN SUPPORT

              TalkNewsUK - My vBulletin 5.5.2 Demo
              AdminAmmo - My Cloud Demo

              Comment


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

                Comment


                • #9
                  any other Idee to fix this Problem?

                  Comment


                  • #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

                    TalkNewsUK - My vBulletin 5.5.2 Demo
                    AdminAmmo - My Cloud Demo

                    Comment


                    • #11
                      Some good information on accessing and implementing this would be a very popular thing if it can be done on the cloud.
                      vB Mods That Rock!

                      Comment

                      Related Topics

                      Collapse

                      Working...
                      X