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

Reply
 
Thread Tools
Posts And Thread Count Under Forum Title Details »»
Posts And Thread Count Under Forum Title
Version: 1.00, by Last_Zero Last_Zero is offline
Developer Last Online: May 2014 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.1.0 Rating:
Released: 02-14-2011 Last Update: Never Installs: 40
Template Edits
Re-useable Code  
No support by the author.

=============================================

This Edit I Was Searching For It And No One Answered Me

So I Tried And Make It Myself

And Told Myself That I Must Share With People May Need

=============================================

First Thing You Must Use This Edit Here To Remove The Posts And Threads From Forumhome

Remove 'Threads' And 'Posts' Counts Column From Forumhome By AURFSCAN

=============================================

No We Need To Put The Thread And Posts Count Under Forum Title Or Description

Example :-

=========================================



=========================================

Open The Template Forumhome_Forumbit_Level2_Post


(( If You Want To Add Thread And Post Count Between Forum Title And Description ))


Search For


PHP Code:
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if> 
Add Below It


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

(( If You Want To Add Thread And Post Count After Description Like Example ))

Search For

PHP Code:
<vb:if condition="$show['forumdescription']"><class="forumdescription">{vb:raw forum.description}</p></vb:if> 
Add Below It

PHP Code:
<div class="subforums">
<
h4 class="subforumlistlabel">{vb:rawphrase threads}: {vb:raw forum.threadcount}</h4> <h4 class="subforumlistlabel">{vb:rawphrase posts}: {vb:raw forum.replycount}</h4>
<
br />
</
div
Thats It

Plz Click Install If U Installed This Edit

Screenshots

File Type: jpg Ex.Jpg (25.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
hterrag, Nacho Vidal

Comments
  #22  
Old 03-21-2011, 05:06 AM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I also changed it to 'h2' and italicized and on one line instead of two
Reply With Quote
  #23  
Old 03-21-2011, 06:15 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How about adding a text file with the instructions so they have it in case they ever need to re-edit the templates?
Reply With Quote
  #24  
Old 03-29-2011, 11:59 AM
my123world's Avatar
my123world my123world is offline
 
Join Date: Aug 2010
Location: -| Heart of vB |-
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, This is Some Nice Edit After All.... Does Anybody Know how To Make Them Come At The Middle?

Please Reply If You Know How To... Till Then Even m Trying! :P
Reply With Quote
  #25  
Old 04-01-2011, 08:56 PM
lubbie lubbie is offline
 
Join Date: May 2010
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For those who want the Style different.

Instead of adding
<div class="listforums"> add <div class="threadstyle">

open additional.css and add this to it

Code:
.threadstyle h4 {
   float:{vb:stylevar left};
   clear:{vb:stylevar right};
   padding-right: 5px;
}
and Save. You can add some Color or bold Style... Whatever you want and what is with CSS possible

The only problem i still have is, if you dont have any forum discription the counts are behind the Forums Names....
Reply With Quote
  #26  
Old 07-11-2011, 07:05 AM
chanvl's Avatar
chanvl chanvl is offline
 
Join Date: May 2007
Location: www.ibp.vn
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No 4.1.4 ?
Reply With Quote
  #27  
Old 08-25-2011, 03:06 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is not working for me
Reply With Quote
  #28  
Old 11-10-2011, 09:06 AM
Nacho Vidal's Avatar
Nacho Vidal Nacho Vidal is offline
 
Join Date: Feb 2011
Location: Chillin' with Rocco
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works for me on 4.1.7

Wasn't too keen on the bold style and had the same problem the extra line break when changing the <h> tags...so I removed them I have no idea what I'm doing, but removing the <h> and adding a &nbsp; appears to have sorted it

Code:
<class="subforumlistlabel">{vb:rawphrase threads}: {vb:raw forum.threadcount} &nbsp;<class="subforumlistlabel">
See the attached picture!

Cheers

Nach
Attached Images
File Type: jpg forumview.JPG (13.7 KB, 0 views)
Reply With Quote
  #29  
Old 07-18-2013, 12:02 PM
Mдяc's Avatar
Mдяc Mдяc is offline
 
Join Date: Mar 2006
Location: VietNam
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanz much, that's great
Reply With Quote
  #30  
Old 11-18-2013, 09:38 AM
Harpo's Avatar
Harpo Harpo is offline
 
Join Date: Dec 2011
Location: Canada
Posts: 100
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed.

I need help removing the "threads/posts" from the column. see attachment I uploaded.

Thanks.
Attached Images
File Type: jpg forumhomesample.jpg (47.5 KB, 0 views)
Reply With Quote
  #31  
Old 11-18-2013, 10:07 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There are already threads here on the board that discuss how to do this.

Here is a couple of methods I found doing a quick search.
https://vborg.vbsupport.ru/showthread.php?t=295699
https://vborg.vbsupport.ru/showthread.php?t=256817
https://vborg.vbsupport.ru/showthread.php?t=262287


I hope it helps.
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 03:38 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.04324 seconds
  • Memory Usage 2,343KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_php
  • (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
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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