SimplePortal

Customization => Blocks and Modifications => Block Requests => Topic started by: Rude on May 01, 2014, 12:27:19 PM

Title: top posters Block
Post by: Rude on May 01, 2014, 12:27:19 PM
I Have a modification Request  about the simpleportal block "top posters"..can this block display top posters going across instead of down?

I Want it to display across on the forum not the portal..
(http://s10.postimg.org/elsgg991l/Add_Block.png)

Notice in the image the top posters go down instead of across..

Title: Re: top posters Block
Post by: AngelinaBelle on May 01, 2014, 01:53:11 PM
In case nobody else is interested in working on this, you can have a look in PortalBlocks.php.
In the section of sp_TopPoster, you will find <table class="sp_fullwidth">'

This is the point where you would start working.  This work will take a little trial and error.
1) It is possible that you can get what you want by simply putting several posters in the same row of a table. but
2) You may want to switch to replacing <table> with a horizontal list or a flexbox container (you will need to add some CSS to your portal.css in either of these cases), or some such thing.  This will take a little trial and error.
SimplePortal 2.3.8 © 2008-2024, SimplePortal