Jump to content



Latest News: (loading..)

* * * * * 3 votes

[contribution] Super Download Store


  • Please log in to reply
1036 replies to this topic

#1021   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,724 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 10 May 2012 - 03:57 AM

@Winston_C

As far as I know, there is no file size limit.  However, the SDS contribution does allow for group file downloads so multiple files can be downloaded with a single product purchase.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#1022   Winston_C

Winston_C
  • Members
  • 7 posts
  • Real Name:Mitch

Posted 10 May 2012 - 04:04 AM

@DunWeb

Thanks for your repsonse. I'll add SDS and post back my results.

#1023   Winston_C

Winston_C
  • Members
  • 7 posts
  • Real Name:Mitch

Posted 15 May 2012 - 10:19 PM

I installed the contrib. When I place an order for product with 1 file, it shows up double. Any idea why?

Also, notice the formatting is off.

Please advise!

Sorry for the foul language in my clip name! o:)




Attached File  Untitled.png   17.22K   5 downloads

#1024   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,724 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 15 May 2012 - 10:23 PM

@Winston_C

I suggest checking the code edits to the checkout_success.php file to see if you duplicated the code.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#1025   Winston_C

Winston_C
  • Members
  • 7 posts
  • Real Name:Mitch

Posted 15 May 2012 - 10:33 PM

I didnt modify that file, do you mean this file, checkout_process.php  ?

Thank you



View PostDunWeb, on 15 May 2012 - 10:23 PM, said:

@Winston_C

I suggest checking the code edits to the checkout_success.php file to see if you duplicated the code.



Chris


#1026   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,724 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 15 May 2012 - 10:45 PM

@Winston_C

My apologies Mitch, I was thinking of a different contribution.

Does that product have two download attributes by chance ?  I can't think of any reason it would duplicate the download link.


Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#1027   Winston_C

Winston_C
  • Members
  • 7 posts
  • Real Name:Mitch

Posted 16 May 2012 - 12:09 AM

Figured it out! Thank you so much!



View PostDunWeb, on 15 May 2012 - 10:45 PM, said:

@Winston_C

My apologies Mitch, I was thinking of a different contribution.

Does that product have two download attributes by chance ?  I can't think of any reason it would duplicate the download link.


Chris


#1028   vmjarala

vmjarala
  • Members
  • 129 posts
  • Real Name:Veronica Polston

Posted 16 May 2012 - 09:19 PM

@winston, can you share?  I will try this contrib next, but the one I have tried today, the other super downloads, did the same thing...

#1029   vmjarala

vmjarala
  • Members
  • 129 posts
  • Real Name:Veronica Polston

Posted 16 May 2012 - 11:25 PM

I see there's a version of this contrib for v2.3. It didn't work for me. Has anyone tried this one on v2.3?

#1030   steve-doherty

steve-doherty
  • Members
  • 48 posts
  • Real Name:steve doherty

Posted 13 November 2012 - 05:28 AM

I installed this, it's working great. But, now everything that was previously added set as 0 for Expiry Days now comes up as expiring the same day of purchase, instead of never expiring. Any idea about this?

Thanks,
Steve

#1031   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,724 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 13 November 2012 - 07:24 PM

@vmjarala

The v2.3.x contribution DOES work.  The 2.2 version of this contribution WILL NOT work on v2.3.x




Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#1032   DunWeb

DunWeb

    The Censored One

  • Members
  • 12,724 posts
  • Real Name:Chris
  • Gender:Male
  • Location:Ontario, Canada

Posted 13 November 2012 - 07:25 PM

@steve-doherty


This contribution does not allow for ZERO days to expiry.  Zero would indicate same day.  You will need to set an exact number of days for the file to expire, up to 999 I believe.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

See my Profile (click here)

#1033   steve-doherty

steve-doherty
  • Members
  • 48 posts
  • Real Name:steve doherty

Posted 13 November 2012 - 09:03 PM

Thanks DunWeb

#1034   herbsandhelpers

herbsandhelpers
  • Members
  • 76 posts
  • Real Name:Lorraine Hodgkinson
  • Gender:Female

Posted 24 March 2013 - 11:51 PM

Hello!

I've just installed this on 2.3.3 and got the Tuesday December 1999 date problem it was rather easily resolved by applying the following from ConradAskLand:


OsCommerce 2.2 Download Mod – Problems with:
  • Download Expires Tuesday December 1999″

  • Download link not showing (not clickable linking – no link) after approval of payment.
I’m posting this here off the support forums because the search functions wouldn’t allow me to search and find this fix, I had to find it on Google. Assuming others are doing the same, here it is. Keyword help to find this: Osc MS2, Super Download Mod, error, problem, downloads expiry, no link not showing unable to download.
Within download.php in modules I changed the following:

$downloads_query = tep_db_query(“select o.orders_status, date_format(o.last_modified, ‘%Y-%m-%d’) as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from ” . TABLE_ORDERS . ” o, ” . TABLE_ORDERS_PRODUCTS . ” op, ” . TABLE_ORDERS_PRODUCTS_DOWNLOAD . ” opd where o.customers_id = ‘” . (int)$customer_id . “‘ and o.orders_status >= ‘” . DOWNLOADS_CONTROLLER_ORDERS_STATUS . “‘ and o.orders_id = ‘” . (int)$last_order . “‘ and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != ””);

$downloads_query = tep_db_query(“select o.orders_status, date_format(o.date_purchased, ‘%Y-%m-%d’) as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from ” . TABLE_ORDERS . ” o, ” . TABLE_ORDERS_PRODUCTS . ” op, ” . TABLE_ORDERS_PRODUCTS_DOWNLOAD . ” opd where o.customers_id = ‘” . (int)$customer_id . “‘ and o.orders_status >= ‘” . DOWNLOADS_CONTROLLER_ORDERS_STATUS . “‘ and o.orders_id = ‘” . (int)$last_order . “‘ and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != ””);


Its actually a very small change: Within the quiry I changed “o.last_modified” to “o.date_purchased”.

Edited by herbsandhelpers, 24 March 2013 - 11:55 PM.


#1035   herbsandhelpers

herbsandhelpers
  • Members
  • 76 posts
  • Real Name:Lorraine Hodgkinson
  • Gender:Female

Posted 25 March 2013 - 12:01 AM

If it's not too clear then all you need to do is modify BOTH download.php files changing o.last_modified to o.date_purchased in the line:


$downloads_query = tep_db_query(“select o.orders_status, date_format(o.last_modified, ‘%Y-%m-%d’) as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from ” . TABLE_ORDERS . ” o, ” . TABLE_ORDERS_PRODUCTS . ” op, ” . TABLE_ORDERS_PRODUCTS_DOWNLOAD . ” opd where o.customers_id = ‘” . (int)$customer_id . “‘ and o.orders_status >= ‘” . DOWNLOADS_CONTROLLER_ORDERS_STATUS . “‘ and o.orders_id = ‘” . (int)$last_order . “‘ and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != ””);

to

$downloads_query = tep_db_query(“select o.orders_status, date_format(o.date_purchased, ‘%Y-%m-%d’) as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from ” . TABLE_ORDERS . ” o, ” . TABLE_ORDERS_PRODUCTS . ” op, ” . TABLE_ORDERS_PRODUCTS_DOWNLOAD . ” opd where o.customers_id = ‘” . (int)$customer_id . “‘ and o.orders_status >= ‘” . DOWNLOADS_CONTROLLER_ORDERS_STATUS . “‘ and o.orders_id = ‘” . (int)$last_order . “‘ and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != ””);



Yep! that's it!

Lorraine

Edited by herbsandhelpers, 25 March 2013 - 12:07 AM.


#1036   herbsandhelpers

herbsandhelpers
  • Members
  • 76 posts
  • Real Name:Lorraine Hodgkinson
  • Gender:Female

Posted 25 March 2013 - 12:08 AM

[/background][/size][/font][/color]
[color=#151515][font=Verdana, Georgia, 'Times New Roman', Times, serif][size=3][background=rgb(248, 248, 236)]$downloads_query = tep_db_query(“select o.orders_status, date_format(o.last_modified, ‘%Y-%m-%d’) as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from ” . TABLE_ORDERS . ” o, ” . TABLE_ORDERS_PRODUCTS . ” op, ” . TABLE_ORDERS_PRODUCTS_DOWNLOAD . ” opd where o.customers_id = ‘” . (int)$customer_id . “‘ and o.orders_status >= ‘” . DOWNLOADS_CONTROLLER_ORDERS_STATUS . “‘ and o.orders_id = ‘” . (int)$last_order . “‘ and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != ””);[/background][/size][/font][/color]

[color=#151515][font=Verdana, Georgia, 'Times New Roman', Times, serif][size=3][background=rgb(248, 248, 236)]$downloads_query = tep_db_query(“select o.orders_status, date_format(o.date_purchased, ‘%Y-%m-%d’) as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from ” . TABLE_ORDERS . ” o, ” . TABLE_ORDERS_PRODUCTS . ” op, ” . TABLE_ORDERS_PRODUCTS_DOWNLOAD . ” opd where o.customers_id = ‘” . (int)$customer_id . “‘ and o.orders_status >= ‘” . DOWNLOADS_CONTROLLER_ORDERS_STATUS . “‘ and o.orders_id = ‘” . (int)$last_order . “‘ and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != ””);


#1037   herbsandhelpers

herbsandhelpers
  • Members
  • 76 posts
  • Real Name:Lorraine Hodgkinson
  • Gender:Female

Posted 25 March 2013 - 12:10 AM

[/background][/size][/font][/color]
[color=#151515][font=Verdana, Georgia, 'Times New Roman', Times, serif][size=3][background=rgb(248, 248, 236)]$downloads_query = tep_db_query(“select o.orders_status, date_format(o.last_modified, ‘%Y-%m-%d’) as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from ” . TABLE_ORDERS . ” o, ” . TABLE_ORDERS_PRODUCTS . ” op, ” . TABLE_ORDERS_PRODUCTS_DOWNLOAD . ” opd where o.customers_id = ‘” . (int)$customer_id . “‘ and o.orders_status >= ‘” . DOWNLOADS_CONTROLLER_ORDERS_STATUS . “‘ and o.orders_id = ‘” . (int)$last_order . “‘ and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != ””);[/background][/size][/font][/color]

[color=#151515][font=Verdana, Georgia, 'Times New Roman', Times, serif][size=3][background=rgb(248, 248, 236)]$downloads_query = tep_db_query(“select o.orders_status, date_format(o.date_purchased, ‘%Y-%m-%d’) as date_purchased_day, opd.download_maxdays, op.products_name, opd.orders_products_download_id, opd.orders_products_filename, opd.download_count, opd.download_maxdays from ” . TABLE_ORDERS . ” o, ” . TABLE_ORDERS_PRODUCTS . ” op, ” . TABLE_ORDERS_PRODUCTS_DOWNLOAD . ” opd where o.customers_id = ‘” . (int)$customer_id . “‘ and o.orders_status >= ‘” . DOWNLOADS_CONTROLLER_ORDERS_STATUS . “‘ and o.orders_id = ‘” . (int)$last_order . “‘ and o.orders_id = op.orders_id and op.orders_products_id = opd.orders_products_id and opd.orders_products_filename != ””);