Viewing 9 replies - 1 through 9 (of 9 total)
  • it’s probably because of the CAPTCHA that’s on there. try turning off captchas and try again (the CAPTCHA is probably coming from a standalone plugin or over in CF7 somewhere maybe).

    Thread Starter tonyrla

    (@tonyrla)

    Hi I deleted the CAPTCHA but the download still doesn’t appear. Any other ideas? I can send you a log-in if you give me a way to send it securely. Thanks.

    Ok, it looks like it is sort of working as it should — as in the Ajax call gets issued & works properly when the user presses the Submit button AND it does actually put the link in there as it should, but the problem is that the link text is missing.

    It looks like the link text is missing because the download_id is not right. When I hit Submit, it POSTs some variables and one of them is empty, which is the download_id (technically its _wpcf7_download_id). Since the download_id is not submitted the result the server sends back doesn’t contain any text for the filename to download (since it doesn’t know which file).

    Thus, the problem is you are missing the download_id in your shortcode. Or, you have the wrong download_id, or something is messed up with the file in Download Monitor.

    Go to Download Monitor in your admin panel & find the file you uploaded. There should be an ID number for it. That number needs to be part of your shortcode. Something like download_id=”37″ or whatever .. you need something like that included in your email-download shortcode. See screenshots here for examples: https://wordpress.org/plugins/email-before-download/screenshots/

    Thread Starter tonyrla

    (@tonyrla)

    Hi,

    Thanks for your help. I updated the shortcode to [email-download download id=”13046″ contact_form_id=”12833″] there was an error there as you thought. But the download link still doesn’t appear…

    I got two emailed complaints from people who tried to download but didn’t get the link. Ironically, from the contact form.

    the download_id is still missing. Note that there is an underscore between download and id, not a space. it should be: download_id=”13046″

    Aside from the missing underscore in download_id it looks like you have another issue on your site related to redirects (doesn’t affect Email Before Download).

    If someone goes to http://artempocuba.com/ it redirects them to the https version. However, that doesn’t work on URLs at a lower level like http://artempocuba.com/cutting-edge-havana/ and you end up staying on the http version. Because you’re using relative URLs (technically you’re using protocol relative URLs — URLs starting with // instead of http(s)://), most of the resources on the page attempt to load with http:// (since we started off on http). That causes a whole bunch of HTTP 302 codes for everything … so like your pngs and jpgs and such will try to load with http:// then your apache 302’s them to https:// so you’re doing tons of unnecessary requests in that case. Also, it breaks some things like your fontawesome fonts, which now load zero bytes for all the fonts due to a cross-origin resource sharing violation when it tries to load the http version and then those don’t recover to load properly like most of the stuff does by 302ing over to the https version.

    Anyway, you perhaps are aware of that issue, but I suspect not. I assume you probably just want to fix those lower URLs to redirect to the https version like / does, but perhaps you’re planning on something more complicated & your redirects are sort of in transition & I noticed something you’re already aware of. Anyway, hopefully that makes sense .. if you open up the Network tab of Chrome Dev Tools and go to the http version of one of your non-homepage pages, you’ll see the errors popup and note all the double-requests as it 302’s all your initial ones.

    Thread Starter tonyrla

    (@tonyrla)

    Aha! The missing underscore! Thanks very much for that. It’s now working correctly.

    So there you go wordpeeps, my sloppiness and lack of attention to detail made work for the writer of this excellent plug-in – who did it for free. There are a few really good things about WordPress, and this is one of them.

    Thanks!!!

    Plugin Author mandsconsulting

    (@mandsconsulting)

    Hi TonyRLA, Thank you for your interest in using our plugin. We are glad you got your issue sorted out.

    Special thanks to dtynan for stepping in and answering questions and making the WordPress experience better for all!

    you’re welcome … i guess i’m depriving you of $10 here and there 🙂 i’ve had the time available, so seemed like a worthwhile cause. That said, my available time is getting thin, so folks will probably need to pony up the reasonable $10 fee to mandsconsulting for help

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No Link Showing up’ is closed to new replies.