How can I disable adding Blog Posts?

ket.pjwstk
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 6, 2011

How can I disable adding Blog Posts for confluence instance?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Answer accepted
David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
July 7, 2011

To get rid of the Add Blog Post links on the Dashboard and in spaces, use a little Javascript:

<script>
AJS.toInit(function(){
AJS.$('#createBlogpostLink').parent().hide();
AJS.$('#addBlogLink').parent().hide();
});
</script>

You could add by browsing to...

Confluence Admin | Look and Feel | Custom HTML

...then paste into the At end of the HEAD section.

It'll prevent the menus from appearing in the UI and might just be enough.

Manivannan Santharam October 5, 2016

I tried the same and it didnt work.

3 votes
MatthewC
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 6, 2011

You can do it on a space by space basis, simply restrict the permission to create blog posts. Could be over-ridden by a space admin but it depends how many rights you give your users. Use a standard template space and the Copy Space plugin to save having to do it for every.

To keep an eye anyone been given the permission you can run a SQL report

select spaces.spacekey, spaces.spacename, spacepermissions.*
from SPACEPERMISSIONS, spaces
where spacepermissions.spaceid=spaces.spaceid
and
SPACEPERMISSIONS.permtype = 'EDITBLOG'
order by spaces.spacename
Ian December 12, 2017

@MatthewC Thanks for the suggestion above but now in my case we have 1000+ users hence going space by space to disable blogs on personal spaces is not ideal.What can you suggest the approach we should take?

And also how can we prevent blogs being created in personal spaces in future?

TAGS
AUG Leaders

Atlassian Community Events