SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
[REQ] Export System (SOLVED)

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro
View previous topic :: View next topic  
Author Message
Namaless



Joined: 20 Apr 2008
Posts: 107
Location: Italy

PostPosted: May 01, 2008 5:04 pm    Post subject: [REQ] Export System (SOLVED) Reply with quote

Hi, I want a possible to export links example rapidshare.com... is possible or in development this features?

Regards.
Back to top
View user's profile Send private message MSN Messenger
Namaless



Joined: 20 Apr 2008
Posts: 107
Location: Italy

PostPosted: May 31, 2008 8:36 am    Post subject: Reply with quote

Hi, I have implemented Export System to use "ORDER BY" like Rapidshare:

Code:

sub MyFilesExport
{
   my $filter_folder="AND file_folder='$f->{fld}' " if defined($f->{fld}) && $f->{fld}=~/^[a-zA-Z0-9-_\.]*$/;
   my $list = $db->SelectARef("SELECT * FROM Files WHERE usr_id=? $filter_folder ORDER BY file_name",$ses->getUserId);
   print"Content-type:text/plain\n\n";
   for my $file (@$list)
   {
      $file->{file_code} = $ses->getUser->{usr_login}."/$file->{file_code}" if $ses->getUser->{usr_add_login};
      $file->{download_link} = "$c->{site_url}/$file->{file_code}";
      $file->{download_link} .= {0 => "/$file->{file_name}.html",
                                 1 => "/$file->{file_name}.htm",
                                 2 => "/$file->{file_name}",
                                 3 => ".html",
                                 4 => ".htm"
                                }->{$c->{link_format}};
      print"$file->{download_link}\n";
   }
   exit;
}


Please Update new version with this modification.

Regards.
Back to top
View user's profile Send private message MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Jun 02, 2008 7:54 am    Post subject: Reply with quote

I've ALREADY implemented this in my current code 2 weeks ago I think.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Namaless



Joined: 20 Apr 2008
Posts: 107
Location: Italy

PostPosted: Jun 02, 2008 8:04 am    Post subject: Reply with quote

PilgrimX182 wrote:
I've ALREADY implemented this in my current code 2 weeks ago I think.

mmm.. it's released or your development version?
Back to top
View user's profile Send private message MSN Messenger
PilgrimX182



Joined: 22 Mar 2006
Posts: 1107
Location: Undisclosed location

PostPosted: Jun 02, 2008 8:54 am    Post subject: Reply with quote

Dvelopment version. Still fixing some bugs there for new features.
Estimated time for next version release is begining of July. Cause I'm leaving on vacation this Sat for 2 weeks Wink
Back to top
View user's profile Send private message Visit poster's website AIM Address
Namaless



Joined: 20 Apr 2008
Posts: 107
Location: Italy

PostPosted: Jun 02, 2008 9:26 am    Post subject: Reply with quote

PilgrimX182 wrote:
Dvelopment version. Still fixing some bugs there for new features.
Estimated time for next version release is begining of July. Cause I'm leaving on vacation this Sat for 2 weeks Wink

It's good work.

Regards.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XFileSharing Pro All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group