View Full Version : User's Avatar Size
April 10th, 2009, 10:49 AM
I noticed that there is no setting for the user's avatar size. The forum (SMF) controls this normally. In this case someone is referencing something from Photobucket or something like that. Now the Classifieds apparently does not have a setting that I was able to find in order to control this size.
Can you give me a tip on how I can set the size of the User's avatar? I would like to make them all 100x100 pixles just like on my forum. Otherwise it ruins the layout of the classifieds.
April 10th, 2009, 11:44 AM
You can edit member.php and change the 120's on this line to 100
$resize_worked = resize_jpeg($infile, $outfile, 120, 120);
April 10th, 2009, 12:22 PM
Hmm. Well if that was working to reset it to 120 then i would still be ok. So I don't think that is working for my scenario. This avatar image was over 800 pixels.
April 10th, 2009, 04:16 PM
How about you provide an example?
April 10th, 2009, 04:54 PM
I forgot how to enable to view user avatars now that I turned it off. Refresh my memory and then I will turn it back on and give you a URL and Image to see it. I saw during a search that this was an old bug but the topic was never clarified as resolved.
In addition to that - wouldn't resize_jpeg assume the jpeg image was on the local box? What if it's on photobucket?
April 10th, 2009, 06:27 PM
Chep user avatars are uploaded to your classifieds and we process the avatar and store it in the data/avatar directory. Photobucket has nothing to do with it ;)
If you want all future avatars to be 100 pixels not 120 then you would make the edit we are showing you. I am just trying to make sure your talking user avatars in a standalone classifieds. Users with forum integration do not have this ability so hense we need clarification on what your doing or expecting to happen. it sounds to me like your integrated with a forum meaning there is no avatar processing in classifieds.
April 10th, 2009, 06:50 PM
Interesting. Yes I did merge this with the forum. I can live with this but I would call it a bug.
April 10th, 2009, 06:54 PM
call what a bug?
what forum are you integrating with. feel free to post a url to some site that you wish to suggest might be a bug. Your really not making it too clear what your issue is.
If for instance your integrated with smf we full the users smf avatar so how is that a bug?
April 10th, 2009, 07:10 PM
I don't want to get into a semantic debate. I will just leave avatars turned off because they are impacting performance and do not enhance the features to begin with. The forums do handle this correctly though. Thank you for your help.
April 10th, 2009, 07:16 PM
well what do you mean by this
It is not a debate you really have not made clear what your issue is.
here is the forum avatar in the forum for that test account you sent.
If you turn avatars on in classifieds you should show that user avatar under their name on ads.
April 10th, 2009, 07:19 PM
Chuck you are correct with this specific example. However there is another example and that is user can also use an existing avatar on a different server. That is when the the issue happens.
I have my own pic:
Specify your own avatar by URL. (ex: http://www.mypage.com/mypic.gif)
April 10th, 2009, 09:02 PM
feel free to post admin login and ftp login to contact us link in header. Maybe smf added new avatar type?
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.