Email Notifications Default

Go down

Email Notifications Default

Post by Take Notes on July 27th 2016, 10:55 pm

avatar
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Re: Email Notifications Default

Post by Ace on July 27th 2016, 11:18 pm

Give this code a try:

Code:
jQuery(document).ready(function(){
  jQuery('#cp-main #ucp div fieldset dl dd label input[name="notifyreply"][value="0"]').prop('checked', true);
});

Should be working. However, beware that this will force the option NO, always. The only way the person can switch back to 'Yes' would be by the person disabling the jQuery above manually, client side. This require at least a little bit of skill so probably you'll see 99.99% of your forum members with this option disabled. I guarantee you, though, since the new notifications toolbar came into place there's not much use to the notifications in email. Personally, I always mark these notifications SPAM. Razz

Regards.
avatar
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

Re: Email Notifications Default

Post by Take Notes on July 29th 2016, 5:13 am

So all options marked to send an email as a notification would be disabled? Not just the watch topic?
avatar
Take Notes
Helper
Helper

Male Posts : 2337
Reputation : 324
Language : English
Location : Forumountain

http://forumpromocean.com

Back to top Go down

Re: Email Notifications Default

Post by Ace on July 29th 2016, 6:18 am

Hi,

The code modify the profile option of your members inside preferences. As far as I know, only alerts regarding replies are sent to your e-mail. "Sends an e-mail when someone replies to a topic you have posted in. This can be changed whenever you post." I haven't tested it but I believe the person will still be able to receive the e-mails if, when they post, they check to watch the topic.

PS: This only changes the Profile >> Preferences field. It doesn't alter any other setting, including notifications that the user chooses to receive by e-mail, if available. For instance, Profile >> Notifications will still be able to send these notifications via e-mail if the user wants to.

Regards.
avatar
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum