Three of the five blocks and the statistics are available to anyone who can view the panel. I can add some permissions around these sometime over the next few weeks.So it can't be disabled for one user group while enabled for another user group?
Sorry for all the stupid questions, but I don't understand it.
Server error log
ErrorException: Template error: [E_USER_WARNING] Method canViewModeratorPanel is not callable on the given object (XF\Entity\User) src/XF/Template/Templater.php:1186
Generated by: Unknown account Mar 28, 2022 at 5:42 AM
Stack trace
#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/vicontr/p...', 1186, Array)
#1 src/XF/Template/Templater.php(1186): trigger_error('Method canViewM...', 512)
#2 internal_data/code_cache/templates/l1/s35/public/andrew_moderatorpanel_macros.php(229): XF\Template\Templater->method(Object(XF\Entity\User), 'canViewModerato...', Array)
#3 src/XF/Template/Templater.php(824): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l1/s35/public/PAGE_CONTAINER.php(841): XF\Template\Templater->callMacro('andrew_moderato...', 'andrew_moderato...', Array, Array)
#5 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#6 src/XF/Pub/App.php(564): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#7 src/XF/App.php(2149): XF\Pub\App->renderPageHtml('
...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(404): XF\App->renderPage('
...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#11 src/XF.php(517): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}
Request state
array(4) {
["url"] => string(116) "/community/threads/berlin-orchestra-inspire-1-now-on-sine-%E2%82%AC299-special-offer-free-download-for-owners.94434/"
["referrer"] => string(27) "https://search.yahoo.co.jp/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Set the permission to never instead of no and it will work.Hi @AndrewSimm,
Not sure if this was sorted or if I'm doing something wrong.
I want to use the moderation tool where you can click on the Moderate user button and put the user into a certain group, I have set up the group and have it working where the user will indeed move to that group however if that person is in a higher-level group the permissions in the (Moderated Users) will not work.
I may be setting this up wrong, or is this something that is not used yet?
Thanks
Is this still on the cards? Specifically, for the statistics panel.Three of the five blocks and the statistics are available to anyone who can view the panel. I can add some permissions around these sometime over the next few weeks.
Yes sir, just need to get through a paper I have due this weekend.Is this still on the cards? Specifically, for the statistics panel.
Works perfectly.Set the permission to never instead of no and it will work.
-ADDED: Permission to view stats blocks in the moderator panel
-ADDED: Permission to view stats graph in the moderator panel
I have noticed a couple of mistiping in the original phrases
andrew_moderatorpanel_remove_moderation
Remover moderationoption_explain.andrewModeratorPanelModeratedUsergroup
This user group requires manual setup and requires that user posts most be moderated.Glad you like it. Feel free to leave a review!@AndrewSimm ... just wanted to say thank you for such a high-quality free add-on. Your attention to detail is amazing. Please add a donate link to your sig.
Done! Is there a way to edit a note to fix a typo?Glad you like it. Feel free to leave a review!
xf_andrew_mp_user_note
table, unless Andrew is willing to add this feature to the frontend, in future I have this fixed in the next versionHere I am:
andrew_moderatorpanel_remove_moderation
Remover moderationoption_explain.andrewModeratorPanelModeratedUsergroup
This user group requires manual setup and requires that user posts most be moderated.
That should be it, I guess!
We use essential cookies to make this site work, and optional cookies to enhance your experience.