Forum Replies Created

Viewing 15 replies - 706 through 720 (of 777 total)
  • dtynan

    (@dtynan)

    FYI, your troubleshooting-2 link gives a 404 not found.

    I’m not really sure what “Download Free PDF” is, but it’s not part of the set of plugins that are needed for Email Before Download (which include Download Monitor and Contact Form 7).

    It looks like your form is missing the download id for the file you are trying to let people download. Most likely you didn’t put it in your shortcode (the email-download shortcode). Or, maybe you don’t have Download Monitor plugin installed at all and thus don’t even have a download id?).

    Anyway, read the past few support msgs … in one of them I listed a sample email-download shortcode (the example I gave was for 2 download_id’s, but you can make it just 1 for single file download, of course).

    dtynan

    (@dtynan)

    You need a space between the “d” and the “/” in the ebd tag.

    Also, fyi, the ebd tag will be automatically replaced with a checkbox & file title for each of the download id’s that you put in the shortcode, so whatever that checkbox shortcode is is not needed, you should remove it.

    Note that there is also an ebd_left tag that will put the checkbox on the left side of the text rather than the right side (which is what the ebd tag does). Most people use ebd_left, but you can use either.

    dtynan

    (@dtynan)

    When you list the download IDs in the shortcode, it should be with commas in between the id numbers and all the numbers & commas inside the double quotes. You didn’t really provide any information as to what you are doing (like the shortcode you are using), but at least in the “i.e.” part of your post you did double quotes around each number [which is wrong] and didn’t have a comma in there). Here is an example of what it might look like (obviously your numbers will be different):

    [email-download download_id="734,812,401" contact_form_id="232"]

    The most common mistake when dealing with multiple downloads is failing to put in the ebd or ebd_left tags, which are necessary to create the checkboxes for each file & list the filenames. See the last screenshot on this page:

    https://wordpress.org/plugins/email-before-download/screenshots/

    NOTE that you must have a space after ebd or ebd_left and before the /

    Your test page is protected by a login/password so no one can get to it.

    I’m not sure you can do multiple files like you’re doing without using ebd checkbox stuff. I don’t think that will work.

    I don’t know … from what you’re saying, it should work. I suggest you make a new public test page so that we can see it & try it.

    Also, I wonder if the fact that you are using a non-English language is causing a problem. You might try uploading a new file — something simple like a filename of “abc.jpg” and give it a title of “myabcfile”. Do not use any characters with accents or anything like that. Make a new contact form & don’t use any non-english characters in it. Make a new page in wordpress — don’t use any non-english characters on the page — put the email-download shortcode in there (make sure the contact_form_id references the new contact form you just made, same for the download_id referencing the new file you just uploaded). Try that .. if it doesn’t work, make it public so we can try.

    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

    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.

    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″

    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/

    ok let us know how it goes

    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).

    You should not be doing a rewrite — it works without that, that’s just gonna mess it up probably.

    I looked through your HTML more closely and I noticed that every download is download_id =3. I don’t know if you did that on purpose or not (maybe for testing?). Also, file 6 and file 7 have the descriptions switch .. so download_id 6 actually says it’s 7 on the screen.

    Anyway, your page is way too complicated to figure out what’s happening. I don’t know if you removed the rewrite’s like I asked in my prior response. It doesn’t look like you enabled Attachments in EBD like I asked either, because I just tried it and got an email and there no attachments (unless that’s just not working).

    Your shortcode looked fine. There is no relationship between the ID in the shortcode (which is the ID of your Contact Form 7 form that you made) & the file download directories that Download Monitor uses when you download a file (and those numbers may not even be visible, depending on how you’ve configured things).

    I cannot help you with you have things right now — there are way too many possible problems & I can’t tell what you are changing, if anything.

    I suggest you leave that page as it is and don’t mess with it for a little while. Instead, go create a NEW Contact Form and configure like the EBD instructions mention. Upload 1 and only 1 new file and make it a .jpg file and name it “apple” or some name that you have NEVER used before. Create a NEW page in WordPress. On that page, put a shortcode like you did before, but it should have the ID of the NEW Contact Form you just made & the Download ID of the NEW jpg file you just uploaded. Do not use any of your existing pages, or contact forms, or uploaded files — you can leave the plugins installed, but I want you to create a new page, new contact form, new upload, new shortcode. Don’t add anything else. Do NOT put a bunch of javascript in there to make a popup. We want this to be super simple. Do not put in a bunch of custom stuff.

    Once you set all that up, make sure you do not have any rewrite rules – you should not need them. Now give it a shot & see if it works. Post back & let me know what happened & put the URL in so I can try it.

    I don’t use NGINX, but I do know Apache really well. Are you sure your rewrite rules are correct? They don’t look like they are. I see only one capture (the parentheses) yet you are using $1 and $2 as if there is another capture. Also, shouldn’t your capture be on the left url and not on the right url? You capture parts of the url you want to use — and you do that on the left side because that’s the incoming URL, then you construct a new ulr on the right side and you use $1, $2, etc. for any URL parts you captured on the left side.

    Do you even need to do a rewrite? I suspect it will break things to rewrite the download directory. Is that in effect right now on your Forms page or? Depending on the version of Download Monitor you are using, EBD will access files in different ways. Sometimes it does like an http get back to itself & other times it just reads the file directly off the disk. If the URL has been modified via rewrites, the EBD may have problems. I don’t know that it will – just guessing based on the code.

    I did get the email with the download link in it, and the download didn’t work (404). I think you should turn on attachments in the EBD settings & then try again. That will help narrow things down — if the attachment goes shows up, then we know the whole installation is messed up .. if no attachment shows up the you’re looking at uninstalling all the EBD-related plugins & starting over, reinstalling them and TESTING along the way as the instructions suggest. If you do end up doing that, then I suggest using completely brand new filenames & titles — don’t repeat any of the ones you’ve already used because the data will still be in the database & it might confuse things. For testing purposes, just make things simple — upload a jpg and call it “apple” and another jpg and call it “orange”. Don’t use any punctuation or special characters or non-English.

    Yeah, it’s caused by a combination of EBD and Divi. What’s happening is that there is a span tag with a class of “et-icon” on it. On most themes, that does nothing. On the Divi theme, they have an icon for it, which is displayed on the page. However, it’s only like 100 pixels wide or something like that & the download title is a child of that span, so it inherits the width of the span (which is the width of the icon).

    I’m not sure of the best way to fix it. When I look at the page in Firebug or Chrome Dev Tools, I can delete the class=et-icon from that span tag & then it’s wide enough & stays on one line. However, it’s not just a normal link, instead it kind of looks like a button. So, I think that’s the same thing, more or less. On the a href tag there are two class names ‘icon-button’ and ‘download-icon’, which are producing the button effect. You don’t really have to change those, but you could I suppose. Anyway, I’m leaving it up to you to figure out how you want to change these classes or remove them or override them or whatever … hopefully you can get it in good shape without the need to edit plugin files themselves, but if you have to you have to….

    I still think you need to fix that comment I referred to before that is commenting out your ending HEAD tag and opening BODY tag. Because that’s not right, it’s difficult to determine if other problems are the result of that or something else.

    Do you currently have it set to BOTH or INLINE? I just tried it & I see the download links appearing after submitting, as they should. However, like you, I didn’t get an email.

    There are many reasons why an email didn’t go through. Often, it’s because of the From: you configured and the domain you are emailing (and their email acceptance criteria). It gets into a potentially complicated discussion about SPF, DKIM, From:, method of mailing out (SMTP), the receiver’s email provider (yahoo, gmail), etc etc. If you read through the last 50 or so messages in this forum, you’ll see some comments from me talking about the From: field and you’ll see comments from Jason Hendricks helping people out, particularly with setting up SMTP (he is the author the Postman SMTP plugin, as well as other plugins). He has a blog post that talks about this stuff some – http://www.codingmonkey.ca/contact-form-emails-wont-send-with-my-visitors-email-address/ Now, all that said, I don’t think we’re actually to that point yet…

    When I tried your page a few minutes ago, I put my email address as info@electionaustin.com, which goes to my server. My server will log any connection attempt. Thus, it would log your system connecting — regardless of how you connected or your SPF record or DKIM etc. So, I know that those aren’t the problem (or at least not yet)….

    So, I’m guessing either you don’t have it set to BOTH right now or else that html comment thing I talked about before is causing issues. However, it could be that you’re unable to deliver mail at all. Are you getting email from your wordpress installation to the email address you have configured in the WordPress settings? If so, then are you getting EBD’s “notification” emails? Anytime someone submits the EBD form, it should be kicking out one email to that person (assuming you selected BOTH or EMAIL) and ANOTHER email to the admin (you). Are you at least getting the notification email? If not, then something more fundamental is going on — you may need to contact your hosting company or get more local tech help. Let me know … set it to BOTH & leave it there if it’s not that way right now .. and fix that comment thing please.

Viewing 15 replies - 706 through 720 (of 777 total)