SMF Posts display on home Page..need help!

Discussion in 'Forum Management' started by niravdave, May 4, 2007.

  1. #1
    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.

    [​IMG]


    Thanks
    Dave
     
    niravdave, May 4, 2007 IP
  2. Bendo

    Bendo Peon

    Messages:
    86
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Bendo, May 4, 2007 IP
  3. niravdave

    niravdave Active Member

    Messages:
    675
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    88
    #3
    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
     
    niravdave, May 4, 2007 IP
  4. niravdave

    niravdave Active Member

    Messages:
    675
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    88
    #4
    can anybody do this for me pls... i will pay $5.

    dave
     
    niravdave, May 4, 2007 IP
  5. navjotjsingh

    navjotjsingh Well-Known Member

    Messages:
    640
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    125
    #5
    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.
     
    navjotjsingh, May 4, 2007 IP
  6. niravdave

    niravdave Active Member

    Messages:
    675
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    88
    #6
    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>
     
    niravdave, May 5, 2007 IP