[ABD] Avatar True Resize

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
vic61
Registered User
Posts: 4
Joined: Thu Sep 27, 2007 10:30 pm

[ABD] Avatar True Resize

Post by vic61 »

MOD Title: Avatar True Resize
MOD Description: Resize the upload avatar with the true dimensions

Warning : Just jpg, png and gif format are autorised

MOD Download: Download MOD Avatar True Resize

It's my first MOD then don't be bad with me :D
Sorry for my english. :oops:

Edit: Works with 3.0.2
Last edited by Sam on Mon Aug 16, 2010 7:35 pm, edited 5 times in total.
Reason: Marked mod as abandoned, if the original poster wishes to continue this, please PM any MOD team member to have it unlocked.
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Avatar True Resize

Post by RedTrinity »

Wonderful!!! This is ideal for a problem we have been having lately - will be installing it now and let you know how I go :D
User avatar
JRSweets
Registered User
Posts: 2047
Joined: Wed Apr 14, 2004 8:37 pm
Location: Massachusetts

Re: [BETA] Avatar True Resize

Post by JRSweets »

Just a suggestion, you should probably post the edits required to be made to the fuctions_upload.php file (in the ModX or MOD format) instead of providing an edited one to overwrite your existing file.
RedTrinity
Registered User
Posts: 1327
Joined: Sat May 06, 2006 3:32 am

Re: [BETA] Avatar True Resize

Post by RedTrinity »

Seems to be working fine. Thanks so much vic61! One of the easiest installs I have ever done with just having to replace one file LOL.

Cheers :D
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact:

Re: [BETA] Avatar True Resize

Post by lefty74 »

many thanks, will try this out later, this looks exactly what i was looking for.
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
vic61
Registered User
Posts: 4
Joined: Thu Sep 27, 2007 10:30 pm

Re: [BETA] Avatar True Resize

Post by vic61 »

JRSweets wrote:Just a suggestion, you should probably post the edits required to be made to the fuctions_upload.php file (in the ModX or MOD format) instead of providing an edited one to overwrite your existing file.
it's done, I change the format of this mod ( it's like a MODX now )
Thanks
jaco0331
Registered User
Posts: 7
Joined: Wed Nov 14, 2007 5:31 pm

Re: [BETA] Avatar True Resize

Post by jaco0331 »

Does this mod only affect avatars? I'm worried, that it may affect attached images too.
And is it possible to make it work with bmp files also?
vic61
Registered User
Posts: 4
Joined: Thu Sep 27, 2007 10:30 pm

Re: [BETA] Avatar True Resize

Post by vic61 »

Yes you must replace :

Code: Select all

$this->resize_avatar();
by

Code: Select all

if ( $_GET['mode'] == 'avatar' ) $this->resize_avatar();
I changed the install mod
naushadhassam
Registered User
Posts: 506
Joined: Wed Aug 15, 2007 9:57 pm
Contact:

Re: [BETA] Avatar True Resize

Post by naushadhassam »

great stuff
Free Hosting - Here
Sports Entertainment Online ( A PS3 Online Gaming Community ) - Here
FREE UNLIMITED HOSTING FOR PHPBB MOD MAKERS - PM ME FOR MORE INFO ( MY WAY ON DONATING TO PHPBB )
WMCMoo
Registered User
Posts: 190
Joined: Tue Aug 22, 2006 9:42 am
Location: Rushall, Walsall

Re: [BETA] Avatar True Resize

Post by WMCMoo »

i confirm that this works :D

but

i have a moving gif tht needed to be resized,, it resized it ,, but now it doesnt move :(
.mOo . cOw.
User avatar
lukak
Registered User
Posts: 47
Joined: Mon Jun 04, 2007 3:12 pm
Location: Piran, Slovenia
Contact:

Re: [BETA] Avatar True Resize

Post by lukak »

Amazing!!
It works perfectly

thanky verry much for this sweetness :D
Image
Anyasha
Registered User
Posts: 704
Joined: Mon Aug 07, 2006 4:02 am
Name: Anyasha

Re: [BETA] Avatar True Resize

Post by Anyasha »

Does this only work on uploaded avatars?
Kiss me, I'm Polish!
carloslfigueroa
Registered User
Posts: 5
Joined: Thu Mar 20, 2008 9:21 pm

Re: [BETA] Avatar True Resize

Post by carloslfigueroa »

Thanx, very good! :ugeek:
jmjm003
Registered User
Posts: 275
Joined: Sat Dec 22, 2007 7:05 pm

Re: [BETA] Avatar True Resize

Post by jmjm003 »

WMCMoo wrote:i confirm that this works :D

but

i have a moving gif tht needed to be resized,, it resized it ,, but now it doesnt move :(
This does seem to be a problem. Animated gifs no longer work.
poison77
Registered User
Posts: 5
Joined: Tue Feb 12, 2008 8:45 am

Re: [BETA] Avatar True Resize

Post by poison77 »

Hi,

I get the following error when I try to upload a new avatar:

Code: Select all

Fatal error: Call to undefined function imagecreatetruecolor() in C:\Inetpub\wwwroot\phpBB3\includes\functions_upload.php on line 403
What is the problemo?
Locked

Return to “[3.0.x] Abandoned MODs”