Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Latest posts
Not Solved

I would like to be able to add the ten latest posts from my forum and add them to my xhtml homepage, ie just so it shows in a list format.

Would I be better off using rss feeds from the forum or is there a better way of achieving this?

I could not find any documentation suggesting how I could do this.

Please move this if I have posted in the wrong forum.

Thank you.

I am running 1.8.4
Not Solved
Why not just tailor the portal.php to suit your needs and use this:

Not Solved
Because I am not using the portal, instead I have a xhtml page as the website index page, and then use the forum as a forum. I have bypassed the portal function as it is not suited for what I needed,

I was looking for a way to add the ten most recent topic titles or posts, and add them to the html home page.

Not Solved
You can't add a PHP code to a .xhtml page...

Try to use home.php instead of index.xhtml and set home.php as premier page in .htacces,

Then include the necessary MyBB files and then you can use the {$latestthreads} code to show the latest posts.
Arne Van Daele - Developer

Private Support? Send me a private message
Not Solved
Sorry I didn't explain myself very well.

Yes, I know I need to change the extension of the page to .php when using "includes", my bad for not explaining.

I was unsure on what code (and files) I need to use to make this happen?

Thank you.

Forum Jump:

Users browsing this thread: 1 Guest(s)