3.2 & 3.3 Extensions Database 3.2 / 3.3Image Upload

<span class="qte-attr qte_32_33-qte">3.2.x & 3.3.x</span>
User avatar

discovery
Donator
Donator
Posts: 18
Joined: 28 Nov 2014, 22:28
    Windows 10 Firefox

Re: Image Upload

Post by discovery »

Hello,

French traduction - Version 1.10
image upload - Fr.zip
@+
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Scanialady
Users
Users
Posts: 310
Joined: 06 Apr 2015, 18:04
    Windows 10 Firefox

Re: Image Upload

Post by Scanialady »

-
If you want to get German translations for extensions: ask me.

User avatar

Fusion
New user
New user
Posts: 2
Joined: 13 Mar 2020, 08:34
    Windows 10 Chrome

Re: Image Upload

Post by Fusion »

Hi,

I´m currently on version 1.0.7 of the plugin. PHPBB is running 3.3 in the meantime.
I´ve tried to update to newer versions for some time now (1.0.8, 1.0.9 and now 1.0.10).
However if I do so the entire forum breaks down and I only get an HTTP 500 error back.

The lighthttpd error log says:

Code: Select all

2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: Stack trace:
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #0 /var/www/html/cache/production/container_4335734bbdd20f586549a504dff5f80c.php(3200): dmzx\imageupload\event\listener->__construct()
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #1 /var/www/html/cache/production/container_4335734bbdd20f586549a504dff5f80c.php(2526): phpbb_cache_container->getDmzx_Imageupload_ListenerService()
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #2 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(231): phpbb_cache_container->{closure}()
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #3 /var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php(61): Symfony\Component\EventDispatcher\EventDispatcher->sortListeners()
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: #4 /var/www/html/vendor/symfony/event-dispatcher/ContainerAwareEventDispatcher.php(129): Symfony\ in /var/www/html/ext/dmzx/imageupload/event/listener.php on line 98
2020-03-13 08:20:34: (mod_fastcgi.c.2543) FastCGI-stderr: PHP Fatal error:  Uncaught TypeError: Argument 15 passed to dmzx\imageupload\event\listener::__construct() must be an instance of phpbb\collapsiblecategories\operator\o                                                                                                                 perator or null, instance of phpbb\files\factory given, called in /var/www/html/cache/production/container_4335734bbdd20f586549a504dff5f80c.php on line 3200 and defined in /var/www/html/ext/dmzx/imageupload/event/listener.php:                                                                                                                 98
Any ideas what could cause this?

Many thanks,
Fusion

User avatar

Scanialady
Users
Users
Posts: 310
Joined: 06 Apr 2015, 18:04
    Windows 10 Chrome

Re: Image Upload

Post by Scanialady »

May be you need to update more than one extension.

see: ... Uncaught TypeError: Argument 15 passed to dmzx\imageupload\event\listener::__construct() must be an instance of phpbb\collapsiblecategories\operator\o

User avatar

Fusion
New user
New user
Posts: 2
Joined: 13 Mar 2020, 08:34
    Windows 10 Chrome

Re: Image Upload

Post by Fusion »

I already made sure everything else is updated. phpbb/collapsiblecategories is a core extension and 2.0.0 is the most recent version.

User avatar

clight77
Donator
Donator
Posts: 502
Joined: 24 Sep 2015, 16:23
    Windows 10 Chrome

Re: Image Upload

Post by clight77 »

Hi
I think there may be a small issue I don't know for sure tho.
It seems that after a poster has several thousand images stored in his username and a poster opens a forum to make a new post that forum gets slower to open, chrome being 2 to 3 times slower than FF.
I have tested with my username that has about 6000 images and a few other accounts with a few hundred images and the account with 6000 images is 3 5 times slower to load.
Was wondering if there was a way to have all images saved/stored in a seperate folder and not in each users name/folder.
I don't want the per user to have any control over images.

Thanks

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Image Upload

Post by Sniper_E »

Yes if it is set to show uploaded images on index page then it would load all of your uploaded images.
Select... Display uploaded images on index: NO in the acp settings if you have people with that many images.

I have had at the most maybe 15 uploaded images at any site. WhoTF has thousands of uploaded images?

But yes, fa-icons had the same problem with loading all of the images on the index page.
Dm moved all of those images in a popup to take care of that issue.
Image
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!™

User avatar

clight77
Donator
Donator
Posts: 502
Joined: 24 Sep 2015, 16:23
    Windows 10 Chrome

Re: Image Upload

Post by clight77 »

Sniper_E wrote: 28 Mar 2020, 00:36 Yes if it is set to show uploaded images on index page then it would load all of your uploaded images.
Select... Display uploaded images on index: NO in the acp settings if you have people with that many images.

I have had at the most maybe 15 uploaded images at any site. WhoTF has thousands of uploaded images?

But yes, fa-icons had the same problem with loading all of the images on the index page.
Dm moved all of those images in a popup to take care of that issue.
I already have it set to NO on index..
The reason for all the images is they are movie covers and we need them.

User avatar

Sniper_E
VIP
VIP
Posts: 1157
Joined: 14 Oct 2014, 19:01
    Windows 10 Firefox

Re: Image Upload

Post by Sniper_E »

I would think that your movie covers would be an attachment image. But you know best.

User avatar

Exabot
Users
Users
Posts: 46
Joined: 22 Mar 2020, 12:59
    Mac OS X Firefox

Re: Image Upload

Post by Exabot »

Estonian translation.
et.zip
You do not have the required permissions to view the files attached to this post! Maybe your post count is too low.

User avatar

Rocco
New user
New user
Posts: 3
Joined: 12 Apr 2020, 20:22
    Windows 10 Chrome

Re: Image Upload

Post by Rocco »

Very nice extension.

Thanks

User avatar

JaviLE
New user
New user
Posts: 2
Joined: 20 Apr 2020, 11:46
    Windows 10 Firefox

Re: Image Upload

Post by JaviLE »

Hello! I knew this extension some months ago when looking for a way to upload images in phpbb forum.
I instaled php3.2.9 and this extension localy and worked fine
Last weekend i instaled the extension in an online forum. At the moment just with permisions for administrator.

All seems to be working well except deleting images.
Doing it in the UCP or extension tab at ACP, both ways remove not only that image, but all folders, including img-files folder

How this could be posible? There is a chance of all img-files folder deleted is related with server or phpbb configuration?

The only change i made was a translation of the languaje files

I hope i explained well, my native languaje is spanish

User avatar

JaviLE
New user
New user
Posts: 2
Joined: 20 Apr 2020, 11:46
    Windows 10 Firefox

Re: Image Upload

Post by JaviLE »

To test it i've done this change:

public function remove_dir($selected_dir)
{
/*
$files = glob($selected_dir. '/*');

foreach ($files as $file)
{
is_dir($file) ? $this->remove_dir($file) : unlink($file);
}
@rmdir($selected_dir);

return;
*/
rename($selected_dir, $selected_dir."BORRAR");
return;
}

avoid recursive, just renaming the folder
so in local works as expected, the folder where the image is, is renamed

but in the server it seems to be different, nothing is deleted, but i got this message
Image
Image
when the function is called, the select_dir parameter is img-files folder, and no recursive here
previousliy, there is a warning with dirname(), but i've not edited that, that maybe where the error is

User avatar

RobJansen
Users
Users
Posts: 6
Joined: 12 Jan 2020, 14:05
    Windows 10 Edge

Re: Image Upload

Post by RobJansen »

As we are almost a month live with our site and using this extension as the main image uploader I do have a few questions / feature requests for the uploader.

We fully enjoy the uploader and pretty easy to use and our members post regularly screenshots of their games, progress in building and playing :)

- We have disabled the use panel in the user control panel for files but when creating a new post there is a tab with 'your uploaded images', is it possible to disable that one as well?

- It is possible to add multiple files in 1 upload? Bij selecting multiple ones.

- As well as a drag/drop? So when dropping multiple files it uploads all at once?

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 6464
Joined: 13 Jan 2014, 21:45
    Windows 10 Chrome

Re: Image Upload

Post by dmzx »

First post updated.

Post Reply Previous topicNext topic