Advertise activity in a private category (discourse-category-lockdown)

Hey @fzngagan

Done!

FYI the wizard plugin dropdown picker does not list this plugin. I chose Custom Wizard instead.

1 Like

We’ll get it added soon.

1 Like

Anyone tested this recently with the latest version of Discourse? This plugin is crucial to my site but also has broken my site during upgrades :man_facepalming:

1 Like

I have it active on a test instance alongside the following plugins and components without issues. 2.7.0.beta9 ( 4da86210f8 )

2 Likes

Sorry if it’s a silly question, but I’m trying to make a Discourse with the following requirements:

  1. Unregistered users can see all topic but restricted to only 3 posts per topic.
  2. Registered (and paid) users have access to everything.

After 3 posts per topic, a ‘Register to view more’ box will be shown.
Is it possible with this plugin? Or any built-in feature. Sorry, I’m new to Discourse. Thank you, all for the wonderful work. Thanks in advance!

1 Like

No. This is a very specific requirement which would need some bespoke work to be done.

@fzngagan Would this plugin also work with the Discourse-docs: Documentation Management Plugin and Discourse Docs Card Filter Component? My idea is to have closed categories’ cards as well as their posts showing in /docs as well. so that users will be redirected to the URL.

Apparently the TC pulls the categories this way (source):

@discourseComputed("category")
  categoryInfo(category) {
    return this.site.categories.findBy("id", category.id);
  },
2 Likes

The discourse-category-lockdown plugin breaks the Discourse Chat (Alpha). they seem to be incompatible. Too bad since the category lock is a great plugin and chat is coming up strong.

2 Likes

There is no workaround?

Everything broke in 2019. Maybe everything is still broken…

No, we’re using this in production since 2018 or so.

Did you see this?

Have you tried it with the chat plugin?

I was merely responding to the suggestion that the entire plugin was broken since 2019.

And did you see this?

image

1 Like

Just to check, so this commit means it does currently work with Chat?

@Mr.X_Mr.X @matenauta

Ah. No sorry. That’s what I expected was the case, but I wasn’t clear. It’s hard to make sense of this topic that spans years!

1 Like

Just to update this topic. Am using this plugin and no actual errors or bugs that I know off.

3 Likes

Haven’t upgraded my Discourse instance in a long time and this plugin is a key part of my community. Is it still supported in latest version?

2 Likes

yes, its working @dylanb
my discourse is 2.9.0.beta9 version (september/2022)

thank you for sharing @fzngagan
very useful to me

3 Likes

Is it possible to continue the development of this plug-in to restrict the content viewing for unauthorized users? User Page Activity listing to be more specific.

1 Like

I cannot seem to find a way to activate the lock to redirect a category to a single URL? How do I do that?