• Having a problem with the signup form.

    What I did was create a signup page with [pdb_signup] all according to the manual. This works fine.
    On the settings page, I configured the notification settings.

    As I’m using a dedicated email address different from the hard-coded ‘default’ value (’email’), I tried to handle this with the filter provided in before_signup_thanks.
    However, this filter doesn’t get the value for $signup_feedback->recipient as this is not set in the function _set_email_prefs().

    Hope I’ve described the issue sufficiently.

    As a feature request, I would like to ask for a configurable fieldname instead of hard-coded ’email’.

    Thanks for all the good work so far.

    https://www.ads-software.com/extend/plugins/participants-database/

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

    (@xnau)

    You should be able to find that value in the supplied ‘participant_values’ array, if I understand what you’re trying to do correctly.

    Your suggestion is already in the next release.

    Thread Starter KleinBloemetje

    (@kleinbloemetje)

    Wow, what a quick response!

    And I think you understand correctly.
    After some re-thinking, I came to the same conclusion. The misunderstanding arose from the difference in the list of parameters provided and set.

    However, if I would really like to implement my own filter, I’m missing the flags to determine whether or not to send a notification.

    For now, I’m looking out for the next release.

    Plugin Author xnau webdesign

    (@xnau)

    “flags to determine whether or not to send a notification”

    Curious about this…what would you be looking for? The filter isn’t even triggered until it’s been determined that a notification is going to happen, but perhaps you have something else in mind.

    I’m generally interested to know how these filters might get put to use so I can make them more useful.

    Thread Starter KleinBloemetje

    (@kleinbloemetje)

    What I was looking for are the values for ‘receipt_from_address’, ‘receipt_from_name’, ‘send_reciept’ and ‘send_notification’.
    With these values, I can completely control the working of the notifications.

    E.g. perform some tests to skip or alter sending emails from certain (type of) users, depending on the values entered in the form.

    Plugin Author xnau webdesign

    (@xnau)

    I see. You can get the plugin settings by grabbing Participants_Db::$plugin_settings. The values you want are in that array.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No recipient parameter in before_signup_thanks filter’ is closed to new replies.