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.

IPB 3.3.2 3 Columns subforum Help

Discussion in 'Forum Management' started by DeepWebUser, Jun 17, 2012.

  1. #1
    Hello,anyone know how to make my forum to show the subforums in 3 columns.
    SEMrush
    I tried some tut on net but no success till now.
     
    DeepWebUser, Jun 17, 2012 IP
    SEMrush
  2. mnmani

    mnmani Well-Known Member

    Messages:
    379
    Likes Received:
    11
    Best Answers:
    6
    Trophy Points:
    195
    #2
    I have experience with earlier version of IPB (2.3x) . let me know if I can check the tutorial and your code changes (temporary admin panel access required)
     
    mnmani, Jun 17, 2012 IP
  3. DeepWebUser

    DeepWebUser Greenhorn

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #3
    Unfortunately i can`t give you acces to the admin pannel but the tut is this

    go to:
    AdminCP>Look&Feel>(choose skin)> ipb_styles.css

    add to the last line of CSS:

    table.ipb_table ol.subforums1 {margin-top:3px;float: left;width:33%;}table.ipb_table ol.subforums1 li{background: url('http://www.mkzscc.com/forum/public/style_images/marble/subforum_nonew.png')no-repeat 050%;padding:015px015px;margin:0;float: left;}table.ipb_table .subforums1 li.unread { font-weight: bold; background-image: url('http://www.mkzscc.com/forum/public/style_images/marble/subforum_new.png');}table.ipb_table ol.subforums2 {width:33%;overflow: hidden;}table.ipb_table ol.subforums2 li {background: url('http://www.mkzscc.com/forum/public/style_images/marble/subforum_nonew.png')no-repeat 050%;padding:015px015px;margin:0;float: left;}table.ipb_table .subforums2 li.unread { font-weight: bold; background-image: url('http://www.mkzscc.com/forum/public/style_images/marble/subforum_new.png');}table.ipb_table ol.subforums3 {width:33%;overflow: hidden;}table.ipb_table ol.subforums3 li {background: url('http://www.mkzscc.com/forum/public/style_images/marble/subforum_nonew.png')no-repeat 050%;padding:015px015px;margin:0;float: left;}table.ipb_table .subforums3 li.unread { font-weight: bold; background-image: url('http://www.mkzscc.com/forum/public/style_images/marble/subforum_new.png');}

    then Save go to:
    AdminCP > Look & Feel > (choose skin) > Board Index > boardIndexTemplate find:


    <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'> <foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"> <if test="showSubForumsLit:|:$__data[3]"><li class='unread'><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>replace with:
    <ol class='ipsList_inline ipsType_small subforums2' id='subforums_{$forum_data['id']}'><foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"></ol> <ol class='ipsList_inline ipsType_small subforums3' id='subforums_{$forum_data['id']}'><if test="showSubForumsLit:|:$__data[3]"><li class='unread'><else /><li></if></foreach></ol> <ol class='ipsList_inline ipsType_small subforums' id='subforums_{$forum_data['id']}'><foreach loop="subforums:$forum_data['subforums'] as $__id => $__data"></ol> <ol class='ipsList_inline ipsType_small subforums1' id='subforums_{$forum_data['id']}'><if test="showSubForumsLit:|:$__data[3]"><li class='unread'><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>
     
    DeepWebUser, Jun 18, 2012 IP