I wrote this simple program for my web site and thought other people may (or may not) find it useful. Basically you choose a board to use as announcements, then you include this file onto your web page somewhere and it will display the latest announcements with a link to go to the forum and read the entire thing. Pretty simple, and the output is bland unless you use some CSS. Here's what mine looks like:
(http://www.kromefx.com/projects/mod_sample.gif)
Instead of posting all the code here (so it doesn't take up all the space) I just have a link to a txt file that is the code. Copy and paste it if you want to use it, or right click/download and rename it to .php. Here's the link: http://www.kromefx.com/projects/forum_news.txt
Hope someone finds it useful. :)
[edit]Perhaps I should have posted this in Tips and Tricks? If so would someone be kind enough to move it? Thanks :)[/edit]
Cool Php script. Thanks :)
Why not use ssi_boardNews()?
Quote from: MikeMill on May 09, 2005, 10:29:25 AM
Why not use ssi_boardNews()?
hmmm. Mainly because I didn't know about it. I've never used a forum software before. I'll check it out, thanks :)
Search for SSI.php :)
How can I use ssi_boardNews() to display my forum news on another web site? Thanks.
Use RSS instead.
http://www.simplemachines.org/community/index.php?topic=25009.0
Then simply place an RSS reader on the other site.