Forum Replies Created

Viewing 15 replies - 121 through 135 (of 2,277 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    I don’t think there were any replies. I have been traveling for work so am behind on answering questions.

    For the one form which is getting the timeout, is it a large form? Is it styled using Google Drive’s ability to make it look “nice”? If it is a complex form which is very large (lots of questions, very long page), you can try breaking it into a multi-page form. You can also try increasing the timeout (which can be done on the Dashboard in the plugin settings advanced tab).

    The plugin uses the WordPress HTTP API to request and submit the Google form. The HTML structure of the form is requested and then a response is submitted based on what the user enters into the form on the WordPress side. The error you are seeing means that something was either submitted or requested from Google and the response was not received within the timeout setting.

    Why does this happens sometimes and not others? I have no idea. The easiest thing to do is increase the timeout and see if it resolves the problem.

    As to why it would happen now and not previously? That doesn’t make a lot of sense as the issue I fixed most recently should have zero effect on the request/response between the WordPress site and Google.com.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    There is a difference between Post/Page notifications and an email. The notification is initiated by using the “Notify” feature which appears on the Post or Page edit screen on the Dashboard.

    The “Send Email to User or Group” is different and the notification setting for each user isn’t applicable. If you send an email to a user or group, everyone in that group will receive it.

    Regarding mail sent in debug mode, that can happen if another plugin is using the wp_mail hook and it is processed before the Email Users hook can intercept it. I don’t know of a way to fix that.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Does it happen every time or occasionally?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Any chance you have a plugin doing something with the_content filter? A lot of plugins do, I’ve seen a similar situation come up before. Because Email Users pulls post data, the the_content filter is applied to the post content before the email is sent.

    One thing you can try is to disable all plugins but Email Users and see if the line break removal persists. If it doesn’t, then another plugin is affecting the post content before Email Users sends it out.

    If it does, then you need to look downstream at email content before it is sent, Debug mode can help here but may not catch what you’re looking for.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    This has been fixed in the v0.93 release.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I have a fix for this problem which will be in the next update.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    That isn’t much to go on. If the nonce isn’t validating it likely means something is causing an additional page load invalidating the nonce. Does your theme use a lot of AJAX?

    Plugin Author Mike Walsh

    (@mpwalsh8)

    – When i use the “From Sender Email Address Override” with “Always use Sender Email Address Override” function then there is no way to send a copy to the users email address who sending the message only the overriding address receives the copy.

    If your sending user is part of the recipient group, it should receive a copy when using Send User Override address, if it doesn’t, that is something I’ll need to look into.

    + My suggestion would be to add an option to the settings that would be able to turn on or off wether to send a copy to overridden address.

    That is certainly an option.

    – When using the two functions mentioned before there is no possibility to set the “reply-to” email header and therefore the persons receiving the emails will send answer messages to the overriding address not to the overridden address.

    So you want the reply-to header to be different than the from header?

    + It would be good if in the settings would be an checkbox to enable or disable the reply-to email header containing the overridden address.

    It might be easier to simply provide a reply-to override just like there is a send user override. Too many checkboxes which interact with each other can be confusing.

    You could actually do everything you want today without having to wait for me to update the plugin using the mailusers_manipulate_headers hook. The mailusers_manipulate_headers hook will let you change the headers around to suit your specific needs. In your case, you could change the reply-to header, add the sending user to the CC, BCC, or TO header, whatever fits your use case.

    There are a couple examples of using the hook on the main plugin page.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    Sorry for the delayed response but it sounds like you are on the right path based on your latest description.

    Regarding your questions about the warning <i>“Email has been sent to 3 users, but 4 recipients were originally found. Perhaps some users don’t have valid email addresses?”</i>, I’ll have to go look at the code again to see what triggers that warning as I can’t recall off the top of my head. There is a mismatch somewhere – is it possible two users are registered with the same email address? Modern versions of WordPress don’t allow that but back when this plugin was first written, a user could register without an email address and the duplicate checking wasn’t very robust.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    I am not familiar with WP User Groups. As for Email Users not showing 2/5 groups you’ve defined, when Email Users does a query of users in a group, if the list of users returned is empty or none of the users is set up to receive bulk email or notifications (depending on what you’re sending), the group won’t be displayed.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    There are a list of roles/capabilities on the Email Users Settings (Dashboard > Settings > Email Users) which Email Users supports. If you use a plugin like Role Manager, you can add capabilities to any user you like and Email Users will recognize it and the proper menus will appear for those users.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    If you are seeing the Captcha duplicated, I suspect if you look at the HTML source for your page where the form resides, you’ll see all of the Javascript the plugin generates to augment the form also appears twice. It will be down towards the bottom of the HTML source code.

    The Captcha appears twice because of the duplicated Javascript and each chunk of Javascript runs when the page loads. The real problem is why the JavaScript is being generated more than once.

    The Javascript generation is triggered by the wp_footer hook. More than likely either your theme or another plugin is forcing a call to wp_footer instead of letting WordPress handle it automatically.

    The easiest way to track this down is to temporarily disable all plugins except WordPress Google Forms and see if the problem persists. If it doesn’t start enabling plugins one at a time until the problem returns. You’ll isolate the offending plugin this way.

    If none of the plugins are the problem, try doing something similar with your theme. Temporarily switch to one of the WordPress supplied themes and see if the problem persists. I’d be surprised if it does.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    This sort of behavior is typically seen when you hosting provider imposes some sort of limit on the number of addresses which can appear in the BCC mail header. This is fairly common which is why Email Users supports a BCC limit setting.

    You may want to check with your provider to see if there is a limit and then set the BCC limit accordingly. When the BCC limit is set, Email Users will break up your recipient list into chunks and send the number of emails necessary to cover all recipients.

    In your case, with 651 users, if the BCC limit was set to 50, Email Users would send 14 emails, the first 13 would have 50 recipients and the last one would have one.

    If your hosting provider doesn’t impose BCC limits, then I would enable debug mode which will display the mail headers on the Dashboard. You can look at the mail headers to make sure they are as expect them to be. Since you are getting a message that the mail was sent, I suspect the mail headers are correct.

    I have no idea how Send Grid fits into this picture, I am not using it but am pretty sure others have. You can always try temporarily disabling Send Grid and see if it works.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    If the eval is removed then the CAPTCHA solution won’t ever be evaluated correctly. THe value of $x is the result of the CAPTCHA equation after it is evaluated. If $a = 2 and $b = 3 then $x should be 5 but if you take the eval out, $x will be the string “2 + 3” which won’t satisfy the CAPTCHA. Maybe there is a different way to do it but simply removing the eval will render the CAPTCHA broken.

    Plugin Author Mike Walsh

    (@mpwalsh8)

    On the Dashboard, click on the Google Forms menu on the side bar. It will show a list of the forms you’ve defined and one of the columns in the list is the shortcode for putting the form on a page or a post. You can also use the form’s permalink to view it just like you would view a post or a page from the Dashabord after saving it. The “View Form” button is near the top of the page, just under the WordPress menu bar.

Viewing 15 replies - 121 through 135 (of 2,277 total)