So when a member reaches the max number of downloads per day this see this message on our site.
You have exceeded your maximum free downloads per day of 1
Need to download another service manual today? Contact Us with the title of the service manual you want to download.
In Sources/Downloads2.php I found this code.
//$totalRow = $smcFunc['db_fetch_assoc']($dbresult);
$totalRow['total'] = mysql_num_rows($dbresult);
if ($totalRow['total'] >= $maxdownloadsperday)
fatal_error($txt['downloads_txt_day_limit'] . $maxdownloadsperday . ' <br/>Need to download another service manual today? <a href="http://appliancejunk.com/forums/index.php?action=contact"><font color="#D97B33"><b>Contact Us</b></font></a> with the title of the service manual you want to download.', false);
I'm trying to edit the code so when they get the massage that they reached the max number of download they don't see the number. In the above example it shows 1.
I have tried removing $maxdownloadsperday out of the code, but get errors.
Could you tell me what to edit so the number for daily down limit is not shown to them?
Thanks,