|
I looked at the code and it would not be too difficult to add the options and implement the functionality, but I don't want to have to patch it up every time there is a core update.
Vote for this answer if you think you would be interested in this kind of functionality.
In the meantime, I'm using jQuery to tweak this for my needs. Here is how, if you're interested:
You may place the following code in the page header or a js file:
<!--Set default privacy to Private-->
<SCRIPT language=javascript type=text/javascript>
jQuery(document).ready(function ($) {
var $rdo = $('input:radio[name=privacy]');
$rdo.filter('[value=U]').attr('CHECKED', true);
journalItem.Security = "U";
});
</SCRIPT>
<!--Hide privacy selector-->
<SCRIPT language=javascript type=text/javascript>
jQuery(document).ready(function ($) {
$('#tbar-perm').css("display", "none");
});
</SCRIPT>
<!--Set default privacy to Private, hide privacy selector, for a specific social group-->
<SCRIPT language=javascript type=text/javascript>
jQuery(document).ready(function ($) {
// Get the group display text
var socialGroup = $(".GroupViewHeader > h1").text();
if (socialGroup === "Assessors") {
// Get the privacy selector
var $rdo = $('input:radio[name=privacy]');
// Set privacy to "Private"
// Options: E = Everyone, C = Community Members, F = Friends, U = Private
$rdo.filter('[value=U]').attr('CHECKED', true);
journalItem.Security = "U";
// Hide privacy selector
$('#tbar-perm').css("display", "none");
}
});
</SCRIPT>
|