Report Improvements by Xon

Report Improvements by Xon 2.18.3

No permission to download
@Xon

Seeing this error in our AdminCP.

Code:
Server error log

    ErrorException: [E_NOTICE] Trying to get property 'content_type' of non-object src/addons/SV/ReportImprovements/Search/Data/ReportComment.php:71

    Generated by: Joe Link Jul 15, 2019 at 10:31 AM

Stack trace

#0 src/addons/SV/ReportImprovements/Search/Data/ReportComment.php(71): XF::handlePhpError(8, '[E_NOTICE] Tryi...', '/home/nginx/dom...', 71, Array)
#1 src/addons/SV/ReportImprovements/Search/Data/ReportComment.php(50): SV\ReportImprovements\Search\Data\ReportComment->svPreloadEntityData(Object(XF\Mvc\Entity\ArrayCollection))
#2 src/XF/Search/Search.php(79): SV\ReportImprovements\Search\Data\ReportComment->getContentInRange(9001, '500')
#3 src/XF/Job/SearchRebuild.php(57): XF\Search\Search->indexRange('report_comment', 9001, '500')
#4 src/XF/Job/Manager.php(253): XF\Job\SearchRebuild->run(G)
#5 src/XF/Job/Manager.php(195): XF\Job\Manager->runJobInternal(Array, G)
#6 src/XF/Job/Manager.php(111): XF\Job\Manager->runJobEntry(Array, G)
#7 src/XF/Admin/Controller/Tools.php(120): XF\Job\Manager->runByIds(Array, 8)
#8 src/XF/Mvc/Dispatcher.php(321): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#9 src/XF/Mvc/Dispatcher.php(248): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(SV\UserMentionsImprovements\XF\Admin\Controller\Tools), NULL)
#10 src/XF/Mvc/Dispatcher.php(100): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\UserMentionsImprovements\XF\Admin\Controller\Tools), NULL)
#11 src/XF/Mvc/Dispatcher.php(50): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#12 src/XF/App.php(2177): XF\Mvc\Dispatcher->run()
#13 src/XF.php(390): XF\App->run()
#14 admin.php(13): XF::runApp('XF\\Admin\\App')
#15 {main}

Request state

array(4) {
  ["url"] => string(24) "/admin.php?tools/run-job"
  ["referrer"] => string(57) "https://www.domain.com/admin.php?tools/run-job"
  ["_GET"] => array(1) {
    ["tools/run-job"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["_xfRedirect"] => string(67) "https://www.domain.com/admin.php?tools/rebuild&success=1"
    ["_xfToken"] => string(8) "[B]****[/B]"
    ["only_ids"] => string(3) "149"
  }
}
 
Has this been resolved?

This add-on introduces potentially breaking changes to moderation permissions. Please review usergroup permissions carefully!
 
That is by-design, as it introduces new permissions. It populates default permissions to the 'moderating' user group but this may not catch all configurations
 
Nope, that is more a 'tickets' style thing. It is a major overhaul for reports to work like that
 
I am not sure if the addon offers this already, but it would be cool if it can

1) "Unapprove" a post automatically when it is reported X times
2) Revoke unattended (unmoderated) posting privilege of a user if his post is reported Y times

Thanks,
 
I've got a (paid) add-on which does the 'unapprove after x reports' thing;

It doesn't do the revoke 2nd part about restricting the user for Y reports for content
 
@Xon does your addon allow me to post new reports on a forum and keep the reports in the report center too?

According to XenForo, if you choose a forum for reports to be created on, the report center is disabled
1566942008593.webp
 
Top Bottom