Here is an basic donation addon that should work fine in 2.08
Original credit for donate,php and paypal.php goes to BigMax1.
I just modified it to be correct for just about any site and fixed some formatting.
1st: sql: add the following sql into your db with what ever you use to edit the db.
DROP TABLE IF EXISTS `funds`;
CREATE TABLE IF NOT EXISTS `funds` (
`id` int(10) unsigned NOT NULL auto_increment,
`cash` decimal(8,2) NOT NULL default '0.00',
`user` int(10) unsigned NOT NULL default '0',
`added` datetime NOT NULL default '0000-00-00 00:00:00',
`month` varchar(10) default NULL,
`year` varchar(10) NOT NULL default '',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
2nd:
extract the enclosed zip file into the root of your site with folders and all.
New Update
http://devscorner.xyz/uploads/post-33545-0-28392100-1333921513.pnghttp://devscorner.xyz/uploads/post-33545-0-05794400-1333921524.png
3rd: edit backend/funds_config.php
$DONATEMAIL = 'change_this_email@change.this'; //Your Paypal email address here.
Edit: I fixed some issues if people try and donate if not logged in, in that case the person would have to pm someone to get the status set right.
List Of Most Reg Currencys
// List Of Most Reg Currencys
// Euro € EUR
// British Pound £ GBP
// Canadian Dollar $ CAD
// Polish Zloty $ PLN
// U.S. Dollar $ USD
Seems bigmax1 original post for entries that dont exist..
anyway:
in what ever you use to edit the db
ALTER TABLE `users` ADD `donoruntil` datetime NOT NULL default '0000-00-00 00:00:00';
ALTER TABLE `users` ADD `donor` enum('yes','no') NOT NULL default 'no';
ALTER TABLE `users` ADD `total_donated` int(10) unsigned NOT NULL default '0';
[url="
http://devscorner.xyz/applications/core/interface/file/attachment.php?id=5729"]tt_donation.rar[/url] New Update 05/05/2012