Link to the mod (https://custom.simplemachines.org/index.php?mod=4402)
If the Moderation log is cleared manually all entries older than 24 hours are deleted with the result that forum admins/moderators cannot review older ban action details (ie, ban triggers and the member who added/removed them).
This modification copies the same ban action details that are saved in the Moderation log table to a separate database table so that this information can be kept for up to 180 days and reviewed via
Administration Center -> Ban List -> Browse Ban Actions.
In addition, and by default, a daily scheduled task deletes copied data that is older than 180 days (this is the same as the default value for data stored in the Moderation log table).
Release Historyv1.0 - 09-Sep-24
o Initial release.
v1.1 - 27-Sep-24
o Bug fix - ban add/remove actions weren't actually being copied to the log table this mod uses. (Thanks to jasland (https://www.simplemachines.org/community/index.php?action=profile;u=571749) for reporting this issue (https://www.simplemachines.org/community/index.php?msg=4180446))
LicenseCopyright 2024 Kathy Leslie
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
I installed this mod
I did a test ban to test it out and it doesn't seem to do anything.
Regards
What was the process for your testing?
Did you also attempt to login/access the forum with the trigger?
The test process was to create a user, ban it
and try to log in with that user, nothing has been registered in the new tab browse ban actions.
greetings
Quote from: jasland on September 25, 2024, 04:06:33 PMThe test process was to create a user, ban it and try to log in with that user, nothing has been registered in the new tab browse ban actions.
This mod only shows a history (up to 180 days by default) of ban triggers and the members who added/removed them but it will only show ban actions that took place after the mod was installed.
To view a list of active ban triggers click on the
'Browse Ban Triggers' tab and to see whether or not someone has tried to login after they have been banned click on the
'Ban Log' tab.
I understand that if I perform a ban after installing the mod, and if I also try to log in with that banned user, I should get some entry in Browse Ban Actions or am I confused?
Regards
Quote from: jasland on September 26, 2024, 05:54:07 AMI understand that if I perform a ban after installing the mod, and if I also try to log in with that banned user, I should get some entry in Browse Ban Actions or am I confused?
There should be an entry listed in the
'Browse Ban Actions' tab (as per the picture below) when you add or remove a ban but not when you trigger a ban (ie, login as a banned user).
BrowseBanActions.jpg
Do you see details of the bans you've added/removed when you click on the
'Ban List' tab?
Everything works fine except for the new tab browse ban actions which doesn't register anything
regards
Quote from: jasland on September 26, 2024, 05:39:16 PMEverything works fine except for the new tab browse ban actions which doesn't register anything
Can you provide screen captures of the 'Ban List' and 'Browse Ban Actions' window?Nevermind - I just discovered that I forgot to call the file that updates the core files when the mod is installed - will update the mod shortly.
Version 1.1 - 27-Sep-24
o Bug fix - ban add/remove actions weren't actually being copied to the log table this mod uses. (Thanks to jasland (https://www.simplemachines.org/community/index.php?action=profile;u=571749) for reporting this issue (https://www.simplemachines.org/community/index.php?msg=4180446))
Mod update option available for previous release.
Quote from: GL700Wing on September 26, 2024, 07:27:52 PMVersion 1.1 - 27-Sep-24
o Bug fix - ban add/remove actions weren't actually being copied to the log table this mod uses. (Thanks to jasland (https://www.simplemachines.org/community/index.php?action=profile;u=571749) for reporting this issue (https://www.simplemachines.org/community/index.php?msg=4180446))
Mod update option available for previous release.
Thank you very much, I have tested unbanning or cancelling restrictions on a user and now it is registered in the browse ban actions tab.
Regards
After these tests with this mod I have stopped receiving alerts (from topics, from users who register, mentions, etc. I had not touched the notification settings and they seem to be fine) I don't know if it has something to do with it or if it was a coincidence.
Any idea what could have happened?
Regards
Quote from: jasland on September 28, 2024, 01:50:56 AMAfter these tests with this mod I have stopped receiving alerts (from topics, from users who register, mentions, etc. I had not touched the notification settings and they seem to be fine) I don't know if it has something to do with it or if it was a coincidence.
Any idea what could have happened?
This mod doesn't interact with the alerts system or use any JavaScript code - all it does is add relevant entries to its own log and then display them.
Maybe try uninstalling the mod and see if the alerts start working again.
That's what I did, without results
Thanks for everything, I'll try to restore to a previous copy
Regards