url, ip, agent
@julian I will be using a module, but if you can get these in, why not add the rest for more accurate results, most of them are accessible from the req
object - but then again, there is the sockets
issue that @baris brought up.
@psychobunny I was hoping to get some sort of ACP panel to moderate the Posts and Registrations, along with augmenting the .post-tools
to add a report
as spam btn. but I have a feeling I'm going to hit some dead ends doing this outside of the core.
Honestly, I feel like this sort of structure should be built in core, on top of the Plugins
infrastructure, just like the emailer
"system", where nodebb would keep track of a property on each user as spammer == '1'/'0'
(kinda like banned) and flag every post they post as spam = '1'
automatically, but still fire off couple of hooks to notify the "plugins" that are installed to handle the Checking ONLY, but the decision of what to do with the spammers and spam post is up to NodeBB - similar to the WP structure, and again, the Emailer plugins-structures, so we would write something like these two instead.
nodebb-plugin-antispam-akismet
nodebb-plugin-antispam-stopforumspam
and the NodeBB.hooks would flag posts and users appropriately.
However, since the NodeBB structure is very flexible, and modular, I know that I can probably still DO most of that with a plugin, but I would have to Augment every user:{id}
at each user.create
, if flagged as spammer, but how would I gracefully prevent registration without throwing an error? or maybe let the user register, but only flag them as spammer.. but still let them know about it... same with post.create