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
			
									
									
						XUpload - sort the email
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
It IS sorted. But started from 0 (zero).
There's very quick hack: in xupload.js replace
to 
file index will start from 1 then.
			
									
									
						There's very quick hack: in xupload.js replace
Code: Select all
    
cx=0;
fnames='';Code: Select all
    
cx=1;
fnames='';- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
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 ).
 ).
			
									
									
						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
 ).
 ).- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm


 Facebook
 Facebook Twitter
 Twitter