Module for logging moderator actions
Posted by Tiorthan
Re: Module for logging moderator actions September 29, 2005 07:18AM |
Registered: 17 years ago Posts: 46 |
September 29, 2005 07:49AM |
Admin Registered: 17 years ago Posts: 8,532 |
If that is the only incompatibility, would it be an idea to do something like this at the start of your code?
Edited 1 time(s). Last edit at 09/29/2005 07:50AM by mmakaay.
if (! function_exists("strip_body")) { function strip_body($arg) { return phorum_strip_body($arg); } }Not tested, but I think this might work for you. I don't know wheter PHP will complain about strip_body() already being defined when using this construction. If it does, you can also create a wrapper function for stripping the body and use that function instead of strip_body():
function my_strip_body($arg) { if (function_exists("phorum_strip_body")) { return phorum_strip_body($arg); } else { return strip_body($arg); } }Doing so will keep you from having to maintain two versions of your module.
Edited 1 time(s). Last edit at 09/29/2005 07:50AM by mmakaay.
Re: Module for logging moderator actions September 29, 2005 11:08AM |
Registered: 17 years ago Posts: 46 |
September 29, 2005 02:32PM |
Admin Registered: 21 years ago Posts: 4,495 |
CBiLL Wrote:
-------------------------------------------------------
> You should consider adding a framed windows with
> scroll bar inside the modaction module "Setting"
> where adminstrator can view/read the log and a
> button underneath the view windows to clear or
> purge the log.
Just use a <div> with overflow: scroll; No messy frames that way.
-------------------------------------------------------
> You should consider adding a framed windows with
> scroll bar inside the modaction module "Setting"
> where adminstrator can view/read the log and a
> button underneath the view windows to clear or
> purge the log.
Just use a <div> with overflow: scroll; No messy frames that way.
Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Module for logging moderator actions September 29, 2005 09:54PM |
Registered: 17 years ago Posts: 46 |
September 30, 2005 10:26PM |
Registered: 17 years ago Posts: 609 |
Re: Module for logging moderator actions June 23, 2007 01:59AM |
Registered: 18 years ago Posts: 5 |
Re: Module for logging moderator actions June 24, 2007 06:35PM |
Registered: 15 years ago Posts: 27 |
Re: Module for logging moderator actions June 26, 2007 07:07PM |
Registered: 15 years ago Posts: 17 |
Re: Module for logging moderator actions June 28, 2007 02:06AM |
Registered: 18 years ago Posts: 5 |
Sorry, only registered users may post in this forum.