@dave1904 I’d start by adding a console.log function to hookData so you can see what is being returned
return hookData; console.log(hookData):nodebb-plugin-reactions not working @v1.0.2 with Harmony theme
-
Yes, I also have that bad feeling only reset would help. Anyway here is the output:
Active plugins: * @nodebb/nodebb-plugin-reactions@1.0.2 (installed, enabled) * nodebb-plugin-2factor@7.0.5 (installed, disabled) * nodebb-plugin-beep@0.4.7 (installed, disabled) * nodebb-plugin-composer-default@10.0.48 (installed, enabled) * nodebb-plugin-contact-page@1.3.0 (installed, disabled) * nodebb-plugin-custom-pages@2.0.3 (installed, enabled) * nodebb-plugin-customize@3.0.0 (installed, disabled) * nodebb-plugin-dbsearch@6.0.0 (installed, enabled) * nodebb-plugin-email-blacklist@2.0.0 (installed, disabled) * nodebb-plugin-emoji@5.0.6 (installed, enabled) * nodebb-plugin-emoji-android@4.0.0 (installed, disabled) * nodebb-plugin-emoji-one@4.0.0 (installed, enabled) * nodebb-plugin-emoji-vital@4.0.0 (installed, disabled) * nodebb-plugin-markdown@12.0.2 (installed, enabled) * nodebb-plugin-mentions@4.1.0 (installed, enabled) * nodebb-plugin-newsletter@0.10.2 (installed, disabled) * nodebb-plugin-night-mode@1.0.7 (installed, disabled) * nodebb-plugin-ns-likes@3.0.0 (installed, disabled) * nodebb-plugin-ntfy@1.0.15 (installed, disabled) * nodebb-plugin-poll@3.0.4 (installed, enabled) * nodebb-plugin-question-and-answer@1.0.18 (installed, enabled) * nodebb-plugin-recent-cards@3.1.11 (installed, enabled) * nodebb-plugin-shoutbox@2.0.4 (installed, disabled) * nodebb-plugin-spam-be-gone@2.0.6 (installed, enabled) * nodebb-plugin-tenor-gif@3.0.0 (installed, enabled) * nodebb-plugin-youtube-embed@0.6.9 (installed, enabled) * nodebb-rewards-essentials@0.2.3 (installed, enabled) * nodebb-theme-harmony@1.0.1 (installed, enabled) * nodebb-theme-lavender@7.0.9 (installed, disabled) * nodebb-theme-peace@2.0.19 (installed, disabled) * nodebb-theme-persona@13.0.56 (installed, disabled) * nodebb-theme-slick@2.0.2 (installed, disabled) * nodebb-theme-vanilla@12.1.19 (installed, disabled) * nodebb-widget-essentials@7.0.9 (installed, enabled) * nodebb-widget-ns-stats@3.0.0 (installed, disabled)
-
Instead of a complete reset, would you be open to disabling all plugins apart from the stock ones, plus emoji, emoji android, and reactions?
Obviously you’ll need to perform a rebuild and restart.
-
Do you know if I would have to reconfigure all the disabled plugins?
-
@dave1904 no, that won’t be necessary. Disabling them means that they won’t be loaded, but will keep their settings.
-
@phenomlab Yes I just thought I could have checked that myself on dev Yes I would try that but is there a list of the stock plugins?
-
@dave1904 umm. That’s a good question. I’m not sure there is. Let’s start with the below
@nodebb/nodebb-plugin-reactions nodebb-plugin-composer-default nodebb-plugin-emoji nodebb-plugin-emoji-android nodebb-plugin-markdown nodebb-plugin-mentions nodebb-theme-harmony
If
reactions
starts playing ball, then we enable the other extensions. -
@phenomlab Thanks. I will try it tomorrow as it’s already late here
-
@dave1904 yep. You know where I am if you need me.
-
@dave1904 just checking in - any joy ?
-
Hi @phenomlab , I just disabled all the plugins except the mentioned ones, rebuilt and restarted the forum but still the plugin doesn’t fire. I guess I really have to reset the forum then.
-
@dave1904 sadly, yes, seems there’s no other viable route here.
-
@phenomlab Yes but for me that’s not worth it, I would rather try to develop a new plugin (featuring notifications) hehe.
-
@dave1904 just coming back to this thread as @DownPW and I both experienced issues with other plugins today, and the fix was to use the plugin ordering in the ACP and move the Harmony theme to the very top so it comes before everything else in terms of other plugins.
It might be worth at least trying this to see if it gives you a result rather than the previous bulldozer approach. Thinking about it, the previous fix I proposed is along the same lines and disabling plugins does in fact change the order when they are enabled again, so this is definitely worth a try.
Let me know how you get on.
Did this solution help you?
Related Topics
-
-
-
Welcome to NodeBB V3!
Pinned Moved General -
-
-
-
Nodebb Hashtag plugin
Solved General -