[WordPress] 外掛分享: Kento Notify

首頁外掛目錄 › Kento Notify
WordPress 外掛 Kento Notify 的封面圖片
10+
安裝啟用
尚無評分
3936 天前
最後更新
問題解決
WordPress 3.5+ v1.0 上架:2013-12-23

內容簡介

當有人發表評論時,您將收到像 Facebook 一樣的氣泡通知。

實時預覽:http://kentothemes.com/demo/kento-notify/

外掛功能

通知氣泡。
已讀/未讀標記。
已登錄用戶可以將已讀/未讀標記保存到數據庫中。
發表評論者的頭像。
當懸停在通知上時,顯示評論內容。

它是如何運作的?

我們使用 wp.comments 表格來提取已批准的評論,並顯示在通知列表中,並獲取訪問者(客戶端)電腦上的當前時間來計算評論時間和當前時間之間的差異。

如果用戶已登錄,則會將背景顏色設置為單個通知已讀的狀態,當用戶單擊單個通知時,它會變成白色並標記為已讀,將計算通知氣泡的當前總通知數。

如果用戶沒有登錄,則不會將數據保存到數據庫中,也不會計算當前通知氣泡總數。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Kento Notify」→ 直接安裝(推薦)

原文外掛簡介

Get notified by bubble like facebook if some one posted comment on post.
Live Preview: http://kentothemes.com/demo/kento-notify/
Plugin Features

Notification Bubble.
Read/Unread marker.
loggedin user can Save Read/Unread marker to database.
Gravatar image of commenter.
Comment content on hover notification.

How Its Work ?
we use wp.comments table to fetch approved comments and display in notification list and get current time on visitors(clients) computer to calculate difference comment time and current time.
and if user logged-in then set a background color to single notification to mark as unread and when user click on single notification then it will change color to white and mark as read will calculate notification bubble total current notification.
if user not logged-in then won’t save data to database and will not calculate current bubble total notification.

文章
Filter
Apply Filters
Mastodon