Any ideas how to update discourse-bbcode-lock

(是如) #1

After I installed the discourse-bbcode-lock plugin, I saw the following errors: “Uncaught TypeError: Cannot read property ‘addPreProcessor’ of undefined”.

I can locate the code in here.

I think this plug in has been broken due to the API change. So I wonder if there’s any tutorial or advice for me to update this plugin?


(Vinoth Kannan) #2

You can use Content Lockers - using pop-ups plugin instead.

(是如) #3

Thanks for your suggestion.

What I want to do is just hide some links for guests. Only signed user can view those links.

The bbcode-lock seems to show the popup to every guests?