Skip to main content
Open

Hide content from public groups for non-members

Related products:CC Groups
  • August 25, 2022
  • 6 replies
  • 52 views

KellyBebenek

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

 

6 replies

Sebastian
Forum|alt.badge.img+1
  • Helper ⭐️⭐️⭐️
  • March 28, 2023

@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!


Sebastian
Forum|alt.badge.img+1
  • Helper ⭐️⭐️⭐️
  • March 28, 2023
NewOpen

Johnk
  • Helper ⭐️
  • January 18, 2024

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! 


Laurenseife

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.  


cclements
Forum|alt.badge.img
  • Contributor ⭐️⭐️⭐️⭐️
  • August 11, 2025

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


ahamburg9
Forum|alt.badge.img+2
  • Helper ⭐️⭐️
  • August 12, 2025

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>