Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Is there a way to set announcement in the category by default.
mye
New
Is there a way to set announcement in the category by default for roles who are allowed to announce?
Thanks!
Tagged:
0
Comments
How should announcements look like?
Look at Bump plugin to move a discussion to the top.
Look at PrefixDiscussion to mark it in a specific visible way.
Both have permissions you can assign to specific roles.
Just standard way. Want to make it enabled by default in new post dialog. see attachment.
make a plugin load the script only on new discussion page.
add this function to a basic plugin you create
add this file to js folder in your plugin
you could try jquery
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
this will restrict to new discussions (and not edit).
$('#vanilla_post_discussion #Form_Announce1').prop('checked',true);
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.