View Single Post
  #1    
Old May 9th, 2013, 04:27 PM
Counterfeit's Avatar
Counterfeit
 
Community Supporter Tier 5
 
Join Date: Mar 2004
Age: 21
Send a message via Skype™ to Counterfeit
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.
__________________
eram quod es, eris quod sum
Reply With Quote