Show threads on home page Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
3 posters

    Show threads on home page

    avatar
    Synapse11
    New Member


    Posts : 13
    Reputation : 2
    Language : English

    Show threads on home page Empty Show threads on home page

    Post by Synapse11 August 22nd 2014, 11:07 am

    I posted this in appearance forum but I guess it's more down to coding so maybe a programmer can I help me. I am using Invision.

    In Index_box template, the categories of the forum are shown in the heirarchy followed by forums and subforums.

    Code:

    <table cellpadding="0" cellspacing="0" id="{catrow.tablehead.ID}" class="ipbtable index-box">
       <thead>
        <tr>
         <th class="forum">{L_FORUM}</th>
         <th class="topics">{L_TOPICS}</th>
         <th class="replies">{L_POSTS}</th>
         <th class="last post-info">{L_LASTPOST}</th>
        </tr>
       </thead>
       <tfoot>
        <tr>
         <td colspan="4">
    Code:
         </td>
        </tr>
       </tfoot>
       <tbody>
     <!-- END tablehead -->
    Code:
     <!-- BEGIN forumrow -->
        <tr>
         <td class="row2 icon" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
          <span class="status clearfix" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
           <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" class="icon" />
          </span>
          <div class="par forum-name">
           <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
           <p class="forum-desc">{catrow.forumrow.FORUM_DESC}</p>



    In topics_List template, there is a list of topics for that forum:

    Code:

      <!-- BEGIN header_row -->
       <strong>{topics_list_box.row.L_TITLE}</strong>
      <!-- END header_row -->
    Code:
      <!-- BEGIN topic -->
       <!-- BEGIN table_sticky -->
        </tbody>
       </table>
    Code:

       <div class="maintitle">
        <h2>{topics_list_box.row.topic.table_sticky.L_TITLE}</h2>
       </div>
       <table cellspacing="0" cellpadding="0" class="ipbtable">
        <thead>
         <tr>
          <th class="icon"></th>
          <th class="icon"></th>
          <th class="forum2">{topics_list_box.row.topic.table_sticky.L_TITLE}</th>
          <th class="topics">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
          <th class="starter">{topics_list_box.row.topic.table_sticky.L_AUTHOR}</th>
          <th class="views">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
          <th class="last last-post2">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>



    How can I amend Index_Box so that the index shows a list of topics instead of a list of forums? I only one forum, and I wish for the list of topics to be the homepage rather than an index.

    I'm sure there's a way...
    avatar
    Synapse11
    New Member


    Posts : 13
    Reputation : 2
    Language : English

    Show threads on home page Empty Re: Show threads on home page

    Post by Synapse11 August 22nd 2014, 2:19 pm

    Nvm this was really easy. In the index template:

    <meta http-equiv="refresh" content="0; url=http://www.diprepublic.net/f6-anything-goes" />
    avatar
    esimbets
    New Member


    Posts : 5
    Reputation : 1
    Language : English

    Show threads on home page Empty Re: Show threads on home page

    Post by esimbets August 22nd 2014, 3:44 pm

    Synapse11 wrote:Nvm this was really easy. In the index template:

    <meta http-equiv="refresh" content="0; url=http://www.diprepublic.net/f6-anything-goes" />
    did you had that in index tamplate or did you add it? cuz in index_body tamplate I can't find it
    avatar
    Synapse11
    New Member


    Posts : 13
    Reputation : 2
    Language : English

    Show threads on home page Empty Re: Show threads on home page

    Post by Synapse11 August 22nd 2014, 3:51 pm

    I added it. It redirects the index page to the forum every time.
    However meta redirecting is frowned upon by google and the like as it smells like a virus.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51556
    Reputation : 3519
    Language : English
    Location : United States

    Show threads on home page Empty Re: Show threads on home page

    Post by SLGray August 22nd 2014, 6:26 pm

    Please do not post mutli-threads about the same issue/question. Since your other topic has been archived, this will be garbaged.



    Show threads on home page Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.