1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

home page mod help needed

Discussion in 'Forum Management' started by forumrating, Sep 1, 2006.

  1. #1
    well anyone can help me with this
    creating top 10 posts in home page of the website and forum would be /forum or something.
    example: www.rimweb.com home page is having top 10 posts neatly showed up, stats and more information..
    also wanted to know does this require big coding to be done ??
    thankyou in advance
    other then that i wanted to know that will home page work with index.html or it has to be index.php for this mod ?
     
    forumrating, Sep 1, 2006 IP
  2. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #2
    newest 10 posts

    if you have an RSS feed thast auto-creates an item for each new post
    then you SSI that feed into the pages in the look you love
    for example zFeeder can do so using PHP

    index page

    in .htaccess if NOT already done by default or if you have a NON-default start page in a folder or SUB-folder

    add the line

    DirectoryIndex filename.html index.cgi index.pl default.htm
    hence in your case of a php index page it would be:

    DirectoryIndex index.php

    using the precise filename/extension as you have

    see
    http://www.javascriptkit.com/howto/htaccess6.shtml
    or the entire .htaccess tutorial
    http://www.javascriptkit.com/howto/htaccess.shtml
     
    hans, Sep 1, 2006 IP