XUpload - sort the email

Message
Author
recedo
Posts: 3
Joined: Mar 01, 2007 2:35 pm

sort the email

#1 Postby recedo » Mar 01, 2007 3:56 pm

Hi,

Currently the email that is sent to admin is never sorted, for example;

file_0: button_ok16.png
file_0_status: renamed
file_0_size: 0 Mbytes (1732 bytes)
file_0 Track Title:
file_1: button_ok17.png
file_1_status: renamed
file_1_size: 0 Mbytes (1732 bytes)
file_1 Track Title:
file_3: button_ok18.png
file_3_status: renamed
file_3_size: 0 Mbytes (1732 bytes)
file_3 Track Title:
file_2: button_ok19.png
file_2_status: renamed
file_2_size: 0 Mbytes (1732 bytes)
file_2 Track Title:
file_4: button_ok20.png
file_4_status: renamed
file_4_size: 0 Mbytes (1732 bytes)
file_4 Track Title:

How can I sort this so the files are in order (ie 1-4). This is very important for my use.

Thanks in advance

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Mar 02, 2007 6:26 am

It IS sorted. But started from 0 (zero).
There's very quick hack: in xupload.js replace

Code: Select all

    
cx=0;
fnames='';
to

Code: Select all

    
cx=1;
fnames='';
file index will start from 1 then.

recedo
Posts: 3
Joined: Mar 01, 2007 2:35 pm

#3 Postby recedo » Mar 02, 2007 9:02 am

Take another look;

0,1,3,2,4

It appears to be sorted by the actual filename.

I'll try your hack.

Thanks

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#4 Postby PilgrimX182 » Mar 02, 2007 10:13 am

Ah, sorry, you're right. This hack won't help to normalize order. I've figured out this problem recently and have rewritten file saving engine.
So since you're customer of Pro version, send me email to [email protected] with your registration key and I will send you latest version of script(not yet released :) ).

recedo
Posts: 3
Joined: Mar 01, 2007 2:35 pm

#5 Postby recedo » Mar 02, 2007 1:45 pm

Thanks, I thought I'd forgotten how to count for a minute!

endee
Posts: 3
Joined: May 10, 2007 3:02 am

#6 Postby endee » May 10, 2007 3:04 am

Using latest Pro version.
Same problem with email not being sorted properly.
Is there a fix??

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#7 Postby PilgrimX182 » May 10, 2007 8:00 am

Send your registration key to info (at) sibsoft.net and we will send you latest Pro2.5 version with this issue fixed.