View Full Version : Donation System
Legendkilla
05-10-2008, 11:20 AM
AAPDRDS is a donation system that once you have it fully setup it allows all donations to be fully automated. The donator pays with a paypal account or card and paypal verifys that they donated and the item(s) or gold is added to the players mailbox to be picked up.
All credit goes to 1337D00D of ascent for the awesome code. I just put it in a web front and reposted it on new forums. Thanks 1337D00D for your awesome job. All setup information is in the readme inside the rar.
Filebeam: Download Me (http://filebeam.com/b4c21318e42447ce73269da1be0b5449)
Rapidshare: Click Me (http://rapidshare.com/files/108823683/ADS.rar.html)
+Rep - All code By 1337D00D | Design by Fodah
Regards - Legendkilla
NOTE: THIS IS FULLY AUTOMATIC there is a readme in the files.:P
snobamse
05-10-2008, 12:12 PM
nice rep+
wommaxx
05-10-2008, 12:47 PM
Nice, going to test this.
If this works i'll rep yah!
Yes i rep you but its not automatic, you need to make alot of work. config file, mysql makea new db but y sure
Legendkilla
05-10-2008, 01:39 PM
i know you gotta config first :S
claus999
05-10-2008, 02:40 PM
Nice, going to test this.
If this works i'll rep yah!
Yes i rep you but its not automatic, you need to make alot of work. config file, mysql makea new db but y sure
lol read what Legendkilla has written in the thread starter post "AAPDRDS is a donation system that once you have it fully setup it allows all donations to be fully automated. The donator pays with a paypal account or card and paypal verifys that they donated and the item(s) or gold is added to the players mailbox to be picked up."
zebesmanman
05-10-2008, 02:42 PM
Thanks Leg
lawl Claus
ReaperStX
05-10-2008, 03:00 PM
lol +rep leg
Legendkilla
05-10-2008, 03:39 PM
np :D
The Joker
05-10-2008, 03:51 PM
Nice, This Could Come In Handy.
Edit: WoW Works Great. + Rep.
ibotah
05-10-2008, 04:24 PM
cool +rep man:)
Basem
05-30-2008, 10:48 PM
Item # 1-1-<br /> <b>Warning</b>: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in <b>C:\wamp\www\form
how do i fix this
my server doesnt have a website :(
babybug
08-04-2008, 08:02 PM
my server doesnt have a website :(
Surely if your server has no website you don't have a system for people to donate, making this program of no use to you anyway.
Good program, +rep.
suzyrex
08-05-2008, 05:41 AM
Thanks dude helps alot
vickes
08-05-2008, 06:51 PM
I got a prob whit this, I have got it upp on website and i can chose realm and rewards. But when i click add to cart (pay for it) it comes up an error
It says :There is a problem with the donation system.
It may not have been properly configured.
Please contact the administrator.
http://img81.imageshack.us/img81/2751/gggxe0.jpg (http://imageshack.us) http://img81.imageshack.us/img81/2751/gggxe0.ec103a3eda.jpg (http://g.imageshack.us/g.php?h=81&i=gggxe0.jpg)
i need help i have a website now but im not sure if its PHP 5 how do i know?
Legendkilla
09-05-2008, 08:56 AM
It doesn't work on php Only a website and ur problem means u didn't config proboly vickes
Syrup
09-05-2008, 09:50 AM
Nice mate! +rep
Legendkilla
09-05-2008, 02:31 PM
thanks
Zenro45
09-05-2008, 03:20 PM
looks gd +rep
Legendkilla
09-05-2008, 10:59 PM
Item # 1-1-<br /> <b>Warning</b>: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in <b>C:\wamp\www\form
how do i fix this
Fix It By Reinstalling , Or Your MySQL Isn't Compantible..:confused:
zenathor
09-06-2008, 01:00 AM
nice +rep
Legendkilla
09-08-2008, 05:17 AM
Thank You Very Much Mate :D
Evman123
09-08-2008, 10:52 PM
Hey I need some help with this. It's absolutely amazing in everything, but I have a slight problem. You can view the error code when u try to buy something. Here's the link: http://fearlessgaming.com/donate/form.php
It says stuff like this:
<b>Warning</b>: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in <b>C:\AC Web Ultima...
Also in the CP it says the following:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\donate\acp.php on line 97
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\donate\acp.php on line 101
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\donate\acp.php on line 105
If you could help me out, I'd appreciate it a lot!
Legendkilla
09-09-2008, 12:14 AM
Uhm it seems the directory is wrong. make sure the name of the repack is AC Web Ultimate Repack and that its in Server and in htdocs Then Try it.
OR it seems ur computer is not compatible or something with this
Evman123
09-09-2008, 11:37 AM
Nah that didn't work. Do you want to check out the error yourself? It may help you figure it out. I have everything working, but the people do not receive items in the mail, and the codes come out weird, without the item name and all. I edited absolutely nothing, and I've tried re-downloading countless times. The config file also is working fine.
halostorm
09-09-2008, 09:38 PM
Hey how do i actually set this up ?? (sry i'm a noob) but i dont understand a clue. Where should i put all theese files and should i put them in htdocs and what should i do in navicat ?? :S i am very confused
Evman123
09-10-2008, 12:52 AM
I still need help with my thing, I'd appreciate it.
Legendkilla
09-10-2008, 01:51 AM
halostorm read it, its really easy to understand
and Evman123 i dont understand your problem i check it out and their was no problem to me except for the missing submit button. So.,...
darkshadow54104
09-10-2008, 06:24 PM
can someone please tell me whats wrong with this i been working on it for the last 2 hours
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'http' (10061) in C:\WoW Honery Repack 2.5\Server\htdocs\donate\postback.php on line 37
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\WoW Honery Repack 2.5\Server\htdocs\donate\postback.php on line 38
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\WoW Honery Repack 2.5\Server\htdocs\donate\postback.php on line 39
Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in C:\WoW Honery Repack 2.5\Server\htdocs\donate\postback.php on line 40
Evman123
09-10-2008, 10:57 PM
halostorm read it, its really easy to understand
and Evman123 i dont understand your problem i check it out and their was no problem to me except for the missing submit button. So.,...
Dude I'm sorry if I'm giving you trouble but when I try to buy something it gives me an error. And for the missing submit button, the add to cart thing is showing and working. The problem is, the people do not receive the items via mail, #1, and #2 there's a paypal error code that reads out something like this:
4,500 Gold
Item # 1-1-<br /> <b>Warning</b>: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in <b>C:\AC Web Ultima
The code just ends there, cut off. Also, in acp.php is says this on the top of the page:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\donate\acp.php on line 97
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\donate\acp.php on line 101
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\donate\acp.php on line 105
So.... I'm not sure what to do, please help me out. I'd be willing to pay you a little bit on paypal also if you manage to do it, for some motivation. ;) Anyways, thanks a lot if you can solve the problem.
Legendkilla
09-11-2008, 01:20 AM
it seems u either havn't done ur configs write or wrong paypal address, and i dont want money :P
Calibirith
09-30-2008, 02:27 AM
really good and helpful but still a little complicated for me can anyone make a video on youtube or something or a more clearer guide on this and espicially the mysql part cause sadly im stuck there.
liquor
10-07-2008, 01:11 PM
Anyone fix that <b>warning</b> thing yet? i get the same error. Sure would be nice too have an automated system.
zeroox-net
10-07-2008, 03:01 PM
any pic?
abndrew82
10-15-2008, 01:33 PM
I have a question on this, it appears that it should work.
But in the read me for the server you create in SQL it says input host, user, pass, database
But does not state which database it needs, I would think for item lookup it needs the world database.
But then for the character and mailbox info I would think it needs the character database.
I have my realms set up with 1 central logon database, and a seperate character and world database per realm.
Thanks for any info you can give me.
csdwarf
11-05-2008, 08:12 PM
this might be a stupid question but, i get it working,and it just wont make logs or send the mail ingame
it can tell if a char name is wrong or right,so i know its to the right database
it just doesnt send it,im thinking i have these wrong
-atm my website url is just my ip,is that maybe why
-also,im not 100% sure if that directory is correct,HELP please :)
// Path information, EXTREMELY IMPORTANT that you do these right or this will not work.
define(SITE_URL,"http://192.168.1.123"); // COMPLETE url to your web site, NO TRAILING SLASH!
define(SYS_PATH,"\AC Web Ultimate Repack\Server\htdocs"); // Path to the directory this file is in, beginning with a slash.
Kabukiblood
12-24-2008, 07:28 PM
I am receiving the following error:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /misc/27/000/206/511/2/user/web/blizzardoutlaws.bravehost.com/Donations/form.php on line 44
Can anyone help with this?
timmyboi
12-29-2008, 09:29 PM
Having some issues of my own here, iv done everything correctly and i get the following:
http://img261.imageshack.us/img261/7657/paypalerrorrw0.th.jpg (http://img261.imageshack.us/my.php?image=paypalerrorrw0.jpg)
This image shows paypal check out with code at the end of the item name.
http://img228.imageshack.us/img228/2316/siteerrorhq8.th.jpg (http://img228.imageshack.us/my.php?image=siteerrorhq8.jpg)
This image shows the actual donation page, you can see there is code in the background and theres code in the "select reward box" also i added all T7 Sets and there all not in the list on site.
Can someone tell me how to fix.
Kind Regards
Tim
MysteriousWow (http://www.mysteriouswow.co.nr)
deviss
02-04-2009, 04:09 AM
works for 3.0.8 ? (wotlk )
just a little post. ^^
I HATE PAYPAL! Only the age of 17+ can have a paypal, i have to wait a year to get a paypal ffs! I HATE IT SO MUCH! ... :@
skulkire
05-27-2009, 12:59 AM
this might be a stupid question but, i get it working,and it just wont make logs or send the mail ingame
it can tell if a char name is wrong or right,so i know its to the right database
it just doesnt send it,im thinking i have these wrong
-atm my website url is just my ip,is that maybe why
-also,im not 100% sure if that directory is correct,HELP please :)
// Path information, EXTREMELY IMPORTANT that you do these right or this will not work.
define(SITE_URL,"http://192.168.1.123"); // COMPLETE url to your web site, NO TRAILING SLASH!
define(SYS_PATH,"\AC Web Ultimate Repack\Server\htdocs"); // Path to the directory this file is in, beginning with a slash.
Everything is configured correctly according to the readme, AND the suggestions on both webwow and acweb. I can see my items, choose a valid and invalid character name, and even see my listed prices, but when you go through to donate, the system does NOT log anything, it doesn't mail anything, it simply does NOTHING but push the money I donated onto my paypal account and thank me. So I'm at a loss here. Using php5 with my apache, configs are exact as according, using arcemu 3.0.9 maybe thats my problem. Not sure wtf went wrong here.
Very nice :)
Shame it's for ArcEmu though :/
elite
05-28-2009, 01:21 PM
is it someone have something like that but to pay with sms not with credit card ....
deviss
08-17-2009, 09:36 AM
hmm a problem here
i m trying with a friend to setup the donation system
everything works fine no error , we are using sandbox paypal for testing .... BUT
when i m buying an item to test if it s added ingame nothing happens. The payment is successful but no item inside game ... nor on character or inv
Any help ?
blachex12
10-04-2009, 05:21 PM
thanks +rep
Rathiel
10-04-2009, 10:03 PM
Very Nice!
+Rep
~Rath
tommykent1210
10-12-2009, 08:43 PM
i need help i have a website now but im not sure if its PHP 5 how do i know?
Make an new php file called phpinfo.php
paste this into the file:
<?php
phpinfo()
?>
Save and upload to website server. Then go to it in browser, it will tell you your PHP version.
:P
ivanorezac
10-15-2009, 10:16 PM
+rep
Lytle69
10-25-2009, 03:55 PM
Man I really wish this would get updated, I'm looking to use one of these >.<
sockerbeat
10-27-2009, 01:35 AM
what does this mean? :S
All this come when i loading my site wath yourself :S Donations (http://wowish-swe.no-ip.org/donations/index.php)
Notice: Use of undefined constant MYSQL_HOST - assumed 'MYSQL_HOST' in C:\wamp\www\donations\config.php on line 3
Notice: Use of undefined constant MYSQL_USER - assumed 'MYSQL_USER' in C:\wamp\www\donations\config.php on line 4
Notice: Use of undefined constant MYSQL_PASS - assumed 'MYSQL_PASS' in C:\wamp\www\donations\config.php on line 5
Notice: Use of undefined constant MYSQL_DATA - assumed 'MYSQL_DATA' in C:\wamp\www\donations\config.php on line 6
Notice: Use of undefined constant SITE_URL - assumed 'SITE_URL' in C:\wamp\www\donations\config.php on line 9
Notice: Use of undefined constant SYS_PATH - assumed 'SYS_PATH' in C:\wamp\www\donations\config.php on line 10
Notice: Use of undefined constant CURRENCY_CODE - assumed 'CURRENCY_CODE' in C:\wamp\www\donations\config.php on line 13
Notice: Use of undefined constant CURRENCY_CHAR - assumed 'CURRENCY_CHAR' in C:\wamp\www\donations\config.php on line 14
Notice: Use of undefined constant PAYPAL_URL - assumed 'PAYPAL_URL' in C:\wamp\www\donations\config.php on line 17
Notice: Use of undefined constant PAYPAL_EMAIL - assumed 'PAYPAL_EMAIL' in C:\wamp\www\donations\config.php on line 18
Notice: Use of undefined constant MAIL_SUBJECT - assumed 'MAIL_SUBJECT' in C:\wamp\www\donations\config.php on line 21
Notice: Use of undefined constant MAIL_BODY - assumed 'MAIL_BODY' in C:\wamp\www\donations\config.php on line 22
Notice: Use of undefined constant ACP_USERNAME - assumed 'ACP_USERNAME' in C:\wamp\www\donations\config.php on line 25
Notice: Use of undefined constant ACP_PASSWORD - assumed 'ACP_PASSWORD' in C:\wamp\www\donations\config.php on line 26
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\donations\index.php on line 35
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\donations\index.php on line 42
In resources/config.php:
<?php
//CONFIG FILE
//YOU MUST EDIT THIS
define(MYSQL_HOST,"localhost"); // Host of your WEB SITE'S MySQL server, NOT ascent's.
define(MYSQL_USER,"USER"); // User to above server.
define(MYSQL_PASS,"PASS"); // Password for above user.
define(MYSQL_DATA,"DB"); // Database holding information for AAPDRDSS.
define(ACP_PASSWORD,"ADMINPASS"); // The password you will use to gain access to the Donations ACP.
define(RECEIVER_EMAIL,"YOURPAYPALEMAIL"); // This is the paypal account payments will be sent to.
define(FORM_LOCATION,"http://www.yoursite.com/donate/postback.php"); // The FULL path to postback.php, INCLUDING http://!!!
define(CURRENCY_CODE,"USD"); // PayPal currency code, i.e. USD or EUR.
define(CURRENCYSYMBOL,"$"); // Symbol to represent currency, i.e. $ or €.
define(PAYPAL_ADDRESS,"www.paypal.com"); // Leave this alone unless you wish to use the paypal sandbox.
define(MAIL_SUBJECT,"Thanks!"); // The subject of the mail sent.
define(MAIL_BODY,"Thank you for supporting our server! Here is a reward for your donation!"); // The body of the mail sent.
?>
Needs to become:
<?php
//CONFIG FILE
//YOU MUST EDIT THIS
define("MYSQL_HOST","localhost"); // Host of your WEB SITE'S MySQL server, NOT ascent's.
define("MYSQL_USER","USER"); // User to above server.
define("MYSQL_PASS","PASS"); // Password for above user.
define("MYSQL_DATA","DB"); // Database holding information for AAPDRDSS.
define("ACP_PASSWORD","ADMINPASS"); // The password you will use to gain access to the Donations ACP.
define("RECEIVER_EMAIL","YOURPAYPALEMAIL"); // This is the paypal account payments will be sent to.
define("FORM_LOCATION","http://www.yoursite.com/donate/postback.php"); // The FULL path to postback.php, INCLUDING http://!!!
define("CURRENCY_CODE","USD"); // PayPal currency code, i.e. USD or EUR.
define("CURRENCYSYMBOL","$"); // Symbol to represent currency, i.e. $ or €.
define("PAYPAL_ADDRESS","www.paypal.com"); // Leave this alone unless you wish to use the paypal sandbox.
define("MAIL_SUBJECT","Thanks!"); // The subject of the mail sent.
define("MAIL_BODY","Thank you for supporting our server! Here is a reward for your donation!"); // The body of the mail sent.
?>
The 1st part of the define, they need to be in quotes. I don't feel like telling you why, but it works.
sockerbeat
10-29-2009, 02:04 AM
Thx man :) but now what should i do when this appear?
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\donations\index.php on line 35
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\donations\index.php on line 42
It has to do with a parameter in mysql_fetch_array() and since I don't use this system, I can't tell you exactly why it is doing that.
Zaxer
10-29-2009, 08:52 PM
Why bumping up over 1 yr old threads?
Oops, just did x)
- Z
Argonon
12-20-2009, 03:36 AM
http://img697.imageshack.us/img697/9388/errornm.jpg
what about that error?
I can't seem to find the part of the code where he has it pointing to the Character DB. anyone want to try and help me out?
ghbsraziel
12-20-2009, 05:22 AM
man this thread is sooo old ... ;) better find new one
Argonon
12-20-2009, 07:41 PM
man this thread is sooo old ... ;) better find new one
ya, but I thought I would try it anyways, besides, you replied haha XD
ghbsraziel
12-20-2009, 08:18 PM
ya, but I thought I would try it anyways, besides, you replied haha XD
ye cuz i dont have what to do xD and i search a donation system for mangos/trinity =[ and when see the name i and your post i just say "ok lets write" xD :)
kingofwc
12-27-2009, 08:18 AM
/bump! Someone please fix this
ilija98
07-29-2010, 11:17 PM
how to configure (it like nice) but if u have any guide im not best with php
Wilson212
08-01-2010, 10:49 PM
sweet, nice job :)
marijnz
08-21-2010, 09:14 AM
Awesome, thanks :)
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.