The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Email Notifications Default

2 posters

Go down

Email Notifications Default Empty Email Notifications Default

Post by Take Notes Wed 27 Jul - 14:55

Take Notes
Take Notes
Helper
Helper

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

Back to top Go down

Email Notifications Default Empty Re: Email Notifications Default

Post by Ace Wed 27 Jul - 15:18

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
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

Email Notifications Default Empty Re: Email Notifications Default

Post by Take Notes Thu 28 Jul - 21:13

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

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

Back to top Go down

Email Notifications Default Empty Re: Email Notifications Default

Post by Ace Thu 28 Jul - 22:18

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
Ace
Forumember

Posts : 250
Reputation : 49
Language : Portuguese & English

http://ajuda.forumeiros.com/u39577

Back to top Go down

Back to top

- Similar topics

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