vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Remove "Forum/Last Post/Threads/Posts" Header from just ONE category (https://vborg.vbsupport.ru/showthread.php?t=154104)

The Equivocate 08-02-2007 12:13 PM

Remove "Forum/Last Post/Threads/Posts" Header from just ONE category
 
Hey, I have one category set up using the Multiple Forums in Columns view. So obviously when they are in different columns, the row/header that says "Forum" "Last Post" "Threads" and "Posts" is useless for that particular column because they don't line up anymore. Is there a simple way to remove this header from a specific category, or can I only remove it from all at once (which I figured out, but made the other normal categories look like crap). Thanks

MaestroX 08-02-2007 12:21 PM

Can you provide a link to your forum so we can help more effectively?

The Equivocate 08-02-2007 01:01 PM

http://imagehost.dynastymedianetwork...782example.jpg

The bunch of black boxes are forum names. Eventually they will have the threads/posts/last post beneath them, but the general idea is that it's 3 forums across. So at the top where it says Forum then Last Post etc it is trying to line it up with where the forum name and last post and threads/postd SHOULD be, as seen in category test1. Basically I want to get rid of the blue bar between that first red box (the category name) and above the other black boxes (the forum names set up in categories).

I mean I can figure out how to remove that bar all together but then it gets rid of it for every category, and I want it to still be in the other categories (like test1)

MaestroX 08-02-2007 01:19 PM

You should be able to do this by wrapping a conditional around the html and change X to the forumID where you don't want it to be displayed.

So something like this:

Code:


<if condition="$forum[forumid] != X">
 <tr align="center">
  <td class="thead">&nbsp;</td>
  <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
  <td class="thead" width="175">$vbphrase[last_post]</td>
  <td class="thead">$vbphrase[threads]</td>
  <td class="thead">$vbphrase[posts]</td>
  <if condition="$vboptions[showmoderatorcolumn]">
  <td class="thead">$vbphrase[moderator]</td>
  </if>
 </tr>
</if>

Hope this helps

The Equivocate 08-02-2007 01:39 PM

Awesome, that did it. Thanks for such a quick response too.

MaestroX 08-02-2007 01:42 PM

No problem, glad to help :)


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

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.01033 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete