[WordPress] 外掛分享: BetterPress

前言介紹

  • 這款 WordPress 外掛「BetterPress」是 2013-09-09 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2013-09-15,距離現在已有 4249 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

art-and-the-machine |

外掛標籤

donate | widget | charity | spenden | better place |

內容簡介

這是一個外掛程式,可將「betterplace.org」平台上的慈善計畫整合至 WordPress 網站中。
外掛程式包括小工具,可顯示不同的計畫資料。
您可以選擇靜態模式,在顯示選定的小工具區域中的每個頁面上顯示一個 betterplace.org 計畫。
此外,小工具還具有動態模式,可在同一個小工具區域中在不同頁面上顯示不同的計畫。
提供多種顯示選項。可以僅顯示計畫和捐款畫面的連結,或者顯示屬於該計畫的所有或部分需求清單。
功能列表:
- 顯示 betterplace.org 計畫和計畫需求詳細資料
- 以多種方式輸出計畫和計畫需求進度
- 添加直接連結到 betterplace.org 上的計畫捐款畫面
- 易於使用小工具
- 使用一个小工具在不同頁面上顯示不同的計畫
- 進度顯示(百分比和進度條)
即將推出的功能:
- 短代碼支援
- 顯示 betterplace.org 圖片
- 多語言支援
Better Press API 文件:
am_bpProjectController 是顯示 betterplace.org 資料的主要物件。只需創建一個新實例,添加一個 betterplace.org ID 並使用 get 方法即可在自定義範本檔案中使用它。您可以顯示該計畫的需求,使用 nextProject() 方法切換需求,顯示多個計畫。
am_bpProjectController 的所有方法:
- addProject($id)
- getProjectTitle()
- getProjectSubtitle()
- getProjectDescription()
- getProjectImageUrl($size = "original")
- getProjectProgress()
- getProjectDonationUrl()
- addNeed($id)
- getNeedTitle()
- getNeedDescription()
- getNeedProgress()
- nextNeed()
- nextProject()

原文外掛簡介

This is a Plugin for integrationing a charity project of the platform betterplace.org to a WordPress site.
The plugin includes a Widget for displaying different project data.
You can choose the static mode to display one betterplace.org project on every page that displays the choosen widget area.
Also the widget comes along with a dynamic mode in order to display different projects on different pages in the same widget area.
There are sereval display options. It is posible to display just the project and a link to the donation screen or you can display a list of all or a number of needs that belong to the project.
Feature List

Display project and project need details of betterplace.org projects
Output project and project need progress in sereval ways
Add direct links to the donate screen of the project on betterplace.org
Easy to use widget
Use one widget to display different projects on different pages
Progress display (per cent & progress bar)

Upcoming Features

Shortcode support
Picture display of betterplace.org pictures
Multi language support

Arbitrary section
Better Press API Documentation
am_bpProjectController
The am_bpProjectController is the main Object for displaying betterplace.org data. To use it in custom template files just create a new instance, add a betterplace.org ID and use the get methods.
Example:
$bp_projectObject = new am_bpProjectController();
$bp_projectObject->addProject(7910);
echo $bp_projectObject->getProjectTitle();
This will display the Title of the project that has the ID 7910.
You are able to display project needs in the same way.
Example:
$bp_projectObject = new am_bpProjectController();
$bp_projectObject->addProject(7910);
echo $bp_projectObject->getNeedTitle();
This will display the title of the first need of the project that have the ID 7910.
In order to display more than one need you can use the nextProject() method to switch needs. It returns false when no more needs are left:
Example:
$bp_projectObject = new am_bpProjectController();
$bp_projectObject->addProject(7910);
echo ‘
‘.$bp_projectObject->getNeedTitle().’
‘;
do{
echo ‘
‘.$bp_projectObject->getNeedTitle().’
‘;
}while($bp_projectObject->nextProject());
This will display all titles of needs of the project that have the ID 7910.
In order to display more than one project use the method nextProject() in the same way. First you have to add all projects and after that you are able to switch projects:
Example:
$bp_projectObject = new am_bpProjectController();
$bp_projectObject->addProject(7910);
$bp_projectObject->addProject(932);
$bp_projectObject->addProject(1032);
do{
echo ‘
’.$bp_projectObject->getProjectTitle().’
’;
}while($bp_projectObject->nextProject());
This will display the titles of the Projects that got the ID 768, 932, 1032.
All methods of am_bpProjectController
addProject($id)
Add a betterplace.org project to the stack.
nextProject()
Moves the project pointer to the next project. Returns false if no more projects are on stack.
nextNeed()
Moves the need pointer of the pointed project to the next need. Returns false if no more projects are on stack.
firstProject()
Moves the pointer to the first project on the stack.
getProjectID()
Returns the betterplace.org ID of the project that is pointed.
getProjectTitle()
Returns the title of the pointed project.
getProjectDescription($maxnumber, $option)
Returns the description of the project that is pointed. It acepts two arguments to limitade the description. $option = 0 will limit count of letters that is specified in $maxnumber, $option = 1 limits $maxnumber words.
getProjectAmount($option, $format)
Returns money amounts of the project. If $option = 0 it returns the amount of money that is still needed to fulfil the project. $option = 1 returns the monay that is already donated and $option = 2 is the complete amount that has been requested. The argument $format specified the display of the amount. $format = 1 returns the amount in Euro formated as usual in Europe. If $format = 0 the method returns the complete amount unformated in Cents. $format = 2 returns only the amount of Euros without cent amounts. $format = 3 returns only the amount of Cents like if you would cut the full Euro amounts away.
getProjectProgress()
Returns the progress of the project in per cent.
getProjectLink($option)
Returns links belonging to the project that is pointed. $option = 0 will return the link to the project page. $option = 1 will the link that leds directly to the donation page of the project.
getProjectOpinions($option)
Returns the number of opinions about the project on betterplace.org. If the argument is set to $option = 0 you will get the total number of opinions. If $option is set to 1 you’ll get the number of positive opions, if it is set to 2 you’ll get the count of negative opinions.
getProjectDonors()
Returns the total number of donors which have already donated the pointed project.
getProjectNeedCount()
Returns the number of needs of the project that is pointed.
getNeedID()
Returns the ID of the need that is pointed.
getNeedDate($option)
If $option = 0 this method will return the date of creation of the need. If $option = 1 it will return the date of the last update of the need.
getNeedTitle()
This method returns the title of the pointed need.
getNeedDescription($maxnumber, $option)
Returns the description of the need that is pointed. It acepts two arguments to limitade the description. $option = 0 will limit count of letters that is specified in $maxnumber, $option = 1 limits $maxnumber words of the need.
getNeedProgress()
Returns the progress of the pointed need in per cent.
getNeedAmount($option, $format)
Returns money amounts of the need. If $option = 0 it returns the amount of money that is still needed to fulfil the need. $option = 1 returns the monay that is already donated and $option = 2 is the complete amount that has been requested. The argument $format specified the display of the amount. $format = 1 returns the amount in Euro formated as usual in Europe. If $format = 0 the method returns the complete amount unformated in Cents. $format = 2 returns only the amount of Euros without cent amounts. $format = 3 returns only the amount of Cents like if you would cut the full Euro amounts away.
iscompletedNeed()
This method returns true, if the need is already completed.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「BetterPress」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


trunk | 0.95.1 | 0.95.2 |

延伸相關外掛(你可能也想知道)

  • GiveWP – Donation Plugin and Fundraising Platform 》GiveWP 是為 WordPress 設計的最高評價、下載次數最多和支援最好的捐款外掛。不論您需要簡單的捐款按鈕或是針對線上捐款進行優化的強大捐款平台,GiveWP 都能...。
  • Accept Donations with PayPal & Stripe 》總覽, 這個外掛可以讓您在您的網站上收取 PayPal 捐款。, 觀看這個簡短的 1 分鐘影片,了解此外掛如何運作:, , 您可以將 PayPal 捐款按鈕放置在您希望收款的...。
  • Charitable – Donation Plugin for WordPress – Fundraising with Recurring Donations & More 》pliant in just a few clicks with Charitable. Your donors’ data is protected and encrypted at all times., Charitable is also flexible and extensible...。
  • Doneren met Mollie 》您正在尋找一個簡單的捐款外掛,用於慈善機構或例如當地足球俱樂部嗎?此外掛適用於一次性捐款和定期付款。外掛整合了 Mollie 的所有付款方式。該外掛也提供...。
  • Potent Donations for WooCommerce 》Donations for WooCommerce 外掛可讓您透過 WooCommerce 商店接受各種不同的捐贈金額。它添加了一個「捐贈」商品類型,供最終用戶自訂價格。, 如果您喜歡這個...。
  • Donation Thermometer 》簡易易用, 只需使用短碼 [thermometer raised=?? target=??],即可在任何文章、頁面或側邊欄上顯示傳統風格的追蹤溫度計。, 完全自訂, 可製作無限多個溫度計...。
  • Donations Made Easy – Smart Donations 》智慧捐款(Smart Donations), 想要查看演示嗎?請到此處觀看視頻教程:http://rednao.com/smartdonations.html, 如需支援和反饋意見,請造訪 http://rednao....。
  • Recurring PayPal Donations 》Recurring Donations外掛程式可以讓你透過網站接受PayPal的定期捐款。, 此外掛程式有一個使用簡單的捐贈短碼,讓你可以在WordPress網站的任何地方放置捐款按...。
  • پلاگین پرداخت دلخواه 》這是一個來自伊朗的付款外掛程式,可用作自訂付款系統或捐款系統,讓使用者輕鬆從使用者那裡獲取金錢。其中一個優點是,這個外掛程式是模組化的,可以擴展支...。
  • Donation Form Block for Stripe 》用 WordPress 贊助表單區塊外掛在幾秒鐘內為您的網站新增 Stripe 贊助表單。這是 GiveWP 的簡約版,提供了 GiveWP 表單的樣式和功能,無需進行一切安裝設定,...。
  • Donation Block For PayPal 》Paypal 捐款區塊可讓您在網站上快速且簡單地建立動態 PayPal 捐款按鈕。, 請參閱此一分鐘的插件演示影片:, , 插件功能:, , 沙盒 / 生產環境模式, 捐款金額...。
  • Get Cash 》透過本外掛,在您的 WordPress 網站任何位置都可使用按鈕或 QR 碼接收來自 Cash App、Venmo、PayPal 等方式的款項、小費、捐款。, 欲了解更多本外掛詳情,請...。
  • Erima Zarinpal Donate 》大部分支援 Zarinpal 金融交易的 WordPress 外掛都是使用簡單付款方式。 , 當您使用 Web Service 時,您可以在 Zarinpal 網站上作為收款人顯示您的網站名稱和...。
  • Fundraising Thermometer by CouponBirds 》簡單易安裝, 安裝這個外掛只需要不到三分鐘,網站就能展示出這個美觀的籌款溫度計!, 免費籌款溫度計, 下載、試用都是免費的!, 郵件支援, 這是唯一一個有郵件...。
  • Very Simple PayPal Donation Form 》使用簡短代碼在任何文章或頁面上放置簡單的 PayPal 捐贈表單。表單有快速捐款金額按鈕、輸入自訂捐款金額的選項,以及選擇一次性或每月定期捐款的選項。。

文章
Filter
Apply Filters
Mastodon