Author Topic: Installing a Portal Block with Treasury  (Read 42404 times)

Offline Resourcez

  • Administrator
  • Hero Member
  • *
  • Posts: 1425
    • Resourcez
Installing a Portal Block with Treasury
« on: December 20, 2007, 11:11:23 PM »
These instructions apply to Treasury v2.32 with any Portal version for SMF 1.1.x or SMF 2.x that supports the use of PHP blocks, as follows:

Treasury will automatically install the DonationBlock to the Sources directory as part of the package installation, so you just need to add the code to your Portal, or edit existing code.

Create a Portal php block with this code:
global $sourcedir;
« Last Edit: September 23, 2011, 05:28:26 PM by Resourcez »
If you have everything under control, you're not moving fast enough.
• Apache 2.2.24 • PHP 5.3.24 • MySQL 5.1.68 •


Please Support Us!

Something for Here
Donate with PayPal!
September Goal: $40.00
Due Date: Sep 30
Total Receipts: $0.00
Below Goal: $40.00
Site Currency: USD