This is a discussion on Download Fix (sloppy) within the osCMax v2 Features Discussion forums, part of the osCMax v2.0 Forums category; This is a really sloppy fix for the mktime{} issue. It will work properly on a 7 day time scale. ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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); Code: $download_timestamp = mktime(23, 59, 59, $dt_month - 2, $dt_day + 16 + $downloads['download_maxdays'], $dt_year + 8); 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); Code: $dt_day + 11 + $downloads['download_maxdays'], For now, this will at least give you the ability to allow downloads. |
| The Following User Says Thank You to MrTheme For This Useful Post: | ||
neil (12-10-2007) | ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Product download count deducted when canceling download | GeorgeW | osCMax v2 Installation issues | 1 | 11-06-2005 08:12 PM |
| where to download osC MS2-MAX ? | coli | osCMax v1.7 Installation | 1 | 11-28-2004 08:35 PM |
| Download ????? | GERD | osCMax v1.7 Installation | 8 | 06-26-2004 09:02 AM |
| [HOW TO] download MS2-MAX and a fix for the 1k zip | michael_s | osCMax v1.7 Discussion | 2 | 06-23-2004 06:12 AM |
| MS2 MAX 1.7 download? | Anonymous | osCMax v1.7 Discussion | 3 | 06-03-2004 03:45 PM |