Report Improvements by Xon

Report Improvements by Xon 2.20.5

No permission to download
Screenshot of the top of the page?

You can try manually going to /reports. It might just be hiding the report queues because there are no reports. There is a little caching involved after changing any user-groups so if you report a post it should pop-up.
 
This is the top of the page

going to /reports does work, shows nothing active, despite reports being directed to the report forum.
1644284313079.png

Report options set to none?
1644284477492.webp
 
That did it, sorry for wasting your time. Is there a way to have the reports show at the top of the screen at all times like the mod / admin cp links, or is that not possible?
 
That did it, sorry for wasting your time. Is there a way to have the reports show at the top of the screen at all times like the mod / admin cp links, or is that not possible?
You would need to manually edit the PAGE_CONTAINER template, which may cause conflicts with some of my other add-ons.

But the Send reports into forum option which disable various report centre features.
 
I solved my problem
Must fill Custom Warning
Title
Code:
{name},

Dein Beitrag ([url={url}]{title}[/url]) enthält unangemessenen Ausdruck
[quote]{content}[/quote]
 
Please post the stacktrace as text rather than a screenshot

  • ErrorException: [E_WARNING] Attempt to read property "user_id" on null
  • src/addons/SV/WarningImprovements/XF/ControllerPlugin/Warn.php:86
  • Generated by: xxx
  • Feb 15, 2022 at 4:06 PM

Stack trace​

#0 src/addons/SV/WarningImprovements/XF/ControllerPlugin/Warn.php(86): XF::handlePhpError(2, '[E_WARNING] Att...', '/home2/sd/publi...', 86)
#1 src/XF/Pub/Controller/Member.php(1167): SV\WarningImprovements\XF\ControllerPlugin\Warn->actionWarn('user', Object(SV\SignupAbuseBlocking\XF\Entity\User), '/members/test_u...')
#2 src/XF/Mvc/Dispatcher.php(352): XF\Pub\Controller\Member->actionWarn(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Member', 'Warn', Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Member), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Member), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#7 src/XF.php(517): XF\App->run()
#8 index.php(20): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state​

array(4) {
["url"] => string(28) "/members/test_user.3406/warn"
["referrer"] => string(66) "https://www.xxx.co.uk/members/test_user.3406/warn"
["_GET"] => array(0) {
}
["_POST"] => array(19) {
["_xfToken"] => string(8) "********"
["warning_definition_id"] => string(1) "0"
["custom_title"] => string(0) ""
["points_enable"] => string(1) "1"
["points"] => string(1) "1"
["expiry_enable"] => string(1) "1"
["expiry_value"] => string(1) "1"
["expiry_unit"] => string(6) "months"
["notes"] => string(0) ""
["conversation_title"] => string(0) ""
["conversation_message"] => string(0) ""
["conversation_locked"] => string(1) "1"
["send_warning_alert"] => string(1) "1"
["_xfRedirect"] => string(62) "https://www.xxx.co.uk/members/test_user.3406/"
["filled_warning_definition_id"] => string(1) "0"
["fill"] => string(1) "1"
["_xfRequestUri"] => string(28) "/members/test_user.3406/warn"
["_xfWithData"] => string(1) "1"
["_xfResponseType"] => string(4) "json"
}
}
 
Hi!

@Xon - I was wondering about a feature request. Would it be possible to have an option to auto-resolve an open report for a post that is being deleted?

Case for this would be thread clean ups, where multiple reports have been made, and there are a number of posts to delete. What I would propose is adding a pre-checked option to the delete dialogue, and when a post with an open report is deleted, that the report is also resolved without having to go back and resolve in the report centre of the site.
 
@Xon - I was wondering about a feature request. Would it be possible to have an option to auto-resolve an open report for a post that is being deleted?
My paid add-on, Report Centre Essentials already implements that feature, and a few others report resolving bits on moderation actions :)

 
I just found this error in my error log (running version Report Improvements 2.11.0):

Server-Fehlerprotokoll
  • LogicException: Macro public:svReportImprov_report_macros :: resolve_report() error: Macro argument report is required and no value was provided
  • src/XF/Template/Templater.php:903
  • Generiert von: Kokiri
  • 5 April 2022 um 19:21

Stack-Trace​

#0 src/XF/Template/MacroState.php(60): XF\Template\Templater->mergeMacroArguments(Array, Array, Array)
#1 src/XF/Template/Templater.php(796): XF\Template\MacroState->getAvailableVars(Object(SV\UserEssentials\XF\Template\Templater), Array, Array)
#2 internal_data/code_cache/templates/l2/s15/public/svReportEss_thread_delete_content_reports.php(37): XF\Template\Templater->callMacro('svReportImprov_...', 'resolve_report', Array, Array)
#3 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(SV\UserEssentials\XF\Template\Templater), Array, NULL)
#4 src/XF/Template/Templater.php(1680): XF\Template\Templater->renderTemplate('svReportEss_thr...', Array)
#5 internal_data/code_cache/templates/l2/s15/public/thread_delete.php(30): XF\Template\Templater->includeTemplate('public:svReport...', Array)
#6 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(SV\UserEssentials\XF\Template\Templater), Array, NULL)
#7 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_delete', Array)
#8 src/XF/Mvc/Renderer/Json.php(86): XF\Template\Template->render()
#9 src/XF/Mvc/Renderer/Json.php(70): XF\Mvc\Renderer\Json->renderHtmlFallback('XF:Thread\\Delet...', 'public:thread_d...', Array)
#10 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Json->renderView('XF:Thread\\Delet...', 'public:thread_d...', Array)
#11 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#12 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Json), Object(XF\Mvc\Reply\View))
#13 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'json')
#14 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#15 src/XF.php(517): XF\App->run()
#16 index.php(20): XF::runApp('XF\\Pub\\App')
#17 {main}
 
Back
Top Bottom