1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do you limit a specific user's time to change or delete a post

Discussion in 'XenForo Questions and Support' started by HydraulicJack, Apr 19, 2012.

  1. HydraulicJack

    HydraulicJack Well-Known Member

    Once in a great while a user has thrown a tantrum on our site and has threatened to delete all posts they've ever made, all threads they've ever created, etc.

    How does one restrict the time a Regular user can edit or delete a post (or thread)?

    How does one reserve such rights only to persons with Moderator rights? Likewise for persons with Admin rights?

    If this requires customization, is there a solution available? If not, I'd appreciate suggestions.

    MANY thanks!
     
  2. Floris

    Floris Guest

    It's a per usergroup setting.
    Screen Shot 2012-04-19 at 9.18.50 PM.png
     
  3. HydraulicJack

    HydraulicJack Well-Known Member

    You da MAN, Floris... Dank u!
     
  4. Digital Doctor

    Digital Doctor Well-Known Member

    Obviously the people who are really going to delete all their posts aren't going to warn you.
    Settings done on a user by user basis won't work as you'll only know you need it when it's too late.
     
  5. Floris

    Floris Guest

    Just give premium members (long term ones) a bit more freedom, but say 24h for active posts, and newbies get a few minutes. Nothing wrong with that. Moderators get up to a few months, and admins more. Though you should have the mods sign a contract so you can cash in when they abuse their powers and break the contract.
     
    Digital Doctor likes this.
  6. Digital Doctor

    Digital Doctor Well-Known Member

    Is there an easy way to "roll back" deleted or vandalized posts ?
     
  7. Floris

    Floris Guest

    For every team member that is not me, I set hard delete to always NO.
    This way when they're douches and delete their content, it's soft-deleted, you can then try to find them again and change them to undelete with inline moderation.

    Checkbox at post, select it, go through all the threads, and in 1 sweep undelete them.
     
  8. Digital Doctor

    Digital Doctor Well-Known Member

    Excellent tip.

    No mass restore ?
     
  9. Floris

    Floris Guest

    I do not think if you search for a user's content that soft-deleted content is in the list as well.

    You could do a manual query in phpmyadmin for example, I guess, to change the value from soft deleted to public , for that user id, but I don't know if this has a side effect (what if first post is a thread?) .. perhaps Jake knows.
     
  10. HydraulicJack

    HydraulicJack Well-Known Member

    Yep that's why I set the default to 24 hours, then they have to ask. If somebody wants more time, I can give it to them, but then we're in conversation, so that's a plus.

    Also I really appreciate the function of a SOFT delete!
     

Share This Page