[ALPHA] Logging Mod MMW

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

[ALPHA] Logging Mod MMW

Post by ckwalsh »

This is in response to the Modding's most wanted for a logging Mod. When completed, I'm hoping it should be able to:
  • Log all moderator actions, along with Links to posts and descriptions of the Action, Including:
  • Editing
  • Deleting
  • Topic Moving
  • Topic Locking/Unlocking

    Log all user Actions with descriptions, including:
  • Profile Editing
  • Posting
  • Editing
  • Deleting
  • Voting
  • PMing
  • Login/Logout
  • Failed Logins

    Log all Admin Actions with descriptions, including:
  • Configuration Changes
  • Forum addition, deletion, renaming, and permission changing
  • Banning

    Log all Errors with description of errors, Information including:
  • File
  • Line #
  • Get Variables
  • Post Variables (Password removed upon Login Error)


  • Allow for other mods to make use of all logs in addition to a Miscellaneous log.

    Also, I am hoping to make all this very configurable, allowing options to be set such as:
    [/size]
  • Log all users in user logs or just certain users
  • On the log viewing page, allow all admins or only main admin to view the logs
  • Prevent deletion of logs, except by main admin, infinitely or after a certain time limit.
  • Use the phpBB Language System
Green means it's done and in the latest release
Black means it hasn't been started
Red means a bug has been found in it and I haven't gotten around to fixing it yet


Note, most of the above is to remind me what I would like to do with this, and while I hope to get it all I may not be able to, so don't go running around yelling "Where is Feature X?".

Download: Version 0.2.3
This mod should NOT yet be used in a live enviroment.

Screenshot:
Configuration Page

Demo: Sorry, No Demo Board, since it would probably be unstable most of the time. If anyone would like to set up one I'll be happy to link to it here.

Version History
0.1.0
Set up functions and logging procedures for new/edited posts
Logs can only be viewed with phpmyadmin or similar

0.1.1
Added logging of deletion of posts, error handling
Packaged in a zip file

0.2.0
Added Logging for Topic Moving
Added Logging for Topic Locking/Unlocking
Voting Logged now
Private Messaging Logged now

0.2.1
Added Configuration for logging
Modified logging calls to obey config
Re-wrote topic editing and deleting code to simplify

0.2.1b
Forgot to add some of the files to the release

0.2.2
Fixed some parse errors and bugs when links were logged

0.2.3
Added Log viewing to the admin panel
Secured logging Config and viewing to conform to logging configuration
Cannot delete logs
Last edited by ckwalsh on Sat Sep 23, 2006 9:11 pm, edited 15 times in total.
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh »

I just saw a suggestion to reserve the 2nd post, so that's what this is :P
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
MarkTheDaemon
Former Team Member
Posts: 2770
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Post by MarkTheDaemon »

Just to let you know that evil<3 is working on the same thing: http://www.phpbb.com/phpBB/viewtopic.php?t=415450


Mark
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh »

MarkTheDaemon wrote: Just to let you know that evil<3 is working on the same thing: http://www.phpbb.com/phpBB/viewtopic.php?t=415450


Mark


Yup :D. Even though it's redundant, I'm kinda also doing this to show myself I can. Also, I think you can't have too many of the same mod, since features and ease of use can be different (just look at the quickreply mods!)
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
MarkTheDaemon
Former Team Member
Posts: 2770
Joined: Thu Oct 20, 2005 2:42 am
Location: United Kingdom
Name: Mark Barnes

Post by MarkTheDaemon »

Oh yeah, don't get me wrong, different MODs are great ;)

Good luck with your project

(The IT Crowd rocks btw :P)


Mark
hmartin
Registered User
Posts: 118
Joined: Mon Jun 06, 2005 2:49 am
Location: /home/
Contact:

Post by hmartin »

Is there logging of signin/off?
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh »

No, since it seems kind of a waste of database space. I can't think of a real need to have login/logout information.
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh »

Ok, Just updated the code and moved it to Alpha.

I haven't tested all of hte new code, so please post if you find bugs.
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
tunafish
Registered User
Posts: 152
Joined: Sat Jul 23, 2005 1:29 pm

Post by tunafish »

Hi,

Your download link is dead ;)
phpBB Problems? PM ME :)
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh »

tunafish wrote: Hi,

Your download link is dead ;)


*get out Permanent Marker and fixes it*

I don't know what you're talking about. It works for me... :P
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
hmartin
Registered User
Posts: 118
Joined: Mon Jun 06, 2005 2:49 am
Location: /home/
Contact:

Post by hmartin »

Brainy wrote: No, since it seems kind of a waste of database space. I can't think of a real need to have login/logout information.

Eh, I would like to have it :-)
And as far as wasted space, you could have a pruning option to delete all events older than x days or somesuch.
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh »

hmartin wrote:
Brainy wrote:No, since it seems kind of a waste of database space. I can't think of a real need to have login/logout information.

Eh, I would like to have it :-)
And as far as wasted space, you could have a pruning option to delete all events older than x days or somesuch.


Ok, I'll add it to the list :D
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
User avatar
thewizard
Registered User
Posts: 356
Joined: Sun Sep 29, 2002 7:46 am

Post by thewizard »

Actually I'd like to see the login/out logging as well, but I'd like to see failed login attempts.

Also, what about extending the configurations, if this isn't already implemented, so that you can switch on/off the areas you want to log?
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh »

thewizard wrote: Actually I'd like to see the login/out logging as well, but I'd like to see failed login attempts.

Also, what about extending the configurations, if this isn't already implemented, so that you can switch on/off the areas you want to log?


I'm working on getting it implemented, but yes, all logs can be switched on and off.
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
ckwalsh
Former Team Member
Posts: 1837
Joined: Wed Mar 15, 2006 1:50 am
Location: Seattle, USA
Name: Cullen Walsh
Contact:

Post by ckwalsh »

I just posted a screenshot of the configuration page. Further down the file are the Mod and Admin fields.
Where to post what | Forum Rules | The Dos and Don'ts of General Discussion
In Seattle and want to meet, chat, or have a coffee? Drop me a PM.
Post Reply

Return to “[2.0.x] MODs in Development”