This is a really sloppy fix for the mktime{} issue.

It will work properly on a 7 day time scale.

open includes/modules/downloads.php

Find:
Code:
      $download_timestamp = mktime(23, 59, 59, $dt_month, $dt_day + $downloads['download_maxdays'], $dt_year);
Replace with:
Code:
      $download_timestamp = mktime(23, 59, 59, $dt_month - 2, $dt_day + 16 + $downloads['download_maxdays'], $dt_year + 8);
If you need to change your days you will have to adjust the line manually

Heres the base (which will give you todays date)
Code:
      $download_timestamp = mktime(23, 59, 59, $dt_month - 2, $dt_day + 9 + $downloads['download_maxdays'], $dt_year + 8);
Now lets say you want to give users 2 days to download the file.

Code:
$dt_day + 11 + $downloads['download_maxdays'],
Now if someone can just prevent users from going to checkout_success and downloading files we will be doing something.

For now, this will at least give you the ability to allow downloads.