I applied this donor hack to pmbt 1.2.2, but it will most likely work with full-mod and 2.x, if not.. If you find your way around php/mysql then it is a piece of cake to make it work in other releases of pmbt.
Anyways, the story is this:
so paypal.php was updating reseaved_donation field everytime donation was coming as gross_mc from paypal via IPN record in the torrent_paypal table...on my pmbt tracker for a while...
but then I have another tracker that was using same web notification url from incoming donation and it was updating my pmbt torrent_papal table..... and it just started to get too old and pissing me off, since I had to clean up the torrent_paypal table every time a donation was made on other tracker.
So Finally, I cleaned up paypal accounts and donation buttons and seperated each of the notification url returns unique for each tracker in paypal accounts.
Then I said..hm..now that's a bit cleaner....and I can easily capture more info from IPN record coming back and list the donor's name and how much donated from paypal.php instantly in a block for recognition of people who donate to the site.
so I create a new table called torrent_donors and added a sql insert in paypal.php to update the donors table as IPN comes in from paypal.
Then I created lastdonors.php which is small php/sql that will list the last few names from donors table and how much was donated.
if you are interested, reply with a note on this thread and
I'll post the following:
-the sql I used to create donors table
-paypal.php
-lastdonors.php
I had few html tabling column and sql issues and questions that Joe helped me with and I cleaned it up.
meanwhile I perhaps can clean up the hack with any enhancement I can think of and make sure all sql are using same database class that pmbt basecode uses per Joe's suggestion.
btw..pmbt 2.0.3 is starting to look very good ..if you have been in touch with Joe and helping him out..and etc....