What did you changed - Default NOT Notify

Björn Eitmann July 29, 2013

Hey *

Is it possible to set the "What did you changed - Notify" Checkbox default to NOT NOTIFY?

Best,

Björn

5 answers

1 accepted

1 vote
Answer accepted
fsim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 29, 2013

Hey there,

You can use the Workaround here: https://jira.atlassian.com/browse/CONF-25367

Which is essentially to add this to Confluence Admin >> Custom HTML:

<script type="text/javascript">
AJS.toInit(function () {
  AJS.$('#notifyWatchers').attr('checked', false);
});
</script>

Try to add it to either "At end of the HEAD", or "At end of the BODY", as different versions of Confluence will treat JS differently

Foogie

0 votes
Mick Davidson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2013

Here's a Chrome extension that individual users can add if they're using Chrome (this only works for the person who uses it, it's not universal across Confluence):

+++++++++++++++++++++++++++++++++++++++++++++++++

// ==UserScript==
// @name disable_notify
// @namespace your_name
// @description Disables the notify watchers by default
// @include https://<your url here>/pages/editpage*
// ==/UserScript==


var e = document.getElementById("notifyWatchers");
e.checked = false;

+++++++++++++++++++++++++++++++++++++++++++++++++

Note that you have to use the URL of a page that appears when the page is in EDIT mode. Then you have to remove the page ID and replace everything after editpage with an asterisk.

Save the file as: <file name of your choice>.user.js file

When you've done that drag it into the Extensions area (under Tools).

I'm now trying to get a developer to write something that will post a warning when someone who is using this saves a page. The message will say something like: Do you want to notify anyone of your changes? If they select Yes, then the message will disappear and they user can select the Notify tick box.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 29, 2013

Ok, you can make a change in the system default user profile.

However, that won't change what you send out. The "do not notify me" only applies to YOUR account. Changing it won't affect what anyone else receives.

Mick Davidson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 30, 2013

Nic,

sorry, I'm confused. Can you clarify what you've said and how that relates to the code from Foogie please? Cheers.

0 votes
Björn Eitmann July 29, 2013

I mean the default setting, so that i have to fill the checkbox, if i updated something very important for all users.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 29, 2013

Do you mean the language, or the default setting?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events