內容簡介
此外掛會向來自不同網址(稱為推薦者)的訪客顯示問候訊息。例如,您可以用提醒 Diggers 推薦您的文章的訊息來歡迎他們,或者要求 Del.icio.us 使用者將您的文章加入書籤等等。
它不僅僅是一個很酷的問候框,還能更有效地與您的讀者互動,建立您(網站)和他們之間的更好關係。
功能
純 AJAX 管理介面,元素被整齊地分成標籤。該插件可添加/修改/(停用)/刪除條目,無需重新加載整個頁面,甚至只需一個點擊即可。從 3.2 版本開始,甚至還有批量操作!
問候框位置可以設置在文章之前、之後,或(從 3.2 版本開始)文章之前和之後。如果您不想在每篇文章中顯示問候語,還可以使用自定義標籤。
用戶還可以在模板中放入標籤(<?php if (function_exists('referrer_detector')) referrer_detector(); ?>),以在任何所選之處顯示問候框。
可以指定排除的 URL,以隱藏問候框以避免特定用戶(例如從 Google Reader 中的用戶)使用。
星號 * 通配符可以在推薦者和排除的 URL 中使用。例如:google.* 將適用於所有本地化的 Google 域。
多個 URL 可以合併成一個條目,用逗號分隔。例如:del.icio.us,delicious.com。
能夠將 WordPress 屬性(如 url、title、author、category 等)包括在問候語中。
一個統計面板,以獲取有關訪客統計數據的報告。
安裝時已經安裝了許多條目(可以隨時用一個點擊恢復)。安裝時,您將擁有這些條目:
9 條規則
Bing
BuySellAds
Del.icio.us 和 Delicious.com
Digg
Gizmodo
Google
Lifehacker
Live Search
Reddit
StumbleUpon
TechCrunch
Technograti
TechRadar
Twitter
Yahoo!
兼容緩存插件,因核心是使用通常不被緩存的 JavaScript 編寫和運行。
自動檢測用戶的國家並顯示本地化問候語(如果有)。
備份和還原條目,排除的 URL 和選項的能力,非常方便在不同網站之間傳輸使用。
現在可以使用 SimpleModal jQuery 插件在燈箱樣式中顯示歡迎框。
優化過的 OOP 代碼允許極高的可讀性和插件開發人員的易於修改性。
歷史
4.2.1.0
為安全原因暫時刪除備份/還原功能。
* 4.2.0.3
1. 添加 Bing 和 BuySellAds 項目。您可以重置條目或使用 referrer-detector/images/icons/ 目錄中的新圖標自己創建
1. 刪除該插件現在會刪除所有選項和數據-請勿嘗試 😉
1. 修復了幾個錯誤和增強功能
* 4.2.0.2 提高兼容性
* 4.2.0.1
1. 添加了在燈箱樣式中顯示問候框的選項
1. 修復了幾個 IE 錯誤
* 4.1.0
1. 歡迎框 CSS 重寫
1. 添加了按需顯示相關文章的功能
* 4.0.1-一個熱修復嘗試修復 allow_call_time_pass_
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin displays a greeting message to visitors that come from different urls (known as referrers). For example, you may want to welcome Diggers with a message that reminds them to digg your story, or you may want to ask Del.icio.us users to bookmark your post, and so on.
Not only about a cool greeting box, it greatly helps to more efficiently interacts with your readers and build a better relationship between you (your website) and them.
Features
A pure AJAXed admin interface with elements tidily divided into tabs. Entries can be added/modified/(de)activated/deleted without the need to reload the entire page, or even with just one click. Starting from 3.2, there are even bulk actions!
The greet box position can be set to before, after, or (starting from 3.2) both before and after the post. A custom tag can also be used in case you don’t want to show greetings on every post.
Users can also put a tag () into the template to show the greet box anywhere of choice.
Excluded URLs can be specified in order to hide the greet box from specific users (like ones from Google Reader).
A * wildcard character can be used in both referrers and excluded URLs. For example: google.* will apply for all localized Google domains.
Multiple URLs can be merged into one entry, seperated by commas. For example: del.icio.us,delicious.com.
Ability to include WordPress attributes like url, title, author, category etc. into the greetings.
A STAT panel to get data reporting about the visitor statistic.
Many installed-by-default entries (which can be restored anytime with one click). Upon installing, you will have these entries available:
9 rules
Bing
BuySellAds
Del.icio.us and Delicious.com
Digg
Gizmodo
Google
Lifehacker
Live Search
Reddit
StumbleUpon
TechCrunch
Technograti
TechRadar
Twitter
Yahoo!
Compatible with caching plugins, since the core is written and run in JavaScript which is normally not cached.
Automatically detect user’s country and display the localized greetings (if any).
Ability to backup and restore entries, excluded URLs, and options, very convenient for transferring between sites.
Welcome box now can be shown in lightbox style using SimpleModal jQuery plugin.
Optimized OOP code allows extreme readability and easy modifications for other plugin developers.
History
4.2.1.0
Temporarily removed Backup/Restore feature for security reasons.
* 4.2.0.3
1. Add Bing and BuySellAds entries. You can either reset the entries or create on your own using the new icons inside referrer-detector/images/icons/ directory
1. Deleting the plugin now removes all options and data – Don’t try it 😉
1. Several fixes and enhancements
* 4.2.0.2 Raise compatibility
* 4.2.0.1
1. Added an option to display the welcome box in light box style
1. Fixed several IE bugs
* 4.1.0
1. Welcome box CSS rewritten
1. Added ability to optionally display related posts
* 4.0.1 – A hot fix attempting to fix allow_call_time_pass_reference problem
* 4.0
1. Completely rewritten code – now optimized OOP
1. Data are now stored in database for better security
1. Introduced the ability to backup entries, excluded URLs, options (you can choose from these 3)
1. Introduced the ability to add localized messages to welcome user visiting from different countries.
1. STATs reporting is now using Google Chart
* 3.2
1. Introduced Bulk Actions
1. Supported wildcard (asterisk character) in both referrers and excluded URLs, for example google.* matches all Google domains.
1. Introduced the ability to merge several URLs into one entry, seperated by commas. For example: del.icio.us,delicious.com
1. The greeting box can now be place BOTH before and after a post.
1. Some minor graphic changes and bug fixes.
* 3.1
1. Fix the javascript bug on IE that prevents the greeting box from being shown up.
1. The javascript files are now minified instead of packed to improve performance.
* 3.0.2 Made a mistake in 3.0.1
* 3.0.1 Fixed the bug that made the home page XHTML invalid
* 3.0 Added the Stats panel. Now the plugin can show (customizable) stats of visits from different referrers from time to time.
* 2.2.0.1 Fixed the javascript bug when jQuery library is not included by default.
* 2.2 Added ability to include search terms into the greet box. Supports almost all common search engines.
* 2.1.1 A small fixed on form serialization and a (possible) security flaw.
* 2.1 A minor release, introducing the ability to restore the entries to default.
* 2.0 Second major release, which has some important changes:
1. A much much clearer admin interface with tabs, along with some enhancements.
1. An option to not show the greeting box for visitors that come from specified URLs (“excluded” ones), for example Google Reader. The list can be edited easily via admin panel.
1. Users can now put a tag () into the template to show the greet box.
1. Some javascript files are packed to save bandwidth and loading time.
* 1.2 Several important fixes and improvements.
1. Fixed the bug when multiple greet boxes are shown if the page is filled with multipe full posts (such as homepage).
1. Fixed the bug in the initial SQL data where the default RSS feed url is set to mine (tooo bad I forgot to check it).
1. Fixed the javascript error when the page has no referrer.
1. Update the installation and FAQ section.
1. And some little stuffs…
* 1.1 Better support to work with cache plugins. Now the generic options take effect without the need to delete the cache.
* 1.0.1 A quick fix for caching problem (if cache is enabled and the first user has no referrer, the plugin will fail).
* 1.0 Initial version
