Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I need to recognize when the hook is fire in the pages, because for some pages in my plugin I need to do something.
plugins.fireHook('filter:topics.get', {topics: topics, uid: uid}, next);
is there some method that I can use to do this?
You can use the filter:<templateName>.build hooks. For the category page it would be filter:category.build, for a topic page it would be filter:topic.build and so on.
filter:<templateName>.build
filter:category.build
filter:topic.build
J
Please contact your host about installing npm (unless you can do it yourself)
O
@Tahru This pluggin dettects users active on Slack-ware services like Rocket.chat or Mattermost?
Oh awesome, a LaTeX plugin! Very cool 😄
@pitaj Thanks!
?
I'm sure you can find an existing script to detect adblockers and display messages in place of ads.
I haven't looked extensively into it, but this site should have something similar to what you need.