• Resolved brittaa

    (@brittaa)


    can successfully add Contact form 7 “submit a form” event in the point award system, however, no points are added in the user earning or log after submitting the form.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ruben Garcia

    (@rubengc)

    Hi @brittaa

    Please, don’t open the same topic multiples times, we get notified about all topics opened in our plugins

    Contact Form 7 is a contact plugin (more than a forms plugin) for that, to launch the event “Submit a form” requires a successfully contact

    It means that if you are on a test environment where you haven’t setup the WordPress email configuration, Contact Form 7 won’t be able to send the email and, since it can’t perform the contact successfully, then won’t trigger the “Submit a form” event

    Best regards

    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @brittaa

    We have discovered something new regarding this issue

    Forms submitted through ajax (the default workflow of Contact Form 7) can’t determine which current user is logged in causing that events from this integration won’t be triggered. There are 2 ways to fix this issue:

    1) On the form(s) you want to trigger events you need to activate the subscribers-only mode:
    Contact Form -> Additional Settings -> subscribers_only: true

    2) Enable the subscribers-only mode to all forms placing the following code on your functions.php:

    add_filter( ‘wpcf7_verify_nonce’, ‘__return_true’ );
    Official post about subscribers-only mode from the Contact Form 7 team.

    Important: Forms with subscribers-only mode to will require to your users to stay logged in to be able to submit the form, it means that visitors can’t submit the form.

    Hope it helps

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No action been triggered in log’ is closed to new replies.