PDA

View Full Version : Suggestion: Swap out avatar thumbnails for the real thing


Josephine
May 9th, 2013, 04:27 PM
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:

$prepared[avatarurl]


and this in the memberinfo_visitormessage template:

$message[avatarurl]

(there is only one instance of each of them in each template)


and replace them both with this instead:

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


and then finally, replace this in the memberinfo_tiny template:

$user[avatarurl]

(again, the only instance of it in the template)

with this:

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.

AnonygooseD
May 13th, 2013, 03:32 AM
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...

curiousnathan
May 13th, 2013, 04:05 AM
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.

Ausaudriel
May 13th, 2013, 03:12 PM
$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.