View Full Version : Simple Machines Forum

07-26-2007, 05:34 PM
Hey, I want to display the lastest 5 or so posts from my forum on the home page does anyone know if there is a module, i cant find one, ive googled it. Im sure theres one somewhere :).


07-26-2007, 05:37 PM
If your forum has an RSS feed, you just use that.
Your homepage (which is "index.php") uses a simple feed reader script
to grab the first five posts from your forum.

Give us a link to your forum.

07-26-2007, 05:40 PM
what forum system are you using?

07-26-2007, 05:43 PM
im using simple machines and it doesnt have a RSS feed :(. Heres a link http://forum.hanwellvillage.com/simplemachines/

07-26-2007, 08:43 PM
Here's something interesting:


And I think they are utilizing the multimedia output:

See this part in your simplemachines documentation:
# Export forum data using XML/RSS

* Latest members.
* News.
* Recent posts.

If you can get an XML feed for the first 5 items in your particular topic,
you can use a PHP RSS Reader to capture and display those on any web page.

So in the example they show in scribbledesigns, you won't be using WordPress, but you'll use
your own PHP script instead ... like one of these:

Using Magpie -- http://magpierss.sourceforge.net/
lastRSS -- http://lastrss.oslab.net/

EDIT: I think you'll have to set the permissions for the topic so that you can view
the XML without logging in. I don't know if simplemachines can do that.
Otherwise, I don't think it will generate a list of the newest 5 items.


07-26-2007, 08:46 PM
thanks for the help, i will look into that and see if i can get anything working. :thumbsup: :)