Main Menu
collapse

Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

User Info

Welcome Guest.
Please log in.

Who's Online

  • Dot Guests: 945
  • Dot Hidden: 0
  • Dot Users: 1
  • Dot Users Online:

Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]


Blocks speak! Do you have an interest in getting more blocks - or even making your own? The Blocks Board is for you!

Treasury Donators list block

Started by johncccccc, October 03, 2009, 12:18:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

johncccccc

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

cme1st2302

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
Admin

He who waits for perfect conditions sees nothing!!
SMF Version: 1.1.11
SimplePortal Version: 2.3.1

johncccccc

Quote from: 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.

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");

cme1st2302

Glad it worked out for ya!! 

Chris
Admin

He who waits for perfect conditions sees nothing!!
SMF Version: 1.1.11
SimplePortal Version: 2.3.1

Old Fossil

I just tried to add a Donations block but kept ending up with an error.

Is it a php block you use?
Daily backups mean less headaches

Block Set Up

I may be no coding expert but I am willing to help where I can.

I eat Spammers for breakfast

johncccccc

Quote from: TheListener 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?

lol.. of course, thats PHP code :D

Dermot


Anyway to turn the scrollbar off on this?
Smf 2.0 RC3Simple Portal 2.3.2Firefox 3.6IE 8.0 (well its sits i dont use it)

Cracker

Quote from: Dermot on November 18, 2009, 02:48:43 PM

Anyway to turn the scrollbar off on this?
Seconded
(srry to bump up thread)

cme1st2302

You might have to change the width of the block to get rid of the scrollbar.

Chris
Admin

He who waits for perfect conditions sees nothing!!
SMF Version: 1.1.11
SimplePortal Version: 2.3.1

Cracker

Quote from: 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
how would I do this manually?


cme1st2302

Go into the admin control panel and under the simpleportal settings change the width of the block.

Chris
Admin

He who waits for perfect conditions sees nothing!!
SMF Version: 1.1.11
SimplePortal Version: 2.3.1

Cracker

Quote from: 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

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...

Kajol

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?