{"id":1755,"date":"2007-04-21T13:45:14","date_gmt":"2007-04-21T13:45:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/bluetrait-event-viewer\/"},"modified":"2014-05-04T03:22:57","modified_gmt":"2014-05-04T03:22:57","slug":"bluetrait-event-viewer","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/bluetrait-event-viewer\/","author":6002,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.2","stable_tag":"2.0.2","tested":"3.9.40","requires":"3.2","requires_php":"","requires_plugins":"","header_name":"Bluetrait Event Viewer","header_author":"Michael Dale","header_description":"","assets_banners_color":"","last_updated":"2014-05-04 03:22:57","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/bluetrait-event-viewer\/","header_author_uri":"http:\/\/michaeldale.com.au\/","rating":5,"author_block_rating":0,"active_installs":80,"downloads":19086,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.4","0.5","0.6","1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.8.1","1.8.2","1.8.3","1.9","1.9.1","1.9.2","1.9.2.1","1.9.3","2.0","2.0.1","2.0.2"],"block_files":[],"assets_screenshots":{"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1567047","resolution":"2","location":"plugin","width":1314,"height":1270},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1567047","resolution":"1","location":"plugin","width":1246,"height":596}},"screenshots":{"1":"Dashboard Recent Events","2":"Settings Page"}},"plugin_section":[],"plugin_tags":[83,13330,13331,1486,522],"plugin_category":[36,40,54],"plugin_contributors":[82977],"plugin_business_model":[],"class_list":["post-1755","plugin","type-plugin","status-closed","hentry","plugin_tags-admin","plugin_tags-btev","plugin_tags-event-viewer","plugin_tags-events","plugin_tags-stats","plugin_category-analytics","plugin_category-calendar-and-events","plugin_category-security-and-spam-protection","plugin_contributors-mwdmeyer","plugin_committers-mwdmeyer"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/bluetrait-event-viewer.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/bluetrait-event-viewer\/trunk\/screenshot-1.png?rev=1567047","caption":"Dashboard Recent Events"},{"src":"https:\/\/ps.w.org\/bluetrait-event-viewer\/trunk\/screenshot-2.png?rev=1567047","caption":"Settings Page"}],"raw_content":"<!--section=description-->\n<p>Bluetrait Event Viewer 2 is now out!<\/p>\n\n<p>Bluetrait Event Viewer (BTEV) monitors events (such as failed login attempts) that occur in your WordPress install.<\/p>\n\n<p>You can publish these events via a password protected RSS feed if you need to monitor multiple WordPress installs.<\/p>\n\n<p>If you have any comments\/tips\/requests etc please contact me or I am on twitter @mwdale<\/p>\n\n<p>BTEV tracks the following events:<\/p>\n\n<ul>\n<li>password_reset<\/li>\n<li>delete_user<\/li>\n<li>wp_login<\/li>\n<li>lostpassword_post<\/li>\n<li>profile_update<\/li>\n<li>add_attachment<\/li>\n<li>wp_logout<\/li>\n<li>user_register<\/li>\n<li>switch_theme<\/li>\n<li>publish_post<\/li>\n<li>monitors activation\/deactivation of other plugins<\/li>\n<\/ul>\n\n<p>Please be aware that this plugin will phone home once a week to check for updates. \nThe only information sent is the current version of Bluetrait Event Viewer installed.<\/p>\n\n<h3>Event API<\/h3>\n\n<p>It is possible to add your own events to the event viewer. Simply call the following function when you want add an entry:<\/p>\n\n<pre><code>    btev_trigger_error($error_string, $error_number, __FILE__, __LINE__);\n<\/code><\/pre>\n\n<p>or<\/p>\n\n<pre><code>    btev_trigger_error($error_string, $error_number);\n<\/code><\/pre>\n\n<p>Argument Descriptions:<\/p>\n\n<ol>\n<li>$error&#095;string: This value can be any string, it is used in the description field in the event viewer.<\/li>\n<li>$error&#095;number: This value can be one of the following: E&#095;USER&#095;ERROR, E&#095;USER&#095;WARNING, E&#095;USER&#095;NOTICE. These values determine the type of message in the event viewer (Error, Warning, Notice).<\/li>\n<li>&#095;&#095;FILE&#095;&#095;: This is the file where the event occurred, please note &#095;&#095;FILE&#095;&#095; is a PHP predefined variable. This value determines the source.<\/li>\n<li>&#095;&#095;LINE&#095;&#095;: This is the line where the event occurred, please note &#095;&#095;LINE&#095;&#095; is a PHP predefined variable.<\/li>\n<\/ol>\n\n<p>So an example would be:<\/p>\n\n<pre><code>    btev_trigger_error('Login Successful: \"' . $user_login . '\"', E_USER_NOTICE);\n<\/code><\/pre>\n\n<p>or<\/p>\n\n<pre><code>    btev_trigger_error('Login Successful: \"' . $user_login . '\"', E_USER_NOTICE, __FILE__, __LINE__);\n<\/code><\/pre>\n\n<p>NOTE: You should check to make sure that the plugin is active. The easiest way to do this is as follows:<\/p>\n\n<pre><code>    if (function_exists('btev_trigger_error')) {\n        btev_trigger_error('Login Successful: \"' . $user_login . '\"', E_USER_NOTICE);\n    }\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Download<\/li>\n<li>Unzip (zip contains btev.php)<\/li>\n<li>Upload to wp-content\/plugins<\/li>\n<li>Activate within Wordpress Admin Panel<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What does LOCKDOWN mode do?<\/dt>\n<dd><p>The LOCKDOWN mode is designed to make it more difficult to disable BTEV.<br \/>\nIt might be required for extra security or if you don't want users with Administrator permissions to be able to disable the plugin.\nIn LOCKDOWN mode the follow options are disabled:<\/p>\n\n<ol>\n<li>Clear Logs<\/li>\n<li>Update Settings<\/li>\n<li>Uninstall<\/li>\n<li>Deactivate<\/li>\n<\/ol>\n\n<p>This can make it more affective in logging changes that occur in your site.<\/p><\/dd>\n<dt>How do I enable LOCKDOWN mode?<\/dt>\n<dd><p>open btev.php and find the line (near the top) that says:<\/p>\n\n<pre><code>    define('BTEV_LOCKDOWN', FALSE);\n<\/code><\/pre>\n\n<p>and change it to:<\/p>\n\n<pre><code>    define('BTEV_LOCKDOWN', TRUE);\n<\/code><\/pre>\n\n<p>Then change the permissions of the file so that it cannot be edited.<\/p><\/dd>\n<dt>What limitations does LOCKDOWN mode have?<\/dt>\n<dd><ol>\n<li>Please be aware that LOCKDOWN mode is NOT a guarantee that BTEV will say active if you site is hacked.<\/li>\n<li>An extra layer of security is added but there are many other ways to disabled BTEV.  <\/li>\n<li>It is recommended that btev.php is NOT writable so that the file cannot be editted from within WordPress.<\/li>\n<li>Please be aware that LOCKDOWN mode is NOT a guarantee that BTEV will say active if you site is hacked.<\/li>\n<\/ol><\/dd>\n<dt>BTEV gives me the following message \"Your BTEV settings have been set back to the default settings. This won't happen in future upgrades.\" Why?<\/dt>\n<dd><p>You've just installed BTEV, you can ignore this message.<\/p>\n\n<p>This message should only be displayed once. Let me know if you keep getting it.<\/p><\/dd>\n<dt>How often does \"auto prune\" run?<\/dt>\n<dd><p>If enabled auto prune runs once a day via the WordPress cron function.<\/p><\/dd>\n<dt>BTEV has a bug and\/or I want to suggest some new features. How?<\/dt>\n<dd><p>Please contact me here: http:\/\/michaeldale.com.au\/contact\/<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>KEY<br \/>\n* = Bug fix<br \/>\n+ = Added feature\/function<br \/>\n- = Something changed (only if not a bug fix)<\/p>\n\n<p>Change Log Start<\/p>\n\n<p>Note: Release Date is DD\/MM\/YYYY :)<\/p>\n\n<h4>2.0.2 (4\/5\/2014)<\/h4>\n\n<ul>\n<li>Tested with WordPress 3.9 <\/li>\n<li>HTML improvements (updated some button styles to match WordPress 3.9) <\/li>\n<\/ul>\n\n<h4>2.0.1 (2\/9\/2012)<\/h4>\n\n<ul>\n<li>Fixed PHP Error Reporting<\/li>\n<li>Fixed LOCKDOWN mode <\/li>\n<li>Email subject is now included in event logs <\/li>\n<\/ul>\n\n<h4>2.0 (18\/8\/2012)<\/h4>\n\n<ul>\n<li>Tested with WordPress 3.4.1 <\/li>\n<li>Logs \"Publish Post\" Event <\/li>\n<li>Improved Display of Events <\/li>\n<li>New Update Checker <\/li>\n<li>Now Requires PHP 5.2+ and WordPress 3.2+ (major upgrade to code base was done in 2.0) <\/li>\n<\/ul>\n\n<h4>1.9.3 (8\/8\/2011)<\/h4>\n\n<ul>\n<li>Fixed email issue in WordPress 3.2 (thanks Robert) <\/li>\n<\/ul>\n\n<h4>1.9.2.1 (27\/07\/2011)<\/h4>\n\n<ul>\n<li>Tested with WordPress 3.2.1 <\/li>\n<li>Email Alerts now use wp_mail and therefore are logged in the event viewer <\/li>\n<li>More HTML improvements<\/li>\n<\/ul>\n\n<h4>1.9.2 (27\/04\/2011)<\/h4>\n\n<ul>\n<li>Email Alerts for successful\/failed logins <\/li>\n<li>Tested with WordPress 3.1.2<\/li>\n<\/ul>\n\n<h4>1.9.1 (25\/04\/2011)<\/h4>\n\n<ul>\n<li>Tested with WordPress 3.1.1  <\/li>\n<li>Updated dashboard widget to improve display of information  <\/li>\n<li>Updated a couple of URLs and HTML fixes  <\/li>\n<li>Javascript confirm when clearing logs  <\/li>\n<\/ul>\n\n<p>1.9.0 (24\/07\/2009)<\/p>\n\n<ul>\n<li>Support for Bluetrait Connector  <\/li>\n<\/ul>\n\n<p>1.8.3 (16\/11\/2008)<\/p>\n\n<ul>\n<li>fixed error where database script was not run when upgrading to 1.8.2 through the auto plugin update system.  <\/li>\n<li>fixed activity_box_end issue with new WordPress 2.7 style  <\/li>\n<\/ul>\n\n<p>1.8.2 (15\/11\/2008)<\/p>\n\n<ul>\n<li>compatible with WordPress 2.6 and 2.7  <\/li>\n<li>Dashboard widget for WordPress 2.7+  <\/li>\n<li>Option to select what data is logged (notices, warnings, errors)<\/li>\n<\/ul>\n\n<p>1.8.1 (05\/06\/2008)<\/p>\n\n<ul>\n<li>fixed debug error reporting when using PHP4  <\/li>\n<li>fixed rss date output (RSS feed should be valid now)  <\/li>\n<li>fixed upgrading from versions older that 1.7  <\/li>\n<li>fixes to the cron stuff  <\/li>\n<li>added javascript confirm when uninstalling<\/li>\n<\/ul>\n\n<p>1.8 (03\/05\/2008)<\/p>\n\n<ul>\n<li>Styling update to match WordPress 2.5  <\/li>\n<li>RSS for Recent Events<\/li>\n<\/ul>\n\n<p>1.7 (08\/04\/2008)<\/p>\n\n<ul>\n<li>fixed error when using PHP4 (reported by David T).<\/li>\n<\/ul>\n\n<p>1.6 (27\/01\/2008)<\/p>\n\n<ul>\n<li>compatible with WordPress 2.5  <\/li>\n<li>able to deactivate plugin while LOCKDOWN enabled and plugin file is in a folder (now fixed)  <\/li>\n<li>fixed \"Your BTEV settings have been set back to the default settings. This won't happen in future upgrades.\" message in WordPress 2.5  <\/li>\n<li>track failed logins within WordPress 2.5 now works  <\/li>\n<li>Updated plugin url<\/li>\n<\/ul>\n\n<p>1.5 (29\/11\/2007)<\/p>\n\n<ul>\n<li>Event Details  <\/li>\n<li>Auto Prune (using cron)  <\/li>\n<li>Changed RDNS link to services.bluetrait.org  <\/li>\n<li>Small code cleanup<\/li>\n<\/ul>\n\n<p>1.4 (11\/09\/2007)<\/p>\n\n<ul>\n<li>Source Cropping  <\/li>\n<li>small WordPress 2.3 improvements  <\/li>\n<\/ul>\n\n<p>1.3 (29\/08\/2007)<\/p>\n\n<ul>\n<li>now installs on WordPress 2.3  <\/li>\n<\/ul>\n\n<p>1.2 (28\/08\/2007)<\/p>\n\n<ul>\n<li>Bug fix for MySQL 3 users  <\/li>\n<li>minor fixes<\/li>\n<\/ul>\n\n<p>1.1 (17\/05\/2007)<\/p>\n\n<ul>\n<li>Lockdown Mode  <\/li>\n<li>Tracks Deactivate All plugins  <\/li>\n<li>API improvements<\/li>\n<\/ul>\n\n<p>1.0 (Released 14\/05\/2007)<\/p>\n\n<ul>\n<li>wp_mail function now supported under WordPress 2.2  <\/li>\n<\/ul>\n\n<p>0.6 (Released 22\/04\/2007)<\/p>\n\n<ul>\n<li>bug in lostpassword_post causing it to error  <\/li>\n<\/ul>\n\n<p>0.5 (Released 22\/04\/2007)<\/p>\n\n<ul>\n<li>monitor activation\/deactivation of other plugins  <\/li>\n<li>track email sent from WordPress  <\/li>\n<li>small code cleanup\/changes  <\/li>\n<\/ul>\n\n<p>0.4 (Released 07\/04\/2007)<\/p>\n\n<p>+++Requires WordPress 2.0.0+++<\/p>\n\n<ul>\n<li>New Events Tracked:  <\/li>\n<li>Switching Themes  <\/li>\n<li>Started cron code (not finished)  <\/li>\n<li>wp&#095;nonce protection stuff.  <\/li>\n<li>uninstaller  <\/li>\n<li>removed btev&#095;site table. Two less queries per page now.  <\/li>\n<li>Updated plugin website link  <\/li>\n<li>Small code fixes  <\/li>\n<li>removed btev&#095;site database  <\/li>\n<\/ul>\n\n<p>0.3 (Released 01\/04\/2007)<\/p>\n\n<ul>\n<li>Logs file uploads, Logout, Added user, able to override wp&#095;login  <\/li>\n<li>Able to use set&#095;error_handler  <\/li>\n<li>fixed Previous\/Next Page links  <\/li>\n<li>stops the file from being run directly  <\/li>\n<li>cleaned up and commented some code  <\/li>\n<\/ul>\n\n<p>0.2 (Released 30\/03\/2007)<\/p>\n\n<ul>\n<li>Date is filled in for an event  <\/li>\n<li>Update checker  <\/li>\n<li>More events tracked  <\/li>\n<li>Moved Event Viewer to link under dashboard  <\/li>\n<\/ul>\n\n<p>0.1 (Released 28\/03\/2007)<\/p>\n\n<ul>\n<li>Public release<\/li>\n<\/ul>","raw_excerpt":"Bluetrait Event Viewer (BTEV) monitors events that occur in your WordPress install.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/1755","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=1755"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mwdmeyer"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=1755"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=1755"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=1755"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=1755"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=1755"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=1755"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}