Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
Combine Threads and Posts Column Details »»
Combine Threads and Posts Column
Version: 1.00, by Aerdan Aerdan is offline
Developer Last Online: Jan 2014 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 05-30-2008 Last Update: Never Installs: 7
Template Edits
 
No support by the author.

If you use this enhancement, remember to click MARK AS INSTALLED for support! Thank you!

This is a small mod which combines your threads and posts into a single column. With this enhancement, it saves a few pixels on your forum width, and the small differentiation is also aesthetically pleasing. This requires a couple simple template modifications.

Installation
1. In FORUMHOME, find the following:
Code:
	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>
2. Replace it with this:
Code:
	  <td class="thead">$vbphrase[threads]/$vbphrase[posts]</td>
3. Save the template.

4. In forumhome_forumbit_level2_post, find the following:
Code:
	<td class="alt1">$forum[threadcount]</td>
	<td class="alt2">$forum[replycount]</td>
5. Replace it with this:
Code:
		<td class="alt1"><small>$vbphrase[threads]: $forum[threadcount]<br />
	$vbphrase[posts]: $forum[replycount]</small></td>
6. Save the template.

7. In forumhome_forumbit_level1_nopost, find the following:
Code:
<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>
8. Replace it with this:
Code:
<if condition="$vboptions[showmoderatorcolumn]">5<else />4</if>
9. Save the template. Done!

Live Demo
http://www.castbuzz.com/community/index.php

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 06-03-2008, 10:49 AM
Losha's Avatar
Losha Losha is offline
 
Join Date: Apr 2006
Location: $Losha.Net$
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

edit very good and I am no error in the presentation of forums subsidiary also shown as the following
FORUMDISPLAY
Reply With Quote
  #13  
Old 06-03-2008, 06:15 PM
visidigi visidigi is offline
 
Join Date: Dec 2007
Location: United Kingdom
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this doesn't work with forums not assigned to a category - it just leaves the thread and posts column like normal
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 01:44 PM.


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.06571 seconds
  • Memory Usage 2,210KB
  • Queries Executed 17 (?)
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
  • (6)bbcode_code
  • (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
  • (1)pagenav_pagelink
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete