[WordPress] 外掛分享: WP-UserAgent

首頁外掛目錄 › WP-UserAgent
200+
安裝啟用
★★★★★
5/5 分(5 則評價)
1979 天前
最後更新
問題解決
WordPress 2.0+ v1.1.8 上架:2009-06-16

內容簡介

WP-UserAgent 是一個簡單的外掛,允許你顯示訪客在留言時的電腦 作業系統 或 網頁瀏覽器 的詳細資訊。

該外掛使用留言的 agent 屬性來存取 User-Agent 字串。透過一系列正則表達式,此外掛能夠偵測作業系統和瀏覽器,可以集成到留言中或通過範本在自定義位置顯示。

我會經常添加新的網頁瀏覽器和作業系統,同時更新和優化原始碼。您的反饋非常重要,新功能是由要求添加的,因此如果您希望在 WP-UserAgent 中看到某些功能,請 留言,我會盡力實現。

WP-UserAgent 使用 Geany 寫成 – http://www.geany.org/
圖像創建於 The Gimp – http://www.gimp.org/

功能

偵測大多數網頁瀏覽器和熱門作業系統(如果您找不到某個瀏覽器或作業系統,請 告訴我!)
顯示網頁瀏覽器和作業系統圖示、名稱和連結至其主頁(未來版本將可自定義)。
在管理留言頁面中顯示網頁瀏覽器和作業系統(除非您使用 “custom” 選項)。
可自定義,在其自己的選項頁面上更改網頁瀏覽器和作業系統圖示的大小、顯示位置和其他選項。
只在管理區設置顯示網頁瀏覽器和作業系統資訊的選項。
經常更新以進一步擴展網頁瀏覽器和作業系統偵測以及源代碼改進。
根據 GPLv3 發布

有些人可能會將其與另一個著名的名為 browsersniff 的外掛做比較。 WP-UserAgent 是 UserAgent-Spy 的大幅修改和改進版本,與 browsersniff 相比具有更多的改進之處:

易於標準安裝,只需上傳到 wp-plugins 並啟用即可。
可自定義選項。
無需 PHP 基礎知識或編輯 WordPress 範本。
根據 GPLv3 發布。

外掛標籤

開發者團隊

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

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

原文外掛簡介

WP-UserAgent is a simple plugin that allows you to display details about a computer’s operating system or web browser that your visitors comment from.
It uses the comment->agent property to access the User-Agent string. Through a series of regular expressions, this plugin is able to detect the operating system and browser which can be integrated in comments or placed in custom places through your template(s).
I’m adding new web browsers and operating systems frequently, as well as updating and optimizing the source code. Your feedback is very important, new features have been added by request, so if there’s something you would like to see in WP-UserAgent, leave a comment, and I’ll see what I can do.
WP-UserAgent was written with Geany – http://www.geany.org/
Images created with The Gimp – http://www.gimp.org/
Features

Detects most web browsers and popular operative systems (if you find one missing, please let me know!)
Shows web browser and operating system icons, names, and a link to their homepages (this will be customizable in future versions).
Shows web browser and operating system in the Admin comments management page (unless you’re using “custom” option).
Customizable, has its own Options Page where you can change the size of the web browser and operating system icons, where you want it to be displayed, and a few other options.
Option to only display web browser and operating system info in Admin section
Updated frequently to further extend web browser and operating system detection as well as source code improvements.
Published under GPLv3

Some of you may compare this to another well-known plugin named browsersniff. WP-UserAgent is a heavily modified and improved version of UserAgent-Spy, with several improvements over browsersniff also:

Easy standard installation, just upload to wp-plugins and activate it.
Customizable options.
No basic knowledge of PHP or editing WordPress templates required.
Published under GPLv3.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon