1

Can a member turn off email notifications for messages?

If so, is there a way to save this setting for each member in a Safecracker form?

1

I think, you are using Safecracker Registration for the member registration process. For turning off the email notification for messages the member's notify_of_pm need to be set as 'n'. Can you just try by having an input field within form tag:

<input type="text" name="notify_of_pm" value="n" />

and then check within exp_members for notify_of_pm column value for that member if set as 'n'.

If it didn't work, you will need to create an extension for it which will update it.

1
  • Yep, that is the field name alright. I have to use an extension hook, however. Aug 19 '13 at 6:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.