Simple Machines Community Forum

Customizing SMF => SMF Coding Discussion => Aiheen aloitti: L.G.S - joulukuu 16, 2005, 06:02:45 IP

Otsikko: News Reader Different Layout?
Kirjoitti: L.G.S - joulukuu 16, 2005, 06:02:45 IP
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?
Otsikko: Re: News Reader Different Layout?
Kirjoitti: L.G.S - joulukuu 23, 2005, 06:44:36 IP
Any help please?
Otsikko: Re: News Reader Different Layout?
Kirjoitti: Hubris - joulukuu 25, 2005, 12:07:02 AP
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:

LainaaIn 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.)
Otsikko: Re: News Reader Different Layout?
Kirjoitti: L.G.S - joulukuu 25, 2005, 06:03:53 AP
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
Otsikko: Re: News Reader Different Layout?
Kirjoitti: Dannii - joulukuu 25, 2005, 06:30:06 AP
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.
Otsikko: Re: News Reader Different Layout?
Kirjoitti: L.G.S - joulukuu 25, 2005, 10:39:00 AP
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?