• Hey guys, great work on the plugin.

    I wanted to add a modification to my custom the “Finished Page” that would set the plugin to fire to fire the “Notification” functionality, *only* if the user clicks a “send” link/button, etc.

    The notification email doesn’t have to include anything particularly original – it can have the same sorts of tokens offered by default, but **It would be helpful if I could include the users email (collected by name and form at the begging of the quiz)**

    Any hints to get me going would be helpful!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,
    Well I am planning of leveraging WordPress’s Plugin system to make it alot easier to modify and extend the plugin. This will most likely be done next month.

    But for now, the quickest way of doing it may be editing the page view and leveraging the not really well documented custom page functionality. Where you can copy over the page views and edit them directly to change the lookout. Since these are php you can add a simple notification system within one of those with realitive ease.

    Thread Starter jbcholdings

    (@jbcholdings)

    Thanks! I’ll give it a shot!

    Thread Starter jbcholdings

    (@jbcholdings)

    So I’ve added a “form” to my custom “review.php” (which I was able to create no problem) Which function should I invoke to send the results to the email I’ve assigned to receive results in the admin area of the plugin — I can turn off the “auto-notification” for them and leave their email set correct?

    from results.php

    <form action="??">
    
        	 <label class="next-btn" for="next_btn"><input type='submit' value='Next &raquo;' class='quiz-btn' id="next_btn" />Yes!</label>
        </form>

    I was thinking of invoking:

    wpsqt_functions_send_mail()

    As this seems to be the function that is added by the plugin to fire the results emails?

    If so would I just add a code-behind style file that invokes this function when form action is submitted? How will it know to correctly associate the ‘link’ to the correct results page?

    Thanks a ton!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP Survey And Quiz Tool] Setup: Notification if User Chooses’ is closed to new replies.