SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: johncccccc on October 03, 2009, 12:18:36 PM

Title: Treasury Donators list block
Post by: johncccccc on October 03, 2009, 12:18:36 PM
This would be nice, Ive been looking for the code on my forum for the donators list, but cant seem to get it right, it would be cool to have the list of donators on a block

Thanks in Advanced
Title: Re: Treasury Donators list block
Post by: cme1st2302 on October 03, 2009, 08:38:01 PM
This is the code that I use for my site.  Give it a try and see if you like it.

Code: [Select]
global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");

Chris
Title: Re: Treasury Donators list block
Post by: johncccccc on October 03, 2009, 09:36:18 PM
This is the code that I use for my site.  Give it a try and see if you like it.

Code: [Select]
global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");

Chris

Perfect, thanks, who would have thought such little code could have done that, anyway, I added a title, as I remove the body and titles from most of my blocks

Code: [Select]
   echo '
<h3 style="text-decoration: underline; line-height: 1.5em; text-align: center;">RequestISO Donations</h3><br />';

global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");
Title: Re: Treasury Donators list block
Post by: cme1st2302 on October 03, 2009, 11:45:44 PM
Glad it worked out for ya!! 

Chris
Title: Re: Treasury Donators list block
Post by: Old Fossil on October 04, 2009, 05:25:24 PM
I just tried to add a Donations block but kept ending up with an error.

Is it a php block you use?
Title: Re: Treasury Donators list block
Post by: johncccccc on October 04, 2009, 07:06:13 PM
I just tried to add a Donations block but kept ending up with an error.

Is it a php block you use?

lol.. of course, thats PHP code :D
Title: Re: Treasury Donators list block
Post by: Dermot on November 18, 2009, 02:48:43 PM

Anyway to turn the scrollbar off on this?
Title: Re: Treasury Donators list block
Post by: Cracker on February 23, 2010, 09:20:18 PM

Anyway to turn the scrollbar off on this?
Seconded
(srry to bump up thread)
Title: Re: Treasury Donators list block
Post by: cme1st2302 on February 24, 2010, 07:17:59 PM
You might have to change the width of the block to get rid of the scrollbar.

Chris
Title: Re: Treasury Donators list block
Post by: Cracker on February 24, 2010, 09:11:58 PM
You might have to change the width of the block to get rid of the scrollbar.

Chris
how would I do this manually?
Title: Re: Treasury Donators list block
Post by: Cracker on February 28, 2010, 11:47:38 PM
Shameless bump...
Title: Re: Treasury Donators list block
Post by: cme1st2302 on March 03, 2010, 01:46:46 AM
Go into the admin control panel and under the simpleportal settings change the width of the block.

Chris
Title: Re: Treasury Donators list block
Post by: Cracker on March 04, 2010, 03:36:38 PM
Go into the admin control panel and under the simpleportal settings change the width of the block.

Chris

Ok...
I tried by going to admin>simpleportal>configuration>left block>50%
I still got the scroll bar...and the forum looked ugly. Am I supposed to go somewhere else? It looks like it is a height issue, not width...

I even removed the body fir the block and still had the scroll bar...
Title: Re: Treasury Donators list block
Post by: Kajol on July 20, 2011, 03:25:46 PM
I know that there is a Block for the Treasury mod. I had it run before. But since I had to reinstall everything I can't find the block thing not anymore...

Does anyone know where I can find it?
SimplePortal 2.3.8 © 2008-2024, SimplePortal