The PokéCommunity Forums
The PokéCommunity Forums > Community Square > Feedback & Support
Suggestion Swap out avatar thumbnails for the real thing

Notices
For all updates, view the main page.

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


Reply
 
Thread Tools
  #1    
Old May 9th, 2013 (4:27 PM).
Josephine's Avatar
Josephine Josephine is offline
 
Join Date: Mar 2004
Posts: 1,446
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.
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
 
Join Date: Sep 2009
Location: Australia
Gender: Male
Nature: Adamant
Posts: 7,842
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 offline
you're a nut you're crazy in the coconut
DSC
 
Join Date: May 2005
Age: 25
Nature: Gentle
Posts: 10,931
$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

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 3:30 PM.