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.

AURFSCAN 01-11-2011 01:02 AM

LouisB is correct :up:

Fixing the subforum misalignment


from forumhome_forumbit_level1_post template



remove
Code:


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


:)

AURFSCAN 01-11-2011 01:11 AM

With the above fix for subforums, I think it looks fine... but I'll sus out the subforum section widths in %

FReeSTER 01-11-2011 06:32 PM

thank you

res6cue 01-11-2011 08:46 PM

Very nice mod. Any idea how to get this to work on the search pages, specifically the New Posts and Daily Posts?

RedPoint 01-13-2011 01:28 PM

its run with 4.1.x ?

RedPoint 02-06-2011 07:41 AM

can answer anyone here, please?

Qwest 02-08-2011 12:52 AM

Redpoint yes it seems to work in my 4.1

3amalah 02-11-2011 06:19 PM

Any Idea How To Put This Counts Under Forum Description ?

RedPoint 02-15-2011 12:31 PM

Quote:

Originally Posted by Qwest (Post 2160013)
Redpoint yes it seems to work in my 4.1

installed - thanks

RedPoint 02-15-2011 01:31 PM

Quote:

Originally Posted by derandechser (Post 2147285)
This is pretty cool, i like that clean display, but i wanted the sum of posts too, so i did like that:
http://www.diggis-hochzeitsforum.de/images/demo1.jpg
Thank you!!



Search in forumhome_forumbit_level2_post template for:
HTML Code:

<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
and put after this the next code:

HTML Code:

<div class="subforums">
<h4 class="subforumlistlabel">{vb:rawphrase threads}: {vb:raw forum.threadcount}</h4>
<br />
</div>

You can change the fontstyle by play with classes of div or H4 - this all can seen on my romanian webmaster forum

AURFSCAN 02-15-2011 10:39 PM

Thanks for verifying working with 4.1 :)

also RedPoint, some good Info ... cheers :up:

Last_Zero 02-16-2011 05:21 PM

See This

I Made Some Changes To Show Posts And Thread Count Under Forum Title

https://vborg.vbsupport.ru/showthread.php?t=258918

Dr.osamA 02-24-2011 07:12 AM

thank you bro

installed + 5 stars

Eq4bits 03-21-2011 04:53 AM

This is great!
Running 4.1.2
Works in IE, FireFox, SeaMonkey, & Chrome browsers

My only question is... I too have a fixed width forum and adjusted the %'s accordingly in the css file.. HOW do I move the 'header' word *Last* over? It's a bit too far to the left for me. Anyone?

AURFSCAN 03-21-2011 09:03 AM

'move the 'header' word *Last* over?'


it should be in forumhome_forumbit_level1_nopost template


find
Code:

<span class="forumlastpost">

add after it
Code:

&nbsp;

so it looks like this
Code:

<span class="forumlastpost"> &nbsp; {vb:rawphrase last_post}</span>

add another
Code:

&nbsp;
to move it over another space


:)

Eq4bits 03-21-2011 11:55 AM

I found it... was another '%' setting. Thanks though. ;)

BlueCheri 03-21-2011 01:01 PM

Very nice indeed, neat and clean look for the forums.

Thanx

AURFSCAN 03-21-2011 02:19 PM

Eq4bits, it should have been the last % in the initial post - forumhead 'Last Post' title alignment

thx Cheri, I agree looks better too :)

StudentCreche 03-29-2011 08:33 PM

https://vborg.vbsupport.ru/external/2011/03/2.jpg


How can I re align "Last Post" (highlighted above)???

Alternatively, I'd actually prefer to move the following further to the right...

https://vborg.vbsupport.ru/external/2011/03/2.jpg

Eq4bits 03-29-2011 10:25 PM

forumbits.css template
adjust the percentage in the section below to move the lastpost stuff under the 'last post' title
PHP Code:

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



StudentCreche 03-30-2011 09:23 AM

I can't seem to suss this out... I've tried various %'s but it messes the layout on forum home and forumdisplay...

StudentCreche 03-31-2011 01:23 PM

http://studentcreche.co.uk/align.jpg


How can I re align "Last Post" (highlighted above)???

Alternatively, I'd actually prefer to move the following further to the right...

http://studentcreche.co.uk/alignnew.jpg

AURFSCAN 03-31-2011 10:30 PM

StudentCreche.. Move subforums 'Last Post' over

In FORUMDISPLAY template find

Code:

<span class="forumtitle">{vb:rawphrase subforums}</span>
replace with

Code:

<span class="forumtitle" style="width:69%;">{vb:rawphrase subforums}</span>

adjust your %


I'll take a look at narrowing last post Info when I have some time :)

StudentCreche 04-01-2011 08:36 AM

Thanks AURFSCAN!!

lubbie 04-01-2011 11:22 PM

There is a problem in 4.1.1
If i set .forumbit_post .forumrow .forumlastpost from width: 22%; to width: 29%; Subforums under a Category looks like that...

http://img13.imageshack.us/img13/2237/unbenanntvt.png

zeus_r6 04-03-2011 01:00 AM

How would this be applied to fluid width forums?

cassis2k 04-21-2011 03:53 PM

Nice, works perfectly on 4.1.3. Thank you AURFSCAN.

nacaruncr 04-29-2011 04:04 AM

hey men, are you know how I can change the column "Threads and Posts" for the moderators?
In other words, that is, add the moderators here, but up to the word "moderates "as the columns of "Main Menu" and "Last Post"
You got something like this:
"Main Menu" "Moderators" "Last Post"

something like this:
http://www.pic-naru.nacaru.com/images/871lol2.png

nacaruncr 05-02-2011 04:53 AM

someone have a idea how I can do this??

please give me a hand.... I don't know really how I can do it..

excuse me my pour english....

sodasusu 09-03-2011 01:15 PM

https://vborg.vbsupport.ru/external/2011/09/83.jpg

its cool ...

someone have a idea how I can do this??


All times are GMT. The time now is 07:13 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.01420 seconds
  • Memory Usage 1,818KB
  • 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
  • (11)bbcode_code_printable
  • (2)bbcode_html_printable
  • (1)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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