Notices
For all updates, view the main page.

City Hall: Feedback & Support This is the place for your concerns, praises or help relating to the PokéCommunity. Unsure of how to post a thread (though you should find out pretty quickly)? How do you get a blog? Maybe you don’t like a certain feature. Make a thread here and get responses from your fellow members and staff.

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