Module for logging moderator actions
Posted by Tiorthan
Module for logging moderator actions September 27, 2005 07:09AM |
Registered: 18 years ago Posts: 46 |
This is a module to track actions taken by moderators in a logfile.
The module is now developed to work with Phorum 5.1. Since this is called 'unstable' I'll continue to test my changes with the latest available stable version.
Current Version: 2.2
Last Changes
- Added compatibility code 5.1 <-> 5.0
- The contents of the logfile are now displayed on the settings page, if they are available.
(Sample Logfile)
Download: modaction_log_5_0_18a-2_2.zip
Edited 4 time(s). Last edit at 09/29/2005 09:51PM by Tiorthan.
The module is now developed to work with Phorum 5.1. Since this is called 'unstable' I'll continue to test my changes with the latest available stable version.
Current Version: 2.2
Last Changes
- Added compatibility code 5.1 <-> 5.0
- The contents of the logfile are now displayed on the settings page, if they are available.
(Sample Logfile)
Download: modaction_log_5_0_18a-2_2.zip
Edited 4 time(s). Last edit at 09/29/2005 09:51PM by Tiorthan.
Re: Module for logging moderator actions September 27, 2005 07:56AM |
Registered: 18 years ago Posts: 264 |
Awsome, I'll have to give it a try. I've been beating my head over this with a couple of my moderators. Nothing I can prove but this should make it so I can get there permissions removed.
http://www.krang.org
http://www.krang.org
Re: Module for logging moderator actions September 27, 2005 09:16PM |
Registered: 18 years ago Posts: 46 |
September 27, 2005 09:32PM |
Admin Registered: 18 years ago Posts: 8,532 |
September 28, 2005 04:29AM |
Registered: 18 years ago Posts: 609 |
Possiable a bug
I changed the path I wanted it to log to and when I tried to change it again it bugged out and refuse to let me change to anything else ..
It keep saying at the top
"/ is no valid directory."
No matter what I set it or if I use the full path of my website directory still says the same thing ..
Bill
I changed the path I wanted it to log to and when I tried to change it again it bugged out and refuse to let me change to anything else ..
It keep saying at the top
"/ is no valid directory."
No matter what I set it or if I use the full path of my website directory still says the same thing ..
Bill
Re: Module for logging moderator actions September 28, 2005 06:30AM |
Registered: 18 years ago Posts: 46 |
Re: Module for logging moderator actions September 28, 2005 09:38AM |
Registered: 18 years ago Posts: 46 |
September 29, 2005 06:33AM |
Registered: 18 years ago Posts: 609 |
I downloaded the next version and installed it
set it to {CACHE_DIR}/logfilename.log and it show the full correct path to where i want the log to be recorded at.
But when I went to delete a thread I get this error with this module enabled
Fatal error: Call to undefined function: strip_body() in /home/xxxx/xxxx/findmall.com/xxxx/xxxx/mods/modaction_log/modaction_log.php on line 90
(I xxxx'ed out my real path)
So I create a blank log file and chmodded giving it a write perrmison to make sure and still the same error as above.
So another bug? or something I missed?
Bill
Edited 1 time(s). Last edit at 09/29/2005 06:34AM by CBiLL.
set it to {CACHE_DIR}/logfilename.log and it show the full correct path to where i want the log to be recorded at.
But when I went to delete a thread I get this error with this module enabled
Fatal error: Call to undefined function: strip_body() in /home/xxxx/xxxx/findmall.com/xxxx/xxxx/mods/modaction_log/modaction_log.php on line 90
(I xxxx'ed out my real path)
So I create a blank log file and chmodded giving it a write perrmison to make sure and still the same error as above.
So another bug? or something I missed?
Bill
Edited 1 time(s). Last edit at 09/29/2005 06:34AM by CBiLL.
September 29, 2005 06:39AM |
Registered: 18 years ago Posts: 609 |
Re: Module for logging moderator actions September 29, 2005 06:59AM |
Registered: 18 years ago Posts: 46 |
For phorum 5.0.18 strip_body is a function in include/format_functions.php there was probably a change in 5.1 that's causing this. I'll check it. For now you can change the lines:Quote
Fatal error: Call to undefined function: strip_body() in /home/xxxx/xxxx/findmall.com/xxxx/xxxx/mods/modaction_log/modaction_log.php on line 90
90: $msg_body = " " . $message['body']; 123: $tmp_body = " " . $tmp_message['body'];
As for the window to view the logfile in the admin, this will definitly be in the next version, I'll appreciate this myself.
Sorry, only registered users may post in this forum.