The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Email Notifications Default

View previous topic View next topic Go down

Email Notifications Default

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


Genesis
Forum Reviewer
Forum Reviewer

Male Posts : 2331
Reputation : 322
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.

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 Genesis 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?

Genesis
Forum Reviewer
Forum Reviewer

Male Posts : 2331
Reputation : 322
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.

Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

View previous topic View next topic Back to top


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