Advertisement:

Author Topic: showing recent posts from a forum to a webpage  (Read 6159 times)

Offline rtb

  • Newbie
  • *
  • Posts: 4
showing recent posts from a forum to a webpage
« on: April 04, 2004, 08:16:14 AM »
I am new to php/MySQL but I am not completely clueless. I just installed SMF 1.4.1 Beta and it seems to be running fine. I want to show the last 5 posts from the forum on my index page of the website. I want to do this...um...dynamically without having to hardcode the thread_id,message_id etc. The page should update automatically whenever someone posts something new on the forum.

Is this possible ? If so...how would I go about doing it ?

Any help is greatly appreciated.


Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: showing recent posts from a forum to a webpage
« Reply #1 on: April 04, 2004, 08:26:00 AM »
http://www.simplemachines.org/community/ssi_examples.php

I think that is basically what you want ;).

-[Unknown]

Offline rtb

  • Newbie
  • *
  • Posts: 4
Re: showing recent posts from a forum to a webpage
« Reply #2 on: April 05, 2004, 11:31:33 PM »
you da man !

I was having problems getting it to work because I  wasnt using the full path      /home/blah/public_html/...etc
But it works now.  :o :D

thanksĀ  !

Offline Floyds

  • Semi-Newbie
  • *
  • Posts: 62
  • Gender: Male
Re: showing recent posts from a forum to a webpage
« Reply #3 on: April 15, 2004, 01:43:48 PM »
mm strange why does the poll work here, and why doesn't it work on my ssi_examples.... hope that this bug is fixed soon... 8)

Offline Ben_S

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,723
  • xxx
Re: showing recent posts from a forum to a webpage
« Reply #4 on: April 15, 2004, 02:24:23 PM »
it will be fixed in the next beta
Liverpool FC Forum with 14 million+ posts.

Offline Floyds

  • Semi-Newbie
  • *
  • Posts: 62
  • Gender: Male
Re: showing recent posts from a forum to a webpage
« Reply #5 on: April 16, 2004, 03:41:40 AM »
and when it that doing to be released, I can't wait for it.!! 8)

Offline Grudge

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 10,742
  • Gender: Male
  • Unofficial nuisance
Re: showing recent posts from a forum to a webpage
« Reply #6 on: April 17, 2004, 07:55:36 AM »
It won't be that long :)
I'm only a half geek really...