[XB] Content Reported Notice

[XB] Content Reported Notice [Paid] 2.0.0 Patch Level 1

No permission to buy ($15.00)

Ozzy47

Well-known member
Ozzy47 submitted a new resource:

[OzzModz] Content Reported Notice - Displays a warning notice to users with permission that the content has been reported

Requirements:
XF 2.2+

Description:
Displays a warning notice to users with permission that the content has been reported.

Features:

  • Quick actions buttons: resolve/reject report
  • Option to select report statuses to show notice
  • Option to open report in overlay
  • Option to change report update form redirect to content

Supported content types:

  • Posts
  • Profile posts & comments
  • Conversations
  • Xenforo Resource Manager...

Read more about this resource...
 
It would be better if you could add a "delete & resolve" action because the moment you delete a reported post the warning notice disappears and the report still hanging there. And if you click on resolve the report is resolved but no action is taken assuming that the reported post is supposed to be deleted.

Alternativity, the warning notice should not disappear if the post is deleted and the report is not resolved yet. Delete > click on resolve
 
2.2.13

Code:
ErrorException: Template error: [E_USER_WARNING] Cannot call method isReported on a non-object (NULL) src/XF/Template/Templater.php:1179
Generated by:  May 21, 2023 at 10:36 AM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/xx/xx/p...', 1179, Array)
#1 src/XF/Template/Templater.php(1179): trigger_error('Cannot call met...', 512)
#2 internal_data/code_cache/templates/l5/s40/public/ozzmodz_crn_notice_macros.php(123): XF\Template\Templater->method(NULL, 'isReported', Array)
#3 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l5/s40/public/thread_list_macros.php(155): XF\Template\Templater->callMacro('ozzmodz_crn_not...', 'struct_item_sta...', Array, Array)
#5 src/XF/Template/Templater.php(990): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#6 src/XF/Template/Templater.php(926): XF\Template\Templater->renderExtensionInternal('statuses', Array, Array, Object(XF\Template\ExtensionSet))
#7 internal_data/code_cache/templates/l5/s40/public/thread_list_macros.php(258): XF\Template\Templater->renderExtension('statuses', Array, Object(XF\Template\ExtensionSet))
#8 src/XF/Template/Templater.php(990): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#9 src/XF/Template/Templater.php(926): XF\Template\Templater->renderExtensionInternal('main_cell', Array, Array, Object(XF\Template\ExtensionSet))
#10 internal_data/code_cache/templates/l5/s40/public/thread_list_macros.php(536): XF\Template\Templater->renderExtension('main_cell', Array, Object(XF\Template\ExtensionSet))
#11 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#12 internal_data/code_cache/templates/l5/s40/public/forum_view.php(126): XF\Template\Templater->callMacro('thread_list_mac...', 'item', Array, Array)
#13 src/XF/Template/Templater.php(990): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#14 src/XF/Template/Templater.php(926): XF\Template\Templater->renderExtensionInternal('thread_list', Array, Array, Object(XF\Template\ExtensionSet))
#15 internal_data/code_cache/templates/l5/s40/public/forum_view.php(571): XF\Template\Templater->renderExtension('thread_list', Array, Object(XF\Template\ExtensionSet))
#16 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(XENTR\VerifiedUser\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#17 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_view', Array)
#18 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#19 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Forum\\View', 'public:forum_vi...', Array)
#20 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#21 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
 
Ozzy47 updated [OzzModz] Content Reported Notice with a new update entry:

[OzzModz] Content Reported Notice for XenForo 2.2+ Update 2.0.0 Patch Level 1

2.0.1 Patch Level 1:
  • Added XenAddons Showcase Item, Ratings & Comments support
  • Added XenAddons Review Management System Items & Brands, Reviews, Questions support
  • Added own permissions per each content type (NOTE: will need to be reconfigured after the update)
  • Fix: avoid "canViewReportedNotice on null" error on redirect thread type

Read the rest of this update entry...
 
Does ALL users can see the post is reported, would it be possible to let only choosen user groups see that ?

For instant normal registered users should not see it, but users with user upgrades can see it and of course moderators and admin.
 
Does ALL users can see the post is reported, would it be possible to let only choosen user groups see that ?

For instant normal registered users should not see it, but users with user upgrades can see it and of course moderators and admin.

This is only shown if you have permissions

1733353680895.webp
 
Back
Top Bottom