Forum Replies Created

Viewing 15 replies - 286 through 300 (of 777 total)
  • try this css (put it in a css file or something so that it will get pulled in or otherwise appear in the page)

    div[id^="wpm_download_"] {
        display: none !important;
    }

    Did you already fix this? I just tried it with Chrome and Firefox and the link appeared right away after submitting the form. I did not need to submit it a second time. Seems to work as it should…

    I don’t think it would matter, but just as a side note, when I scroll the page and the little popup appears asking if I want to join the email list I just clicked close on that. Then I scrolled own and filled in the form, hit submit, the link appeared, I clicked the link, download box appeared, I told it to save, and it downloaded the pdf. Seems to be working as it should.

    Have you had this working for a while and then suddenly it broke when you updated to the latest CF7 or is this a new setup?

    I am not aware of any problems with the latest CF7. The “additional_properties” field should be unrelated to the display of the inline link by EBD. If I recall correctly it’s for things like additional email headers and stuff like that (and that would be for the “notification email” that goes to the WordPress admin, not the email that goes to the website visitor who filled out the form).

    I suspect the problem is something else — particularly if this is a new setup. Please provide a URL and I’ll take a look.

    First, let me say that it’s always best to get everything working in the normal basic configuration before you try and do anything unusual.

    Download Monitor has some concept of remote files (files that it knows about but that don’t exist in the local filesystem). I don’t know if EBD can work with those or not… At one point, EBD supported a “file” tag that you could put in your shortcode and that could be used to point to an external URL. That may still work — I can’t recall if that code is still in there or not. I think it is. So, if you are using that file=someurl type syntax in your shortcode, then it might work. If it doesn’t work, I suggest unchecking (or checking) the Hide/Mask setting in EBD and trying again.

    I don’t know if there’s anything special about a Google Drive link to a PDF file. I -think- EBD just does a Location: to the URL specified in the file= tag in your shortcode … if my memory is correct on that, then it’s just the browser & Google Drive that are involved in the file transfer as the browser has been redirected to the URL for the file in Google Drive.

    Make sure you have the Download Monitor plugin installed. When logged in to WordPress as administrator, look for the “Downloads” link on the left-side menu. That is Download Monitor. Once you are in there you can add/upload a file and you can look at a list of your uploaded files and then edit one if you want (which takes you to the detail screen with options and the file title and such). Download Monitor is a little weird in how it’s edit screen kind of works — you may need to refer to their docs if you get confused.

    I’m not really sure what the problem is. However, one thing I noticed that’s odd is that once I hit submit on your EBD form the little spinner comes up and then it displays the message in the green box saying thank you for submitting your order — and all that is normal and correct and it all happens via ajax — and then suddenly the page clears and it displays an entirely new page that says Thank you for ordering your free copy of our ebook ’38 lean steps … ‘ and so on. That last part is not normal. I don’t know if that’s what is causing the problem, but perhaps it is….

    If that is the problem then my best guess is that when it loads that unexpected page after the EBD message has displayed that it is then killing off the process that is sending the mail out. Of course, that may not be the case at all. There may be something else going on. However, it’s very strange that you’re not even getting the email to the Administrator. That is very unusual. I think you should look in your apache error log when you run a test and see if it’s logging something about a process getting killed or something like that.

    So, anyway, I see that weird extra-page load behavior from both of the 2 links you gave that go to the free book form (the EBD form). The last link you gave, that is just a CF7 form, works fine (note that it does not do that extra page thing).

    Also, I used an email address in my testing that doesn’t have any incoming filters on it so I was able to see that your system does not even attempt to connect to mine when I use the 2 EBD forms, but it does connect right away and sends email when using the CF7-only form.

    Thus, if I were you I would try to get rid of that weird extra page load thing that is happening. That looks like some sort of extra javascript happening there … not sure if that’s intentional or maybe like jquery form is somehow causing an extra load to happen or something? Not sure. Also, check that apache error log – I’d guess it shows something probably … if not, look around for where you’re logging your php errors (which might be going nowhere or might be going to a file like error_log or who knows exactly) — make sure you don’t make the php errors go to the screen or that will cause EBD to fail – they need to go to a file, so if you decide to turn on WP_DEBUG then make sure you’ve got it set to go to a file.

    Awesome! Thank you so much for coming back and updating with that info. I’ve been walking through the code for the last half hour trying to come up with any other possibilities so I’m very glad to hear that you are onto the cause of the problem!

    Is Elegant going to fix this somehow in their code or is it just something you’ll workaround as you have done?

    I haven’t tried it with the latest WordPress update from a few days ago yet. What is the error that you’re seeing?

    It looks like the download_id is not set correctly in that particular one. If you View Source on your page and look at line 356 you’ll see that there is a div with an id of “wpm_download_” with no number on the end of it. If you look up above that on like line 342 you’ll see that there it is an id of “wpm_download_37” and line 328 is “wpm_download_36” and so on. It’s just that last one — the one you’re having trouble with — seems to be missing the download_id (which is what that number is).

    Check your shortcode on that last one … must be messed up somehow.

    Do you have a test page I can look at?

    Are you using Chrome as your browser when you test? If so, try Firefox
    Have you tried adding a new file that is not a pdf? If not, try it

    I’m a little unclear what you mean when you say you keep using the same DLM/CF7 string in all your downloads? Are you talking about the shortcode you’re using or something else? Post the shortcode you’re using in here too please.

    Ah, ok, I should have read your original posting more closely. It looks like step #5 in your list of steps is not correct. Sounds like you are using the CF7 shortcode on your page perhaps? You don’t need that shortcode. Nor do you need one for Download Monitor. You need the EBD one.

    When you make your CF7 form, CF7 gives you a shortcode. Don’t use that shortcode. However, you do need the ID number from it (the form ID). You’ll put that number in the EBD shortcode.

    When you upload your file into Download Monitor it will be assigned an ID number. You need that number, but you don’t need any shortcode related to Download Monitor.

    The form ID number and the download ID number will be used in an EBD shortcode.

    See the third screenshot on this page for an example of an EBD shortcode (obviously you would change the contact_form_id number to be your form ID and change the download_id number to be the ID number of your download):
    https://wordpress.org/plugins/email-before-download/screenshots/

    If you select ’email’ or ‘both’ then EBD will send 2 emails out.

    One of the emails goes to the email address that you put in the To: field in the Mail tab of the CF7 form that you made. I call that email the “notification email”. The email lists what was downloaded by the website visitor, but it does not contain any links that you can click on to actually download the files. Typically people put the wordpress admin email address into the To: field, so the notification email goes to the admin.

    The other email is sent to the email address that the website visitor typed into the form when he visited your website. By default, that email will contain a link (or links) to download the file (or files) that you made available. The user can click on the link to download the file. Note that if you had selected to attach the file(s), then it would be attached to the email. The link will be in the text of the email unless you made your own email template in the EBD settings (which I think is like 9.1 or 9.2 or something like that). If you made your own template then you have to make sure you put in that keyword to make the link appear (which I think is [files_urls] or [files_url] or something like that).

    Because most folks already have WordPress set up and working and able to deliver email to the WordPress admin, the notification email (the 1st email I detailed above) usually gets delivered just fine. The second email, however, often does not arrive. Usually the email provider (gmail, yahoo, etc) blocks it because it looks like spam. Normally it looks like spam because it has been sent from a shared-hosting provider and the envelope gets some weird email address associated with the operating system rather than a good valid email address that matches your domain. To fix that you probably want to install Postman SMTP plugin. That’s what most people on here use. Alternatively, you can install a plugin called Custom Sender for Email Before Download and then set your From: in there (note that you may have to reset it and resave it if you modify your EBD settings .. not sure if that’s true for others, but I have to).

    I know EBD work with Divi just fine .. at least a version from a few months ago anyway. I haven’t tried Extra yet.

    What about other plugins? Could there be some other plugin that is interfering .. something on the system with the Extra theme that you don’t have on the other system?

    I guess another possibility would be some sort of htaccess or webserver config difference, though I can’t think of any way that could cause the problem you’re seeing.

    Since you still see the problem with the TwentySixteen theme, it probably isn’t an issue with Extra — to be absolutely 100% certain, you’d have to switch to TwentySixteen then do the entire process again — make a page in WordPress, make a new Contact Form 7 form and get it’s ID, upload a new test file with a filename you’ve never used before and get it’s ID, then make a new EBD shortcode w/the new IDs and place it on your new page, then test. Doing that would eliminate any chance of old stuff that got stored in the database (possibly incorrectly) while you were running Extra impacting your test — seems like a really remote possibility, but if you have the time, might be worth doing just to be absolutely certain it’s the system and not the theme.

    Grrr.

    Well I don’t really want to log in but I do need to see a test page. Please make a test page and then post the URL back in here.

    Hmm. You’re not using the ET module stuff. Darn. Well, now I’m just not sure. Try some of the stuff I mentioned or trying it on another setup as you mentioned and then post back and let me know. Right now I don’t have any ideas, but maybe you something you try will clue me in…

Viewing 15 replies - 286 through 300 (of 777 total)