Skip to main content
KellyBebenek
Helper ⭐️
Aug 25, 2022 9:15 PM UTC
Parked

Hide content from public groups for non-members

Related products:CC Groups

We have a need to have a public group, but the information in the public group is only for the group, not all audience, this why it’s a group and not a category.

I don’t want posts that are in a public group to show up in the general activity feed.  Posts should only show in the general activity feed if you are a member of that group.

Is this possible to do with coding,

if not, can you make this improvement.

Thanks

 

7 replies

Sebastian
Helper ⭐️⭐️⭐️
Mar 28, 2023 7:00 AM UTC

@KellyBebenek Apologies for the late engagement on this idea. We’re planning some big improvements to Groups later this year, and this is definitely on the shortlist!

Translate
Sebastian
Helper ⭐️⭐️⭐️
Mar 28, 2023 7:00 AM UTC
New→Open
Translate
Johnk
Helper ⭐️
Jan 18, 2024 3:37 PM UTC

Would love to see this as well! We have groups broken up by industry and have had issues where members from other industries chime in due to seeing it in the activity forum. Appreciate that it’s on the short list! 

Translate
Laurenseife
Jun 6, 2025 4:21 PM UTC

Hi, checking to see if there has been any update on this. 

 

Ideally I’d love a use case where the Groups and applicable conversations were only viewable by registered users of the community, and not the “private” setting that requires users to be group members.  

Translate
cclements
Contributor ⭐️⭐️⭐️⭐️
Aug 11, 2025 9:14 PM UTC

Hi ​@Sebastian Also adding to ​@Laurenseife’s inquiry :) Any update to the roadmap on this one?

Translate
~ Courtney Clements
ahamburg9
Helper ⭐️⭐️
Aug 12, 2025 3:59 AM UTC

While you wait for the idea to get some traction, I feel like you could potentially do something here with a third-party script. If you have a developer at your company who could help out, that would be ideal.

 

In the meantime, it could look something like this:

 

<script>
(function() {
// Wait until the DOM is fully ready
document.addEventListener("DOMContentLoaded", function() {
try {
// Check if user is registered
const user = window.inSidedData?.user;
const isRegistered = user && user.role && user.role.includes("Registered");

if (isRegistered) return; // Don't hide anything from registered users

// Query all group cards
const groupCards = document.querySelectorAll('.group-overview-item');

groupCards.forEach(card => {
const label = card.textContent || '';
if (label.includes("Public group")) {
card.style.display = 'none';
}
});

console.log("Public groups hidden for non-registered user.");
} catch (err) {
console.error("Error hiding public groups:", err);
}
});
})();
</script>

 

Translate
Product Manager
Sep 23, 2026 10:09 AM UTC
Thanks for the feedback and the idea! We don't have plans to work on this this year, so we'll be parking this idea for now and will revisit it later.
Translate