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

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

This widget could not be displayed.
David Simpson Community Champion 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 Simpson Community Champion May 26, 2014

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

tried that. didn't work. any ideas?

Hi David,

 

A similar script for the new (Modern) Dashboard?

 

BR,

 

Normann

This widget could not be displayed.

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
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

473 views 6 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you