Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nautbot - Vendor Post Limit Enforcement #19

Open
nautbot opened this issue Mar 23, 2018 · 6 comments
Open

Nautbot - Vendor Post Limit Enforcement #19

nautbot opened this issue Mar 23, 2018 · 6 comments
Assignees
Labels
AWAITING CLOSURE Should be done, Owner needs to verify & close BIG Bigger features/tasks that will take some time to implement. enhancement New feature or request TODO Let's do it!

Comments

@nautbot
Copy link
Contributor

nautbot commented Mar 23, 2018

Post limit enforcement worked something like this:

  • All vendors were assigned a "dealer" CSS flair, which made their visible flair on the sub and flagged them for Nautbot.

  • Nautbot continuously scanned new posts to gundeals, recording username, user flair, url, etc.

  • When a post by a user with "dealer" flair was found, Nautbot would compare the post's timestamp with the user's previous post.

  • If the previous post was less than 166 hours earlier (two hour buffer), Nautbot would send a message to modmail with the username and links to both posts for us to review.

  • All enforcement (removing posts/temp bans) was that done at the moderators' discretion, as often times we were seeing an immediate delete due to a title error.

Obviously, we can do checks at time of post.

@nautbot nautbot added enhancement New feature or request BIG Bigger features/tasks that will take some time to implement. TODO Let's do it! labels Mar 23, 2018
@psineur psineur added this to the v.3 - Convenience & UI milestone Mar 23, 2018
@nationwide13
Copy link
Collaborator

Is there anything else we want to provide vendors with that's different from normal users? (Besides visual)

We need to determine a way to flag users as vendors (possibly similar to admin) and then we can send a message in the post submit controller.

Would you want to explore providing a warning to vendors?

"Warning: this is your second submission in less than 166 hours. As a vendor, this action could result in a ban. Please confirm and submit"

I'm no good with copy, but the idea is to remind them of the limit.

@nautbot
Copy link
Contributor Author

nautbot commented Mar 24, 2018

We'd like enforcement to be at moderator discretion. In many cases, the vendor goofed their title and was doing a quick delete/replacement.

@nationwide13
Copy link
Collaborator

That'd be the goal. I haven't explored what postmill provides for a modmail replacement yet, but we'd create a message and send it to the mods

@DEVxALMIGHTY
Copy link

DEVxALMIGHTY commented Mar 24, 2018

Collected more details on this feature from @nautbot

The below message (Desktop) was sent to forum moderators and each moderator could comment - similar to a group chat. This is referred to as "modmail".

This is a feature that we want to mimic to support Vendor Post Limit Enforcement.

Desktop

image

Mobile

image

@nationwide13
Copy link
Collaborator

PR has been opened #175

@nationwide13
Copy link
Collaborator

To use this:

Pre-Requisite: To add a rate limit, at least 1 User Group must exist. This requires Admin privileges and is in the admin menu. It's also ineffective if that group does not have any members.

Steps:

  1. On the forum page there's a new option in the mod toolbox: Edit NautBot Settings
  2. Select "Add a new rate limit"
  3. Select the appropriate group
  4. Set a rate
  5. Save

Now if any member of that group posts multiple times and the time gap between the posts is shorter than the rate number, a mod thread will be created.

@psineur psineur added the AWAITING CLOSURE Should be done, Owner needs to verify & close label Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AWAITING CLOSURE Should be done, Owner needs to verify & close BIG Bigger features/tasks that will take some time to implement. enhancement New feature or request TODO Let's do it!
Projects
None yet
Development

No branches or pull requests

4 participants