vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Mini Mods - Sub-forums order (https://vborg.vbsupport.ru/showthread.php?t=254023)

Krazeguy 03-12-2016 08:01 AM

This worked great, thank you.

4.2.3

Darkman7030 04-29-2016 06:54 PM

Quote:

Originally Posted by SeeLand (Post 2255590)
It is posible to show in 3 columns.?

Code:

.subforums ol.subforumlist {
float: left;
width: 100%;
margin: 0;
padding: 0;
}
.subforumlist li.subforum {
float: left;
width: 30%;
margin: 0;
padding: 0;
clear:none;
}
/* To remove the commas between them */
.commalist li.subforum:after {
content:"";
}


blade5000 01-18-2019 10:17 AM

vbulletin 4.2.5 not work the commas

Code:

/* To remove the commas between them */
.commalist li.subforum:after {
content:"";
}

have update for the code plase

giotis9 03-27-2019 08:21 PM

To remove commas, edit the forumhome_subforums template, and remove (or comment out): {vb:raw row.comma}

Alternatively, you can replace the template contents with the following:

Code:

<div class="subforums">
        <h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
        <ol class="subforumlist commalist">
                <vb:each from="subforums" value="row">
                        <li class="subforum">
                                <vb:if condition="$row['canpost']">
                                        <img class="inlineimg" src="{vb:stylevar imgdir_statusicon}/{vb:raw row.imageprefix}subforum_{vb:raw row.statusicon}-48.png" alt="" border="0" id="forum_statusicon_{vb:raw row.forumid}" />
                                <vb:else />
                                        <img class="inlineimg" src="{vb:stylevar imgdir_statusicon}/subforum_{vb:raw row.statusicon}.png" alt="" border="0" id="forum_statusicon_{vb:raw row.forumid}" />
                                </vb:if>
                                <a href="{vb:link forum, {vb:raw row}}">{vb:raw row.title}</a>

<!-- {vb:raw row.comma} -->

                        </li>
                </vb:each>
        </ol>
</div>



Credits to cstreater!!!


All times are GMT. The time now is 10:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01048 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete