Yakir Sitbon
Forum Replies Created
-
When you move the mouse pointer on the Meta column, you can see options like “edit / view”.
Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] Do Not Collect IPHi @jsttan
For now, the plugin does not store any email addresses; it just stores the subject of the mail. Keep failed login logs to avoid ignoring failed logins. The IP address is still not stored.
Just use with
aal_insert_log
function.Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] Date display formatYou’re right! I’ll handle it by the next release.
Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] Date display formatForum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] Ignoring draft post updatesWe don’t have a pro version of this plugin.
It can be something like this:
add_filter( 'aal_skip_insert_log', function( $should_skip_insert, $args ) { if ( $should_skip_insert ) { // Already skipped. return $should_skip_insert; } if ( empty( $args['object_type'] ) || 'Posts' !== $args['object_type'] ) { // Not a post. return $should_skip_insert; } $cpt_to_skip = 'attachment'; if ( ! empty( $args['object_subtype'] ) && $cpt_to_skip === $args['object_subtype'] ) { $should_skip_insert = true; } return $should_skip_insert; }, 10, 2 );
- This reply was modified 1 year ago by Yakir Sitbon.
Forum: Plugins
In reply to: [Activity Log - Monitor & Record User Changes] Tracking admin only logIn the next release you can use this filter to exclude somethings from the log: https://github.com/pojome/activity-log/blob/550b5e93a126f45550a17b458712ab11e8abeec7/classes/class-aal-api.php#L129
Like what?
Hello @drahija,
We added this filter you can use to prevent from being inserted into the DB: https://github.com/pojome/activity-log/blob/550b5e93a126f45550a17b458712ab11e8abeec7/classes/class-aal-api.php#L129
It will release with the next deploy.
Hi, thanks for your feedback!
You can listen to your custom action when it’s triggered and add it to the AAL DB by
aal_insert_log()
function.Hello @rotem925,
Do you have any param in $_SERVER variable set currently?
If you want, you can use the
aal_get_ip_address
filter to slice as you want.- This reply was modified 1 year, 3 months ago by Yakir Sitbon.
Hi, we are released fix patch about it.
Thanks