Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 26, 2013, 02:37:24 am

Login with username, password and session length
Members
Total Members: 10771
Latest: Siphix
Stats
Total Posts: 32417
Total Topics: 5484
Online Today: 37
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 30
Total: 31
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
| | | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Multipart Downloads...  (Read 2008 times)
Darkshadow
Inline PM Customer
*****
Offline Offline

Posts: 38


View Profile WWW
« on: August 05, 2009, 04:21:17 pm »

Ok, i think unlimited multipart downloads are verry usefull if a downloadfile is bigger than 50 mb or whatever....

I want splitt them into multible parts seperatly to download.

Darkshadow
Logged

Dark Mysterious Worlds Look here...

We develope an brand new fantasy roleplay tradingcardgame in english and german

Samples Look here...
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #1 on: August 05, 2009, 07:06:03 pm »

Maybe main issue here is it would complicate many things.
IE if you are using the credit system do you charge credits for each part downloaded.

Also if you have the download button on the category view which part of the file should it link to?
Logged
Darkshadow
Inline PM Customer
*****
Offline Offline

Posts: 38


View Profile WWW
« Reply #2 on: August 07, 2009, 04:53:43 am »

ok, i understand,

with the download button simply check a attribut (maybe: multipart yes/no) then you have to decide if no multipart: download the file as useal or if multipart: generate a multipartdownloadpage from the selected download and give access to this  multidownloadpage from the selected download where all the parts will be listed and can be choosed for download, add after every part again the downloadbutton.

Multiparts have only to charge one times, not for every part, simple add an attribute  /flag that user idxx allready charged for this download, after download all parts, deleted this flag.... Every part downloaded have to be added in the databse,

Maybe a multipart download (here in example its id 1) consist of 4 files and user has downloaded part 1 and 2, then you can add and alter this tables in database:

in the table "smf_down_file" add this rows:

id_Multipartdownload      multiparts   
            1                          4
            |_____ = only the id of the multipartdownload, next added multipartdownload will be id 2 and so on....


in the "smf_members" table add this rows:

payed_multiparts_downloads
          1 <-------------------------- this is the id from the payed multipartdownload  id_Multipartdownload from "smf_down_file" table

parts_downloaded
   1,2 <-------------------- if reached 1,2,3,4 then download complete and delete the
 id_Multipartdownload value from row "payed_multiparts_downloads" also delete all values in row parts_downloaded

i think this could be a way...

Darkshadow


« Last Edit: August 07, 2009, 04:56:06 am by Darkshadow » Logged

Dark Mysterious Worlds Look here...

We develope an brand new fantasy roleplay tradingcardgame in english and german

Samples Look here...
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11009


View Profile
« Reply #3 on: November 11, 2010, 11:03:32 pm »

Added to Downloads Pro 2.0
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[Today at 02:00:00 am]

[May 25, 2013, 11:40:49 am]

[May 24, 2013, 06:36:59 pm]

[May 24, 2013, 05:22:09 pm]

[May 24, 2013, 05:20:20 pm]

[May 24, 2013, 05:11:52 pm]

[May 23, 2013, 08:29:56 pm]

[May 23, 2013, 04:50:21 am]

[May 22, 2013, 10:03:30 pm]

[May 22, 2013, 03:00:09 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.114 seconds with 22 queries.