Forum Replies Created

Viewing 15 replies - 481 through 495 (of 777 total)
  • You can (usually) make the browser pop up a file save box rather than displaying embedded players by setting it to Force Download. This can be done on the download file itself in Download Monitor kind of over on the right side when you’re looking at one of your uploaded file details in there you’ll notice a checkbox about Force or Forcing or something near the right side of the screen. Alternatively, you can modify your shortcode and add this to it: force_download=”yes”

    You can use the latest Download Monitor. It works, lots of people use it. The note on the Description page about using the old DM confused me at first too, so I first used the old one, but I noticed that it tended to log a good number of SQL errors. After looking through the code, I realized that none of those actually caused any problems, but I still didn’t like them so I tried the latest version of DM and it worked just fine. If you upgrade I think you’ll have to reupload your files. Actually, it’s not really an upgrade because he started over with new version numbers and such …. so really you deactivate your existing DM plugin, remove it, then install the latest one (which is actually version 1.something I think).

    I tested your site some more and I received the email into my Inbox when I used my gmail test account. On Yahoo, it went into my spam folder. Because that’s a dev system you’re using, I’m not really sure if that’s a problem or not … maybe your production system will get the stuff delivered into the Inbox every time. I took a quick peek at the mail headers and I think there was an SPF record when I looked at the one sent to my gmail account, but on Yahoo I think it didn’t show any valid SPF or DKIM or anything. So, that’s probably why it didn’t make it into the Inbox. The SPF/DKIM stuff and/or setting the From: of the email are the main things that get email delivered into the inbox. In your case, the From: is wordpress@yourdomain (where yourdomain is the wpa.matmartin. etc). That might be ok but it might be part of the issue. Anyway, since it’s your dev box I’m not going to speculate any further … when you get it to production, be sure and test using a Yahoo email account & see if the mail gets to its Inbox. If not, look back through support tickets on here & you’ll find numerous ones where I talk about using Postman SMTP or Custom Sender For Email Before Download in order to set the From: to something that will make it into the Inboxes.

    I’m not sure why the notification email is taking a long time to show up for you (the notification email being the one that is sent to the email address you configured in your CF7 form … usually the wordpress admin address). It could be that your wp hosting provider is scanning it on the way out and your email provider is scanning it on the way in and that eats up a few minutes. You didn’t say how long, so not sure if we’re talking 3 minutes or 3 hours. Maybe there was a network glitch. Not sure. I know that the email that goes to the user (me when I was testing) showed up right away. If you do end up installing Postman SMTP at some point, take a look at its log window & it may tell you what’s happening.

    I tried your form and I get the same error when clicking on the file link to download the file. I did actually get the email, though it went into my spam folder. The link in the email is the same as the link on the page, so it gave the same error.

    Make sure you have WP_DEBUG turned off. You don’t want any Worpress or PHP errors going to the screen. I think that might fix things, but if it doesn’t there’s more we can try.

    If turning off WP_DEBUG didn’t fix things, then I suggest you:

    Turn off any wordpress caching plugins you have, if any.
    Set EBD to not hide/mask.
    Turn on attachments in the EBD settings.

    Then do the following:
    1) add two new downloads to Download Monitor. Make both of the downloads be .jpg files. Give them filenames you have never used before.
    2) Make a new form in CF7 that is the sam as your current one (we want to make a new one to get a new contact_form_id value).
    3) Using the info from #1 and #2, make a new shortcode using the new CF7 form id and download ids.
    4) Make a new Page in WordPress and put the new shortcode in it.
    5) test it and see if has the same problem or not

    The point of those steps is to get an all new set of IDs and new info into the database. We don’t want to use anything you’ve used before for IDs or names of things. If things still don’t work, leave the settings as they are & update this item so I’ll know to go try it myself.

    I don’t think EBD sets any link color. Whatever color you’re getting is probably coming from your css.

    Most likely you probably have some css somewhere for a:link (to set the link color). Possibly more for a:hover, a:visited, and a:hover. I’m guessing that is applied to any link on your page, or perhaps even throughout your site. Or it could be links within a span or div or something. Something like that. It’s also possible that you happened to define it for either “icon-button” or “download-icon” class names, which EBD does use (but doesn’t define what those actually do with any css).

    There’s a slight chance that you somehow put something into the EBD settings for the HTML Before link setting or the Inline Link Custom CSS setting and then forgot you did it and that’s why you’re getting a colored link. Or, you could try and use that to change the color yourself using the a:link etc.

    You’re pretty much on your own to figure this out. It’s a css issue, not a plugin problem.

    Ok, I tried your page a few times. I think I know the main problem, but I suspect you are going to have another issue getting email through after we fix the first problem (maybe).

    So, first things first, please tell me the version number of all 3 of the plugins. I’m using the latest of everything and it’s been a while since I looked at anything but the latest versions so just in case it makes a difference I want to make sure I look at the right thing.

    Next, I noticed that your page is setting an email_from hidden variable. I suspect this is happening because you are on an older version of EBD, or maybe it does that on the first run until it sets it in the options table, I’m not sure. Anyway, if you set something somewhere for the From: field of the EBD email let me know (this might be in EBD settings or maybe you put something in the shortcode or you have another plugin or something). Note that I am not referring to anything in CF7 .. I don’t care about the From: there.

    Also, I’d like you to temporarily change the EBD setting to ‘both’ (you can change it back to ’email’ after we’ve got things working).

    Ok, so I think the main problem is that your field names are “name” and “email” rather than “your-name” and “your-email” (though this might not be the problem if your EBD is really old, not sure…). Anyway, go into your CF7 form where you laid out the input fields and change the form field names to “your-name” and “your-email”.

    I suspect that will fix it, but it’s still possible the email won’t make it into the recipients Inbox. We’ll address that next if it is a problem. But, for now, just answer the above questions and fix the form field names and do nothing else except updating this item.

    also, make sure you do not have PHP set to display errors. By your comments about ALLOW_URL_FOPEN and the permissions stuff, I’m guessing that you are reading this post: https://wordpress.org/support/topic/hidemask-real-link-leads-to-blank-page-works-fine-without-this-option

    correct? If so, make sure you didn’t follow the instructions about display_errors on — you should not do that. You want php errors to go to a file.

    I’ll need to try this to figure it out. Can you post the URL to your page?

    Also, please set it to ‘both’ and leave attachments turned on. That way I can see the attachment and get the email and also see the link appear on the page.

    Are you set to Hide/Masked or not?

    What version of everything are you using?

    I think it’s a bit weird that you have 0 for group permission on the files. I don’t know if that’s a problem, but it seems unusual to me. Are you using Apache or nginx? Generally, things should have just worked without the need to muck around with the permissions, so if you changed permissions that could be the issue. Anyway, we’ll see … answer the above questions and I’ll take a look.

    You’re welcome — I’m glad to hear it works. So, how do you access your extra fields? Is there some way to download a CSV of your data through Contact DB or..?

    fyi – here’s a blog post that has a section about Contact Form DB. It gives kind of an overview of what it does – https://www.elegantthemes.com/blog/tips-tricks/best-contact-form-7-extensions

    The export csv log feature of Email Before Download does not support picking up additional fields that you may have added to your CF7 form and putting that data as its own column in the csv file.

    That said, there are some possible things you could do:

    As noted by jasonred (above), it does have one field in the csv called “posted_data” which does contain all the data entered by the user into the CF7 form. That data is in XML format with each field as an XML entry and then the user’s entered data in each entry. Thus, you could write a script or somehow parse out the data you are trying to get out of that chunk of XML in the “posted_data” column of the csv. This would require additional processing of the log file once you downloaded it (php or perl or python or ruby would probably be a good choice). Or, you could actually modify export.php and put that XML parsing right into the export feature … again, requires programming skills.

    Another option might be to use the Contact Form DB plugin ( https://wordpress.org/plugins/contact-form-7-to-database-extension/ ). I have never used that plugin, but it appears to take all the data posted in a CF7 form and store it in a database and then provides ways to view or get that data. I suspect that it will work for all the fields in the form, though you may have trouble getting the filename (the download file) I suspect (could be a problem if you have multiple downloads / checkboxes). Someone wrote up a tutorial page that seems to imply that using Contact Form DB works fine with EBD, though I have no idea if that’s true or not ( https://www.anphira.com/tutorial/downloads-contact-form/ ). Obviously if you go this route then you would be getting the data through Contact Form DB somehow rather than using the export feature in EBD.

    I’m not really sure how Custom Sender For Email Before Download actually works (never looked at the code). EBD itself reads some things out of the database (if it had previously stored something in there). It’s possible that the From: is being picked up from your database based on that combination of CF7 form id and the download_id (maybe, that’s just a guess).

    Anyway, the good news is that I tried your form using an existing gmail account and an existing yahoo mail account that I have and in both cases your email appeared in the Inbox. So, at least for me, it seems to be working well. I’m not sure if you are testing using real live accounts or using an inbox-testing type tool. If you want to see that it works, I suggest you make brand new accounts in gmail & yahoo and then use those to test with — that way, there is no chance of prior emails influencing the spam routing.

    One thing I did notice is that when I hit submit on your form there is a noticeable delay of 2 or 3 or 4 seconds before it says that the email has been sent. Normally, the message appears almost instantly. So, I’m guessing something you’re doing with routing the email out to those delivery services is slowing things down a bit. Not a big concern, though I did notice I was able to hit the submit button a second time before the email-has-been-sent message appeared and it caused me to get 2 emails. Again, not a big deal, just pointing it out.

    Looking at the message itself, I noticed a List-Unsubscribe header, which I assume is being added by SES or whatever, though I was a bit surprised to see it for a “transactional” email … normally that stuff goes with actual lists that one subscribes & unsubscribes to, but maybe SES puts that in there no matter what. Then, I guess the only other thing was that it looks like it’s appending a 1×1 transparent gif for tracking purposes I suspect. Otherwise, looked pretty normal. I don’t think either of those things is a problem — and, like I said, I got emails to both addresses in the Inbox, no problem.

    The From: of the email that EBD sends to the web surfer (the guy who filled in your form on your webpage) cannot be set using the normal EBD settings or in Contact Form 7. There is no way to set it without using something like Postman SMTP or Custom Sender For Email Before Download. It’s possible that it just happens to have a good From: in there, but probably not.

    You could post the URL to your page in here & I could go try it if you’d like.

    What is the From: of those emails? You need to make it match your domain and use a real working email account. Most people use Postman SMTP to do this (the wordpress plugin). Alternatively, you can use the plugin Custom Sender For Email Before Download (another wordpress plugin).

    If you use the latter plugin, then be aware that every time you resave your EBD settings it may wipe out the value you’ve put into the Custom Sender For Email Before Download settings (the From: value) and you might have to go put it back in there.

    Yes that makes sense. Firstly, you don’t know who has sent mail using those servers before you, so they may be spammy in the eyes of email provides. But, aside from that, you need to look into configuring SPF and DKIM.

    No. If you set it to ‘inline’ then when the user submits the form a link will appear on the page and he must click the link to view the file in the browser, or you can try to force it to download at that point, rather than display in-browser .. this is the difference, for example, between seeing a PDF file [if that was your download file] appear in the browser or instead getting the little file-save popup window that lets you save it as a file locally and doesn’t display in the browser). So, no, you cannot get around the part where the user has to click the link first (after submitting the form).

    That said, if you set it to ’email’ rather than ‘inline’, then when the user submits the form an email will be kicked out to him rather than a link being displayed on the page. If you turn on attachments, then the email will have the file attached (rather than a link he has to click to download the file). So, that’s not what you’re looking for, but it is an alternative way that some people like — I use this on some of my sites because I know for sure that the user isn’t getting a file unless he gives me a good email address. Otherwise, he might just put some random stuff into the email address field.

    Anyway, the answer to your question is no. Sorry.

    are you looking at the csv log downloaded from within the Email Before Download settings page or are you looking at the Download Monitor log?

Viewing 15 replies - 481 through 495 (of 777 total)