Increase the avatar of your Forum

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • glennrocksvb
    Former vBulletin Developer
    • Mar 2011
    • 4021
    • 5.7.X

    #16
    Could you post a link to your site?

    Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

    Comment

    • jkotlowski
      Senior Member
      • May 2015
      • 103
      • 5.1.x

      #17
      Originally posted by Glenn Vergara
      Could you post a link to your site?
      t5forums.com is your first and best source for all of the information you’re looking for. From general topics to more of what you would expect to find here, t5forums.com has it all. We hope you find what you are searching for!
      Want bigger avatars for your forum? There's a mod here. But be sure to vote for the JIRA requesting the fix here!

      Comment

      • glennrocksvb
        Former vBulletin Developer
        • Mar 2011
        • 4021
        • 5.7.X

        #18
        I can see that the avatars are displaying as 100x100 in the threads. By default they display as 64x64. So it looks like you don't have any issues. You have this custom CSS in css_additional:

        Code:
        .b-avatar--m > img {
            max-height: 275px!important;
            max-width: 200px !important;
            height: auto!important;
            width: auto!important;
        }
        This causes the avatars to display in its full/actual size if they are not larger than 200x275. And the actual avatar size is 100x100.

        Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

        Comment

        • jkotlowski
          Senior Member
          • May 2015
          • 103
          • 5.1.x

          #19
          Originally posted by Glenn Vergara
          I can see that the avatars are displaying as 100x100 in the threads. By default they display as 64x64. So it looks like you don't have any issues. You have this custom CSS in css_additional:

          Code:
          .b-avatar--m > img {
          max-height: 275px!important;
          max-width: 200px !important;
          height: auto!important;
          width: auto!important;
          }
          This causes the avatars to display in its full/actual size if they are not larger than 200x275. And the actual avatar size is 100x100.
          The issue is that it's shrinking the avatars. For example, my avatar on the site is this.



          It's 200x275 so it should display at 200x275, but it's being shrunk to 73x100



          Avatars within a thread were being displayed at their maximum sizes (max of 200 W) before the update. Then as soon as the update was completed, the avatars were suddenly being displayed with a max width of 100.

          -edit-



          Here is a screenshot from June that showed how large displayed avatars were before the update. As you can see, they're much larger than 100x100.
          Last edited by jkotlowski; Tue 9 Aug '16, 2:36pm.
          Want bigger avatars for your forum? There's a mod here. But be sure to vote for the JIRA requesting the fix here!

          Comment

          • glennrocksvb
            Former vBulletin Developer
            • Mar 2011
            • 4021
            • 5.7.X

            #20
            Then it's not a CSS problem. Check the avatar maximum width and height settings for each of the usergroup in AdminCP.

            Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

            Comment

            • jkotlowski
              Senior Member
              • May 2015
              • 103
              • 5.1.x

              #21
              Originally posted by Glenn Vergara
              Then it's not a CSS problem. Check the avatar maximum width and height settings for each of the usergroup in AdminCP.
              They're all set to 200x275 or larger.
              Want bigger avatars for your forum? There's a mod here. But be sure to vote for the JIRA requesting the fix here!

              Comment

              • glennrocksvb
                Former vBulletin Developer
                • Mar 2011
                • 4021
                • 5.7.X

                #22
                I checked and I think they made some changes to the avatar URLs in 5.2.3. Previously the thread avatars were taken from ./core/customavatars/avatarXXX_XXX.XXX (when stored in fileystem), In 5.2.3, the avatars are now taken from ./core/customavatars/thumbs/avatarXXX_XXX.XXX (notice the /thumbs directory) where the avatars are smaller.

                In case if avatars are stored in the database, the previous avatar URL in the thread page was ./core/image.php?userid=XXX&dateline=XXXXXX, now it's ./core/image.php?userid=XXX&thumb=1&dateline=XXXXX (notice the thumb=1 parameter).

                That change might make sense, but they should have also fixed the harcoded avatar sizes in the PHP code along with that change and made them configurable.

                Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

                Comment

                • jkotlowski
                  Senior Member
                  • May 2015
                  • 103
                  • 5.1.x

                  #23
                  Originally posted by Glenn Vergara
                  I checked and I think they made some changes to the avatar URLs in 5.2.3. Previously the thread avatars were taken from ./core/customavatars/avatarXXX_XXX.XXX (when stored in fileystem), In 5.2.3, the avatars are now taken from ./core/customavatars/thumbs/avatarXXX_XXX.XXX (notice the /thumbs directory) where the avatars are smaller.

                  In case if avatars are stored in the database, the previous avatar URL in the thread page was ./core/image.php?userid=XXX&dateline=XXXXXX, now it's ./core/image.php?userid=XXX&thumb=1&dateline=XXXXX (notice the thumb=1 parameter).

                  That change might make sense, but they should have also fixed the harcoded avatar sizes in the PHP code along with that change and made them configurable.
                  Is there a way to change it back?

                  I checked the "Avatar" tab in the admin CP and it seems like it says avatars are being stored in ./customavatars

                  It doesn't say ./customavatars/thumbs
                  Want bigger avatars for your forum? There's a mod here. But be sure to vote for the JIRA requesting the fix here!

                  Comment


                  • glennrocksvb
                    glennrocksvb commented
                    Editing a comment
                    Yeah it only says the main directory where to store the avatars but automatically created smaller versions of the avatars are stored in the /customavatars/thumbs subdirectory. Current workaround is to copy all the avatar image files in the /customavatars directory to the /thumbs directory (backup the /thumbs directory first!) and overwrite the existing ones. You have to do it everytime there's a new avatar created, though.

                  • jkotlowski
                    jkotlowski commented
                    Editing a comment
                    That is very, very frustrating. I sincerely hope the vBulletin devs intend to fix this. And fix it quickly.
                • jkotlowski
                  Senior Member
                  • May 2015
                  • 103
                  • 5.1.x

                  #24


                  Decided to create a JIRA for the whole avatar debacle. With any hope, it will be fixed.
                  Want bigger avatars for your forum? There's a mod here. But be sure to vote for the JIRA requesting the fix here!

                  Comment


                  • glennrocksvb
                    glennrocksvb commented
                    Editing a comment
                    You may want to link the page 2 of this thread in the JIRA for their reference.

                  • jkotlowski
                    jkotlowski commented
                    Editing a comment
                    Done, thank you.
                • Replicant
                  Senior Member
                  • Sep 2014
                  • 527

                  #25
                  They're showing 200 wide on my end. Looks just like the screenshot.


                  Comment

                  • jkotlowski
                    Senior Member
                    • May 2015
                    • 103
                    • 5.1.x

                    #26
                    Originally posted by Replicant
                    They're showing 200 wide on my end. Looks just like the screenshot.
                    Yes. I did as Glenn suggested above and copied all of the normal avatar files into the thumbs folder. It fixed the ones currently in use, but my understanding is that I'll have to do the same thing every time a new avatar is uploaded.
                    Want bigger avatars for your forum? There's a mod here. But be sure to vote for the JIRA requesting the fix here!

                    Comment

                    • glennrocksvb
                      Former vBulletin Developer
                      • Mar 2011
                      • 4021
                      • 5.7.X

                      #27
                      This is also a deal breaker for me as I also use big avatars in my forum. I won't upgrade until this is fixed either by vBulletin officially or by me if I find a workaround.

                      Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

                      Comment

                      • jkotlowski
                        Senior Member
                        • May 2015
                        • 103
                        • 5.1.x

                        #28
                        They closed mine and linked to this one.



                        Seems I voted for this one some time ago. It's disheartening to see that this complaint was made in 2013 and still hasn't been fixed, however. Especially considering it used to be simple enough to be fixed by a few lines of CSS...

                        Originally posted by Glenn Vergara
                        This is also a deal breaker for me as I also use big avatars in my forum. I won't upgrade until this is fixed either by vBulletin officially or by me if I find a workaround.
                        My members aren't very happy with this. User avatars are how they identify themselves and each other. It's been a pretty big part of the community for over a decade, far before we moved to vBulletin. So it's got me in a real bind. I spent about an hour last night combing through source files, trying to find the bit of code that points avatar display to the thumbnails instead of the original file, and so far have been unsuccessful. I will definitely let you know if I find it, however.

                        On an unrelated note, I just realized you're the same person I recently purchased a few mods from. I got your message on twitter about joining your site and asking about one of the issues I was having with the profile preview mod, but completely forgot. Lots of distractions with a kid just starting school. lol. I'll get around to that eventually, as well. x.x
                        Want bigger avatars for your forum? There's a mod here. But be sure to vote for the JIRA requesting the fix here!

                        Comment


                        • jkotlowski
                          jkotlowski commented
                          Editing a comment
                          Also, forgot to say it before, but thanks for the awesome mods and for being so helpful here!
                      • glennrocksvb
                        Former vBulletin Developer
                        • Mar 2011
                        • 4021
                        • 5.7.X

                        #29
                        Try this temporary solution.
                        1. Go to AdminCP > Styles > Replacement Variable Manager
                        2. Click [Add New Replacement Variable] link for the desired theme/style.
                        3. Enter the following information and click Save. Repeat steps for other themes/styles that your site is using.
                        Search for Text:
                        "b-avatar b-avatar--m b-avatar--thread h-margin-bottom-l"><img src="./core/customavatars/thumbs/

                        Replace with Text:
                        "b-avatar b-avatar--m b-avatar--thread h-margin-bottom-l"><img src="./core/customavatars/

                        Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

                        Comment

                        • jkotlowski
                          Senior Member
                          • May 2015
                          • 103
                          • 5.1.x

                          #30
                          Originally posted by Glenn Vergara
                          Try this temporary solution.
                          1. Go to AdminCP > Styles > Replacement Variable Manager
                          2. Click [Add New Replacement Variable] link for the desired theme/style.
                          3. Enter the following information and click Save. Repeat steps for other themes/styles that your site is using.
                          Search for Text:
                          "b-avatar b-avatar--m b-avatar--thread h-margin-bottom-l"><img src="./core/customavatars/thumbs/

                          Replace with Text:
                          "b-avatar b-avatar--m b-avatar--thread h-margin-bottom-l"><img src="./core/customavatars/
                          It worked!

                          You're the best, dude.
                          Want bigger avatars for your forum? There's a mod here. But be sure to vote for the JIRA requesting the fix here!

                          Comment

                          Related Topics

                          Collapse

                          Working...