Hi, I have been trying to do this but nothing is working for me on SMF forums. How do I display my posts exactly like below on my homepage using SSI? can anybody help? i have tried using SSI but its doesn't display as well as its done here. Can any body help me please. Thanks Dave
You will need to use the array method and format it into a table as you require, the SSI faqs on the SMF site should point you in the right direction. http://www.simplemachines.org/community/index.php?topic=14906.0
hey Bendo! Thanks a lot for replying. I checked the link, but m not that good with php. I am not able to figure out how do i do this. dave
One simplest way is get a rss caching script and cache rss feeds of forum and display as recent posts. Will find a better method soon for you.
I have been able to sort this out till here. Can anybody pls help me further on this? i will pay $10. The code is : <TABLE cellSpacing=1 cellPadding=3 width="100%" bgColor=#ebf5ff border=0> <TBODY> <TR> <TD colSpan=6><span class="style23">Global Announcements</span></TD> </TR> <TR style="FONT-WEIGHT: bold; BACKGROUND: #fff7e3; TEXT-ALIGN: center"> <td><p class="left"><span class="style38"><span class="style16"></span></span></p></td> <td><p align="left" class="style23">Topics</p></td> <td><p align="left" class="style23">Replies</p></td> <td><p align="left" class="style23">Views</p></td> <td><p align="left" class="style23">Last Post</p></td> </tr> <?php require("forums/SSI.php"); $array = ssi_recentTopics(10.0,null,'array'); foreach ($array as $news) { echo ' <tr> <td>', $news['icon'], '</td><td>','<b>', $news['subject'], '</b><span class="smaller">', ' ', $txt[525], ' ', '', $newsp['num_replies'], '</td><td>',$newsp['view'], '</td><td>', '</td><td>',$news['time'], ' by ', $news['poster']['link'], '</td> </tr> '; } ?> </TABLE>