[CodeCanyon]Get for free PayPal Donation Widget


General description:

PayPal Donation Widget is a simple PHP-script that allows you to embed donation box into any HTML-page (PHP-page, ASP-page, whatever-page). It displays recent/top donors and donation button (it also can display full list of donors as a table or comma separated string). Once your visitor donated through widget, his/her name appears in a list. Widget is embedded with 1-line JavaScript code. Features Any number of recent donors: display as many recent donors as you wish. Highly customizable: change colors, fonts and styles using CSS, all CSS-classes are ready. PayPal ready: you just need set up your PayPal ID. Lite script: no database queries or heavy server loads. Easy integration: insert 1 JavaScript line of code into your pages. Multiple display modes: display widget by different ways. 3rd party websites integration: you can insert the same widget into any websites, located on other domains. Easy to install: you only need to edit config.php (title, PayPal ID, number of recent donors, target to reach). Installation Let’s imagine that you have website: http://www.website.com/ and you want to install there. 1. Create folder “donationcontest” (use any other name) in root of your domain. Once created it can be reached by URL: http://www.website.com/donationcontest/ 2. Unpack zip-archive into this folder and set permission 0777 for folder “data”. To make sure that you did everything correctly, open URL http://www.website.com/donationcontest/ in browser, you will see phrase: “Silence is the gold!”. 3. Edit config.php and set 6 parameters: script URL (http://www.website.com/donationcontest/), title of widget, your PayPal ID, number of recent donors, currency and target to reach. 4. Embed widget into any page of any website with any of the following modes (you can see all this modes on “Live Preview” page): Recent donors<script type=”text/javascript” charset=”utf-8″ src=”http://www.website.com/donationcontest/donation_widget.php”></script> TOP donors<script type=”text/javascript” charset=”utf-8″ src=”http://www.website.com/donationcontest/donation_widget.php?mode=top”></script> Recent donors only<script type=”text/javascript” charset=”utf-8″ src=”http://www.website.com/donationcontest/donation_widget.php?mode=recent-only”></script> TOP donors only<script type=”text/javascript” charset=”utf-8″ src=”http://www.website.com/donationcontest/donation_widget.php?mode=top-only”></script> All donors table<script type=”text/javascript” charset=”utf-8″ src=”http://www.website.com/donationcontest/donation_widget.php?mode=donors-table”></script> All donors comma-separated string<script type=”text/javascript” charset=”utf-8″ src=”http://www.website.com/donationcontest/donation_widget.php?mode=donors-string”></script> Button only<script type=”text/javascript” charset=”utf-8″ src=”http://www.website.com/donationcontest/donation_widget.php?mode=button”></script> That’s it! Enjoy using the PayPal Donation Widget. If you have problems regarding using this script, please contat me and I’ll help you.

Created 20 April 12
Last Update 30 April 13
High Resolution Yes
Compatible Browsers IE6, IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome
Files Included CSS, PHP
Software Version PHP 4.x, PHP 5.x, PHP 5.0 – 5.2, PHP 5.3, PHP 5.4
Tags button, donate, donation, donor, monetize, monetizing, money, paypal, widget

General Information:


Category: PHP Scripts

Live Preview: click!

Screenshots: click!

Get download:

Leave a Reply