[ABD] Multiple File Upload 0.0.3

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.
Locked
User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [ALPHA] Multiple File Upload 0.0.3

Post by Balint »

Hi,

See my signature for this problem - you forgot to clear the cache.


Regards,
Bálint

lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by lovelysummer »

Is the mod works in 3.0.5 ?

Thanks.

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

Re: [ALPHA] Multiple File Upload 0.0.3

Post by 4_seven »

yes ;)
Current Mods | Mod Base | php(BB) programming | No help via PM

User avatar
deyo
Registered User
Posts: 14
Joined: Tue Jul 28, 2009 2:21 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by deyo »

Hello,

In past few days I have a problem with uploading images. I am using multiple upload MOD. Everything was fine until few days ago. When I am uploading example 5 or 10 images at time they upload, but some of them are not completely uploaded and I get images like this one: http://www.autorevija.com/forum/downloa ... &mode=view it was uploaded half not whole image, you can see that watermark is not whole.

I was uploading more than 60 images at time and everything was fine until couple days ago. Can someone tell me is this because of my server or it is because some bug in this mod.

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [ALPHA] Multiple File Upload 0.0.3

Post by Balint »

Hi,

First of all, we would need a correct link to the topic where this happened. Second of all, did you notice a different behavior with fewer images, do you have enough storage capacity on your webspace...?


Regards,
Bálint

User avatar
deyo
Registered User
Posts: 14
Joined: Tue Jul 28, 2009 2:21 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by deyo »

Sory my mistake. Here is the link of image http://www.autorevija.com/forum/downloa ... &mode=view

and here is topic http://www.autorevija.com/forum/viewtopic.php?f=7&t=94

I have enough space on my hosting. I am using HostGator baby and I have unlimited disk space.

EDIT: Here is another topic http://www.autorevija.com/forum/viewtop ... f=28&t=105 There you can see a lot of images with this problem

User avatar
Balint
Registered User
Posts: 952
Joined: Tue Aug 06, 2002 2:19 pm
Location: Germany
Contact:

Re: [ALPHA] Multiple File Upload 0.0.3

Post by Balint »

Hi,

this is indeed very interesting. Can you try to reproduce this in another thread, maybe with smaller image sizes but the same amount? However, I don't think it's a problem of the MOD :oops:


Regards,
Bálint

User avatar
deyo
Registered User
Posts: 14
Joined: Tue Jul 28, 2009 2:21 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by deyo »

I have alredy tried with smaller amount of images example 2 or 3 and smaller images but there is always this problem. But I notice something. When I uploading bigger images (over 100kb) and large amount of them (20 or 30) there was no problem, but when I upload smaller images and small amount of files there is the problem.

User avatar
deyo
Registered User
Posts: 14
Joined: Tue Jul 28, 2009 2:21 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by deyo »

I think I figure it out this problem.

Problem is with size of images. When you have a lot of small images you will have this problem. But if you have a lot of big size images the upload will work just fine.

Solution is that when you have small size images you upload it one by one or 2 max. 3 images at time.

sikwan
Registered User
Posts: 3
Joined: Fri Oct 09, 2009 6:47 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by sikwan »

I followed the instructions installing the mod and it works great, except the attachment order was sporadic.

So, I added a sleep cycle to the new code in ./posting.php

Code: Select all

	foreach ($_FILES as $key => $value) {
		sleep(1);
		$message_parser->parse_attachments($key, $mode, $forum_id, $submit, $preview, $refresh);
	} 
Doesn't make sense, but it seems like there's a timing issue on my side when uploading the image files in order. I haven't tried non-image files yet.

Everything works so I tried getting rid of the plus/minus signs and making it automatic.

I got rid of the +/- onclick from the add_more_upload() routine found in styles/prosilver/template/posting_buttons.html and removed some code from the styles/prosilver/template/posting_attach_body.html. Reference here...

http://www.phpbb.com/community/viewtopi ... 5#p3191115

And did this...

http://www.phpbb.com/community/viewtopi ... 4#p3191474

Except this is what I used...

Code: Select all

        <!-- IF S_SHOW_ATTACH_BOX -->
        for(i=0; i < {MAX_ATTACHMENTS}; i++){
        add_more_upload();
        }
        <!-- ENDIF -->
It works uploading files (Descending & Ascending), but when I try to delete a single file, it deletes the file and everything subsequent to it during an upload (by attachment #). For example...

Ascending:
1.jpg (attachment4)
2.jpg (attachment3)
3.jpg (attachment2)
4.jpg (attachment1)
5.jpg (attachment0)

If I choose to delete just 3.jpg (attachment2), 3.jpg, 2.jpg and 1.jpg are deleted.

Any ideas?

Somehow some variable gets lost when calling the add_more_upload() routine from the styles/prosilver/template/posting_layout.html file, but I could be wrong.

Thanks in Advance!

GameVixenZone
Registered User
Posts: 166
Joined: Mon Aug 17, 2009 9:26 am

Re: [ALPHA] Multiple File Upload 0.0.3

Post by GameVixenZone »

I don't know if anyone has had this issue. But recently my installed version of this mod seemed to start bugging. It had been perfectly fine for the past few months. Problems like if I deleted one attachment from an edited post, all the attachments would disappear. But if I reuploaded another they would reappear.. I have just come to the conclusion this mod might be a bit outdated? Also the link on the first post no longer appears to be working so I assume this mod is now abandoned?

John3
Registered User
Posts: 22
Joined: Thu Sep 17, 2009 1:02 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by John3 »

Download link is broken. Is the dev still active on this MOD?

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

Re: [ALPHA] Multiple File Upload 0.0.3

Post by 4_seven »

download > mutiple_upload_0.0.3.zip *
http://sekuro.se.funpic.de/phpbb3/downl ... .php?id=51

upload bar for prosilver
http://www.phpbb.com/community/viewtopi ... 5#p9934415

read thread for fixes etc.
http://www.phpbb.com/community/viewtopi ... 0&t=579645

* hint: subsilver2 instruction is in install_prosilver.xml
Current Mods | Mod Base | php(BB) programming | No help via PM

Locked

Return to “[3.0.x] Abandoned MODs”