Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide all user updates from one user on the main dashboard

John Shaw
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 9, 2014

Hello,

I am working on a script using xmlrpc to update a confluence page once a day from tests that run over night. There are several pages that need to be updates, however, I do not want the updates to appear on the main dashboard's "Popular" stream, or even on the "All Updates" stream.

I have tried writing the pages using xmlrpc with the minor_edit set to True, but they still appear in both streams.

I have a specific user account that does not do anything else, so is there a way to just completely hide all updates from this user from the main dashboard?

Thanks!

2 answers

1 accepted

3 votes
Answer accepted
David at David Simpson Apps
Atlassian Partner
May 26, 2014

Hi John

In Confluence Admin | Look & Feel | Custom HTML | At the END of the HEAD, paste:

var hiddenUser = 'david'; // Change this as required

	AJS.toInit(function ($) {
		var hideUpdates = function () {
			AJS.$('#recent-updates a[data-username="' + hiddenUser + '"]').parents('.grouping,.stream-item').hide();
		};
	
		hideUpdates(); // for the initial page load
		$('#recent-updates').ajaxComplete(hideUpdates); // for tab clicks
	});

This will hide all updates from the user david and will also hide any updates when you click on different tabs in the activity stream.

David at David Simpson Apps
Atlassian Partner
May 26, 2014

@John Shaw: If it works, mark it as correct ;)

Jo
Contributor
August 5, 2014

tried that. didn't work. any ideas?

Normann P. Nielsen - TDC/Netic October 24, 2017

Hi David,

 

A similar script for the new (Modern) Dashboard?

 

BR,

 

Normann

0 votes
Rodrigo Girardi Adami
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 26, 2014

Hi John,

I believe there's no way to do that for some specific user, however you can do for all users by disabling some plugins as we can see in this answer.

go to the Dashboard Macros plugin, click Manage plugin modules and disable the Popular Tab module.

Cheers,

Rodrigo

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events