Paul

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
May 11, 2013 at 9:07 am
#6150
Member
Paul
OP

Will any customised or new templates be overwritten by doing this please?

Mar 21, 2013 at 6:16 am
#4820
Member
Paul
OP

Apologies – the problem was caused by the change in the physical path on the new server.
Download manager is working correctly on the existing licence for this domain.

Feb 14, 2013 at 2:59 am
#4316
Member
Paul
OP

Thanks, how can I remove the site URL which is suffixed by “/wpdmpro/wpdmpro/”
http://www.whyonearthareyouhere.com/wpdmpro/wpdmpro/

Feb 13, 2013 at 2:48 am
#4297
Member
Paul
OP

Apologies Shaon – the code above is working fine.
The “Download Limit Exceeded” error was because I set the download limit to 1 per user and I was using the same email address to test it.
The link in the code above has not reproduced correctly, wrapping the code in a tag does not stop the browser from rendering the link.

Feb 12, 2013 at 1:56 pm
#4286
Member
Paul
OP

Thanks for the reply – it’s nearly working.
Made the modification to getlink() as below (no other changes to this function were made other than the below).
Stopped the mail function being called and now include $download_url in “alert-success”
The link produced looks like this: ?wpdmdl=1&_wpdmkey=511a48072ee28
Clicking on it takes you to a page saying “Download Limit Exceeded” and the document does not download.
How I can fix this please?

// wp_mail( $_POST['email'], stripcslashes($eml['subject']), stripcslashes($message), $headers, $attachments );
$data['downloadurl'] = "";
$data['error'] = 'Click on this link to complete your download';
header('HTTP/1.0 200 OK');
header("Content-type: application/json");
echo json_encode($data);
die();

Feb 11, 2013 at 4:44 pm
#4252
Member
Paul
OP

Okay great.
I would like to disable the email send and just allow access to the file when the name and email address have been entered.
Please can you give me a steer on the customisation – I am happy to change the code.

Viewing 6 posts - 1 through 6 (of 6 total)