< >
Hello, guest! Please log in or register.

The PokéCommunity

Go Back     The PokéCommunity Forums > Community Square > City Hall: Feedback & Support Suggestion Swap out avatar thumbnails for the real thing

Notices

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 Post 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,360
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 curiousnathan is offline
CSPokéCommunity Daily Staff
 
Join Date: Sep 2009
Location: Australia
Gender: Male
Nature: Adamant
Posts: 7,740
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.
mod| pair
Reply With Quote
  #4    
Old May 13th, 2013 (3:12 PM).
Electric Owl's Avatar
Electric Owl Electric Owl is offline
i'll take two
Administrator BSCS
 
Join Date: May 2005
Location: Stardew Valley
Gender: Male
Nature: Gentle
Posts: 10,404
$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.
-404 posts until level up
Reply With Quote
Reply Post 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 5:47 PM.


Contact Us Archive Privacy Statement Terms of Service Top