[MODDB] Multiple File Upload 1.0.1

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Anti-Spam Guide
Locked
Shredder
Registered User
Posts: 114
Joined: Tue Aug 04, 2009 11:56 pm
Contact:

[MODDB] Multiple File Upload 1.0.1

Post by Shredder » Mon Aug 16, 2010 12:38 pm

Modification Name: Multiple File Upload
Authors: romano, Shredder

Modification Description: Multiple File Upload in posts. Completion of this mod, includes:
Fixed bug with attachments order (without usage bad "sleep cycles")
Fixed bug with comments
Some fixes for Subsilver2 (thanks Balint)

Modification Version: 1.0.1
Tested on phpBB version: 3.0.9
Automod: Yes

Screenshots:
Image Image

Modification Download and Support: http://www.phpbb.com/customise/db/mod/m ... le_upload/
Last edited by Shredder on Thu Sep 15, 2011 11:44 pm, edited 4 times in total.

User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Multiple File Upload 0.0.6

Post by darkonia » Mon Aug 16, 2010 12:58 pm

demo or screenshot?
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] Multiple File Upload 0.0.6

Post by 4_seven » Mon Aug 16, 2010 1:47 pm

fine fine..
Current Mods | Mod Base | php(BB) programming | No help via PM

Shredder
Registered User
Posts: 114
Joined: Tue Aug 04, 2009 11:56 pm
Contact:

Re: [BETA] Multiple File Upload 0.0.6

Post by Shredder » Mon Aug 16, 2010 1:49 pm

darkonia wrote:demo or screenshot?
Has added in the first post.
You may open new upload forms by clicking on "+" button or close forms by clicking on "-"

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] Multiple File Upload 0.0.6

Post by 4_seven » Mon Aug 16, 2010 1:52 pm

Is the "allowed-to-upload-max-x-attachments" Bug fixed?

Also a very important Request:
Adding a Queue for Multiple Uploads Mod, to prevent "Memory Exhausting Error"
Current Mods | Mod Base | php(BB) programming | No help via PM

Shredder
Registered User
Posts: 114
Joined: Tue Aug 04, 2009 11:56 pm
Contact:

Re: [BETA] Multiple File Upload 0.0.6

Post by Shredder » Mon Aug 16, 2010 2:14 pm

4_seven wrote:Is the "allowed-to-upload-max-x-attachments" Bug fixed?
Hmm... Hasn't completely understood about what you speak.
For example, at attempt to load more than three max allowed attachments (1.jpg, 2.jpg, 3.jpg), for all others will be shown error messages:

4.jpg => Cannot add another attachment, 3 is the maximum.
5.jpg => Cannot add another attachment, 3 is the maximum.
6.jpg => Cannot add another attachment, 3 is the maximum.

etc

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] Multiple File Upload 0.0.6

Post by 4_seven » Mon Aug 16, 2010 2:22 pm

this bug was in the "old" version, so may your code-changes "auto-fixes" this ;)

anyway, may take a note of my request added in my last post :idea:
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
Meis2M
Translator
Posts: 869
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [BETA] Multiple File Upload 0.0.6

Post by Meis2M » Mon Aug 16, 2010 4:41 pm

thank u.. its work on my forum.... old version didnt work...

thank u kiss kiss... :D
phpBB persian international support
Ultimate SEO Friendly URL - Extension
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM

Shredder
Registered User
Posts: 114
Joined: Tue Aug 04, 2009 11:56 pm
Contact:

Re: [BETA] Multiple File Upload 0.0.6

Post by Shredder » Mon Aug 16, 2010 6:00 pm

4_seven wrote:Also a very important Request:
Adding a Queue for Multiple Uploads Mod, to prevent "Memory Exhausting Error"
Under what conditions it occurs? I have tried to load 8 files on my server, their incorporated size is about 80 MB, loading has occupied 8.5 minutes, and it was successful.

max_execution_time - 60
memory_limit - 64M
upload_max_filesize - 1000M
post_max_size - 1000M

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] Multiple File Upload 0.0.6

Post by 4_seven » Mon Aug 16, 2010 7:05 pm

Shredder wrote:max_execution_time - 60
memory_limit - 64M
upload_max_filesize - 1000M
post_max_size - 1000M
These are conditions "from heaven" :D

Many Board-Admins uses a Free- or Low-Cost Server, which have mostly aprox.

max_execution_time ~ 12
memory_limit ~ 32M
upload_max_filesize ~ 24M
post_max_size ~ 8M

So setup a testboard on some free-provider and test it out.

I test it out in the past on those servers with the summery of many "memory-exhausted-errors".
Also on those servers, who have a bit more "power" as i named above.

A Queue* will prevent from most/all these troubles ;)

* Files will be uploaded "one after one" and not all at the same time as a big package
Current Mods | Mod Base | php(BB) programming | No help via PM

Redbull254
Registered User
Posts: 11
Joined: Thu Dec 27, 2007 12:20 am

Re: [BETA] Multiple File Upload 0.0.6

Post by Redbull254 » Mon Aug 16, 2010 9:17 pm

Hi,
I have implemented the current version. There is still the problem that the ACP settings are not considered. I have an ACP setting of max 3 file attachments per topic. After the mod implementation I can upload an unlimited number of file attachments.

User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [BETA] Multiple File Upload 0.0.6

Post by 4_seven » Mon Aug 16, 2010 10:24 pm

Redbull254 wrote:...per topic
did you mean per post?
Current Mods | Mod Base | php(BB) programming | No help via PM

Redbull254
Registered User
Posts: 11
Joined: Thu Dec 27, 2007 12:20 am

Re: [BETA] Multiple File Upload 0.0.6

Post by Redbull254 » Mon Aug 16, 2010 10:37 pm

Right, I mean post :oops:

User avatar
Stickygreen
Registered User
Posts: 179
Joined: Mon Oct 13, 2008 9:15 pm

Re: [BETA] Multiple File Upload 0.0.6

Post by Stickygreen » Tue Aug 17, 2010 12:52 am

Looking forward to a stable version. Thanks

Shredder
Registered User
Posts: 114
Joined: Tue Aug 04, 2009 11:56 pm
Contact:

Re: [BETA] Multiple File Upload 0.0.6

Post by Shredder » Tue Aug 17, 2010 1:19 am

Redbull254 wrote:Hi,
I have implemented the current version. There is still the problem that the ACP settings are not considered. I have an ACP setting of max 3 file attachments per topic. After the mod implementation I can upload an unlimited number of file attachments.
You tested it with admin or moderator permissions? Because these permissions can ignore limits, it initially hardcoded in phpBB code. Under an user account for me mod works fine and shows the error messages: http://www.phpbb.com/community/viewtopi ... #p12844059
Irrespective of how many forms openly, you can't load more than it's allowed in ACP.

About Queue: I will try...

Locked

Return to “[3.0.x] MODs in Development”