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)

SİMAR 11-20-2010 10:00 PM

Sub-forums order
 
1 Attachment(s)
A plug-in for the one with a lot of vb4 may be the same.

as a seamless edit sub-forums.

forumbits.css templatesinin add this to the bottom.
Code:

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

http://img818.imageshack.us/img818/5...etincenter.png

JAFRI 11-21-2010 08:46 AM

Thanks, good work , but i want hidden Sub-Forums: u have any idea ??

juan71287 11-21-2010 11:24 AM

Nice work.

@Aamir, you just need to set subforum path to 0, then in the description, write HTML :) hope that helps.

COL NIL SATIS 11-21-2010 04:20 PM

tagged

SİMAR 11-21-2010 09:25 PM

Quote:

Originally Posted by Aamir Durrani (Post 2124118)
Thanks, good work , but i want hidden Sub-Forums: u have any idea ??

Admincp++Forums & Moderators++ForumManeger++Choose sub forumlaru add sub-forum

SocialNetworkBuzz 11-22-2010 08:19 AM

Quote:

Originally Posted by Aamir Durrani (Post 2124118)
Thanks, good work , but i want hidden Sub-Forums: u have any idea ??

Look for {vb:rawphrase subforums}: in forumhome_forumbit_ level 1 and 2, post and no post and remove it or go into phrases and search subforums and rename it whatever you want it to say instead of Sub-Forums:

stl7997 11-22-2010 09:41 AM

1 Attachment(s)
How do I get it to wrap into two columns like you have? Mine is showing in one column.

JAFRI 11-23-2010 03:19 AM

Quote:

Originally Posted by Stabatha (Post 2124557)
Look for {vb:rawphrase subforums}: in forumhome_forumbit_ level 1 and 2, post and no post and remove it or go into phrases and search subforums and rename it whatever you want it to say instead of Sub-Forums:

:D Thanks.

lubbie 11-26-2010 08:27 PM

Is it possible to get the Columns a bit closer together? what if u have 3 or 4 Columns?

COL NIL SATIS 11-27-2010 12:58 PM

4.0.6??? doesnt seem to work ...any ideas??

Lynne 11-27-2010 02:53 PM

A little bit of credit would have been nice since this was originally from my article here - [HOW TO - vB4] Two column forum/sub-forum setup via CSS only

SİMAR 11-28-2010 12:05 PM

Quote:

Originally Posted by stl7997 (Post 2124576)
How do I get it to wrap into two columns like you have? Mine is showing in one column.

Admincp++vBulletin Options++Forum Listings Display Options++

Depth of Forums - Forum Home 2
Depth of Forums - Forum Display 2
Depth of Sub-Forums 2

SAVE

lubbie 11-28-2010 05:35 PM

Well, quit mean... Originally Post comes from here btw
https://vborg.vbsupport.ru/showthread.php?t=228484
At least u could left a credit, coz u use exactly the same. Not i fine move at all.

3bia.com 11-30-2010 02:44 PM

GOOOOOOOOOOOOD

http://www.3bia.com/vb/

SİMAR 12-06-2010 08:55 AM

Meanwhile, a separate coding I have noticed that you provide a separate, see

naba 08-22-2011 09:11 PM

Gooooooooooood

steve1966 08-24-2011 06:05 PM

thank you to everyone who deserves the credit for this

sergio71 09-06-2011 12:27 PM

Grazie :)

vip_inc200 09-17-2011 05:10 AM

thx alot

SeeLand 10-10-2011 02:28 PM

It is posible to show in 3 columns.?

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 06:23 AM.

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.01325 seconds
  • Memory Usage 1,763KB
  • 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
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete