I have gotten donations and I would really like to get the donate o meter fixed so people can get the proper credit for making their donations.
Does anyone out there know PHP? I think I have the problem narrowed down. I think it's because my provider blocks a function which paypal needs to use to post the payment back.
Now I have no idea what I'm talking about. I just repeat what I found:
It appears that this donate o meter uses the fsockopen() function, which I believe my host blocks from working. That's why it works on some web sites, but not others. What I have read is that if it could be modified to use the cURL function, it could work.
Again, I could have written Chinese up there for all I know, but I figured I would throw it out there in case someone had a clue.
Thanks guys,
Rich (TW)
I need help!
-
- DW Clan Member
- Posts: 1634
- Joined: Wed Dec 28, 2005 12:00 am
I haven't looked directly at the NukeTreasury code, but I looked up the problem a little bit --
Try reading over this thread (if you haven't already). The people here have some suggestions on what to do. http://sourceforge.net/forum/forum.php? ... _id=345471
These weblinks also provide what appears to be standard PayPal code for retrieving information about PayPal donations via CURL. Honestly I wouldn't want to go this route if I didn't have to, as you may be looking at some potential headaches trying to get variables to match up and such.
http://www.softcoded.com/paypal/secure_paypal_ipn.php
http://www.softcoded.com/paypal/paypal_php.php
If you can't fix it following the instructions on the SourceForge page I'd go with an easier solution -- Look for an "announcement" nuke module and just manually type in the amount of cash received and such. The effort required for fixing the NukeTreasury script would probably be more than the trivial effort it takes to update the donation amount every week or two.
Try reading over this thread (if you haven't already). The people here have some suggestions on what to do. http://sourceforge.net/forum/forum.php? ... _id=345471
These weblinks also provide what appears to be standard PayPal code for retrieving information about PayPal donations via CURL. Honestly I wouldn't want to go this route if I didn't have to, as you may be looking at some potential headaches trying to get variables to match up and such.
http://www.softcoded.com/paypal/secure_paypal_ipn.php
http://www.softcoded.com/paypal/paypal_php.php
If you can't fix it following the instructions on the SourceForge page I'd go with an easier solution -- Look for an "announcement" nuke module and just manually type in the amount of cash received and such. The effort required for fixing the NukeTreasury script would probably be more than the trivial effort it takes to update the donation amount every week or two.