Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Remove 'Threads' and 'Posts' counts column from forumhome Details »»
Remove 'Threads' and 'Posts' counts column from forumhome
Version: 1.00, by AURFSCAN AURFSCAN is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 01-08-2011 Last Update: Never Installs: 133
Template Edits
 
No support by the author.

I hate all the 'numbers' on the forumhome so I got rid of the column
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...


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

Screenshots

File Type: jpg nonumbers.jpg (338.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
ku-med, rodriiverduguez, tinhlt, WendM

Comments
  #62  
Old 08-06-2012, 08:49 PM
davidg davidg is offline
 
Join Date: Apr 2010
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AURFSCAN View Post
'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


removing this line
Code:
<span class="forumlastpost"> &nbsp; {vb:rawphrase last_post}</span>
removes the word Last Post completely from forumhome
just in case u dont want the word Last Post :-)
Reply With Quote
  #63  
Old 09-07-2012, 12:19 AM
wilford brimley wilford brimley is offline
 
Join Date: Apr 2012
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where did you get the small RSS feed icon? the default one sucks.

edit nevermind, jsut got one off google.
Reply With Quote
  #64  
Old 10-28-2012, 02:44 AM
piratarg piratarg is offline
 
Join Date: Mar 2009
Location: Buenos Aires
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the theme "Ideal". After fighting a couple of hours I found where the percentages change:

adjust in additional.css template
Code:
.forumbit_post .foruminfo
.forumbit_post .forumrow .forumlastpost
.forumbit_nopost .forumhead .forumtitle,
Reply With Quote
  #65  
Old 12-16-2012, 05:47 PM
AnthonyBogs AnthonyBogs is offline
 
Join Date: Nov 2012
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by davidg View Post
removing this line
Code:
<span class="forumlastpost"> &nbsp; {vb:rawphrase last_post}</span>
removes the word Last Post completely from forumhome
just in case u dont want the word Last Post :-)
Tried doing so but nothings changing over: http://mobitycoon.com/forum.php

Any help please?
Reply With Quote
  #66  
Old 06-12-2013, 08:16 PM
craigvm's Avatar
craigvm craigvm is offline
 
Join Date: Aug 2012
Posts: 215
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for this info just done it with the sub forum fix it looks loads better
Reply With Quote
Благодарность от:
AURFSCAN
  #67  
Old 11-18-2013, 10:54 AM
Harpo's Avatar
Harpo Harpo is offline
 
Join Date: Dec 2011
Location: Canada
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can I simply remove the texts Threads/Posts? a previous mod already got rid of the columns for me but not the texts.
Reply With Quote
  #68  
Old 11-24-2013, 08:22 PM
Harpo's Avatar
Harpo Harpo is offline
 
Join Date: Dec 2011
Location: Canada
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Merjawy View Post
I believe in 4.1.10 the " Threads / Posts " still show on category as I found out and needs to be deleted from another template..

forumhome_forumbit_level1_nopost
Find and Remove
PHP Code:
<span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span
Or do as I did and just comment it out (like this)
PHP Code:
<!-- <span class="forumthreadpost">{vb:rawphrase threads_posts}&nbsp;</span> --> 
Hope that helps
Which template should I edit now for sub-forums? gotta get rid of the "Thread/Posts"
Reply With Quote
  #69  
Old 07-07-2016, 09:12 AM
webnsn webnsn is offline
 
Join Date: Oct 2009
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry I am not getting below code in my site 3.7.1

<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>
Reply With Quote
  #70  
Old 07-07-2016, 02:12 PM
MarkFL's Avatar
MarkFL MarkFL is offline
 
Join Date: Feb 2014
Location: St. Augustine, FL
Posts: 3,853
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by webnsn View Post
Sorry I am not getting below code in my site 3.7.1

<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>
These template edits are intended for vB 4.x, as template syntax is different in vB 3.x.
Reply With Quote
  #71  
Old 02-26-2018, 08:28 PM
ShellyH ShellyH is offline
 
Join Date: Dec 2017
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This doesn't work for 4.2.5
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06933 seconds
  • Memory Usage 2,347KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (11)bbcode_code
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete