Announcement

Collapse
No announcement yet.

Increase the avatar of your Forum

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

  • glennrocksvb
    replied
    Originally posted by jkotlowski View Post

    It worked!

    You're the best, dude.
    You're welcome. Thanks for confirming the fix. I guess I could upgrade my own forum one of these days.

    Leave a comment:


  • jkotlowski
    replied
    Originally posted by Glenn Vergara View Post
    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.

    Leave a comment:


  • glennrocksvb
    replied
    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/

    Leave a comment:


  • jkotlowski
    commented on 's reply
    Also, forgot to say it before, but thanks for the awesome mods and for being so helpful here!

  • jkotlowski
    replied
    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 View Post
    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

    Leave a comment:


  • glennrocksvb
    replied
    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.

    Leave a comment:


  • jkotlowski
    replied
    Originally posted by Replicant View Post
    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.

    Leave a comment:


  • Replicant
    replied
    They're showing 200 wide on my end. Looks just like the screenshot.

    Leave a comment:


  • jkotlowski
    commented on 's reply
    Done, thank you.

  • glennrocksvb
    commented on 's reply
    You may want to link the page 2 of this thread in the JIRA for their reference.

  • jkotlowski
    replied


    Decided to create a JIRA for the whole avatar debacle. With any hope, it will be fixed.

    Leave a comment:


  • jkotlowski
    commented on 's reply
    That is very, very frustrating. I sincerely hope the vBulletin devs intend to fix this. And fix it quickly.

  • glennrocksvb
    commented on 's reply
    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
    replied
    Originally posted by Glenn Vergara View Post
    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

    Leave a comment:


  • glennrocksvb
    replied
    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.

    Leave a comment:

Related Topics

Collapse

Working...
X