SimplePortal
Customization => Blocks and Modifications => Block Requests => Topic started 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
-
This is the code that I use for my site. Give it a try and see if you like it.
global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");
Chris
-
This is the code that I use for my site. Give it a try and see if you like it.
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
echo '
<h3 style="text-decoration: underline; line-height: 1.5em; text-align: center;">RequestISO Donations</h3><br />';
global $sourcedir, $settings;
include("$sourcedir/DonationBlock.php");
-
Glad it worked out for ya!!
Chris
-
I just tried to add a Donations block but kept ending up with an error.
Is it a php block you use?
-
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
-
Anyway to turn the scrollbar off on this?
-
Anyway to turn the scrollbar off on this?
Seconded
(srry to bump up thread)
-
You might have to change the width of the block to get rid of the scrollbar.
Chris
-
You might have to change the width of the block to get rid of the scrollbar.
Chris
how would I do this manually?
-
Shameless bump...
-
Go into the admin control panel and under the simpleportal settings change the width of the block.
Chris
-
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...
-
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?