[3.2][RC] Avatar Resize on upload

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Ideas Centre
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
mack the knife
Registered User
Posts: 149
Joined: Wed Aug 30, 2006 9:08 am

Re: [3.2][RC] Avatar Resize on upload

Post by mack the knife »

Is it confirmed then that this extension as it is now works on phpBB 3.3 without any changes needed?

Just need to double check.

Looking to upgrade from 3.2.8 very soon.

Cheers.
User avatar
Ger
Registered User
Posts: 2117
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100

Re: [3.2][RC] Avatar Resize on upload

Post by Ger »

mack the knife wrote: Fri Feb 14, 2020 12:14 am Is it confirmed then that this extension as it is now works on phpBB 3.3 without any changes needed?
BlackPandaBear wrote: Mon Feb 10, 2020 6:25 pm No problems with this extension on my phpBB 3.3 forum.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
mack the knife
Registered User
Posts: 149
Joined: Wed Aug 30, 2006 9:08 am

Re: [3.2][RC] Avatar Resize on upload

Post by mack the knife »

This is good news. Thank you for confirming it works.
ClaudioScratcher
Registered User
Posts: 52
Joined: Tue Mar 17, 2020 12:14 pm

Re: [3.2][RC] Avatar Resize on upload

Post by ClaudioScratcher »

Could you help me?

I have saved this ext in this path: foroarmy.com/ext/ger/avatarresize-master. But in my forum 3.3.0 doesn't appear. So What i'm doing bad? Is there incompatible with some other extension?

Best regards.

My extensions are:

Advertisement Management
Blinking counter, for new pm
Board Announcements
Copyright in footer
Default Avatar Extended
Google Analytics
Member Avatar & Status
Pages
Password Strength
PayPal Donation Extension
phpBB Media Embed PlugIn
Scroll Page
Share On
Simple WYSIWYG
Topic Author
VigLink
User avatar
warmweer
Jr. Extension Validator
Posts: 11722
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: [3.2][RC] Avatar Resize on upload

Post by warmweer »

ClaudioScratcher wrote: Wed Mar 25, 2020 12:21 pm I have saved this ext in this path: foroarmy.com/ext/ger/avatarresize-master. But in my forum 3.3.0 doesn't appear.
It's always useful to read the information that comes with an extension.
readme.md states Copy the extension to phpBB/ext/ger/avatarresize
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
ClaudioScratcher
Registered User
Posts: 52
Joined: Tue Mar 17, 2020 12:14 pm

Re: [3.2][RC] Avatar Resize on upload

Post by ClaudioScratcher »

Hi,

in my upload.php, i have this yet:

/**
* Before moving new file in place (and eventually overwriting the existing avatar with the newly uploaded avatar)
*
* @event core.avatar_driver_upload_move_file_before
* @var array filedata Array containing uploaded file data
* @var \phpbb\files\filespec file Instance of filespec class
* @var string destination Destination directory where the file is going to be moved
* @var string prefix Prefix for the avatar filename
* @var array row Array with avatar row data
* @var array error Array of errors, if filled in by this event file will not be moved
* @since 3.1.6-RC1
* @changed 3.1.9-RC1 Added filedata
* @changed 3.2.3-RC1 Added file
*/
$vars = array(
'filedata',
'file',
'destination',
'prefix',
'row',
'error',
);
User avatar
warmweer
Jr. Extension Validator
Posts: 11722
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: [3.2][RC] Avatar Resize on upload

Post by warmweer »

ClaudioScratcher wrote: Wed Mar 25, 2020 12:35 pm in my upload.php, i have this yet:
....
And the question is?
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
ClaudioScratcher
Registered User
Posts: 52
Joined: Tue Mar 17, 2020 12:14 pm

Re: [3.2][RC] Avatar Resize on upload

Post by ClaudioScratcher »

That after do this, the extension keep going without working.
User avatar
warmweer
Jr. Extension Validator
Posts: 11722
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium

Re: [3.2][RC] Avatar Resize on upload

Post by warmweer »

ClaudioScratcher wrote: Thu Mar 26, 2020 3:58 pm That after do this, the extension keep going without working.
You'll have to be bit more clear.
Does it appear in the extension list? If it is, what happens when you press enable (you mentioned "keep going without working" so i guess you tried to enable it).
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
TechieGeek
Registered User
Posts: 17
Joined: Mon Jan 11, 2010 10:33 pm

Re: [3.2][RC] Avatar Resize on upload

Post by TechieGeek »

I can confirm the extension works on 3.3.

When I first tested it, I saw errors due to the avatar size limit I had imposed (6KB). After raising this limit, I uploaded a larger file, and the extension successfully resized it with the resulting file being only 4KB.

Is there any reason we should not disable the avatar kb upload limit when this extension is active? I had originally set it so that huge avatars don't slow down page speed, but with this extension that seems like it would no longer be a valid fear?
I manage a home improvement forum on phpBB, as well as a forum for iOS 14.
User avatar
HaioPaio
Registered User
Posts: 265
Joined: Mon Jan 08, 2018 7:39 pm

Re: [3.2][RC] Avatar Resize on upload

Post by HaioPaio »

@Ger
I noticed that many extensions remain at status "RC" for an extended period of time. This extension is one of them.
I am wondering if there is a reason and if if it could be shared here.
This extension works fine for me under phpbb328 and I've used ist since it had been published without any problems.
www.der-räuchertreff.de phpBB 3.3.x php 7.4
User avatar
karbiko
Registered User
Posts: 97
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Isla Bonita

Re: [3.2][RC] Avatar Resize on upload

Post by karbiko »

would it be possible to add automatic comprobation for new versions of this ext, if any day it would have any...?

It's because everytime anyone use new versions comprobation on ACP, this ext is one of those that doesn't show if there has been any new version.
So it's neccesary to come into github to ensure that there is no any new version.

Thanks in advance!
User avatar
Ger
Registered User
Posts: 2117
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100

Re: [3.2][RC] Avatar Resize on upload

Post by Ger »

TechieGeek wrote: Thu May 28, 2020 5:08 pm Is there any reason we should not disable the avatar kb upload limit when this extension is active? I had originally set it so that huge avatars don't slow down page speed, but with this extension that seems like it would no longer be a valid fear?
You have chosen the right approach; this extension effectively makes that setting obsolete.

HaioPaio wrote: Fri May 29, 2020 5:09 pm @Ger
I noticed that many extensions remain at status "RC" for an extended period of time. This extension is one of them.
I am wondering if there is a reason and if if it could be shared here.
This extension works fine for me under phpbb328 and I've used ist since it had been published without any problems.
Nothing in particular; however getting extensions validated takes up more time than some might expect. Validation queue of more than a month is also a bit demotivating (submit an extension, get a report back 6 weeks later, submitting a minor coding style fix, wait another 6 weeks...)

When an extension of mine is in RC status, it's gone through the automated checks and I've gotten enough community feedback.

karbiko wrote: Sat Jun 06, 2020 11:08 pm would it be possible to add automatic comprobation for new versions of this ext, if any day it would have any...?

It's because everytime anyone use new versions comprobation on ACP, this ext is one of those that doesn't show if there has been any new version.
So it's neccesary to come into github to ensure that there is no any new version.

Thanks in advance!
I'm not sure what you're saying here... Usually my english isn't that bad, but even Google translate doesn't help here since it doesn't recognize some key words. Sorry.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
User avatar
karbiko
Registered User
Posts: 97
Joined: Thu Jul 24, 2008 8:47 pm
Location: La Isla Bonita

Re: [3.2][RC] Avatar Resize on upload

Post by karbiko »

Ger wrote: Mon Jun 15, 2020 8:53 am ....
I'm not sure what you're saying here... Usually my english isn't that bad, but even Google translate doesn't help here since it doesn't recognize some key words. Sorry.
I'm sorry about that! :oops:

I tried to explain that when I go into ACP-CUSTOMIZE-Manage Extensions y Re-Check all versions of my installed exts, Avatar Resize doesn't show if it is updated or not.
I think it's gonna be better if you can see what I mean:

Image

Here you see all ext's version are in green color, because they are updated, but Avatar resize one doesn't turns into green (updated) or red (not updated).

So I asked if it would be possible to add that version check.
User avatar
Ger
Registered User
Posts: 2117
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100

Re: [3.2][RC] Avatar Resize on upload

Post by Ger »

Ah, I understand now.

There simply isn't a version checker for this extension, therefore phpBB can't see if it's up to date or not.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-

Return to “Extensions in Development”