Forum Replies Created

Viewing 15 replies - 91 through 105 (of 777 total)
  • EBD always routes through that download.php file (otherwise features like link expiration wouldn’t work). The masking has to do with whether or not the browser ends up at the URL of the file (after you click the link).

    No, there is no built-in or easy way to do that.

    It wouldn’t be easy, but you could probably use some javascript on the page that looked for onclick events and then figured out if it was the download link that was clicked on and if so then change the page location to your thank you page. I don’t have an example of doing that (if your download file is PDF and the visitor’s browser is set to always display the PDF inside the browser window [rather than download it as a file/save box] then I’m not sure what would happen .. your javascript might mess up the PDF view or it might never execute or who knows)

    You have to turn off WP_DEBUG or else make its output go to a file if you want to leave it turned on ( https://codex.wordpress.org/Debugging_in_WordPress ).

    The problem is that when you hit Submit on the form, the server returns a little bit of data in JSON format. However, if you have WP_DEBUG turned on, there is an unimportant warning message that occurs and that message gets mixed in with that JSON message and corrupts it. That causes the page to just sit there with the little spinny icon. If you make that warning message go to a file or just not appear at all then the problem goes away. To do that you either have to turn off WP_DEBUG or make its output go to a file.

    Ok, ignore all previous updates and other posts, here is what I want you to do:

    Step 1:
    On your mac, duplicate the download file and then rename it to give it a slightly different name. We want the same file (the same pdf) but I want the filename to be something you’ve never used before. It can similar to what it was, but needs to be different.

    Step 2:
    Log in to your wordpress as admin and Add that file to Download Monitor. Make sure you Add the newly-named version of the file, not the old one. We want to get the newly named file uploaded and we want Download Monitor to get a new download id number for that file. Make a note of the download id of the new file you just uploaded.

    Step 3:
    Modify your existing wordpress page and change the download_id in your shortcode to be the new download_id that was just created.

    Step 4:
    In the EBD Settings, make sure Hide/Mask is not checked. Also, set it to ‘both’ rather than ‘inline’. And, check the thing to turn on attachments.

    Step 5:
    Test the page by filling in the form, hitting submit, and then clicking the link to get the PDF (in other words, test the inline link that appears on the page, don’t test the email stuff … i had you turn on the email part just as a troubleshooting step, you will turn it off later).

    Step 6:
    If it does not work right, do not change any settings. Just post back in here and say and describe exactly what happens and what you see when you test it.

    Just realized I pasted in the wrong link. This is the link to your page:
    http://www.votigroup.com/product/xr3d-50s/

    Ah, that’s different. If it hangs when you click the link then the problem is that you have WP_DEBUG turned on. You need to either turn it off or make it’s output go to a file.

    However, since it works for me, I kind of doubt that’s the problem.

    It’s difficult for me to figure out the issue since it works for me when I try your page.

    Have you tried using another computer? Is it only Chrome? Try adding a new download (not a PDF) and change your shortcode to reflect the new download id and try that. (make the file be a .jpg or something like that).

    • This reply was modified 9 years, 4 months ago by dtynan.

    ssiwebmaster:

    Edit your CF7 form and on the “Form” tab you need to make sure that the name of the field for email is “your-email” (without quotes). If you have a name field you should make it be “your-name” (without quotes). See the 2nd screenshot on the screenshots page for an example of what I mean: https://wordpress.org/plugins/email-before-download/screenshots/

    Also, double-check the “Mail” tab to make sure you have a good email address in the To: field in there (normally this will be your wordpress admin email address). The settings on that page are for the “notification email” that gets sent out. Normally that goes to you (the wordpress admin) so you know when someone visits your site and submits the form. That visitor will get a different email sent by EBD that has a link to the download file (or has the file attached if you chose that option).

    Turn off WP_DEBUG and test again and see if it works now.

    If it does not work, then please open a new support ticket and include your shortcode and a link to a page I can try out. Do not update this old support ticket again as when you do that, all the previous people who were on here usually get an email about it and that is annoying.

    Well I don’t even get that far. When I submit the form it just hangs. The response that comes back, which should be just a line of JSON from the EBD program, is instead an entire page of HTML. Of course, none of that displays because the page is expecting JSON back, not a whole page of HTML, so the page just hangs. When I use the debug tools to look at the HTML page that’s returned, I see a message in it saying I have been blocked by the “Stop Spammer Registration Plugin”.

    Again, you have got to turn all that crap off and make a simple test page and get this working. You can’t have all those plugins and a complicated page with all sorts of javascript on it when you’re trying to get EBD working. It makes it way too complicated to figure out what’s happening.

    I found your URL over on the other old item that you had updated earlier before opening this new item ( http://www.votigroup.com/wp-content/plugins/email-before-download/download.php?dl=d0ca1d5a5332a171036b1f529970b06f ).

    I tried that URL and it worked for me. I used Chrome, filled in the form, hit submit, and it updated below the form with a success message and a link to the download file. I clicked the link to the download file and it downloaded a PDF, which I was able to open. Note that it downloads the file rather than displaying it the PDF viewer. You will probably have to live with that behavior since I suspect it hangs (or is incredibly slow to display) if it tries to display in the PDF viewer (I’m assuming that was the problem you were seeing).

    You may need to clear your cache in Chrome & restart it and try again to see it download if it’s still trying to display the pdf inside chrome for you.

    I assume the download file is a PDF? If you have “hide/mask” checked in the EBD Settings then uncheck it. If it’s already unchecked then check it. Test and see if it’s fixed.

    If it still doesn’t work then set it to ‘both’ in the EBD settings, check the “hide/mask” box, and update this item with a link to your page so I can try it.

    you need Download Monitor, not Download Manager.

    I think that looks pretty good. Unfortunately, every time I tried submitting the form it came back with “There was an error trying to send your message. Please try again later.”

    It looks like it’s returning with spam:true in the result that is sent back after the form is submitted. That is coming from Contact Form 7. I’m not quite sure it’s happening, but I found this link that might help you figure it out:

    https://wordpress.org/support/topic/wpcf7-spam-blocked-message-when-summit-a-form/

    That talks about the “comment blacklist” in wordpress ( which you can read about at https://contactform7.com/comment-blacklist/ ). I don’t know why I would be blacklisted on your site. You may want to look at that and see if maybe my IP got in there or maybe everyone is blocked somehow?

    I don’t know. I would think you could put html around the form and the ebd marker in order to make it two columns rather than vertical, though I haven’t tried it. Maybe with the display: inline-block css. I think that might work. Go read up on inline-block and two columns by searching google and I think maybe some help page might get ya there.

    Just upload your new file (the new book or chapter or whatever) into Download Monitor rather than trying to change the filepath of the existing entry. It is better to just do a new one. Note the new download ID that you’ll get when you upload the new file. Then, change your shortcode to use the new download_id

    You’re on your own with adjusting your pop up box. There are umpteen different popup box plugins and techniques out there, so I don’t keep track of any of those. That said, it looks to me like you just need to tell it that the height of the box needs to be bigger and then the stuff that appears after submitting the for will appear “inside” the box I would think. Note that if you intend to have EBD only email people and you don’t care about the inline link that appears after submit, then you can change the EBD setting to ’email’ instead of ‘both’ like you have now and that will eliminate that link. Then you’ll just have the success message appearing outside the popup box (which you could get rid of also if you wanted, though that might be confusing for people).

    No prob.

    I type like 140 wpm so it doesn’t long for me to ramble on for many paragraphs 😉

Viewing 15 replies - 91 through 105 (of 777 total)