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)
-   -   Forum Home Enhancements - Remove 'Threads' and 'Posts' counts column from forumhome (https://vborg.vbsupport.ru/showthread.php?t=256817)

AURFSCAN 01-08-2011 10:00 PM

Remove 'Threads' and 'Posts' counts column from forumhome
 
1 Attachment(s)
I hate all the 'numbers' on the forumhome so I got rid of the column :p
This was done on a fixed width forum.

Back up these templates so If you stuff up... just paste them back and forget about it... :rolleyes:


remove from forumhome_forumbit_level2_post template

Code:

<h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
                <ul class="forumstats td">
                        <li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
                        <li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
                </ul>



adjust in forumbits.css template

for the forumtitle Info width section

Code:

.forumbit_post .foruminfo {
        width: 63%;
        min-width: 30%;
        float: {vb:stylevar left};
        clear: {vb:stylevar right};
        min-height: {vb:stylevar forumicon_size};
}


for the last post Info width section

Code:

.forumbit_post .forumrow .forumlastpost {
        width: 29%;
        font-size: {vb:stylevar mid_fontSize};
        padding-top: {vb:math {vb:stylevar padding}/2};
}


for the forumhead 'Last Post' title alignment

Code:

.forumbit_nopost .forumhead .forumtitle {
        font-size: {vb:stylevar font.fontSize};
        min-width: 67%;
}


*Adjust percentages (In bold red) to suit your width


Adjust in: Settings - Options - Forum Listings Display Options - Last Thread Title Maximum Displayed Characters
to suit 'Last Post' width


Demo

:)

FReeSTER 01-09-2011 03:36 PM

thank you so much mate, i was wondering how to do the same at my board. Thanks for sharing
Rated=5
Installed
Nominate

OurCouponHome 01-09-2011 04:40 PM

Thanks so much! Looks so much cleaner!

goxy63 01-09-2011 06:51 PM

cool
installed, nominated, rated, looks much better

thanks

ps
only sub-forums are bit mess :(

voglermc 01-10-2011 02:28 PM

I pasted all your css in additional.css and made over ride changes there

Randomm 01-10-2011 04:34 PM

I agree with you. Installed and nom.
BTW, anyway to make this apply to the sub-forums as well?

LouisB 01-10-2011 07:37 PM

Looks so much better. Thanks.

derandechser 01-10-2011 10:28 PM

This is pretty cool, i like that clean display, but i wanted the sum of posts too, so i did like that:
https://vborg.vbsupport.ru/
Thank you!!

FReeSTER 01-11-2011 12:24 AM

How to do this by Category?

LouisB 01-11-2011 12:51 AM

Just to add. When doing the changes, it messed up the appearance of my subforums when inside a forum. So i also did step 1 to "forumhome_forumbit_level1_post" to remove it from the subforums.


All times are GMT. The time now is 03:09 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.01008 seconds
  • Memory Usage 1,737KB
  • 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
  • (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
  • (10)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