[WordPress] 外掛分享: Bittip.It – Bitcoin Donation Button

首頁外掛目錄 › Bittip.It – Bitcoin Donation Button
10+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
4508 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0.1 上架:2013-12-02

內容簡介

透過設定頁面輸入您的比特幣地址,並選擇是否要在文章或頁面上顯示按鈕。當按下按鈕時,會載入一個包含 QR 碼的 iframe,讓您的讀者捐贈給您。

100% 的款項直接匯入您的帳戶。

外部文件

外掛會加入 4 個由外部主機提供的檔案:

2 張圖片檔案
1 個 CSS 檔案
1 個(兩個可能中的一個) Javascript 檔案

https://bitcoinsberlin.com/wp-content/uploads/2013/01/button-loader.js

http://bittip.it/cdn/button-loader.js

這些檔案是相同的,載入的檔案取決於您的協定,如果您的網站使用「https」,則必須載入「https」版本。

按鈕的運作方式與 Twitter 和 Flattr 按鈕相同,您將代碼片段複製到您的專案中,當專案運行時,CSS 和 Javascript 將添加到標頭中以啟用按鈕。

CSS 用於裝飾按鈕,Javascript 則執行多項任務。

Javascript 的工作

1) 透過在「htt://bittip.it」上執行 ajax 函數載入捐款金額
2) 為按鈕附加點擊事件,以開啟捐款用的 iframe
3) 建立彈出視窗的外框

這些檔案也可以架設在 WordPress 上,但如果它們架設在外部主機上會更加整潔,因為大多數使用者直接從網站上複製代碼片段,而不是安裝 WordPress 外掛。

完整支援:
http://bittip.it/wordpress-plugin/

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Bittip.It – Bitcoin Donation Button」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Enter your Bitcoin address via the settings page and choose whether you want it to appear on posts/pages. A button will appear and, when clicked, an iframe is loaded with a qr code allowing your readers to donate to you.
100% goes to you and does so directly.
External Files
The plugin adds 4 externally hosted files to the DOM:
2 Image files
1 CSS File
1 (of two possible) Javascript files
https://bitcoinsberlin.com/wp-content/uploads/2013/01/button-loader.js
OR
http://bittip.it/cdn/button-loader.js
The files are identical. The file that is loaded depends on your protocol. If your site uses ‘https’ then the ‘https’ version must be loaded.
The button works like any normal web button including Twitter and Flattr buttons. You copy a code snippet into your project and when the project is run, CSS and Javascript is added to your head to activate the buttons.
The CSS is for styling the button. The Javascript performs several tasks.
What the Javascript does
1) Loads the ammount of donations via an ajax function performed on “htt://bittip.it”
2) Attaches a click event to the button to open the iframe for donating
3) Creates the outer frame of the popup
While these files could be hosted on wordpress, it is neater if they are hosted off site as the majority of users will have copied the snippit directly from the site, opposed to installing the WordPress plugin.
Full Support:
http://bittip.it/wordpress-plugin/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon