How to hide the Network tab from User profiles in Confluence
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
This guide is for informational purposes and is not eligible for support from Atlassian. If you have any questions about the information on this page, please reach out to our Atlassian Community for help.
Summary
The Network Overview allows you to Create a network of users who are important to you, to make sure you're always up-to-date with their Confluence activity. You might want to follow your boss or teammates, to see what they're working on, or whoever creates the most entertaining blog posts. If you need to disable the Network tab from user profiles menu you may do so by using JavaScript.
Solution
- Navigate to Confluence Administration page >> Custom HTML.
- Click Edit.
Add the following Javascript to At the beginning of the BODY section and click Save:
<script>
AJS.toInit(function() {
AJS.$( ".pagebody.user-profile a:contains('Network')" ).parent('li').hide();
AJS.$( "#user-menu-link-user-content a:contains('Network')" ).parent('li').hide();
});
</script>
We have a feature request created for the same: CONFSERVER-16032 - Allow disabling of social features "Network" and "Follow" in Confluence