إغلاق فئة النقاشات

It’s merged now!!:tada::confetti_ball:

Thanks to @RGJ for quick review.

5 إعجابات

Fix works great. thanks @fzngagan

إعجاب واحد (1)

Guys, I’ve just merged in two PRs from @RGJ

  1. The toggle on category settings was broken which is fixed now.
  2. A new feature to allow crawler to see the locked content based on the setting category lockdown allow crawlers

Thanks for the great work Richard. :tada:

7 إعجابات

Is there a way to show pop-ups instead of redirecting to an options page?

Well, I found the answer here with the login popup.

إعجاب واحد (1)

Quick feature request: How about adding a css class to the div for each individual topic?

<div data-topic-id="xxxx" id="emberxxxx" class="topic-status ..."></div>

Use case: I am using TLP plugin and I would like to blur the topic thumbnail and add an overlay icon. With such css class I would be able to easily target the thumbnail.

إعجاب واحد (1)

I’m not sure it’s necessary, since the plugin is set for a category you can target it using the category-‘nameofyourcategory’ class in the tr tag. It comes before the thumbnail

If the name of your private category is “premium” you can use something like this

tr.topic-list-item.category-premium .topic-thumbnail {
    blur: 
}
إعجاب واحد (1)

Isn’t that applied to users with access to the category as well? Obviously they are supposed to see thei thumbnails clearly :slight_smile:

إعجاب واحد (1)

Can you post a feature request here @ Feature Request

Hey @fzngagan

Done!

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

إعجاب واحد (1)

We’ll get it added soon.

إعجاب واحد (1)

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)

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

إعجابَين (2)

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)

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

@fzngagan هل ستعمل هذه الإضافة أيضًا مع Discourse Docs و https://meta.discourse.org/t/discourse-docs-card-filter-component/187947؟ فكرتي هي أن تكون بطاقات الفئات المغلقة بالإضافة إلى مشاركاتها معروضة في /docs أيضًا. بحيث يتم إعادة توجيه المستخدمين إلى عنوان URL.

يبدو أن TC يسحب الفئات بهذه الطريقة (source):

@discourseComputed("category")
  categoryInfo(category) {
    return this.site.categories.findBy("id", category.id);
  },
إعجابَين (2)

يعطل المكون الإضافي discourse-category-lockdown تطبيق Discourse Chat (Alpha). يبدو أنهما غير متوافقين. من المؤسف أن قفل الفئة هو مكون إضافي رائع وأن الدردشة تتقدم بقوة.

إعجابَين (2)

لا يوجد حل بديل؟

كل شيء انكسر في عام 2019. ربما لا يزال كل شيء مكسورًا…

لا، نحن نستخدم هذا في الإنتاج منذ عام 2018 تقريبًا.

هل رأيت هذا؟

هل جربته مع ملحق الدردشة؟