Forum Replies Created

Viewing 15 replies - 166 through 180 (of 777 total)
  • I don’t believe there is any way to use the template functionality of Download Monitor to modify how the EBD link is displayed. In the old old version of Download Monitor there was some sort of “format” feature and EBD does allow you to use that in your shortcode if you’re using the old DM (which is not supported and way old). That said, I can’t remember at all what the “format” thing did … may be completely unrelated to what you’re trying to do.

    Anyway, if your problem is simply that the download button looks weird and like the text is sort of vertical rather than horizontal, then it can be fixed with some css (it’s actually happening because of a conflict in the css names between EBD and your theme probably). If you point me at your page I can tell you what to change to fix it, or you can just look at the CSS of the button and you’ll see that the classname(s) on it are already in use by your theme (probably) and thus the conflict.

    EBD requires Download Monitor, not Download Manager.

    Oh I think I finally understand what you mean. You want to do a single download but have it display a checkbox next to it. Yeah it doesn’t do that. I don’t have any php mod to do that either. Sorry.

    Sending of 2 emails is correct.

    One email is what I call the “notification email”. That email goes to whatever email address is in the To: of the CF7 form you created. Normally, that is the wordpress admin email address (which is generally your email address as the admin). That email tells you what the website visitor downloaded, but it does not contain a link to the download (or an attachment of the download). This email almost always gets delivered without any problems.

    The other email is sent by EBD and it goes to whatever the website visitor typed into the form when he visited your website. That email often does not make it to the inbox of whatever email address was typed in. The reason that happens is that the receiving email service (Yahoo mail, Gmail, etc) thinks that the email is spam and blocks it. That usually happens when your wordpress is running on shared hosting because the From: of the email will be something related to the physical computer rather than to your domain name. That causes Yahoo and some others to outright block the email.

    In your case, you are getting both emails, which tells me that you are probably testing your EBD form by putting in the same email address as your wordpress admin email address, which isn’t a very good test. You need to put in a Yahoo mail email address and make sure that account actually gets the email. Assuming it does not receive the email, then you either need to install Postman SMTP (which is what most folks do) or install Custom Sender For Email Before Download and set the From: value to be a -valid- email address for your domain name. Then test again.

    Assuming you have everything working and understand all of the above and you still want to stop the notification emails, then I suggest you just change the To: in the CF7 form to some valid email address that you never check (or filter it in your email program/service).

    I’m sorry, I don’t understand what it you’re doing or asking exactly. It sounds like you’re maybe not quite using things correctly but have kind of adapted around it maybe.

    So, just to be clear, there is no description that gets displayed. There is only the file title (meaning the title of the file from Download Monitor). While Download Monitor has fields for file description, that does not appear in any way using EBD.

    The way EBD works, you fill in the form and hit submit and (assuming you chose ‘inline’ or ‘both’) then it gives you a link to download the file and that link is the file title. That’s for single download.

    Or, if you’re doing checkboxes for multiple downloads, then EBD will show several file titles with checkboxes next to each. You fill in the form, hit submit, and then several links will appear (one for each file you checked) and each of those links will allow you to download that file and the link text itself is the file title.

    I’m not sure where you’re getting file description … maybe you are typing that into the wordpress page itself or something like that? Or maybe you’ve gone way back in these support tickets and found where I detailed several php changes one could make to email-before-download.php to cause the file description to appear?

    Not sure…

    It looks like your site is giving 404 errors when trying to access .php programs from non-localhost. In other words, WordPress can access .php programs in your wp-content/plugins directory, but if you try to access them from some other system then your system gives a 404.

    You can confirm this by using your browser and trying to go to:
    http://www.vikencapital.com/wp-content/plugins/email-before-download/checkcurl.php
    which will give a 404, even though it shouldn’t. That’s true of all the .php programs in that directory. However, you can access the readme.txt that’s in there:
    http://www.vikencapital.com/wp-content/plugins/email-before-download/readme.txt

    That means something in your configuration is doing that. Most of the time, it’s some security plugin that drops an .htaccess file in your plugins or wp-content or something like that. Or, it could be configuration in your webserver config file. Or, it could be that your hosting company is running some sort of security program that does that. You’ll have to try and track down what’s causing and/or where it’s happening….

    I looked at your page. It looks like you have one form with a bunch of fields and that form says it’s for downloading an ebook. You have a second form further down that just asks for an email address and that form is for subscribing to a newsletter.

    As far as I could see, the first form is not Contact Form 7 / Email Before Download. I’m guessing you moved on to try something else and that is why it is that way. I did try it out and it did stuff that I didn’t recognize — there were no checkboxes, the response after submitting the form (which was submit in a strange way) was javascript that caused the browser to navigate to a new page, and result was some of weird pdf viewer in the page. Or something like that…

    The second form does appear to be a CF7 form, but as far as I can tell it’s not set up to be the EBD form with checkboxes & downloads and such.

    Anyway, generally speaking, the way the multi-download works for EBD is that there is a list of files with a checkbox next to each one. The user checks the files he wants to get, fills in his email address (and whatever else) in the form, and hits submit. Then, if EBD is set to ‘inline’ (or to ‘both’), the page will update in-place (via ajax) and a list of links will appear that the user can click on to download those files which he had put a check next to. Or, if EBD was set to ’email’ (or to ‘both’) then the user would receive an email to the email address he put into the form. That email would contain links to download each of the files the user had put a check next to (or, if you chose to do attachments, then those files would already be attached to the email). Note that there is no need for the user to fill the form in again between file downloads. If you were seeing that behavior then you weren’t set up correctly, or more likely, something was interfering with the way the plugin works .. you seem to have a lot of stuff on that page, so that would be my guess.

    Anyway, regardless, there is no way to make a browser download multiple PDF files sequentially using javascript or something without things getting really strange .. for one, the browser might display the pdf in a PDF viewer so who knows what kind of weirdness that would cause. Essentially, the user has to click on the links to download the files, but he only needs to fill in the form once (assuming this is all happening on one page and all he downloads are in there as checkboxes … forms on other pages would require the user to fill in those other forms)

    I’d have to see the EBD form on your site to figure it out .. I looked around but I can’t find it ?

    I’m not quite sure what you’re asking .. can you elaborate?

    Ok, I am now able to go to http://www.open-silicon.com/wp-content/plugins/email-before-download/checkcurl.php and have it work properly. So that’s good.

    I tried the download URL you had previously posted and it worked fine. I was able to download Open-Silicon_HMC_Gen3_ASIC_PB.pdf without any problems. That’s what wasn’t working before, correct?

    I also tried clicking on the 28G SerDes Evaluation Platform link at the top of your homepage and filled in the form and hit submit. I received an email but it did not have a link to the download file nor was the file attached. It looks like you just don’t have it configured to include the link (or the attachment).

    So, I guess I don’t really understand what the problem is since the problem you described before seems to be gone .. at least as far as I can tell by using that old download link. If you want to describe what the problem is now then I can help.

    Or, if you want to try the premium support then see the plugin description page. M&S Consulting describes what to do there to get it. Someone recently said it wasn’t working somehow, but I don’t know if that’s true or not….

    Ok, I tried the link that you provided (the client’s website link) and I see the problem. You need to edit the CF7 form that you created and change the field name from “email” to “your-email”. It must be your-email or else it won’t work. Once you fix that it should work.

    That said, be aware that aside from “your-email”, EBD also expects the field for the person’s name to be “your-name” and for there to just be that one name field, whereas you have “firstname” and “lastname” as fields. Additionally, you have a bunch of other fields you’ve added. That’s fine as far as things working, but just be aware that those fields and their submitted form data will not be listed as separate fields in the CSV (assuming you click the “Download CSV” link or whatever it’s called at the top of the EBD Settings in the wordpress admin). Those fields & their submitted values do get into that file, but they show up as one big chunk of XML in the “posted_data” field or something like that. Basically, EBD is hard-coded for a few fields to be in the CSV file .. stuff like the download file name, the your-name field, the your-email field, and so on. Since it doesn’t know about your additional fields it doesn’t list those separately and instead just clumps them all together in that XML blob. So, if you want to actually get at any of that data to do something with it then you’ll either need like a little script to process the CSV file and de-XML that stuff and write out a new CSV file (or whatever). Or, you could write a script to pull the data directly from the tables in the database (but you’ll still have to de-XML the posted_data so it’s basically the same thing). I’ve seen some people use a plugin that allows you to save and retrieve CF7 submitted form data and that seems to work for folks. That might be something you want to try if you need to get at those additional fields. I believe it was Contact Form DB that they were using. Anyway, hopefully all of that sort of makes sense…

    Ok, on the 403 error on the other system it sounds like you’ve probably just got access to that directory blocked in your webserver configuration files or in an .htaccess. Most likely it’s an .htaccess file that got dropped into your wp-content/plugins directory and it probably allows localhost (127.0.0.1) to access the plugins, but probably doesn’t let anyone else (like people trying to access from over the internet). You probably just need to find and get rid of that file. If you don’t see any .htaccess in that directory or in wp-content then it may be in the webserver config files themselves. There’s also a small chance that your web-hosting company may have installed mod-security or some similar type of Apache plugin that is configured to make things more secure & maybe they have a rule in it to block access to the plugins directory from outside systems. Anyway, it’s something like that .. you’ll just have to poke around & try and track down where the setting is.. Note that the vast majority of wordpress plugins just interact with the admin through the wordpress admin menus, or via shortcodes. Not very many expect the end user to directly access their files in the plugins directory, so that may explain why all the other plugins seems to work fine (and, as I said, I suspect the webserver configuration allows access to the plugins via 127.0.01 / localhost, just not from other systems).

    On the system giving the 403 Forbidden when you try to check if curl is enabled —
    it sounds like your plugin directory is protected. That could be the result of a security plugin, or it could be due to your webserver configuration, or it could be do to permissions on the directories themselves. You should be able to go to http://WHATEVERYOURDOMAINIS/wp-content/plugins/email-before-download/checkcurl.php
    using your browser and you should not get a 403. If you do get a 403 then the problem is one of those things I mentioned…

    On the system where you got the curl is enabled message, it sounds like that system does not have the permissions problem. You said you got a blank screen instead of an error on that system — I assume by that you’re referring to clicking on the download link that EBD generated? Or was it on the form submission? Or something else? I’d probably need to see it (though if you’re going to go back to the original system and fix the 403 error then we can just focus on getting that one working if you prefer…)

    You need to edit the CF7 form that you created and change it so that the field name is “your-name” (for the name field) and “your-email” for the email field. Currently yours are something like text-794 and email-800, which won’t work.

    As a side note, on the PDF download problem that sometimes appears in Chrome, one of the things that one will notice when it happens is that Chrome tries to download the PDF twice in quick succession with one of the downloads being immediately canceled. Chrome then downloads a chunk of the PDF file but appears to have problems with the Byte-Range and issues tons and tons of download requests but to the user it looks like it’s stuck downloading the PDF and doesn’t look like it will ever finish …… in reality it does actually eventually download the file if you wait long enough & have enough memory, but it can take many minutes. It’s unclear if the download cancelation issue is the cause of the actual download problem or if it’s a separate issue. If it is the cause, then it has been fixed in the development version of Chrome (which is called Chromium) under this bug in their tracking system – https://bugs.chromium.org/p/chromium/issues/detail?id=587709
    Eventually bugs fixed in Chromium make their way into Chrome. That bug was fixed in September (2016). I didn’t want to invest much time figuring out their releases and how fixes matriculate into Chrome’s source tree, but I did take a very quick look. If I remember correctly, the fix made it into a Chromium release that is being tested now or just got stable or something like that. Once it is in a full stable release then I -think- it should show up in Chrome in roughly 3 months. So, let’s say by mid-year 2017 just to be safe. So, note to self to re-check that issue in mid-2017 (and just to be clear, this is not the issue you’re currently seeing, though once you fix the form then you might encounter it or might not…)

    Try the link at the top of the EBD Settings page rather than in Download Monitor.

    Back on #1 in your last update, what exactly do you mean when you say you looked at “the plugin’s debug log file”? Which plugin are you talking about and what log file?

    Note that for EBD to work properly you must have WP_DEBUG turned OFF

Viewing 15 replies - 166 through 180 (of 777 total)