Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

WP Log

Descripción

Wp log is simple plugin to save actions in database. Also actions can be sent to mail.
Wp log can record:
User Login
User Logout
User Register
User Delete
Post Edit
Post Delete
Theme Switch
New Comment
Comment Approved
Comment Unapproved
Plugin Activated
Plugin Deactivated

There is a useful option panel for plugin that let you to define which actions can be saved in database or send it in email.

Function:
wl_logs_action_row()
Return saved data in database. Return data is an array.

<?php echo wl_logs_action_row(‘action_name’,’ip_address’,’127.0.0.1′,’10’,’date’,’ASC’); ?>

Parameter 1 is output data that can be:
* – everything
action_name – action name
ip_address – return ip address
date – date of the action
data – extra data (need to be unserialized)

Parameter 2 is filter key.

Prameter 2 is filter value

parameter 3 is displayed items count

Parameter 4 is items order by that can be date, ip_address, id

Parameter 5 is order that can be ASC or DESC

Samples:

Display latest actions from specific ip:
<?php echo wl_logs_action_row(‘action_name’,’ip_address’,’YOUR IP ADDRESS’,’10’,’date’,’ASC’); ?>

Display every thing of latest actions:
<?php echo wl_logs_action_row(‘*’); ?>

Display only name of latest actions:
<?php echo wl_logs_action_row(‘action_name’); ?>

Display latest actions ip address:
<?php echo wl_logs_action_row(‘ip_address’); ?>

Arbitrary section 1

Instalación

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php do_action('plugin_name_hook'); ?> in your templates

FAQ

How this plugin saves data in db?

When you installed plugin it create a table in db for data. Also you can set which actions can be log in database.

Can i show some actions in my site?

Yes there is a powerful function to do this.

Reseñas

No hay reseñas para este plugin.

Colaboradores y desarrolladores

«WP Log» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «WP Log» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

Version 1.0
First Release