Warning Improvements by Xon

Warning Improvements by Xon 2.9.5

No permission to download
Report Improvements does that due to how it integrates logging into the report system so there is a (searchable) record of reply bans
 
Hi there! Brilliant add-on. Quick question: What does the “Don’t Summarize Warning Actions” Moderator permission do? And why might someone want to use that?

Thanks!
 
Hi there! Brilliant add-on. Quick question: What does the “Don’t Summarize Warning Actions” Moderator permission do? And why might someone want to use that?

Thanks!
This add-on adds a "warning actions" which inform users what changes a warning has a applied to their account due to points. Warning actions are applied for each threshold, and result in multiple records which can be confusing for normal users who simply don't care and want to know when they are un-banned.

Moderators need to see, so they can manually remove individual records as expiring a warning does not remove linked warning actions.
 
Code:
XF\Db\Exception: MySQL statement prepare error [1932]: Table 'technopa_xenforo2.xf_warning' doesn't exist in engine src/XF/Db/AbstractStatement.php:217

            SELECT `xf_warning`.*
            FROM `xf_warning`
            
            WHERE (`xf_warning`.`expiry_date` <= 1567891343) AND (`xf_warning`.`expiry_date` > 0) AND (`xf_warning`.`is_expired` = 0) AND (`xf_warning`.`user_id` = 276146)
            
        
------------

#0 src/XF/Db/Mysqli/Statement.php(196): XF\Db\AbstractStatement->getException('MySQL statement...', 1932, '42S02')
#1 src/XF/Db/Mysqli/Statement.php(39): XF\Db\Mysqli\Statement->getException('MySQL statement...', 1932, '42S02')
#2 src/XF/Db/Mysqli/Statement.php(54): XF\Db\Mysqli\Statement->prepare()
#3 src/XF/Db/AbstractAdapter.php(94): XF\Db\Mysqli\Statement->execute()
#4 src/XF/Mvc/Entity/Finder.php(1294): XF\Db\AbstractAdapter->query('
            SELECT `xf_...')
#5 src/addons/SV/WarningImprovements/XF/Repository/Warning.php(342): XF\Mvc\Entity\Finder->fetch()
#6 src/addons/SV/WarningImprovements/Listener.php(97): SV\WarningImprovements\XF\Repository\Warning->processExpiredWarningsForUser(Object(SV\SignupAbuseBlocking\XF\Entity\User), false)
#7 [internal function]: SV\WarningImprovements\Listener::visitorSetup(Object(SV\SignupAbuseBlocking\XF\Entity\User))
#8 src/XF/Extension.php(67): call_user_func_array(Array, Array)
#9 src/XF/App.php(2648): XF\Extension->fire('visitor_setup', Array, NULL)
#10 src/XF/Repository/User.php(33): XF\App->fire('visitor_setup', Array)
#11 src/XF/App.php(1767): XF\Repository\User->getVisitor(276146, Array)
#12 src/XF/Pub/App.php(154): XF\App->getVisitorFromSession(Object(LiteSpeedCache\XF\Session\Session))
#13 mobiquo/IncludeBeforeMbqAppEnv.php(44): XF\Pub\App->start()
#14 mobiquo/mobiquo.php(15): require_once('/home/technopa/...')
#15 {main}

Code:
array(4) {
  ["url"] => string(17) "/sosyal/index.php"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(1) {
    ["TapatalkParamsLog"] => array(1) {
      ["useragent"] => string(114) "Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 BYO-4/8.0.26"
    }
  }
}
 
Can this alert other moderators when a warning is given? Ex:

"JohnB has issued a warning to ChrisM for Inappropriate Content"

Linking to it?

If not I'd like to suggest thanks!
 
Can a warning limit be set here for moderators? For example, a moderator can not issue more than 3 warning a day?
 
One suggestion for your add-on, Xon:

Implement a option to give a default reply for reported content. For me, i can use some ready texts for Alerts when analyzing the reports, like:

- Thank your for reporting this content. After careful reading, why don't think this content go against our Terms and Rules.
 
Top Bottom