Differences
This shows you the differences between the selected revision and the current version of the page.
punbb13:extensions:pun_admin_log 2009/07/14 11:04 | punbb13:extensions:pun_admin_log 2020/02/06 11:04 current | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== API for log events (pun_admin_log) ====== | + | ====== Logging of events(pun_admin_log) ====== |
[[punbb13:extensions#Official extensions|PunBB 1.3 official extension]] | [[punbb13:extensions#Official extensions|PunBB 1.3 official extension]] | ||
* Status: **under development** | * Status: **under development** | ||
- | * Current version: **[[http://punbb.informer.com/extensions/pun_admin_log/pun_admin_log.zip|1.0b]]** | + | * Current version: **[[https://punbb.informer.com/extensions/pun_admin_log/pun_admin_log.zip|1.0]]** |
===== General idea ===== | ===== General idea ===== | ||
- | Adds event logging and a GUI for browsing logs. | + | Logs a lot of forum's events. |
===== Specification ===== | ===== Specification ===== | ||
Line 11: | Line 11: | ||
==== Functionality ==== | ==== Functionality ==== | ||
Logs lots of PunBB events. | Logs lots of PunBB events. | ||
+ | |||
+ | ==== List of actions ==== | ||
+ | * Installation and uninstallation of extensions | ||
+ | * Enabling and disabling extensions | ||
+ | * Changing keys of Administration Settings | ||
+ | * Deletion of topics, posts, forums, categories | ||
+ | * Sticking, unsticking topics | ||
+ | * Opening, closing topics | ||
+ | * Moving topics | ||
+ | * Merging topics | ||
+ | * Splitting posts | ||
+ | * Changing topic's subject and message. | ||
==== Interface ==== | ==== Interface ==== | ||
Line 18: | Line 30: | ||
* Enable logging to database | * Enable logging to database | ||
* Path to log-file | * Path to log-file | ||
+ | * "Events" page on management tab in administration menu. | ||
==== Database ==== | ==== Database ==== | ||
- | Extension use tables of extension pun_admin_events | + | Extension uses the table of the extension [[punbb13:extensions:pun_admin_events]]. |
- | + | ||
- | ==== API documentation ==== | + | |
- | + | ||
- | == Functions == | + | |
- | **pun_log_write_logfile** | + | Additional config values in the “config” table. |
- | Writes information about event to file. | + | ^ conf_name ^ conf_value (default) ^ |
+ | | o_pun_admin_path_log_file | FORUM_ROOT/extensions/pun_admin_log/forum.log | | ||
+ | | o_pun_admin_log_write_db |1 | | ||
+ | | o_pun_admin_log_write_file |1 | | ||
- | //void// pun_log_write_logfile(//string// $str) | + | ==== Feature Requests ==== |
- | * //string// $str: this line writes to log-file | + | |
- | **record_log_file** | + | ====== See also ====== |
- | Returns the specified string to write to the log-file | + | * [[extensions#official_extensions|PunBB official extensions]] |
+ | ====== Links ====== | ||
+ | * Trac tickets: :?: | ||
+ | * Browse code: | ||
+ | * Trac: [[https://punbb.informer.com/trac/browser/additions/punbb-1.3/extensions/pun_admin_log/|Source]], [[https://punbb.informer.com/trac/log/additions/punbb-1.3/extensions/pun_admin_log/|Log]] | ||
+ | * SVN: [[https://punbb.informer.com/svn/additions/punbb-1.3/extensions/pun_admin_log/|/svn/additions/punbb-1.3/extensions/pun_admin_log/]] | ||
+ | * Forums topic: :?: | ||
+ | * [[https://punbb.informer.com/extensions/|PunBB extension repository]] | ||
- | //string// record_log_file(//string// $action, //string// $comment) | + | ====== Screenshots ====== |
- | * //string// | + | {{:punbb13:extensions:ext_pun_admin_log.png|}} |