vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to change display on forum home? (https://vborg.vbsupport.ru/showthread.php?t=268797)

Bluefin221 08-19-2011 11:04 PM

How to change display on forum home?
 
I'm looking to change the way my forums are displayed currently its default when you visit the forum home.

Forum 1
Forum 2
Forum 3
Forum 4

What I want is.

Forum 1 - Forum 2
Forum 3 - Forum 4

Is there a hack for this already for vb 4+? Or could someone point me in the right direction to change this?

Bluefin221 08-21-2011 05:10 PM

Is there anyone able to point me in the right direction with this?

setishock 08-21-2011 06:31 PM

The thanks for this code goes to Lynne.
Code:

/* Begin dual column css code for forumhome only */
.forumhead + .childforum .L2:first-child .forumrow, .forumhead + .L2 .forumrow {
  border-top: 0;
}
.forumrow .table {
  height: 100px;
}
ol.childforum {
  float: left;
  width: 100%;
  margin: 0;
  padding: 0;
}
.childforum li.forumbit_post {
  float: left;
  width: 49.95%;
  margin: 0;
  padding: 0;
  clear:none;
}
#forums .L1 .L2 {
  clear:none;
}
.forumbit_post .forumrow .forumlastpost {
  clear:both;
  width:95%;
}
.forumbit_post .forumlastpost .lastpostby {
  display: block;
  float: left;
}
.forumbit_post .forumlastpost .lastpostdate {
  display: block;
  float: right;
}
.forumbit_post .forumlastpost .lastposttitle {
  display: block;
  float: left;
}
.forumbit_post .foruminfo {
  clear:right;
  float:left;
  min-width:50%;
  width:70%;
}
.forumbit_post .forumstats, .forumbit_post .forumstats_2 {
  width:20%;
}
/* End dual column css code */

Edit: Add this to get rid of the LAST POST in the category bars.
Code:

.forumlastpost { display: none !important; } /* Works with dual column to turn off Last Post display */
Put that in your additional.css and then click save and reload. You get this format>
http://animeappeal.com/forum.php?styleid=111
http://animeappeal.com/forum.php?styleid=110
Open and close the sidebar to see how it affect the appearance.

Bluefin221 08-21-2011 08:49 PM

Thanks for this, is this universally inherited?

What I mean is can I choose sections to add this in or does it just do it to all forums?

setishock 08-21-2011 09:04 PM

When you park that in the additional.css for any one theme it just affect that one theme.
As for what it does, it makes the forum index page go to two columns. It doesn't do anything else to any other part of the forum.

Bluefin221 08-21-2011 09:13 PM

Quote:

Originally Posted by setishock (Post 2236352)
When you park that in the additional.css for any one theme it just affect that one theme.
As for what it does, it makes the forum index page go to two columns. It doesn't do anything else to any other part of the forum.

Yes I understand that, but what I mean is and for a better explanation.

Say I have 4 categories and within each category I have 10 forums, but I only want this edit to affect one category, is this at all possible?

setishock 08-21-2011 09:19 PM

You'll have to ask Lynne. That's her creation so she would know the answer to that.


All times are GMT. The time now is 07:39 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.02109 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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