前言介紹
- 這款 WordPress 外掛「WP Log」是 2013-05-05 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2013-05-07,距離現在已有 4385 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
vahidd |
外掛標籤
wp log |
內容簡介
Wp log 是一個簡單的外掛,可以將動作記錄在資料庫中,也可以將動作發送到郵件中。
Wp log 可以記錄以下動作:
使用者登入
使用者登出
使用者註冊
使用者刪除
文章編輯
文章刪除
佈景主題切換
新增評論
評論核准
評論取消核准
外掛啟用
外掛停用
外掛有一個實用的選項面板,讓您定義哪些動作可以保存在資料庫中或以電子郵件方式發送。
函式:
wl_logs_action_row()
回傳已儲存在資料庫中的資料。 回傳的資料是陣列。
第 1 個參數是輸出的資料,可以是:
* - 一切動作
action_name - 動作名稱
ip_address- 回傳 IP 位址
date - 動作日期
data - 額外的資料(需要被反序列化)
第 2 個參數是過濾器關鍵字。
第 3 個參數是顯示項目數量
第 4 個參數是依照順序顯示項目,可以是日期、IP 位址、ID。
第 5 個參數是順序,可以是 ASC 或 DESC。
範例:
顯示特定 IP 的最新動作:
顯示最新動作的所有內容:
僅顯示最新動作的名稱:
顯示最新動作的 IP 位址:
自訂區段 1
原文外掛簡介
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.
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:
Display every thing of latest actions:
Display only name of latest actions:
Display latest actions ip address:
Arbitrary section 1
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Log」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。
