Facebook 

SMFHacks.com - Celebrating 20 Years!

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4342
Latest: eva
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 44312
Total Topics: 7676
Most Online Today: 513
Most Online Ever: 27044
(May 30, 2026, 09:10:16 pm)
Users Online
Members: 0
Guests: 350
Total: 350

Author Topic: [Mod]DonationGoal/Treasury v3.0 - Donation Management for SMF 2.1  (Read 31426 times)

0 Members and 1 Guest are viewing this topic.

DonationGoal/Treasury v3.0 - Donation Management for SMF 2.1




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=250

DonationGoal/Treasury v3.0 - Donation Management for SMF 2.1
=================================================

Treasury is a comprehensive PayPal donation management system for SMF 2.1
forums. It allows you to receive, track, and manage donations with full
PayPal IPN (Instant Payment Notification) integration.

Features
--------
- PayPal donation processing with automatic IPN recording
- Multi-currency support (USD, EUR, GBP, CAD, JPY, AUD, MXN, ILS, NOK)
- Monthly/quarterly/half-yearly/yearly donation goals with progress meter
- Event-based donation campaigns with custom targets and descriptions
- Automatic donor group assignment with optional duration-limited membership
- Donor privacy controls (public name or anonymous)
- Financial registry for tracking income and expenses
- One-click PayPal reconciliation into the registry
- Donor totals with sorting and filtering by time period or event
- Individual donation history in member profiles
- Portal side-block for TinyPortal/SimplePortal
- IPN transaction log with configurable logging levels
- Refund detection and automatic handling
- Full permission system (view and admin separately per membergroup)
- Who's Online integration
- Configurable page text, button images, and display options

Installation
------------
1. Back up your site files and database before installing any modification.

2. Install the package through your SMF Admin > Package Manager.
   Treasury v3.0 uses integration hooks - no core file edits are required.

3. After installation, go to Admin > Configuration > Treasury and follow
   the setup instructions in the Read Me tab.

4. At minimum, you MUST enter your PayPal receiver email address in the
   PayPal Config tab. Treasury will not function with the default placeholder.

5. Set up permissions for your membergroups under Admin > Permissions.
   Both "View Treasury" and "Administer Treasury" are available.

Requirements
------------
- SMF 2.1.x
- PayPal account with IPN enabled
- PHP 7.4 or higher (PHP 8.x compatible)

Upgrading from Treasury 2.x
----------------------------
1. Uninstall the previous version of Treasury first.
2. Install this package. Your existing database tables and donation
   records will be preserved - they are never removed on uninstall.

Uninstall
---------
Uninstall through the SMF Package Manager. Treasury uses hooks so removal
is clean with no core file modifications left behind.

Note: Database tables are intentionally preserved on uninstall so your
donation records are not lost. To fully remove all data, manually DROP
these tables (replace smf_ with your database prefix):

  smf_log_treasurey
  smf_treas_config
  smf_treas_donations
  smf_treas_events
  smf_treas_registry
  smf_treas_subscribers
  smf_treas_targets

Credits
-------
Updated to SMF 2.1 by vbgamer45 - https://www.smfhacks.com
Originally produced by Resourcez - http://resourcez.biz
Based on NukeTreasury by Dave Lawrence (c) 2004

License: GNU General Public License v2
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]DonationGoal/Treasury v3.0 - Donation Management for SMF 2.1
« Reply #1 on: »
Great mod btw! There's a option to put the donor in a membergroup. Please can you add the option for this to be an additional membergroup if they already have a primary membergroup? I don't want the donor membergroup to override their primary membergroup (if they have one). This would make a lot of sense, and I myself (a long time SMFHacks user) will really appreciate it. Thanks!

Re: [Mod]DonationGoal/Treasury v3.0 - Donation Management for SMF 2.1
« Reply #2 on: »
What's your thoughts on this? Thanks

Re: [Mod]DonationGoal/Treasury v3.0 - Donation Management for SMF 2.1
« Reply #3 on: »
Haven't looked into yet but should be that hard.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Re: [Mod]DonationGoal/Treasury v3.0 - Donation Management for SMF 2.1
« Reply #4 on: »
Had AI check and it says the following:

  - Assignment — donorGroup() in TreasuryAdmin.php:1452 is the only place a donor is ever put in a group (called from ipntreas.php when a PayPal payment completes). At TreasuryAdmin.php:1554-1576 it reads the member's current
  additional_groups list, appends the donor group ID to it, and writes it back. The primary group column (id_group) is never written anywhere in the mod — the only UPDATE {db_prefix}members statements in the entire codebase are this one
  and the expiry cleanup.
  - Expiry — when a duration-limited donor membership runs out, TreasuryUpdate.php:40-50 removes the donor group ID from additional_groups only, again leaving the primary group untouched.
  - It's even documented — the admin help text in TreasuryHelp.english.php:18 says: "this is coded as an additional group and will not affect the primary group that a user already belongs to."

  So a donor with a primary group keeps it and gains the donor group as an additional group; a donor with no primary group simply gets the donor group added to their (empty) additional groups list — their primary stays "Regular Member."
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
16903 Views
Last post March 28, 2008, 11:10:59 am
by karlbenson
0 Replies
10357 Views
Last post July 29, 2010, 05:27:30 am
by brokelady
3 Replies
11732 Views
Last post April 10, 2015, 07:57:02 am
by SMFHacks
4 Replies
12501 Views
Last post July 26, 2019, 12:12:26 pm
by ajac63
5 Replies
51440 Views
Last post March 13, 2026, 11:02:39 pm
by SMFHacks

+- Recent Topics

Registration - anti bot pattern matching by SMFHacks
November 01, 2026, 07:20:17 pm

EZPortal 8 by davejo
October 21, 2026, 01:01:54 pm

Downloads Pro 7.0 Released by SMFHacks
October 07, 2026, 07:35:30 pm

[Mod]ActivityPub Federation for SMF 2.1 by SMFHacks
October 01, 2026, 05:03:45 pm

Newsletter Pro 4.0 Released by SMFHacks
September 23, 2026, 08:08:24 pm

Can't remove or restore any item from the recycle bin by SMFHacks
September 22, 2026, 11:01:51 am

MCP Server for SMF 2.1 - let Claude, ChatGPT or Cursor run your admin chores by SMFHacks
September 12, 2026, 02:50:45 pm

Suggestions for improvements to Ultimate Shoutbox & Chatroom by davejo
September 02, 2026, 01:35:09 am

Automatic Sorting of Categories by Kiwi
August 31, 2026, 12:36:09 am

' appears as ' in Most Viewed (and Recent Items ?) by SMFHacks
August 22, 2026, 11:01:56 pm

Powered by EzPortal