Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Topic started by: L.G.S on December 16, 2005, 06:02:45 PM

Title: News Reader Different Layout?
Post by: L.G.S on December 16, 2005, 06:02:45 PM
Is there any way someone could code something little for me please?

I need it so that for the news ( http://www.wwepassion.com/web ) that it shows up better..

As in something like this:

http://sdvsraw2.com/

(I know that is a different software, but IPB and VB can do it)

So I would really like some code which allows me to have graphics and such in?
Title: Re: News Reader Different Layout?
Post by: L.G.S on December 23, 2005, 06:44:36 PM
Any help please?
Title: Re: News Reader Different Layout?
Post by: Hubris on December 25, 2005, 12:07:02 AM
if you're talking about the scrolling news ticker, try Googling for a PHP code library that might have what you're looking for.

also, not to be mean, but:

QuoteIn this board, please post any questions you have about the code in SMF.  This includes, but is not necessarily limited to:
  - typos or mistakes in comment or documentation lines.
  - invalid or badly written html code or css definitions.
  - confusing, unclear, or buggy code in the distribution.
  - questions about how to do something in a theme, or how information is organized in the context.
  - questions about how to create a modification or package. (only if you're willing to write it!)
  - inquiries on the use of SSI output_methods or other "advanced" features. (although basic questions, like how to use SSI, are a matter of support.)
Title: Re: News Reader Different Layout?
Post by: L.G.S on December 25, 2005, 06:03:53 AM
Not that's not what I mean,

and this is SMF coding discussion, as the outcome will mean editing the files.

http://www.wwepassion.com/web/

^^^ I want to show the news but like the site in my first post, with images to make it look more presentable etc
Title: Re: News Reader Different Layout?
Post by: Dannii on December 25, 2005, 06:30:06 AM
Change your SSI calls to so that the display is 'array'. Example:$boardnews = ssi_boardNews(24.0, 20, null, null, 'array');
Then go to SSI.php and find the functions you are using. Copy the default code there, and then modify it however you like.
Title: Re: News Reader Different Layout?
Post by: L.G.S on December 25, 2005, 10:39:00 AM
Thank you, but I'm not that good with PHP, all I know is how to copy paste for mods etc.

Any way you could show me some example code please?