Hey guys,
I'm finally back from training finally, I can start fixing things that have broke since I've been away and start adding features.
Firstly:
My webhost is the same, I will change the Allow_url_fopen is only needed for the steam login functionality.
I will change the steam login system when I have time after training.
The steam login system depends on Allow_url_fopen, I'll try get this changed to use Curl as soon as I figure it out xD.
Hey wully, any chance you could make it so it works with multiple servers?
Certainly! You mean a user donates once and gets the rank/perk on both servers? I can do that
Did anyone figure out how to add
self:PS_GivePoints( xxx );?
I'd like it to auto give points as well.
I'll get this added as well once I finish the web based configuration, which will make it a lot easier for users to add in what servers/ranks/perks they want for each donation!
So I got to thinking, what would happen if someone gives me money on PayPal without using PUDS
I don't know much about PayPal, I had to set up a premier account or something, even then the IPN didn't show (Found it in the actual profile settings page)
Without PUDS the donation will go through like a regular paypal donation, you would get an e-mail regarding it, but you would need to do your own administration for giving the player any ranks/perks they applied for.
Okay, so I have set up the config.php to my liking, and have followed (what I think is outdated) Installation Tutorial
But I have no idea how to set up the DataBase table.
Anyone able to give a hand?
One More Thing:
IP, Port and RconPass are correct, is there an off chance that my host is blocking outside access?
The database is automatically made the first time a donation comes through ( this includes the first donation done using the paypal sandbox).
The only thing you need to do for the database is set up a user in your mysql database and a database for the donation info to be stored in. Then fill out the config details in config.php.
///MySQL Database Configuration///
$UseDB = "true"; //Change to false if you do not want to use a MySQL database.
$HOST = "localhost"; //If this script is on the same webserver as your database leave as localhost
$DBUSER = "scratch_paypal"; //The user for the MySql database
$DBPASS = "passwordhere"; //Password for the MySql user
$DBNAME = "scratch_donations"; //The name of the database
$DBTABLE = "donations"; //The name of the database table to store the donation information
The table does not need to be created already, the script will do that for you so you can name $DBTABLE whatever you want and the script will create it. Or if you already have created a table, input that tables name.
Finally Scratch,
There may be a chance your host is blocking outside access, you will need to send them a support ticket to request the port to be open (27015 I believe JamminR said).