dtynan
Forum Replies Created
-
Forum: Plugins
In reply to: [Email Before Download] Class ‘downloadable_file’ not foundassuming those are the correct ID numbers, then you should be using just 1 shortcode and it should look like this:
[email-download download_id="97" contact_form_id="89"]Forum: Plugins
In reply to: [Email Before Download] no email link and no linkIt probably is sending the email but it’s probably getting blocked by the email provider (Yahoo, Gmail, etc). That happens a lot on shared hosting systems. The reason is that the From: of the email doesn’t match the account that actually sends the email. You probably need to install Postman SMTP or Custom Sender For Email Before Download and set the From: to be a valid email account for your domain name on that host.
Forum: Plugins
In reply to: [Email Before Download] some problems with pluginEBD export is hardcoded for certain fields, so only those fields will show up as column headers in the excel file (in the csv file). It’s not flexible enough to handle your extra fields in the same way it handles the fields that it is hardcoded for (like your-email, your-name, etc). However, there is one field called “posted_data” that actually contains all of the fields that were submitted when the user clicked on the submit button on the form. So, that would include any extra fields you added to your form. All of that data is smushed into that one field as a big blob of XML. So, theoretically, you can get at that data by parsing that XML. You would probably need a script of some type to do that or it may be possible with some programming inside Excel (not sure). No matter what though, you’ll need some sort of programming of some type to get at it….
Alternatively, you can get at the data using some method other than the EBD export feature. I have seen posts from some people who use either the Contact Form DB plugin or the Flamingo plugin in order to get all the CF7 form field data stored into a database that they can access somehow. I’ve never used either of those plugins, so you’re on your own on how to do it….
Good luck
Forum: Plugins
In reply to: [Email Before Download] Problem with adding cf7 idwhat happens if you make a wordpress page and put the contact-form-7 shortcode instead of the email-download shortcode. Does that also give the 404 or does it work?
Forum: Plugins
In reply to: [Email Before Download] no email link and no linkLooks like there is something wrong or interfering with your download file or with Download Monitor. When the browser tries to go to http://iotgurus.net/download/105238/ your server is returning a 500 Internal Server Error. That URL comes from Download Monitor. It thinks your file is at that location. So, something is wrong with that particular URL and/or your file and/or Download Monitor.
Typically, when the server generates a 500 Internal Server Error, it will usually put some stuff into the webserver error log that may clue you in to the problem. It could be that the file is no longer at the location in the filesystem where Download Monitor thinks it should be or the file could be inaccessible due to permissions or something like that.
You could check the webserver error log and look for the 500 error and see if it helps you figure out the issue. Or, you could just look at your download in Download Monitor and then make absolutely certain the file is really where it should be in the filesystem. Or you could just delete the file & upload it again (getting a new download_id) and see if maybe that fixes it. You could go over to the Download Monitor support forum and ask them for help. Or, shot in the dark, you could change the EBD setting “Hide/Mask” to be checked, which causes EBD to access the file in a different way (this probably wouldn’t fix it, but just mentioning it)
Good luck
Forum: Plugins
In reply to: [Email Before Download] Email Before Download Not workingYou may also have some other things interfering .. like other plugins. When you press submit on your form, it does not do an AJAX POST, as it should. The response that comes back isn’t a little bit of JSON, like it should be, instead it’s the entire page over again. Then, it does two weird AJAX transactions that I haven’t seen before … maybe that’s Download Manager doing that, not sure. Anyway, if you’re using Download Manager you need to switch to Download Monitor to get it to work. If that doesn’t fix it, then you need to start turning off other plugins — especially any related to AJAX, forms, etc. Something is interfering with that.
Forum: Plugins
In reply to: [Email Before Download] Email Before Download Not workingIt requires Download Monitor, not Download Manager.
Forum: Plugins
In reply to: [Email Before Download] some problems with pluginI think it looks great. Makes sense, user-friendly. Nice work.
Forum: Plugins
In reply to: [Email Before Download] some problems with pluginJust to be clear, those are just suggestions. It’s your page, you make it how you’d like it. I’m just suggesting things that might make things clearer for your website visitors. Good luck! 🙂
Forum: Plugins
In reply to: [Email Before Download] Other download plugins?I don’t really know what it does on the admin side. Whatever it’s doing, it’s doing it pretty fast. It’s only taking 1/100th of a second to do all those queries. As long as it doesn’t do it on the external pages I wouldn’t worry about. However, you could open a ticket over on the Download Monitor support forum and ask the author what’s up with that…
Forum: Plugins
In reply to: [Email Before Download] some problems with pluginOk, I tried your site again with both Firefox and Chrome and the PDF displayed in the browser (rather than getting a File Save box), which I think is what you want.
Remember that when the user fills in the form & hits the button it is always going to display that little link and the user will have to click that link and THEN he gets the PDF file (displayed in the browser). EBD does not have the ability to immediately display the PDF when the user submits the form — it must display a link to the PDF that the user must then click.
So, you might want to consider some minor styling changes to make things more user friendly:
First, you might want to change the text on the button on your form. Currently it is “Download eBook”, but that’s not actually what happens when they click it .. when they click “Download eBook” that will cause that “Office” link to show up and they’ll have to click that and then the ebook PDF will download & display in the browser. So, I think you might want to change that text to be something else so it’s less confusing. “Submit form” or just “Submit” or “Submit to get eBook” or “Get eBook” or something like that may be less confusing for people. When someone clicks on something that says “Download”, they usually expect to get the file right away, not to have to click on another link.
Second, you could change the Title of your file from “Office” to “Download eBook” or to “Click Here to Download eBook” or something like that. You would do that in Download Monitor (edit the download and change “office” to whatever you want). That way, when the link shows up it will be more obvious that the user should click it and what will happen when he clicks it.
Third, you might want to remove that message that appears with the green box around it. I think it says “Thank you for your message. It has been sent”. That message doesn’t make much sense really, so getting rid of it might make things better. You can make it not display by adding CSS. Hopefully you know how to add CSS (latest wordpress versions have a way in the customize menu to add custom css, some themes also have an option in their menus, etc). This is what you would add in order to make that green box & message not display:
div.wpcf7-mail-sent-ok { display: none !important; }Fourth, in order to make the little link stand out even more (I’m talking about the link that currently says “office”), you could style it with some more CSS. You might style it to look more like a button, for example. Here is some CSS that does that .. you would probably want to modify this to change colors or font size or whatever, but this should get you started:
a.icon-button.download-icon { border: 2px solid #35BA32; background-color: #009900; color: #ffffff; font-weight: bold; font-size: 120%; text-decoration: none; margin-top: 10px; padding: 10px 20px 10px 20px; display: inline-block; } a.icon-button.download-icon:hover { background-color: #ffffff; border-color: #0000ff color: #000000; }Forum: Plugins
In reply to: [Email Before Download] Other download plugins?It only works with Download Monitor. What do you mean by ‘huge number of queries’? Like SQL queries to the database or something else? I have never heard of anything like that and can’t think of how that might happen…
Are you running the latest version of Download Monitor (you should be running version 1.9.5)?
When are you seeing all these queries .. like on any page request in WordPress or only when viewing a page with the EBD shortcode on it or when you’re logged in as admin and in the Download Monitor section of the wordpress menus or…?
Where are you seeing these queries? Are you running a monitoring tool and seeing them or are you seeing errors/warnings showing up in an error log somewhere or..?
Forum: Plugins
In reply to: [Email Before Download] Inline opens always opens in a new pageYeah I see the same problem. Looks like a bug.
I haven’t tested this, but it looks like you can edit line 439 of email-before-download.php (which will be in the wp-content/plugins/email-before-download direcotry) and just change the _blank to _self so that it looks like:
$target = '_self';and save it and I think that will fix it.
Forum: Plugins
In reply to: [Email Before Download] Problem with adding cf7 idThe contact-form-7 404 “Not Found” error that you’re seeing can be caused by various things. It can be difficult to figure out sometimes….
So, first things first, I assume you checked the shortcode and made absolutely sure that the value for contact_form_id in your shortcode is the id number of your contact form, correct? Go ahead and post your shortcode in here just so I can make sure it looks ok.
You should also make sure that on the contact form that you created, you used “your-name” and “your-email” as the field names ( see the screenshots page to see what I mean – https://wordpress.org/plugins/email-before-download/screenshots/ ).
In your case, your page is very complicated. It loads tons and tons of stuff, plus you’re using caching/optimization plugins which are moving around javascript and css and deferring stuff and on and on… There’s a good chance that’s the cause of the problem. Additionally, you have another CF7 form hiding in a slide-out panel on the left side of the screen. Normally that shouldn’t cause an issue, but it’s just one more thing that -might- be causing problems.
I suggest you check the contact_form_id in the shortcode, check your form to make sure it is your-name and your-email, turn off your caching/optimization plugins, and try again. If it still doesn’t work then you’re just going to have to figure out how to make a much simpler page to test with — get rid of all that junk that’s loading (get rid of that other CF7 form), etc
Forum: Plugins
In reply to: [Email Before Download] Inline opens always opens in a new pageChange setting #5 from “_blank” to “_self” in the EBD Settings page.