Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author DBAR Productions

    (@dbar-productions)

    I have encountered this type of issue before, but not with this particular plugin.

    It seems that certain themes or plugins can sometimes cause a shortcode on a page to get processed more than once, usually in the header so you don’t actually see any additional output.

    If that is what is happening, then my shortcode which handles both displaying and processing the contact form is getting called multiple times after the form is submitted, causing it to send multiple emails.

    Either that, or people are hitting “refresh” several times after submitting the form.

    Are you able to do a process of elimination to determine if another plugin, or the theme itself, is causing this conflict with my plugin?

    Also, for my own information, are you putting the contact form on its own page and using the separate contact form shortcode? Or, are you having the contact form dynamically generated on the same page as the directory?

    So far, you are the only one to report this problem, and I am unable to reproduce it on my own sites. If you figure out which other plugin, or theme, is causing the conflict, please let me know so I can test it on my system and try to find a solution.

    With my past experience with a similar issue on another plugin, I do know a potential work around to avoid this situation if it is this type of theme/plugin conflict, but it would require re-writing a big portion of my plugin. At some point I will probably rewrite that part of the code anyway, since it is a better way of processing the form, but can’t guarantee when my schedule will allow that.

    Thread Starter rhansen_83

    (@rhansen_83)

    I have this plugin on a couple of sites and honestly, I am having different problems on each! One one, it does the multiple emails and on another it doesn’t even show up in dashboard menu so I can’t add anyone (just happened this morning – I deleted and redownloaded but no dice).

    Answers to your questions:
    1. It might be the theme – I’m using Theme X. I tried disabling all the plugins except for yours, still does the same thing. For the other site where it’s not showing up, I’m using 4Children with Love by Anariel Design.
    2. I created a page and put the directory shortcode on it.

    I’d appreciate any help you might be able to give, as this is the only plugin I’ve found that does what I need (directory + contact form). I’d be willing to purchase a “pro” version if you were needing some incentive as well…

    Thread Starter rhansen_83

    (@rhansen_83)

    If you give me your email I can add it to my directory and send you a test message. Feel free to send as a private message.

    Plugin Author DBAR Productions

    (@dbar-productions)

    There is no private message feature here that I can find. You can contact me privately through my plugins site:
    https://stephensherrardplugins.com/contact/
    Or, you can add my email for testing. It’s: dbarproductions
    at
    gmail.com

    For now, I would suggest creating a new page for the contact form, and set that up with the contact form shortcode, and then make sure to select that page in the member directory settings/options. See if that at least helps with the multiple submissions/emails problem.

    I’ll see if I can add some kind of timestamp & check to the form as a quick solution to prevent multiple submissions, at least until I have time to rewrite the code to process the form separate from the shortcode (intercept the POST before the page is displayed again).

    As far as not showing up on your dashboard on one of your sites, do you have any other plugins, or theme functions, that create a custom post type called “member”? Some type of membership plugin or theme feature, perhaps? If so, there would be a conflict with my plugin, which uses “member” as the custom post type.

    Thread Starter rhansen_83

    (@rhansen_83)

    Unfortunately creating the new page didn’t work…still getting 4 messages minimum.

    I just sent you a test message at your email address – let me know if it does the same for you.

    Thanks,
    Ross

    Plugin Author DBAR Productions

    (@dbar-productions)

    Fixed with version 1.6 update.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Multiple emails sent from contact form’ is closed to new replies.