[Andrew] Moderator Panel

[Andrew] Moderator Panel 2.0.9

No permission to download
I saw one recently that implements moderator notes, and they have a tab for "notes", as shown in your screenshot. I noticed that A Mod panel doesn't use a tab, but an icon by the username.

I looked at my forum and the only 3rd party tab I see is "Post Areas".
 
I saw one recently that implements moderator notes, and they have a tab for "notes", as shown in your screenshot. I noticed that A Mod panel doesn't use a tab, but an icon by the username.

I looked at my forum and the only 3rd party tab I see is "Post Areas".
You need to go to the user file in the moderator panel. There is a whole profile that includes user notes. warnings, reports, IP address, most ignored, igoring, change log, and current bans. if you click on an user you can select "User file" from moderator actions.
 
Does anyone have a good list of add-ons that create tabs on users profile? I would especially be interested in add-ons where these tabs would make sense showing in the moderator panel, if the admin decides.
I know you've been tagged on this one before but just cross-posting here. This plugin would be great to have its config in the MCP rather than in the user profile.

Edit: long day. That as actually in this thread that the integration was suggested. I thought it was in the thread for the other plugin.

 
I have essentially the same process & experiences as @Reflect. This is what my queue looks like:
View attachment 303396

I see the IP, but I have to click it to see whether it's a VPN, static, dynamic, etc. It would be much better if I didn't have to click it.

The Stopforumspam note is useful but I don't rely on it. Most spammers/bots seem to have a disposable email + VPN, so I reject all those registrations. I allow accounts that look legit but use a VPN.

I noticed that most of the spammers seemed to switch to mailknox recently, so that makes things easier for me, but if I don't recognize the email domain I'll just look it up to check whether it's a temp email. I think Andrew said he was working on something that would indicate whether or not the email was a temp email.

Basically, if that Stopforumspam note could be improved (or something else similar added to this queue page) to indicate "VPN/temp email", that would be perfect.

I've noticed that spammers get passed whatever xenforo.com is doing to fight spam on this forum. But I've never had a spammer get through my process on my forum.
If I understand how the approval queue works correctly, items are either marked as thread, user, or post. Is your experience that everything marked as User looks the same? I am basically trying to understand if there is a separate event that happens for registration or if that just falls on user.
 
After updating to 2.3 we are getting the following errors

InvalidArgumentException: Cannot convert IP '??|H' to binary src/XF/Repository/IpRepository.php:245
Stack trace
#0 src/addons/Andrew/ModeratorPanel/Pub/Controller/User.php(392): XF\Repository\IpRepository->getUsersByIp('??|H')
#1 src/XF/Mvc/Dispatcher.php(362): Andrew\ModeratorPanel\Pub\Controller\User->actionIpUsers(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('Andrew\\Moderato...', 'IpUsers', Object(XF\Mvc\RouteMatch), Object(Andrew\ModeratorPanel\Pub\Controller\User), NULL)
#3 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Andrew\ModeratorPanel\Pub\Controller\User), NULL)
#4 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#6 src/XF.php(798): XF\App->run()
#7 index.php(23): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(216) "/forums/moderatorpanel/user/ip-users?ip=216.147.124.72&_xfRequestUri=%2Fforums%2Fmoderatorpanel%2Fuser%2Fshinyshogun.137989%2F&_xfWithData=1&_xfToken=1720823012%2C585defcdc393aa722fc0659c54a4051c&_xfResponseType=json"
["referrer"] => string(72) "https://www.website.com/forums/moderatorpanel/user/shinyshogun.137989/"
["_GET"] => array(5) {
["ip"] => string(14) "216.147.124.72"
["_xfRequestUri"] => string(47) "/forums/moderatorpanel/user/shinyshogun.137989/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1720823012,585defcdc393aa722fc0659c54a4051c"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
 
After updating to 2.3 we are getting the following errors

InvalidArgumentException: Cannot convert IP '??|H' to binary src/XF/Repository/IpRepository.php:245
Stack trace
#0 src/addons/Andrew/ModeratorPanel/Pub/Controller/User.php(392): XF\Repository\IpRepository->getUsersByIp('??|H')
#1 src/XF/Mvc/Dispatcher.php(362): Andrew\ModeratorPanel\Pub\Controller\User->actionIpUsers(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('Andrew\\Moderato...', 'IpUsers', Object(XF\Mvc\RouteMatch), Object(Andrew\ModeratorPanel\Pub\Controller\User), NULL)
#3 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Andrew\ModeratorPanel\Pub\Controller\User), NULL)
#4 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#6 src/XF.php(798): XF\App->run()
#7 index.php(23): XF::runApp('XF\\Pub\\App')
#8 {main}
Request state
array(4) {
["url"] => string(216) "/forums/moderatorpanel/user/ip-users?ip=216.147.124.72&_xfRequestUri=%2Fforums%2Fmoderatorpanel%2Fuser%2Fshinyshogun.137989%2F&_xfWithData=1&_xfToken=1720823012%2C585defcdc393aa722fc0659c54a4051c&_xfResponseType=json"
["referrer"] => string(72) "https://www.website.com/forums/moderatorpanel/user/shinyshogun.137989/"
["_GET"] => array(5) {
["ip"] => string(14) "216.147.124.72"
["_xfRequestUri"] => string(47) "/forums/moderatorpanel/user/shinyshogun.137989/"
["_xfWithData"] => string(1) "1"
["_xfToken"] => string(43) "1720823012,585defcdc393aa722fc0659c54a4051c"
["_xfResponseType"] => string(4) "json"
}
["_POST"] => array(0) {
}
}
What version are you running?

Edit: I found the issue and have fixed it. It will be corrected in the next release.
 
Last edited:
Today, I realized a need: members' next username change date can only be viewed via AdminCP. I think the Moderator Panel should be able to provide us with the next username change date for the users, based on a permission. @AndrewSimm
 
My goal is to release the next version next weekend. This gives me time to address any bugs before a vacation with my kids and my last semester of college. The next version has over 70 changes so if anyone wants to help test then DM me. I would not recommend testing on production (though I am currently running it on a large board).
 
AndrewSimm updated [Andrew] Moderator Panel with a new update entry:

Version 2.0.0

ADDED: Ability to flag user notes as privileged
ADDED: "Privileged" label--accent to notes marked is privileged
ADDED: Function to only show the number of user notes a person has permission to view
ADDED: Permission View privileged user note
ADDED: Permission Add privileged user note
ADDED: Permission Edit own privileged user note
ADDED: Permission Edit other privileged user note
ADDED: Permission Delete own privileged user note
ADDED: Permission Delete other privileged user note
ADDED...

Read the rest of this update entry...
 

Welcome to version 2.0!

I am excited to release this version and believe it takes the Moderator Panel to the next level. There are a lot of updates and I will outline some of the more larger ones below.

Filter everything: I have added filters to almost every report in the moderator panel. This filter enhance the experience and make find data more easy. For example registered users can be filtered by country, user state, banned status, and user name. I encourage you to check out the filters available for each page.

Recent logins: I have added a new page that allows moderators to view recent logins, including which country the user's IP was associated with during login. Combined with filters, it is easy to determine whether an user has logged in from a country not usual or doesn't make registration.

User notes overhaul: I have added the ability to added "privileged" user notes, which require additional permissions to add, edit, or view. You can think of these as admin notes. I have also added user note categories that can be added based on your group. User note categories can be added in the admin panel under the Moderator Panel tab. User notes are now the default tab on the user file.

Major rewrite of code: The Moderator Panel started out as a private add-on meant to give mods of a single website access to some additional reporting. Most of the code lived in a single file (similar to admin logs). I have now separated out the code for each page into it's own controller. This makes the add-on easier to manage and extended.

Enhanced stats: I have added the capability for admins to determine which four stats are shown on the two graphs on the dashboard of the Moderator Panel. I have also added User Notes, Warnings, and Reports to the Statistics page in the admin panel. These options are also selectable to be displayed in the dashboard.

Misc updates: A lot of small request such as adding user state, adding more to user notes, adding a banner to inform of default IP Search change, etc have been added. See the change log for more details.
 

That was a big update - what's next?​

The Moderator Panel was originally created for a website I started with some friends. After over 10 years I recently sold my shares and I am now focusing on developing add-ons. For the first time, I am now taking donations and will prioritize sponsored features in future versions. I will still develop features that are not sponsored but sponsored features will be the priority.

Later this fall I will launch XenByAndrew.com and offer premium add-ons. The Moderator Panel will remain free and maintained for XF2.
 
@AndrewSimm maybe you can add select for moderation option to move old notes to their category easyly. It could be helpful for multi delete too. I have to move them one by one. What you think?
 
Back
Top Bottom