FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Adding another moderation type (How do I go about this?)
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
Adding another moderation type [message #168557] Thu, 23 May 2013 11:51 Go to next message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: June 2012
Location: Oceanside
Karma: 6
Senior Member
add to buddy list
ignore all messages by this user
There is one more piece of functionality that I need to add to FUDforum to make it more anti-spam, but I'm not sure of the logistics of doing so. (I have this feature on my current forum.)

It is to add a moderation option under the "Moderator user's first N posts" in Global Settings.

Moderate user's messages until approved
Queue all of user's posts for approval until any of user's posts have been approved. Once a moderator has approved any of their posts, all further posts for that user will be unmoderated. This will generally stop all spam, but it does require moderators to moderate more posts.

It would be a Yes/No drop down list that is set to No by default.
It requires a new table in the database that lists all users that have been moderated, or a value in each user's profile that says they have been moderated. The latter is probably more proper, right?

This has been a bulletproof anti-spam measure for my large forum, but it does mean I have to moderate any new users. But being bulletproof is more important because I forward posts out to external mailing lists that I don't control, and they get very touchy when I spam them. Wink

Assuming you're OK with me adding this functionality to the core, how do we go about this?

[Updated on: Thu, 23 May 2013 11:52]

Report message to a moderator

Re: Adding another moderation type [message #168558 is a reply to message #168557] Thu, 23 May 2013 12:09 Go to previous messageGo to next message
naudefj is currently offline  naudefj   
Messages: 3624
Registered: December 2004
Karma: 17
Senior Member
Administrator
Core Developer
remove from buddy list
ignore all messages by this user
Wouldn't that be the same as setting "Moderate user's first N posts" to 1?

First post is queued, second is queued, etc. You can continue to reject them, but the first one you approve will change the user's status to unmoderated. Future messages from that user will then be posted without having to be approved.
Re: Adding another moderation type [message #168561 is a reply to message #168558] Thu, 23 May 2013 12:37 Go to previous messageGo to next message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: June 2012
Location: Oceanside
Karma: 6
Senior Member
add to buddy list
ignore all messages by this user
Thanks for the quick reply!

The description on that feature says that when the number of a given user's posts go above N (e.g. 1), then their posts are now unmoderated.

As I understand that, if I set it to 1, their second (and all subsequent) posts would be unmoderated -- which is not what I want. I want a human moderator to look at their post(s) and see if it's something that should be in our forum. Then I want all further posts from them to be unmoderated.

I suppose I could set it to something ridiculous like 999. Are you saying that if I did that, and then approved one of their posts, they would now be unmoderated even though they have written fewer than 999 posts?

Here are a few scenarios:

1. Real, new user really gets into the forum and answers/posts 5 questions right away. I moderate his first post and say it looks good. What happens to the other four questions? Must I moderate them as well, or will they automatically get approved when I approve the first post?

2. Spammer goes crazy and posts 300 posts via some automated tool. Is there an easy way to disapprove all of his/her queued posts? Any chance there is a "disapprove and ban" button? If not, can I add one?
Re: Adding another moderation type [message #168562 is a reply to message #168561] Thu, 23 May 2013 14:14 Go to previous message
cpreston is currently offline  cpreston   United States
Messages: 160
Registered: June 2012
Location: Oceanside
Karma: 6
Senior Member
add to buddy list
ignore all messages by this user
OK, I answered most of my own questions via testing.

It does work like you say. All of a new user's posts are moderated until they have successfully posted 1 post. What I didn't understand is that they haven't successfully posted anything until a moderator has approved their post. FWIW, I think the description field should be enhanced a bit to explain that.

Also, you do have to approve or delete all of the queued messages individually. I'm curious about adding two buttons: "Approve All by this User" and "Delete All by This User and Ban". (We could shorten to "Approve User" and "Delete Post and Ban User" if you think we should. The latter would be used in the case of true spammer that has flooded your board with viagra ads. Wink

What do you think?
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: Karma/user reputation patch
Next Topic: LDAP with SSL support (LDAPS)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 22 17:14:05 EDT 2017

Total time taken to generate the page: 0.00730 seconds