Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2007, 11:18 AM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to remove threads and posts column on forumhome?

Hey,

I would like to remove both colums on the forumhome, can anyone tell me where I can do it please?

I know its in forumhome category but I don't know where to edit.

I was able to remove the two columns that show posts and threads but it leaves a blank space in the design and the two columns showing the actual number of each are still there.

Thanks
Reply With Quote
  #2  
Old 01-30-2007, 10:16 AM
John Diver John Diver is offline
 
Join Date: Nov 2003
Posts: 329
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone help with this please?

Thanks
John
Reply With Quote
  #3  
Old 01-31-2008, 05:27 PM
Eq4bits Eq4bits is offline
 
Join Date: May 2006
Posts: 468
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to do the same thing =S
at vBulletin.com this thread supposedly has the instructions for setting the column widths. However after doing them, 'threads' & 'posts' columns are still there.
I used the following in FORUMHOME and in FORUMDISPLAY templates:
Quote:
Originally Posted by Eq4Bits View Post
I did the template edits in both ForumHome and ForumDisplay to where that snippet of code is:
PHP Code:
<tr align="center">
       <
td class="thead" width="0%">&nbsp;</td>
       <
td class="thead" width="75%" align="$stylevar[left]">$vbphrase[forum]</td>
       <
td class="thead" width="25%">$vbphrase[last_post]</td>
       <
td class="thead" width="0%">$vbphrase[threads]</td>
       <
td class="thead" width="0%">$vbphrase[posts]</td>
       <if 
condition="$vboptions['showmoderatorcolumn']">
       <
td class="thead" width="0%">$vbphrase[moderator]</td>
       </if>
     </
tr
As you can see 75% +25% adds up to 100% but still the 'Threads' & 'Posts' columns with the 'counts' in them are showing. I only want the forum(s) and last posts showing. What else can I try?
Reply With Quote
  #4  
Old 01-31-2008, 08:40 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This might have to be tweaked to work for your version of vb, credit to original coder who ever it was, this is from like 3 or 4 years ago lol, you will have to compare it and use/modify what you need.

Code:
Step 1. In forumhome remove this:
          <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>

Step 2: Find in forumhome_forumbit_level1_post

<div>
				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
				<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
			</div>

Replace with 

<table width="100%">
                             <tr>
                      <td>
			<div>
				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> (<b>Threads</b> $forum[threadcount] | <b>Replies</b> $forum[replycount] )
				</div></td><td align="right"><div align="right'><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></div></td>
</tr>
</table>

Save template

Step 3: Find in forumhome_forumbit_level2_post

<div>
			<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
		</div>

Replace with this:

<table width="100%">
                             <tr>
                      <td>
			<div>
				<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a> ( <b>$forum[replycount]</b> Posts | <b>$forum[threadcount]</b> Topics )
				</div></td><td align="right"><div align="right'><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></div></td>
</tr>
</table>

Step 4: In forumdisplay remove:

	  <td class="thead">$vbphrase[threads]</td>
	  <td class="thead">$vbphrase[posts]</td>



Step 5:  remove from forumhome_forumbit_level2_post

<td class="alt1">$forum[threadcount]</td>
<td class="alt2">$forum[replycount]</td>
Reply With Quote
Reply


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 08:24 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.03375 seconds
  • Memory Usage 2,206KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (4)post_thanks_box
  • (4)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit_info
  • (4)postbit
  • (4)postbit_onlinestatus
  • (4)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete