Problem/Motivation

I would like to be able to have users subscribe to contact submissions. Is that something that could be considered?

Comments

tonytheferg created an issue. See original summary.

gisle’s picture

Status: Active » Postponed (maintainer needs more info)

What is the use case?

A contact form submission goes to the inbox of whoever is configured to receive these (for the site contact form) or to the user (for the user contact form). A notification about a contact form submission will presumably go to the same inbox(es).

However, I there may something to this that I don't see at the moment. I am willing to consider it, if a good use case can be given.

tonytheferg’s picture

My specific use case is for prayer requests for a church site.

Certain users are given permission to see prayer request submissions, and this would allow them to subscribe to be notified when new submissions are placed.

gisle’s picture

Why will they need to notified?

When someone uses the Contact form to submit a prayer request, the request will be in the inbox of the user permitted to see it, not?

So why do they need a notification in their inbox about it being there?

tonytheferg’s picture

Yeah this may be outside of the scope. And I understand that. I am thinking about some sort of approval workflow where prayer requests come in, and then upon the approval of an administrator then notifications are sent out to those who subscribe to prayer requests. So I wouldn't be sending them out to everybody until they were approved. But of course this approval step wouldn't be handled by the module so I get why it might not make sense right up front.

tonytheferg’s picture

The module still would be helpful in providing control over when users were notified about prayer requests.

gisle’s picture

I think coupling this directly to the submission of the Contact form is out of scope, and it would need some sort of workflow management that is also out of scope for the module.

You should be able to implement this by creating a custom module to create a custom content type: "Approved prayer request". When an administrator receives the Contact submission they should be able to press a button to transform the contact form submission into a new node of type "Approved prayer request". You shall then be able to configure Notify to send out notifications about new such nodes to whoever should receive them.

tonytheferg’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

I'll close this and focus on other stuff for now. Thanks!

tonytheferg’s picture

Actually, I may be able to use comments for prayer requests instead contact submissions. Then I could use drupal approval setup.

Or at least look at how they approve comments.