News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

SSI Includes?

Started by Andrewrb1, March 02, 2006, 11:03:31 AM

Previous topic - Next topic

Andrewrb1

Hello

I am using this SSI script to show the latest forum posts on my website but the problem I am having is the script wrecks up my site design.
http://www.simplemachines.org/community/index.php?topic=13016.0

<?php
require("forum/SSI.php");
$array = ssi_recentPosts($num_recent = 5, $exclude_boards = array(), $output_method = 'echo')
?>


How do I configure this script to set sizes as the forum posts can't display any wider than 319 pixels or it messes up my site design?  Also how do I configure it not to display forum board, forum poster and date post submitted?

Help and advice would be much appreciated

Thanks


kegobeer

Start by reviewing this thread:

http://www.simplemachines.org/community/index.php?topic=70221.0

That thread explains how to return an array and then output what you want.  You can also search the forum for ssi_recentTopics; you'll get a lot of posts that talk about ways to return values and format them exactly how you want.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

Andrewrb1


Advertisement: