Donations Improvments

4 replies  ·  2 participants

Jan 3, 2010, 05:33 PM#1
Refering to the DSD (http://www.aprilon.net/app/dsd/) which I think is PHP app by Karl.

I presume you're just storing all the applicants in a DB and then just showing a list of people who are still donators (does this automatically add/remove steam ID's?).

If this is the case could we set up a cronjob that runs a simple PHP script daily that emails people if their subscription is about to expire? Might help keep people donating regularly?

Also on that topic how about using IPN? (Instant payment notification) to add peoples steam id to the server straight away?

I have lots of experience in PHP/IPN/General Coding if needed!
Jan 3, 2010, 05:39 PM#2
It's php. Donators aren't added automatically though, because it is in no way tied to any payment system. I'm not sure how to deal with automation though, it'll have to do something with SourceMod's admin-sql threading or so, so I'm sure it's possible. And as for the cron job suggestion, I was about to do something like this but I have yet to do it.
Jan 3, 2010, 06:15 PM#3
If it was to become automated it would need to work something like:

Donator Page - Link to PayPal
Paypal - User Enters Details and Sends Payment

Paypal IPN - Opens a page on a web server that validates payment and adds (or updates) an SQL database (user doesn't see this).
Paypal - User is linked back to confirmation page

Sourcemod - Checks SQL regularly when loading map for admins (donators).


I've set things up like this in the past (minus the SourceMod bit), but would be happy to look it up if it's of interest to you! Good news on the cronjob idea.
Jan 3, 2010, 09:46 PM#4
If it was to become automated it would need to work something like:

Donator Page - Link to PayPal
Paypal - User Enters Details and Sends Payment

Paypal IPN - Opens a page on a web server that validates payment and adds (or updates) an SQL database (user doesn't see this).
Paypal - User is linked back to confirmation page

Sourcemod - Checks SQL regularly when loading map for admins (donators).


I've set things up like this in the past (minus the SourceMod bit), but would be happy to look it up if it's of interest to you! Good news on the cronjob idea.

Add me on Steam if you haven't already. http://steamcommunity.com/id/karlicious and we can discuss this.