So they're getting around your captcha for registration? Would the registration question help any more than the captcha?
kinetix
Posts
-
Blocking chinese spam -
Change default category watch state for administrator@baris Sorry about that - yup, that got it. Thanks so much for the clue bats!
-
Change default category watch state for administratorHmm... closer, the error is different now:
error: TypeError: Cannot read properties of undefined (reading 'user')
I've pushed the changes to my repo.
-
Change default category watch state for administratorHmm, ok, I wonder what I'm doing incorrectly then. Maybe I stripped too much out of the quickstart or I haven't done something properly when updating the library.js? Here's the code:
GitHub - realkinetix/nodebb-plugin-auto-set-watch-categories: Plugin to set category watching on user creation
Plugin to set category watching on user creation. Contribute to realkinetix/nodebb-plugin-auto-set-watch-categories development by creating an account on GitHub.
GitHub (github.com)
-
Change default category watch state for administrator@baris Hmm, ok, I think I'm close to having built this small plugin. It's tripping up on the setting of the watch state, with:
error: TypeError: user.setCategoryWatchState is not a function
The only thing I've tried to deal with this error so far is to add in to library.js:
const user = require.main.require('./src/user');
And unfortunately that didn't change anything with regard to the error. I presume I'm close here but am not sure what else is missing to cause the lack of the function.
-
Change default category watch state for administratorAh, got it, thank you!
-
Change default category watch state for administrator@baris Thank you for the detail, and please pardon my ignorance - is that code snippet an entire plugin unto itself that I could add in? (I haven't looked at how they're added in manually yet, what the minimal code looks like, etc)
-
Widget layout issue?Awesome!
-
Widget layout issue?@baris Interesting - so I've added the plugin in and can see how it operates, thanks for that. I'm curious then - shouldn't the example screenshots for the theme not include something that the theme doesn't do by itself? It really wasn't obvious to me that you couldn't get the look of the example without having to install a plugin to make it happen. (Categories example screenshot at https://github.com/nodebb/nodebb-theme-harmony )
-
Change default category watch state for administrator@baris Shouldn't that be up to an administrator to determine whether this is acceptable for their forum or not? We're trying to get a society to use nodeBB but if we can't even get notifications to users in an "Announcements" category without having to tell them they have to click buttons to turn the feature on, it's just another barrier to getting people moved to the forum and having them return when there's activity.
Is there another path for a very small group / community that gets notifications/emails to people by default when there's activity? If not, why would we migrate out of an email distribution then?
-
Widget layout issue?Hi there,
Running 3.10.2 and am still fairly new to NodeBB admin.
I'm trying to get widgets to layout beside each other similar to community.nodebb.org's Categories page, as well as the layout shown in Harmony theme's Categories example screenshot.
I drag widgets over to the Categories Header area, and no matter what I do they only stack vertically. I haven't found any way for the widgets to go beside each other, and am curious if I've hit a weird issue, or if I'm just missing something obvious.
-
Can't purge categoriesThanks for that - I applied the fix and I now see how it works.
-
Can't purge categoriesHowdy!
I was running 3.9.1 and just upgraded to 3.10.1. Both prior to the upgrade and now, I haven't been able to delete categories - which is what I believe "Purge Category" is meant to mean, but I don't see any documentation around this.
The Purge Category button seems to do nothing, in any category. I can't find any way to delete categories I don't want, and after creating a new test category I can't get rid of it either.
Am I missing something, or is there something I can do to find out why the button seems to do nothing? (This is happening in both Firefox & Chrome desktop versions on Linux, and when looking at the developer tools in Firefox there's not really anything that seems to happen anywhere when I click on the button - but, I'm not an expert at debugging sites, so I could easily be not doing the right things to get useful information out of it)