Simple Portal

Customization => Custom Coding => Topic started by: gaffeyM on January 17, 2016, 10:03:55 AM

Title: PHP Block (Treasury)
Post by: gaffeyM on January 17, 2016, 10:03:55 AM
Hello im trying to install the Treasury donate block onto my forum.

I have added this code to the php block. When i preview it it comes up fine but when i try to add the block i get this message Database error in block code. Please check the code.

global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");

wonder if someone could help me with this thank you
Title: Re: PHP Block (Treasury)
Post by: Burke Knight on January 17, 2016, 02:51:01 PM
Is this topic solved?
It has the check mark as if it was.
Title: Re: PHP Block (Treasury)
Post by: ♦ Ninja ZX-10RR ♦ on January 17, 2016, 04:10:46 PM
Can't access the topic solved log, but yes it is marked as solved, for some reason. In the meantime I'll move it to custom coding.
EhPortal 1.39.8 © 2024, WebDev