PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

conditional notification routing using variables

  1. I am using a form to create a quiz in a BuddyPress-ScholarPress plug-in course.
    Can I do conditional notification routing with a variable like {user:user_email} ? I only want the notification to go to the person taking the quiz when multiple choice answers are correct. So the notifying the user option will not work for me. I need to do a routing when the conditions are meet. How would I send a conditional notification to the persons email address that is filling in the form?

    Posted 13 years ago on Friday January 21, 2011 | Permalink
  2. Routing does not work with the User Notification, only the Admin Notification. So this wouldn't currently be possible without using available hooks and setting the User Notification email using PHP.

    Posted 13 years ago on Friday January 21, 2011 | Permalink
  3. Okay, thanks.

    I think I found a work around using conditional responses in the form. Basically I set it up to only send a response to the user when multiple choice answers were correct. It's at least a start in the right direction. I am still learning what all I can do with GF. Thanks for a great product.

    Since I have just a basic understanding of PHP, I will most likely need some help with aspects of this project when it comes to using hooks in the functions.php file and such. When the time comes, could you direct me to a knowledgeable developer/consultant that could give me a quote?

    Posted 13 years ago on Saturday January 22, 2011 | Permalink
  4. Sure, just post on here with what you want to do when you are ready and we can either provide you with some guidane if it is something simple or refer you to a WordPress consultant if it is something more complex that can't be explained in a quick forum post.

    Posted 13 years ago on Saturday January 22, 2011 | Permalink
  5. Hi,

    Here is the general idea of what I am trying to do with a link to the thread on a Buddypress forum for the courseware. The thread relates where to hook into the Scholarpress courseware plugin.

    http://buddypress.org/community/groups/buddypress-courseware/forum/topic/using-gravity-forms-for-quiz-in-assignments/#post-86963

    I would like to set up quiz/tests for each course (there may be 30 courses). I was able to insert a GF multiple choice quiz with short codes as an assignment. The course asignments have a response post built in where I would like the answers to go (see the forum link above). Then I would like to automatically grade them. Which according to the forum thread above could also be done with hooks.

    It looks like I could use Post Fields when editing or creating a new quiz to send the quiz results as a response to the assignment. Is that correct? What do you think?

    There is a simple quiz setup in a public test course. You would need to sign up in order to see it. To see the work in progress go here: http://ceusonthego.com/wp_home and sign up as a member.

    As mentioned earlier, my PHP skills are minimal. I just do not know enough about creating and editing hooks for plugins to be comfortable doing it myself without some direction from a knowledgeable source. Thanks so much for taking a look at this for me!

    Posted 13 years ago on Sunday January 23, 2011 | Permalink
  6. I would appreciate any advise on this topic. I need to get this done. Re: The course assignments have a response post built in where I would like the answers to go. Then I would like to automatically grade them. Here is what the developer for the courseware recommends to get the above done...

    "try hooking into this: courseware_response_added

    The gradebook is all just a collection of post-metas, so you can use get/update_post_meta on this hook, of while using gravity forms hooks :)

    Should be a snap :P "

    It is Greek to me, but hopefully makes sense to someone more experienced than I!

    Posted 13 years ago on Tuesday January 25, 2011 | Permalink
  7. Hi Paintscape, Try Brad Williams over at WebDevStudios. He can probably help you get this customization made.

    Posted 13 years ago on Monday January 31, 2011 | Permalink