Eric @ EricBess WebHome

一味思考而不行动,将在不知不觉中变得无意义

Chinese (Simplified) flagItalian flagKorean flagPortuguese flagEnglish flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flagCroat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flagSlovak flagSlovenian flagUkrainian flagVietnamese flag
By N2H

WP-Donators Plugin(WP赞助商插件)

Plugin Name: WP-Donators(WP赞助商插件)
Author: Eric Wang
Stable Version: 1.0.9
Author URL: http://www.ericbess.com/ericblog/
Plugin URL: http://wordpress.org/extend/plugins/wp-donators/
Download:http://downloads.wordpress.org/plugin/wp-donators.zip

== Description ==

Wp-Donators provides a smart donation function to auto-leave the sponsor information in a container after payment. Sponsors can donate and submit name/URL or TextLink ad. The information of the latest donors are displayed in the Sponsors Cloud box. The more a person donations, the bigger their link will be.It's will support most popular payment interface in future. ParPal Just the first one.

wordpress捐赠人插件WP-DONATORS,可以支持PAYPAL多币种捐赠并实现自动汇率换算。与其他捐赠按钮不同,它还有个后台与PAYPAL API实时沟通,返回付款数据,然后把捐赠人指定的广告词与连接放在“捐赠人云”中展示出来。

== Depends On ==

  • If your haven't the paypal account so far.Please register paypal account:[PayPal Registration] first.Sign up for PayPal and start accepting credit card payments instantly.
  • PHP5, Openssl,fsock.

== Installation ==

1. Upload WP-Donators.zip to your Wordpress plugins directory, usually `wp-content/plugins/` and unzip the file. It will create a `wp-content/plugins/wp-donators/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Go to {wp-admin}->Sponsors set the default setting.
4. Go to the Widgets set the sidebar SponsorBox.

== Screenshots ==


= Demo =
Sidebar SponserBox: Right side this page.
PerPost SponserBox: under side this page.
{Test the plugin :Try to make a small donation on the SponserBox, your name or inputer will been displayed in the sponsors cloud box immediately  and automatically after donation.}


Option Setting Page

==HOW To Do ==

There are two donation functions about the plugin.

  • Sidebar SponserBox:Go to the Widgets set the sidebar SponsorBox or add the "<?php if(function_exists('sidebar_sponsor_box')) { sidebar_sponsor_box(); } ?>" to `THEME->sidebar.php`.
  • PerPost SponserBox:Edit the `THEME->single.php` add the "<?php if(function_exists('post_sponsor_box')) { post_sponsor_box(); }?>" to right position.

==Frequently Asked Questions==

How do I change the Original string text and tranlsate the plugin?

Open wp-donations.po file with poedit, create the wp-donators-{WPLANG}.mo file, you can define customization text or translate to your lang with poedit.
How to name wp-donators-{WPLANG}.mo what is {WPLANG} ?
config the wp-config.php->define ('WPLANG', '');such as:

  • wp-donators-en.mo -> define ('WPLANG', 'en'); //custonization text
  • wp-donators-zh_CN.mo -> define ('WPLANG', 'zh_CN'); //S_chinese

How to ensure the authenticity of the payment transaction?

This plugin developed in strict accordance with the PAYPAL IPN.

After my payment, Why no my information/ad displayed on the blog?

WP-Doantors IPN RESPONSE PROCESS need wait the PAYPAL return a validation informaiton, PAYPAL sometimes delay some minutes to send the IPN informantin since the server busy.

== Release Notes ==

**1.0** : First internal release;
**1.0.7** :ipn response reinforcement, L10n support;
**1.0.8** : Support Multi-currency;

1 Star2 Stars3 Stars4 Stars5 Stars (9 votes, average: 4.56 out of 5)
Loading ... Loading ...
-欢迎为本文评级

相关日志

本文读者也关心以下内容:

  • N/A

10月 21st, 2008 作者: eric | WordPress | Trackback ? | 38 评论| Email This Post Print This Post | 2,364 views

Add a Comment

Leave a reply

Hide Post Comments
  1. Jill73 posted the following on 2008-12-26 at 7:23 am.

    Hello, does anyone know how I can remove the Google adsense code in the "HELP" tab? Also, in the "Become Sponsor Now" tab, I've tried to change the affiliate link for Paypal and I cannot find it to change it to my affiliate link. Do you know how I can do that? The Paypal ID starts with BV4...

    Reply
  2. 119977 posted the following on 2008-12-12 at 10:30 am.

    fsockopen PayPal conection Error No. 127937072: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?

    Reply
    1. eric posted the following on 2008-12-12 at 10:34 am.

      your Host not support the php socket or ssl.

      Reply
  3. Michael posted the following on 2008-12-11 at 3:34 am.

    My colors are not coming up like yours - tried looking at the source, it is referencing styles that don't appear to be in my flora.tabs.css and wp-donators.css.
    I'm trying to change the green tabs to a color that matches my site... I cannot find the reference to these green tabs. Help please? The input areas seem to blend in and are hidden also, due to conflict with my site colors.
    You can see the problem on my site, if you go to one of the single pages and look at the bottom under replies.
    Thanks! Michael

    Reply
    1. eric posted the following on 2008-12-11 at 9:06 am.

      suggest the Customization Mode in your sponsors tab, just like your {Recent Posts/Recent Comments/Popular Tags} tab. 
      Donate Form: <?php if(function_exists('donate_form')) { donate_form("global"); }?>
      Sponsor Cloud: <?php if(function_exists('show_sponsor')) { show_sponsor("global"); }?>

      Advanced Mode

      1. Display Donate Form: <?php if(function_exists('donate_form')) { donate_form("Type",[size]); }?>
      2. Display Sponsor Cloud: <?php if(function_exists('show_sponsor')) { show_sponsor("Type"); }?>
      • Type "global" or "post" applications range. "globel" Play a role in the whole site; "post" Play in The current post.
      • size The form input width size,default is "40".
      Reply
  4. Andreas posted the following on 2008-11-16 at 2:23 am.

    Hi Eric,
    i translated your plugin into german. I cant reach you by mail, so i will post the downloadlink for the de_DE.mo file here.
    http://www.majeres.de/wp-donators-mit-deutschem-sprachfile
     
    greetings Andreas

    Reply
  5. phrozen77 posted the following on 2008-11-12 at 7:51 am.

    Hi Eric,
     
     
    thanks for updating the plugin and adding the possibility to choose the currency.
     
     
    However, i think you should make the list of possible currencies chooseable from it's settings-page as it doesn't make much sense for my site to have all of them available - Euros and USD are probably enough for me.
     
     
    Also, the text-fields where one can input the TextAd and the URL are a bit too big, at least in Firefox.
     
     
    Another thing i am going to offer my help is correcting the grammar and spelling mistakes - at least for the publicly viewable texts - if you want me to do that, drop me an email.
     
     
    Keep up the good work!

    Reply
  6. g3 posted the following on 2008-11-10 at 8:16 pm.

    ok now it work, i try to donate to myself, the problem was i use email other than main email account
     
    and it notice me like this "An instant payment notification was failed, the fail reson is Receiver Email Not MatchIPN POST Vars Received By WP-Donators Paypal_IPN Response API:"
     
    i still recieve payment but it not show, who was donate, now i use my main email account and it work as well

    Reply
  7. g3 posted the following on 2008-11-10 at 7:56 pm.

    and my IPN setting in my Paypal account still like this :
    "ayPal's Instant Payment Notification (IPN) allows you to integrate PayPal payments with your website back-end operations.

    Instant Payment Notification (IPN)

    Off

    Instant Payment Notification (IPN) URL:

    "
    how could i set it to on ?
     
    thank you very much, i suggest someone try to make donate to me but it's got error

    Reply
  8. g3 posted the following on 2008-11-10 at 7:50 pm.

    i got this error form admin email
    "An instant payment notification was failed, the fail reson is IPN Validation FailedIPN POST Vars Received By WP-Donators Paypal_IPN Response API:IPN Response From Paypal Server:HTTP/1.1 200 OKDate: Sat, 08 Nov 2008 02:22:33 GMTServer: Apache "
     
    what happen ? somebody try to donate to me and got error ?
    and please help me how to fix them out
     

    Reply
  9. Jonathan miller posted the following on 2008-11-08 at 2:50 pm.

    I was wondering if you could use this option inside a page and not with widgets? is there a code i can insert into my page instead?

    Reply
  10. phrozen77 posted the following on 2008-11-03 at 9:41 pm.

    Also, the plugin seems to be missing a stylesheet file.. I got lots of 404's in my webserver logs, trying to get the file "flora.css" whereas there is only a file named flora.tabs.css there....
     
     
    Maybe you want to look into this

    Reply
  11. phrozen77 posted the following on 2008-11-03 at 5:45 am.

    Hi,
     
     
    thanks for the great plugin :)  
     
    Can you please provide instructions on how to set an other currency besides dollars?
     
     
    I want it to display € euros everywhere where currently a $ is displayed and also want it to default to euros once somebody clicks on the link and gets redirected to Paypal - it'd be great if you could make that an option and / or provide me with instructions on how to change that myself.
     
     
    Thanks!

    Reply
    1. eric posted the following on 2008-11-06 at 2:01 pm.

      on coding

      Reply
  12. Bob Katayama posted the following on 2008-10-28 at 10:52 am.

    How do I change the button colors or more importantly the text in the button links?For some reason the text colors are not the same as what you have on your site and the Donation and Sponsored button text is very hard to read.
    Thanks
    Bob

    Reply
    1. eric posted the following on 2008-10-28 at 1:10 pm.

      Good question,What you mentioned will been designed in next version configureation pages. now you can edit the css file for your  display style.

      Reply
  13. g3 posted the following on 2008-10-27 at 2:14 am.

    ah it work now sorry for lasy comment, i forgot to enter paypal account, thank so much

    Reply
  14. g3 posted the following on 2008-10-27 at 2:10 am.

    still got some problem i use my paypal premier account but still got this

    We cannot process this transaction because there is a problem with the PayPal email address supplied by the seller. Please contact the seller to resolve the problem. If this payment is for an eBay listing, you can contact the seller via the "Ask Seller a Question" link on the listing page. When you have the correct email address, payment can be made at http://www.paypal.com.
    please help

    Reply
  15. g3 posted the following on 2008-10-26 at 7:13 pm.

    Great it idea thank
    when i try to active IPN it ask me to enter Notification URL and i don't know what i should enter and where could it find it.
     
    please help

    Reply
    1. eric posted the following on 2008-10-26 at 11:06 pm.

      Sorry there is a mistake on the instruction, It don't need set the IPN on your paypal account . because  the plugin will auto return a ipn session to paypal IPN getway to make the prcess.

      Reply
  16. idelsonar posted the following on 2008-10-26 at 5:22 pm.

    what is Notification URL in paypal ?
    Instant Payment Notification integrates PayPal payment notification and authentication with your website's back-end operations. Check this box to activate Instant Payment Notification, and enter the URL at which you will receive the payment notifications below.
     
    i go to active IPN and it ask me for Notification URL and how i enter it

    Reply
    1. eric posted the following on 2008-10-26 at 11:07 pm.

      Sorry there is a mistake on the instruction, It don't need set the IPN on your paypal account . because  the plugin will auto return a ipn session to paypal IPN getway to make the prcess!

      Reply
  17. baron posted the following on 2008-10-22 at 10:56 pm.

    hi. Thanks for pluginperfect.Regards

    Reply
  18. GoycP posted the following on 2008-10-22 at 6:28 pm.

    Hi,I already downloaded and installed your plugin into my blog,but I can't access the option area.It said only an User have level higher than 10 can access the option.I'm already the admin of the site,may I know how to solve this? 

    Reply
    1. eric posted the following on 2008-10-23 at 11:02 pm.

      Please update the plugin,new version will give you user level when you can't access option page. if you couldn't access yet, please give me your user level.

      Reply
    2. Springanew posted the following on 2008-10-23 at 2:01 pm.

      Same challenge here. I'm the only user and admin and it says I'm not level 10 so I can't configure the program.  Looks good if we can get it working!  Thanks

      Reply
      1. bridgecom posted the following on 2008-10-24 at 12:02 am.

        same problem. I am an admin and it says my user level is 0!

        Reply
        1. eric posted the following on 2008-10-24 at 12:08 am.

          what's your WP version

          Reply
          1. Dave posted the following on 2008-10-28 at 4:43 pm.

            "You are LEVEL 0 USER, not a LEVEL 10 USER & hence you cannot configure WP-DONATORS. If you are a LEVEL 10 or above USER, then please Logout & Login again."
            same problem, I am the admin ... Using WP 2.6.2, Plugin Version 1.0.4
            Thanks for your help

            Reply
            1. eric posted the following on 2008-10-28 at 10:15 pm.

              I change my code for you, download the newest version, and test again, thanks!

              Reply

Trackbacks and Pingbacks

  1. Pingback from WP-Donators mit deutschem Sprachfile » Majeres.de

    [...] bin ich im WP-Dashboard über Pascals Beitrag zum Wordpress Plugin WP-Donators von Eric gestolpert. Das Plugin ist recht clever gemacht. Es unterscheidet sich von den gewöhnlichen [...]

  2. Pingback from 30 plugins Wordpress de grande qualidade lançados em Outubro de 2008 | Wordpress Love - Themes, Plugins e tudo para Wordpress, em Português

    [...] WP-Donators - O plugin Wp-Donators permite-lhe recriar rapidamente e com relativa facilidade, uma forma de os seus utilizadores doarem dinheiro. Os utilizadores passam a puder doar, submetendo o seu nome/URL ou anúncio de texto. A informação dos doadores aparece depois numa núvem. Veja também o plugin de doações do meu blog sobre Ganhar Dinheiro. [...]

  3. Pingback from WordPress Plugin Releases for 10/24 | Free Blogs

    [...] WP-Donators [...]

  4. Pingback from سیاره وردپرس فارسی » افزونه های تازه

    [...] WP-Donators [...]

  5. Pingback from Naghies » Blog Archive » افزونه های تازه

    [...] WP-Donators [...]

  6. Pingback from WordPress Plugin ออกใหม่ 24 ตุลาคม 2551

    [...] WP-Donators [...]

  7. Pingback from WP-Donators WordPress Plugin

    [...] Plugin Page [...]

  8. Pingback from WordPress Plugin Releases for 10/24 | Wordpress Blog NL

    [...] WP-Donators [...]