Title: WP Security Audit Log addon for Paid Memberships Pro
Author: Bill Stoltz
Published: <strong>16. srpnja 2017.</strong>
Last modified: 22. siječnja 2018.

---

Pretraga dodataka

Dodatak **nije testiran s zadnje 3 glavna izdanja WordPressa**. Možda ga se više
ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama
WordPressa.

![](https://ps.w.org/wp-security-audit-log-for-paid-memberships-pro/assets/icon-
128x128.png?rev=1697157)

# WP Security Audit Log addon for Paid Memberships Pro

 Od [Bill Stoltz](https://profiles.wordpress.org/billstotlz/)

[Preuzmi](https://downloads.wordpress.org/plugin/wp-security-audit-log-for-paid-memberships-pro.1.1.5.zip)

 * [Detalji](https://hr.wordpress.org/plugins/wp-security-audit-log-for-paid-memberships-pro/#description)
 * [Recenzije](https://hr.wordpress.org/plugins/wp-security-audit-log-for-paid-memberships-pro/#reviews)
 *  [Instalacija](https://hr.wordpress.org/plugins/wp-security-audit-log-for-paid-memberships-pro/#installation)
 * [Razvoj](https://hr.wordpress.org/plugins/wp-security-audit-log-for-paid-memberships-pro/#developers)

 [Podrška](https://wordpress.org/support/plugin/wp-security-audit-log-for-paid-memberships-pro/)

## Opis

This plugin Extends the plugin [WP Security Audit Log](https://wordpress.org/plugins/wp-security-audit-log/)
to log events from the [Paid Memberships Pro](https://wordpress.org/plugins/paid-memberships-pro/)
plugin. This plugin also includes some audit logs alerts to track changes to User
Meta values.

#### Actions / Hooks Supported in the plugin

This plugin currently supports the following actions.

User Meta Actions:

 * **added_user_meta** – logs alert whenever a Meta Field is created for user account.
 * **update_user_meta** – Saves current value of a Meta Field so we can see what
   changes.
 * **updated_user_meta** – logs alert with Value of Meta Field that changed.
 * **deleted_user_meta** – logs event when a User Meta Field is deleted for a user
   account.

Actions that are related to Paid Memberships Pro (PMPro) plugin:

PMPro creates what it calls an “order” everytime a payment is made on an account.
This includes the initial payment and recurring or subscription payments.
 PMPro
provides several actions to allow us to log creation and changes of these orders/
payments.

 * **pmpro_added_order** – logs an event when a PMPro Order for a membership payment
   is created.
 * **pmpro_delete_order** – logs an event when a PMPro Order for a membership payment
   is deleted.
 * **pmpro_update_order** – saved information about a PMPro Order for a membership
   payment to see what changes.
 * **pmpro_updated_order** – logs an event when a PMPro Order for a membership payment
   with information that was changed.

When a user either joins a PMPro defined membership level or the account is cancelled
or changed to another level, we can use the following actions
 to try to see what
was changed and who changed the account.

 * **pmpro_before_change_membership_level** – saves information about an user that
   is about to change or cancel current PMPro membership level
 * **pmpro_after_change_membership_level**‘ – logs event that details changes in
   membership levels for a user. Could be upgrade or canceling PMPro membership.
 * **pmpro_after_checkout** – logs information after PMPro checkout process complete.
   Displays related PMPro order number and any discount codes applied during checkout.

PMPro allows the system to define several different levels, with differt criteria.
These actions allow use to monitor changes to these levels and
 what users are making
the changes.

 * **pmpro_delete_membership_level** – logs an event when a PMPro membership level
   is deleted and no longer available for users to select.
 * **pmpro_save_membership_level** – logs an event when a PMPro membership level
   is added or updated. logs details of level to see new values.

PMPro allows the use of discount codes during the checkout / payment process. These
actions allow us the ability to monitor changes
 to the discount codes.

 * **pmpro_delete_discount_code** – logs event when a PMPro discount code is deleted
   from the system.
 * **pmpro_save_discount_code** – logs event when a PMPro discount code is added
   or updated. Log details about discount code.
 * **pmpro_save_discount_code_level** – Discount codes can change PMPro Membership
   Leves in different ways, this logs a event detailing the discount to be applied
   to s specific PMPro Membership Level

PMPro supports multiple payment gateways. Some of the gateways allow subscription
payments. The following actions in PMPro are called when certain subscription
 events
occur. Some of these actions are payment gateway specific.

 * **pmpro_subscription_cancelled** – logs and event when a payment subscription
   is cancelled. This could be from a user action or possible payment failure.
 * **pmpro_subscription_expired** – logs an event when a payment subscription expires.
   Could be only valid for 5 payments.
 * **pmpro_subscription_ipn_event_processed** – logs event when Paypal IPN event
   is processed. Usually only on a subscription payment initiated by PayPal.
 * **pmpro_subscription_payment_completed** – logs event when a subscription payment
   is completed successfully.
 * **pmpro_subscription_payment_failed** – logs an event when payment gateway is
   unable to process a subscription payment.
 * **pmpro_subscription_payment_went_past_due** – logs an event when payment gateway
   is unable to process a subscription payment and the due date is past.

## Instalacija

#### Download, Install and Activate!

In your WordPress admin, go to Plugins > Add New to install WP Security Audit Log
for Paid Memberships Pro, or:

 1. Download the latest version of the plugin.
 2. Unzip the downloaded file to your computer.
 3. Upload the /wpsecurity-audit-log-for-pmpro/ directory to the /wp-content/plugins/
    directory of your site.
 4. Activate the plugin through the ‘Plugins’ menu in WordPress.

#### Complete the Initial Plugin Setup

All Audits are enabled at installation.

To Enable/Disable alerts:

 1. Go to Audit Log in the WordPress admin
 2. Click on Enable/Disable Alerts under Audit Log
 3. In tab “Paid Memberships Pro” – you can enable or disable specific alerts
 4. In tab “User Meta Alerts” – you can enable or disable User Meta alerts

To Exclude alerts:

 1. Go to Settings un Audit Log
 2. Click Exclude Objects tab
 3. In Custom Fields section add fields you don’t want logged.
 4. Example: Enter “pmpro_views” and click add.
 5. This will no longer log changes to the user meta field “pmpro_views” (recommended.
    This is updated every time a page is viewed).

## Pitanja i odgovori

  Installation Instructions

#### Download, Install and Activate!

In your WordPress admin, go to Plugins > Add New to install WP Security Audit Log
for Paid Memberships Pro, or:

 1. Download the latest version of the plugin.
 2. Unzip the downloaded file to your computer.
 3. Upload the /wpsecurity-audit-log-for-pmpro/ directory to the /wp-content/plugins/
    directory of your site.
 4. Activate the plugin through the ‘Plugins’ menu in WordPress.

#### Complete the Initial Plugin Setup

All Audits are enabled at installation.

To Enable/Disable alerts:

 1. Go to Audit Log in the WordPress admin
 2. Click on Enable/Disable Alerts under Audit Log
 3. In tab “Paid Memberships Pro” – you can enable or disable specific alerts
 4. In tab “User Meta Alerts” – you can enable or disable User Meta alerts

To Exclude alerts:

 1. Go to Settings un Audit Log
 2. Click Exclude Objects tab
 3. In Custom Fields section add fields you don’t want logged.
 4. Example: Enter “pmpro_views” and click add.
 5. This will no longer log changes to the user meta field “pmpro_views” (recommended.
    This is updated every time a page is viewed).

## Recenzije

Nema recenzija za ovaj dodatak.

## Suradnici i Programeri

“WP Security Audit Log addon for Paid Memberships Pro” je softver otvorenog koda.
Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

 *   [ Bill Stoltz ](https://profiles.wordpress.org/billstotlz/)

[Prevedite “WP Security Audit Log addon for Paid Memberships Pro” na svoj jezik.](https://translate.wordpress.org/projects/wp-plugins/wp-security-audit-log-for-paid-memberships-pro)

### Zainteresirani ste za razvoj?

[Pregledajte kôd](https://plugins.trac.wordpress.org/browser/wp-security-audit-log-for-paid-memberships-pro/),
pogledajte [SVN spremište](https://plugins.svn.wordpress.org/wp-security-audit-log-for-paid-memberships-pro/)
ili se pretplatite na [dnevnik razvoja](https://plugins.trac.wordpress.org/log/wp-security-audit-log-for-paid-memberships-pro/)
od [RSS](https://plugins.trac.wordpress.org/log/wp-security-audit-log-for-paid-memberships-pro/?limit=100&mode=stop_on_copy&format=rss).

## Dnevnik promjena

#### 1.1.5

 * fix case where pmpro_after_change_membership_level only sends 2 parameters
 * tested with version 3.0 of WP Security Audit Log and new license model

#### 1.1.4

 * fixed errors in a couple alert codes

#### 1.1.3

*

#### 1.1.2

 * Fixed typos
 * verified with version 4.8

#### 1.1.1

 * Fixed discount code to show added or modified
 * Fixed bug in call to sensor manager

#### 1.1

 * Fixed to work with version 2.6.2 of WP Security Audit Log
 * Added activation checks to make sure plugin versions compatibility

#### 1.0

 * Initial version

## Meta

 *  Version **1.1.5**
 *  Zadnje ažuriranje **prije 9 godina**
 *  Aktivnih instalacija **10+**
 *  WordPress inačica ** 4 ili viša **
 *  Testirano do **4.9.34**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-security-audit-log-for-paid-memberships-pro/)
 * Oznaka
 * [event log wordpress](https://hr.wordpress.org/plugins/tags/event-log-wordpress/)
   [Paid Memberships Pro](https://hr.wordpress.org/plugins/tags/paid-memberships-pro/)
   [pmpro](https://hr.wordpress.org/plugins/tags/pmpro/)[wordpress security audit log](https://hr.wordpress.org/plugins/tags/wordpress-security-audit-log/)
   [wordpress security plugin](https://hr.wordpress.org/plugins/tags/wordpress-security-plugin/)
 *  [Napredni pogled](https://hr.wordpress.org/plugins/wp-security-audit-log-for-paid-memberships-pro/advanced/)

## Ocjena

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/wp-security-audit-log-for-paid-memberships-pro/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/wp-security-audit-log-for-paid-memberships-pro/reviews/)

## Suradnici

 *   [ Bill Stoltz ](https://profiles.wordpress.org/billstotlz/)

## Podrška

Želite nešto reći? Potrebna vam je pomoć?

 [Pregledaj forum za podršku](https://wordpress.org/support/plugin/wp-security-audit-log-for-paid-memberships-pro/)

## Doniraj

Želite li podržati napredak ovog dodatka?

 [ Donirajte ovom dodatku ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YWVUDU9RTFXX4)