[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.
User avatar
Flai
Registered User
Posts: 29
Joined: Tue Jun 12, 2007 9:42 am
Location: Germany
Contact:

Re: [ALPHA] Multiple File Upload 0.0.2

Post by Flai »

I found a bug. :(

In "Attachment display order" under "Attachment setting" I have choosen "Ascending". (The first attachment, I upload to the server, is the first attachment in the list.)

If I use the multiple upload function, it seems to be, that the first attachment I upload, is the first in the list (the order of the filenames is correct). But after post the message, the order isn't correct anymore. The first attachment is the last in the message and if I edit the posting, the filenames are sorted descending.
< Please write slowly, my english is terrible. > - - - < Visit me: flai-community.de >
cleoent
Registered User
Posts: 15
Joined: Tue Feb 15, 2005 10:37 pm
Location: CA

Re: [ALPHA] Multiple File Upload 0.0.2

Post by cleoent »

I'm sorry for being such a n00b, but I have no idea how to install this mod.

I'm currently using the subsilver2 template.

Can anyone help?
romano
Registered User
Posts: 15
Joined: Fri Jun 15, 2007 12:34 pm
Location: Belo Horizonte,Brazil

Re: [ALPHA] Multiple File Upload 0.0.2

Post by romano »

Flai wrote:Now it works correct ... great. :)


I've changed something for prosilver style:
______________________________

In "styles/prosilver/template/posting_attach_body.html"

Find:

Code: Select all

<a href="#FILES" onclick="javascript:add_more_upload()">[+]</a>
Replace:

Code: Select all

<input type='button' class='button2' name='files_' value='+' style='width: 40px' onclick='add_more_upload()' title='' />
______________________________

In "styles/prosilver/template/posting_buttons.html"

Find:

Code: Select all

<a href='#FILES' onclick='javascript:remove_more_upload(" + id + ")'>[-]</a>
Replace with:

Code: Select all

<input type='button' class='button2' name='files_" + id + "' value='-' style='width: 40px' onclick='remove_more_upload(" + id + ")' title='' />
______________________________

Image

Image

Just an idea. :geek:
Nice idea.
romano
Registered User
Posts: 15
Joined: Fri Jun 15, 2007 12:34 pm
Location: Belo Horizonte,Brazil

Re: [ALPHA] Multiple File Upload 0.0.3

Post by romano »

New version .

Changelog :
- adequacy of mod for IE7 (subsilver2).
- Messages of error for archive
morrisan
Registered User
Posts: 18
Joined: Thu Jun 21, 2007 5:39 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by morrisan »

Hi,

Do you have an idea when this go BETA or move to the "[3.0.x] MOD Database Releases" forum?

Thanks!
Marius_Krack
Registered User
Posts: 15
Joined: Mon Jan 29, 2007 1:41 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by Marius_Krack »

morrisan wrote:Hi,

Do you have an idea when this go BETA or move to the "[3.0.x] MOD Database Releases" forum?

Thanks!
I wanted to ask this too.
My English is bad, because I'm from Germany. I speak only German and a little bit English.
User avatar
Flai
Registered User
Posts: 29
Joined: Tue Jun 12, 2007 9:42 am
Location: Germany
Contact:

Re: [ALPHA] Multiple File Upload 0.0.3

Post by Flai »

It runs in my board without any (great) problems. ;)

The only "bug" I can find, the uploaded images aren't in the correct order. But I've no idea, how I could change that ... :(
< Please write slowly, my english is terrible. > - - - < Visit me: flai-community.de >
hktvb2001
Registered User
Posts: 78
Joined: Wed Apr 14, 2004 11:35 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by hktvb2001 »

Hey romano,

I just installed your mod and it works really well. But I would like to know if you can do something for the progress bar. I have upload two file around 30mb each, and it takes a long time, and I dont know when it will be done. It will be good if there's a progress bar that tells when the upload will be done. I am using Prosilver.

THank you!
User avatar
MikovChain
Registered User
Posts: 137
Joined: Tue Aug 29, 2006 9:19 am

Re: [ALPHA] Multiple File Upload 0.0.3

Post by MikovChain »

hktvb2001 wrote:Hey romano,

I just installed your mod and it works really well. But I would like to know if you can do something for the progress bar. I have upload two file around 30mb each, and it takes a long time, and I dont know when it will be done. It will be good if there's a progress bar that tells when the upload will be done. I am using Prosilver.

THank you!
I think the file larger than 3MB is not suitable for forum attachment. You better use a FTP or other file sharing service instead of uploading it through a forum software.
xjhwc
Registered User
Posts: 4
Joined: Mon Dec 31, 2007 3:29 am

Re: [ALPHA] Multiple File Upload 0.0.3

Post by xjhwc »

Flai wrote:It runs in my board without any (great) problems. ;)

The only "bug" I can find, the uploaded images aren't in the correct order. But I've no idea, how I could change that ... :(

I was so,this is bug
WMCMoo
Registered User
Posts: 190
Joined: Tue Aug 22, 2006 9:42 am
Location: Rushall, Walsall

Re: [ALPHA] Multiple File Upload 0.0.3

Post by WMCMoo »

Hiya Great mod mateys

Just got 2 questions

1. is there a way to restrict to allow only 5 uploads per post ?

2. i have a small bug with naming the images/files uploaded when i upload them it comes up with the same name as all of them eg if i name my first uploaded picture '1' it will name all the other uploaded files as '1'

is this a reported bug already or have i done good in finding this lol :mrgreen: :mrgreen:
.mOo . cOw.
WMCMoo
Registered User
Posts: 190
Joined: Tue Aug 22, 2006 9:42 am
Location: Rushall, Walsall

Re: [ALPHA] Multiple File Upload 0.0.3

Post by WMCMoo »

bump
.mOo . cOw.
wheresmycookie
Registered User
Posts: 25
Joined: Tue Aug 28, 2007 9:35 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by wheresmycookie »

One problem that I am having.

When I start a new topic, all three of the tabs (Options, Upload Attachment and Poll Creation) show up under the Options tab. When I click on a different tab, it just flashes and comes back to the Options tab.

Is this how its supposed to be?

Please help with this.
bsoder
Registered User
Posts: 7
Joined: Fri Feb 08, 2008 8:36 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by bsoder »

Few minutes of screwing around trying to figure out the reversed posting order gave me this - in posting.php, find the following:

--------
if ($post_data['post_attachment'] && !$submit && !$refresh && !$preview && $mode == 'edit')
{
// Do not change to SELECT *
$sql = 'SELECT attach_id, is_orphan, attach_comment, real_filename
FROM ' . ATTACHMENTS_TABLE . "
WHERE post_msg_id = $post_id
AND in_message = 0
AND is_orphan = 0
ORDER BY filetime DESC";
--------

Change that last line to read
ORDER BY filetime ASC";

Seems to have solved it for me.
unhappyboy
Registered User
Posts: 59
Joined: Sun Aug 19, 2007 3:00 pm

Re: [ALPHA] Multiple File Upload 0.0.3

Post by unhappyboy »

Link is dead.
Anyone can share last version of this mod please?
Locked

Return to “[3.0.x] Abandoned MODs”