On my home page I would advertise the last posts of the forum.
Is there a way to build such box/table that contains links to the posts?
You might want to try a portal. Have a look on the mod site :)
You mean the name of function I am searching for is known as "portal"?
Yep, there's even a category to choose one from:
http://custom.simplemachines.org/mods/index.php?action=search;type=17
Quote from: gibilisco69 on April 07, 2013, 04:59:08 PM
You mean the name of function I am searching for is known as "portal"?
No, it's not the name of a function. It's a modification to the board that turns it into a web portal of sorts.
It's a very versatile bit of kit that lets you put blocks where you want on your forum with either preprogrammed or custom content. Adding a recent posts block with a portal is usually as easy as clicking Add Block and selecting its type as "recent posts" :)
Alternatively, if you understand a little bit about html and php and have your own homepage already, you can include the forum content using SSI.php
(see ssi_examples.php on your own forum/site)
Quote from: Vector's Shadow on April 07, 2013, 05:10:28 PM
No, it's not the name of a function. It's a modification to the board that turns it into a web portal of sorts.
Thanks for the info, but I do not want to modify my board. I only want to add a little box on my personal template.php
Quote from: ChalkCat on April 07, 2013, 05:14:16 PM
It's a very versatile bit of kit that lets you put blocks where you want on your forum with either preprogrammed or custom content. Adding a recent posts block with a portal is usually as easy as clicking Add Block and selecting its type as "recent posts" :)
Thank you for the info, but I do not want to add anything to my forum. I have my forum under /forum while my home page is /index.php
I need to add a box-links on /index.php that point to the forum's posts
In which case you need to look at SSI.php as Kindred suggested to manually include SSI.php and call ssi_recentPosts() with the options you require.
Quote from: Kindred on April 07, 2013, 05:22:24 PM
Alternatively, if you understand a little bit about html and php and have your own homepage already, you can include the forum content using SSI.php
(see ssi_examples.php on your own forum/site)
BINGO ;D
Thank you Kindred
Quote from: Arantor on April 07, 2013, 05:30:47 PM
In which case you need to look at SSI.php as Kindred suggested to manually include SSI.php and call ssi_recentPosts() with the options you require.
Thanks Arantor. I believed to copy some text from ssi_examples.php, but it seems a little more hard. Anyway now I know where to search for.
If you are just using the example code it really should work nearly out of the box. Do let us know if you run into trouble though.