[nodebb-plugin-cash] Cash MOD
-
how hard would it be to modify this plugin to upvotes instead of character counts?
-
@leksar
https://github.com/rbeer/nodebb-plugin-cash/tree/comp-0.7
In this state the admin page is working again. I'm not sure about the importance of that isAPI flag, that's been checked for. Haven't seen it around other code of that sort (in other plugins) and it is set 'true' no matter where the call comes from, so I guess it's ok to have it ignored. Settings are being saved.On the public side of things, the plugin works for lavender-theme, but not the new persona. My best guess now would be, that "filter:posts.custom_profile_info" doesn't exist anymore or handles its data differently, than in 0.6. I didn't get into it yet, though.
-
Turns out, that the hook works just fine on both themes.
(Why wouldn't it, actually? It's server-side after all. Who was saying... oh well )
Problem here seems, that the custom_profile_info block is missing in persona, at all. Once I copied it over (highlighted in editor) from lavender, plugin-cash rendered again as expected:
-
After a few hours of testing and I was dissabling all plugins and enable them one by one and see if my problem was solved. I hate to say it, but the problem was this plugin. I enabled all plugins beside this one and my NodeBB worked again.
I think this plugin is not compatable with 1.5.1
I hope I help you with this information.