Login
Username: Password:
Remember me

[Sign Up] / [Recover Password]

Theme / Language

Popular
New Torrents
new name
Size: 18.40 MB
Most active
new name
S: 74 L: 3
New Posters
User Posts

Go to Profile

Thanks! :)
"ArcticWolf, post: 82207":
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

THANKS ! :)
[size=18px]THANKS Mate [/size] :) [size=18px] !![/size] :lol:
Fatal error: Call to undefined function SQL_Query_exec() in public_html/modcp.php on line 29??

Plz help. :(
Users online

No users online

Search



Statistics

    Torrents

  • Tracking: 3
  • Todays torrents: 0
  • Seeders: 0
  • Leechers: 0
  • Peers: 0
  • Downloaded: 89.96 GB
  • Uploaded: 9.86 GB

  • Members

  • We have: 838
  • New today: 0
  • Guest today: 9

  • Online

  • Total online: 1
  • Members: 0
  • Guests online: 1
  • Comments: 3
  • Messages: 1,728