Feedback & Support All things related to PokéCommunity, from feedback and ideas to support and questions.

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old May 9th, 2013 (4:27 PM).
Josephine's Avatar
Josephine Josephine is offline
  • Developer
  • Crystal Tier
 
Join Date: Mar 2004
Gender: Female
Posts: 1,554
At the moment when avatars are resized by VB to make thumbnails for them they lose any transparency they might have had, uglying up profile pages.

All that would need to be done is a quick search for this in the memberinfo_block_ministats template:

Code:
$prepared[avatarurl]

and this in the memberinfo_visitormessage template:

Code:
$message[avatarurl]
(there is only one instance of each of them in each template)


and replace them both with this instead:

Code:
image.php?u=$prepared[userid]$avatarurl

and then finally, replace this in the memberinfo_tiny template:

Code:
$user[avatarurl]
(again, the only instance of it in the template)

with this:

Code:
image.php?u=$user[userid]$avatarurl

I have a feeling I've said something about this before though, years and years and years ago. I don't remember the response to it though, and I can't find the post, so feel free to refresh my memory if there was a good reason it wasn't done.

I do know that I had a different, messier and less thought out solution last time which could have been why.
__________________
i am report EVERYBODY
~ so you best behavior ~
Reply With Quote

Relevant Advertising!

  #2    
Old May 13th, 2013 (3:32 AM).
tnfsf11
Guest
     
    Posts: n/a
    So these weird codes must be replaced by me? Or are you addressing the mods????
    Anyway, I support this idea very much, mainly because of the transparency & the animation, like in my avatar...
    Reply With Quote
      #3    
    Old May 13th, 2013 (4:05 AM).
    curiousnathan's Avatar
    curiousnathan curiousnathan is offline
    • Crystal Tier
     
    Join Date: Sep 2009
    Location: Australia
    Gender: Male
    Nature: Adamant
    Posts: 7,851
    Quote:
    Originally Posted by AnonygooseD View Post
    So these weird codes must be replaced by me? Or are you addressing the mods????
    Anyway, I support this idea very much, mainly because of the transparency & the animation, like in my avatar...
    The administrators, dear.
    __________________
    Former moderator of First Generation, Second Generation and Fourth Generation
    Reply With Quote
      #4    
    Old May 13th, 2013 (3:12 PM).
    Bebop's Avatar
    Bebop Bebop is online now
    you're a nut you're crazy in the coconut
    • Administrator
    • Crystal Tier
    • Discord Moderoid
    • Developer
     
    Join Date: May 2005
    Age: 26
    Nature: Gentle
    Posts: 11,171
    $avatarurl isn't supplied so the dateline info isn't sent, and the script doesn't know where to pull the avatar from. So this won't work. But I'll fix it up when I have some time so that it displays properly.

    Good solution otherwise though.
    __________________
    cosmos without hatred, diamond stars of cosmic light, quasars shine through endless nights
    Reply With Quote
    Reply

    Quick Reply

    Join the conversation!

    Create an account to post a reply in this thread, participate in other discussions, and more!

    Create a PokéCommunity Account

    Sponsored Links
    Thread Tools

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -8. The time now is 5:33 PM.