Is there any way to make content within a post available only to logged in users?
The use case I’m thinking of is virtual event postings. We have a ton of working groups in our community that meet virtually. We’d like to let casual visitors know that the groups and meetings exist – and when they are happening – but we don’t want to post the zoom links publicly.
Thanks. That comes close. The ideal thing would be a way of formatting content within a post so that the rest of the post shows up for all and a message such as “link only available to logged-in users” shows up if you’re not logged in, but it looks like whispers will work well for now.
Newbie admin here, so still trying to find my way around all the functionality.
I don’t know much about Discourse modifications, but that seems a bit tricky and would require a plugin if you don’t want it circumvented by someone who knows how to tweak client-side code.
I’ve developed a theme component that allows to hide posts on the front end from users who are not logged in. Of course, if they are people with rich development experience, they can easily get it directly from the backend.
I haven’t packaged this component yet, so please use the code below directly.