Yeah, so then you're probably on v.1.1.2 or close to it. You need to wipe your DB, and then start over, checking out v1.0.0: cd <your NodeBB directory> && rm -rf node_modules && git checkout v1.0.0 && ./nodebb install
How to get topicData in filter:topic.thread_tools
-
Hi,
I need to add an entry in the ThreadTools menu.
Based on the value of the topic I want to display "Set ..." or "Unset ...".
How can I get the topicData using the hook filter:topic.thread_tools. -
Hi this is not possible with the current data passed into the hook. We can add the necessary data in 0.7.0 since its a breaking change.
-
Thanks @baris ,
for now, I'll find an alternative solution for my plugin. -
This is now on master. The data that is passed to the filter includes the topic, the uid of the current user and an empty
tools
array.