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

Ban Thread 1.4

When a ban is issued, a new thread is automatically created for staff members.

  1. AndyB

    AndyB Well-Known Member

    AndyB submitted a new resource:

    Ban Thread - When a ban is issued, a new thread is automatically created for staff members.

    Read more about this resource...
     
  2. AndyB

    AndyB Well-Known Member

  3. Brent W

    Brent W Well-Known Member

    We are getting the same error:

    Code:
    erver Error Log
    Error Info
    XenForo_Exception: Please enter a name that is at least 3 characters long. - library/XenForo/DataWriter.php:1345
    Generated By: Unknown Account, Yesterday at 7:30 PM
    Stack Trace
    #0 /home/nginx/domains/christianforums.com/public/library/XenForo/DataWriter.php(1387): XenForo_DataWriter->_haveErrorsPreventSave()
    #1 /home/nginx/domains/christianforums.com/public/library/Andy/BanThread/CronEntry/BanThread.php(206): XenForo_DataWriter->save()
    #2 [internal function]: Andy_BanThread_CronEntry_BanThread::runBanThread(Array)
    #3 /home/nginx/domains/christianforums.com/public/library/XenForo/Model/Cron.php(357): call_user_func(Array, Array)
    #4 /home/nginx/domains/christianforums.com/public/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
    #5 /home/nginx/domains/christianforums.com/public/library/XenForo/Model/Deferred.php(294): XenForo_Deferred_Cron->execute(Array, Array, 7.9999980926514, '')
    #6 /home/nginx/domains/christianforums.com/public/library/XenForo/Model/Deferred.php(428): XenForo_Model_Deferred->runDeferred(Array, 7.9999980926514, '', false)
    #7 /home/nginx/domains/christianforums.com/public/library/XenForo/Model/Deferred.php(373): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #8 /home/nginx/domains/christianforums.com/public/deferred.php(23): XenForo_Model_Deferred->run(false)
    #9 {main}
    Request State
    array(3) {
      ["url"] => string(43) "http://www.christianforums.com/deferred.php"
      ["_GET"] => array(0) {
      }
      ["_POST"] => array(3) {
        ["_xfRequestUri"] => string(59) "/threads/just-count-however-you-want-to-192.7602645/page-44"
        ["_xfNoRedirect"] => string(1) "1"
        ["_xfResponseType"] => string(4) "json"
      }
    }
     
  4. electrogypsy

    electrogypsy Active Member

    a nice option would be to exclude announcing users that get banned through the spam cleaner.
     
    upnet and RoyalRumble like this.
  5. RoyalRumble

    RoyalRumble Active Member

    It needs this IMO.

    90/95% of bans are spam.
     
  6. RoyalRumble

    RoyalRumble Active Member

    This also doesn't generate a thread when a member is banned via the warning system.
     
    Westingham likes this.
  7. viper357

    viper357 Active Member

    Hi Andy, I received an error today, I'm not sure what caused it but I see this add-on is mentioned, perhaps you could have a look and let me know? Thanks. :)

    Server Error Log
    Error Info
    XenForo_Exception: Please enter a name that is at least 3 characters long. - library/XenForo/DataWriter.php:1359
    Generated By: Unknown Account, Today at 07:30
    Stack Trace
    #0 /home/marineaq/public_html/library/XenForo/DataWriter.php(1401): XenForo_DataWriter->_haveErrorsPreventSave()
    #1 /home/marineaq/public_html/library/Andy/BanThread/CronEntry/BanThread.php(206): XenForo_DataWriter->save()
    #2 [internal function]: Andy_BanThread_CronEntry_BanThread::runBanThread(Array)
    #3 /home/marineaq/public_html/library/XenForo/Model/Cron.php(357): call_user_func(Array, Array)
    #4 /home/marineaq/public_html/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
    #5 /home/marineaq/public_html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_Cron->execute(Array, Array, 7.99999809265, '')
    #6 /home/marineaq/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.99999809265, '', false)
    #7 /home/marineaq/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
    #8 /home/marineaq/public_html/deferred.php(23): XenForo_Model_Deferred->run(false)
    #9 {main}
    Request State
    array(3) {
    ["url"] => string(44) "http://www.marineaquariumsa.com/deferred.php"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(4) {
    ["_xfRequestUri"] => string(37) "/threads/shutting-down-my-tank.64650/"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     
  8. AndyB

    AndyB Well-Known Member

  9. mauzao9

    mauzao9 Well-Known Member

    Will it work with automated bans triggered by points?
     
  10. mm55mm

    mm55mm Member

    Does this work with thread reply bans? Thanks.
     
  11. upnet

    upnet Active Member

    Hi @AndyB - were you considering including this option? Our bans are 90% spam cleaner too.
     
  12. Omniavos

    Omniavos New Member

    I suggest an addon. Possibility for author of thread to ban an user by single thread.
     
  13. AndyB

    AndyB Well-Known Member

    upnet likes this.
  14. djbaxter

    djbaxter Active Member

    Could this be made an option? Apologies if it already is optional. I haven't updated it yet.
     
    upnet likes this.
  15. upnet

    upnet Active Member

    I am running 1.3 and my ban thread forum is populating with ONLY spam bans. Should bans caused by warning points be showing? Agree with @djbaxter that it would be nice if the spam bans were optional. But as of now it seems to be the only bans showing. Perhaps the conditional was accidentally written as == instead of != or?
     
  16. AndyB

    AndyB Well-Known Member

Share This Page