Jump to content

Download: IPB Subforum Decorations IPB3.0.X


boon79

Recommended Posts

File Name: IPB Subforum Decorations IPB3.0.X
File Submitter: boon79
File Submitted: 19 Aug 2009
File Category: Modifications

AdminCP/Look&Feel/skin/templates/boardIndexTemplate

Search:

Replace: Save ----------------------------------------------------- AdminCP/Look&Feel/skin/templates/foardIndexTemplate Search: Replace: Save ----------------------------------------------------- AdminCP/Look&Feel/skin/CSS/ipb_styles.css Search: Replace: Save ----------------------------------------------------- AdminCP/Look&Feel/skin/CSS/ipb_ie.css Add:

Click here to download this file

    

<ol class='subforums'>

<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">

<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else /><li></if>

<a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li>

</foreach>

</ol>

<ol class='subforums1'>

<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">

</ol>

<ol class='subforums'>

<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else /><li></if><a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li>

</foreach>

</ol>

<ol class='subforums'>

<foreach loop="sub_subforums:$forum_data['subforums'] as $__id => $__data">

<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else /><li></if><a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li>

</foreach>

</ol>

<ol class='subforums1'>

<foreach loop="subforums:$forum_data['subforums'] as $__id => $__data">

</ol>

<ol class='subforums'>

<if test="showSubForumsLit:|:$__data[3]"><li class='newposts'><else /><li></if><a href="{parse url="showforum={$__data[0]}" seotitle="{$__data[2]}" template="showforum" base="public"}" title='{$this->lang->words['go_to_forum']}'>{$__data[1]}</a></li>

</foreach></ol>

table.ipb_table ol.subforums {

        padding-top: 6px;

        margin-top: 5px;

    }

        

        table.ipb_table ol.subforums li {

            background: transparent url({style_images_url}/bullet_black.png) no-repeat 3px 4px;

            color: #1d3652;

            font-size: 0.85em;

            padding: 0 4px 0 15px;            

            float: left;

        }

        

        table.ipb_table ol.subforums li.newposts {

            background: transparent url({style_images_url}/bullet_green.png) no-repeat 0px 0px;

            color: #1d3652;

            font-size: 0.85em;

            padding: 0 4px 0 16px;            

            float: left;

        }

                .subforums { 

                float:left; 

                width:50%;

               

}


        .subforums1 { 

                width:50%;          


}


    table.ipb_table ol.subforums  {

                        margin-top:5px;

                width:50%;

                float: left;


}

        

        table.ipb_table ol.subforums li {

            background: transparent url({style_images_url}/bullet_black.png) no-repeat 3px 4px;

            color: #495457;

            font-size: 0.85em;

            padding: 0 4px 0 15px;            

            float: left;

        }

        

        table.ipb_table ol.subforums li.newposts {

            background: transparent url({style_images_url}/bullet_green.png) no-repeat 0px 0px;

            color: #495457;

            font-size: 0.85em;

            padding: 0 4px 0 16px;            

            float: left;

        }

.subforums { 

       margin-top:16px;

               

}


.subforums1 { 

      margin-top:-16px;          


}
Link to comment
  • 4 months later...
  • 3 months later...

I like this mod but can't get it to work the way I want it to.

My forums are based around games, I have an A-Z of games, RETAIL & ARCADE

1. I want the HomePage (index.php) to stay unchanged.
2. I want the A-Z sub-forums to be listed, one on each line, the problem here is there's no way of making that happen, not even with padding, as if the game has a short name, the next game name will show on the same line, and if the game name is too long aswell as having padding, then the game name will overlap to the next line.

How would I show it so there's only one game (sub-forum) per line?

Hope that makes sense.

Link to comment
  • 1 month later...
  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...