[WordPress] 外掛分享: P2 Check In

首頁外掛目錄 › P2 Check In
WordPress 外掛 P2 Check In 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
5005 天前
最後更新
問題解決
WordPress 3.0+ v0.4.1 上架:2012-06-24

內容簡介

這個外掛能讓使用者在使用 P2 佈景主題時進行“簽到”操作。一旦啟用,您會發現一個新的「誰已簽到」小工具可以添加到您的側邊欄,而「登入 / 我在這裡! / 我要離開!」按鈕將自動添加到您的 P2 佈景主題的標題中。

側邊欄會列出當前已簽到的使用者,以及他們簽到的時間長度。預設情況下,當使用者離開後的 30 分鐘內,他們將被移到列表最底部並被標示為已簽退。

這個外掛的語言被蓄意地保留得相對泛泛而留白,這樣您就可以根據自己的需求使用它。簽到可以意味著實際簽到以展示您在那裡(這個外掛的開發目的),也可以意味著您可用,並正在積極瀏覽 P2。

此外,在側邊欄中,被標示為“已簽到”的使用者總共的登錄時間會顯示在他們的名字下方。

如果有用戶忘記簽退,管理員用戶(或那些可以管理選項的用戶)可以點擊他們的名字旁邊的x按鈕,代表幫他們簽退。

感謝

向 P2 的“Who's Online”外掛致敬,因為我從那個外掛中抄襲了一些元素,使得我的開發速度更快了一些。

另外,按鈕的樣式基於 Twitter Bootstrap 按鈕的樣式。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.4.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「P2 Check In」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin adds the ability for users to “check in” to the P2 theme when they’re active. Once activated you’ll find a new “Who is Checked In” widget that you can add to your sidebar, and a “Log In/I’m here!/I’m leaving!” button will automatically be added to your P2 theme’s header.
The sidebar will list the users who are currently checked in, along with how long they have been checked in. By default users will be bumped to the bottom of the list and be shown as checked out for 30 minutes after they have left.
The language in this plugin is purposefully left a big vague so you can use it for your own purposes. Checking in could mean literally checking into a building to show you’re there (the purpose I developed the plugin for) or it could mean that you are simply available, and actively watching the P2.
In addition, the total amount of time someone has logged when “checked in” is displayed underneath a user’s name in the sidebar.
If a user ever forgets to check out, admin users (or those that can manage_options) can click the x button next to their name and check them out for them.
Kudos
Props to the Who’s Online plugin for P2, since I cribbed a number of the elements from that plugin to make the development of mine go a bit faster.
Also, the button styles are based on the Twitter Bootstrap button’s styles.

延伸相關外掛

文章
Filter
Mastodon