Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author xnau webdesign

    (@xnau)

    The last page of your series must be the [pdb_signup_thanks] shortcode in order to complete the process and send the emails.

    Thread Starter hoelz

    (@hoelz)

    Dear Xnau

    well I have done all this, but it still not works properly.

    1. page:
    [pdb_signup groups=”main” action=”page2″]
    2. page:
    [pdb_record groups=”members” action=”thanks”]
    Thanks page:
    [pdb_signup_thanks]

    What happens is:
    1) I get an email “Update” from within all the settings on “Record Form Setting” to the administrator email of the website defined in “Signup Form Setting/Signup notification recepients”
    2) However, the user who signs up does not get the email also not in spam, no php_error messages…

    If do it with single page all fine…

    Ideas? Version 1.6.2.5

    Plugin Author xnau webdesign

    (@xnau)

    You just have to make sure all the settings are correct. Have you tested it yourself? You must test this yourself so you know exactly what is happening. Also make sure the “primary email address field” setting is correct.

    This will help you, it covers all these points: Email Troubleshooter

    Thread Starter hoelz

    (@hoelz)

    Yes, all tested myself, it is not live yet. even with the primary email address field set correctly it is not working.

    However, I programmed a workaround:
    1)Record Form Settings > Participant Record Page: “PHP-Insertpage: signup email”
    2) Signup Form Settings > Signup Thanks Message:
    <script type=’text/javascript’>
    window.location='[record_link]’;
    </script>
    3) Signup Thanks Page:
    [pdb_signup_thanks]
    4) PHP-Insertpage: signup email
    [insert_php]
    global $wpdb;

    $row = $wpdb->get_row( “SELECT type,id,private_id,email,first_name,last_name,parent_comp_code FROM participants_database where private_id = ‘”.$_GET[‘pid’].”‘”);

    $body_comp=”some text for signed up company”;

    $body_empl=”some text for signed up employe”;

    if ($row->type == ‘Company’)
    {

    wp_mail($row->email, ‘Welcome company’, $body_comp);

    echo “<script type=’text/javascript’>
    window.location=’../signedup_comp/?pdb=”.$row->id.”\u0026pid=”.$row->private_id.”‘;
    </script>”;
    }
    else if ($row->type == ‘Empl’)
    {
    wp_mail($row->email, ‘Welcome employe’, $body_empl);

    echo “<script type=’text/javascript’>
    window.location=’../signedup_empl/?pdb=”.$row->id.”\u0026pid=”.$row->private_id.”‘;
    </script>”;
    }

    [/insert_php]

    As I use this to have companies sign up, and for each company their employes, with that work around I can also have different messages and different sets of fields that either a company manager or an employee have access to.

    So for me, this is resolved, however, I think the multi page signup still does not send emails when used out of the box…

    Plugin Author xnau webdesign

    (@xnau)

    Oh, it works, it’s well tested. But the WordPress environment is complex enough so that in some cases it will fail for reasons that are difficult to identify.

    It’s important to me to learn why it fails in some cases so that I can make the code more robust.

    I’m glad you figured out an alternative, but I don’t recommend anyone else try this, it may not work for you and I certainly won’t support it.

    Interesting. I am experiencing the same thing. I have (what I believe) to have all the pdb_* signup and record plugins set; actions to subsequent pages; and a [pdb_signup_thanks] page. I also have email set in the primary email address fields in settings. After sign up (4 pages) I get the update email to the admin account, but the person who signs up does not get an email.

    I have tested myself countless times. I did single page — worked fine; then went 2 pages and that is where I get the update emails instead of the signup behavior.

    I see this in the URL after submitting: https://www.design39collaborative.org/d39c-collaborative-volunteer-committee-appreciation/?action=update

    Plugin Author xnau webdesign

    (@xnau)

    It sounds like you’re not ending up on the right page at the end of your multi-page signup form…is that correct?

    The “?action=update” is curious…the plugin doesn’t do that, so something else is in play there.

    1. I am enjoying working with this database. I will be making a donation now.
    2. I thought the url was odd, which is why I included it.
    3. Whether right or wrong, this is how I the emails to come as new vs. updates.
    page 1: [pdb_signup groups=”core_volunteer_data” action=”d39c-collaborative-volunteer-interest-page-areas-of-interest”]
    page 2:[pdb_signup groups=”volunteer_interest_areas” action=”d39c-collaborative-volunteer-interest-dependents”]
    page 3:[pdb_signup groups=”dependent_data” action=”d39c-collaborative-volunteer-interest-students”]
    page 4:[pdb_signup groups=”hs_volunteer_data” action=”d39c-collaborative-volunteer-committee-appreciation”]
    thank you page:[pdb_signup_thanks]

    Now the only thing I did differently between it ‘working’ and ‘not working (as expected)’ was change the page2,3,4 to be pdb_signup* vs what the document said pdb_record*. Once I did that I started getting the ‘sign up’ email vs just the admin getting the ‘record has been updated.

    In the settings, I have the thank you page as where to go for sign ups vs. ‘same page’. On the record update settings I have a separate page for single record updates.

    Not sure if that helps, but that is what happened last night during testing and it worked today again when I tested.

    Plugin Author xnau webdesign

    (@xnau)

    I have the solution to this in the upcoming plugin update.

    Hey Guys,

    I was getting complaints that the sign up was not sending the confirmation email as well, although it had worked for a time. I found by changing the short code to the pdb_signup rather than pdb_record it began to work again.

    This info was helpful to resolve the issue so thanks for the tips. BUT if it changes back to the pdb_record please let me know.

    This data base is pretty amazing and so versatile – MANY thanks to xnau for the plugin. Our event is in a few weeks and hopefully the volunteers will be signing up and give the site (and the pdb) a work out. We need about 150 people to sign up and it will all happen in the last week I expect, so I am depending on the pdb to do its job.

    Thanks again for the plugin xnau. I’m pretty jazzed by how it great it is.

    Cheers,
    Terry

    PS https://www.esquimaltribfest.com/volunteer/

    I’m still in the process of troubleshooting, but still experiencing this issue. It’s not an email delivery issue, because:

    I found by changing the short code to the pdb_signup rather than pdb_record it began to work again.

    This causes the registration email to send successfully in addition to the “record updated” email, but is causing other issues.

    As an update, I disabled all plugins, reinstalled WordPress and reinstalled PDB to make sure everything was setup correctly. I’m still having the same issue: the [pdb_signup_thanks] page shows the correct message but treats the registration like an update (email sent to admin says “registration updated” and user receives no notification).

    If I direct to the “thanks” page directly from the [pdb_signup] page, both emails send correctly. I don’t know if this is an incompatibility with a WP update (4.3), or related to my hosting (Rackspace), but multipage is definitely not working for me. My URLs also display as “?action=update”.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Multi-page not sending Email’ is closed to new replies.