[Andrew] Moderator Panel

[Andrew] Moderator Panel 2.0.9

No permission to download
The options

Code:
andrewModeratorPanelDashboardFirstPosition
andrewModeratorPanelDashboardSecondPosition
andrewModeratorPanelDashboardThirdPosition
andrewModeratorPanelDashboardFourthPosition
ndrewModeratorPanelDashboardFifthPosition
andrewModeratorPanelDashboardSixthPosition
andrewModeratorPanelChartOneStatOne
andrewModeratorPanelChartOneStatTwo
andrewModeratorPanelChartTwoStatOne
andrewModeratorPanelChartTwoStatTwo

use hardcoded text for the choices.

Could this be changed to use phrases so they can be translated?
 
I tried to force ignore a banned member, because its the condition to allow the banned member back. I got this error:
Oops! We ran into some problems.
You are already ignoring this member.
What does this mean? Is it not possible to force ignore two members if one or both of them are already ignoring? Or if one of them is banned?

Wow! This is a great addon @AndrewSimm
 
Last edited:
I tried to force ignore a banned member, because its the condition to allow the banned member back. I got this error:
Oops! We ran into some problems.
You are already ignoring this member.
What does this mean? Is it not possible to force ignore two members if one or both of them are already ignoring? Or if one of them is banned?

Wow! This is a great addon @AndrewSimm
You would need to remove the member from his ignored user list and then add it back on using the forced ignore feature. Basically, the user already had them on the ignore list, but this would make it so they would have it there and could not remove it.

I would also modify the board so that the "read this post" link is gone for users on ignore otherwise ignore is not effective.
 
I keep getting runs of server log errors from this add-on and a couple others. Thought I would start with this one since the others are ones I don't mind keeping disabled for now. Any thoughts on what this might be? I am on the latest build. I have disabled and re-enabled a couple times, which confirmed this is the cause. They go away with it disabled. I don't think the mods are really using it much right now so that weirds me out a little, too.

Error:
ErrorException: Template error: [E_USER_WARNING] Method canViewModeratorPanel is not callable on the given object (XF\Entity\User) src/XF/Template/Templater.php:1277

Generated by: Unknown account Dec 26, 2025 at 6:33 PM

Stack Trace:
[internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/wonderca/...', 1277)
#1 src/XF/Template/Templater.php(1277): trigger_error('Method canViewM...', 512)
#2 internal_data/code_cache/templates/l1/s7/public/andrew_moderatorpanel_macros.php(269): XF\Template\Templater->method(Object(XF\Entity\User), 'canViewModerato...', Array)
#3 src/XF/Template/Templater.php(921): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l1/s7/public/PAGE_CONTAINER.php(1672): XF\Template\Templater->callMacro('andrew_moderato...', 'andrew_moderato...', Array, Array)
#5 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#6 src/XF/Pub/App.php(612): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#7 src/XF/App.php(2571): XF\Pub\App->renderPageHtml('












...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(414): XF\App->renderPage('









[internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/wonderca/...', 1277)
#1 src/XF/Template/Templater.php(1277): trigger_error('Method canViewM...', 512)
#2 internal_data/code_cache/templates/l1/s7/public/andrew_moderatorpanel_macros.php(269): XF\Template\Templater->method(Object(XF\Entity\User), 'canViewModerato...', Array)
#3 src/XF/Template/Templater.php(921): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l1/s7/public/PAGE_CONTAINER.php(1672): XF\Template\Templater->callMacro('andrew_moderato...', 'andrew_moderato...', Array, Array)
#5 src/XF/Template/Templater.php(1799): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#6 src/XF/Pub/App.php(612): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#7 src/XF/App.php(2571): XF\Pub\App->renderPageHtml('












...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(414): XF\App->renderPage('












...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#11 src/XF.php(806): XF\App->run()
#12 index.php(23): XF::runApp('XF\\Pub\\App')
#13 {main}



...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(66): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#11 src/XF.php(806): XF\App->run()
#12 index.php(23): XF::runApp('XF\\Pub\\App')
#13 {main}
Request State:
array(4) {
["url"] => string(40) "/threads/christmas-memories.10115/page-3"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
Its quite useful to see the flags on avatars and IP lists. But it only shows for newly posted content.
Is it possible to rebuild it so it also shows on older posts? We have a few million posts. Would this incur costs or reach limits somehow?
 
Back
Top Bottom