No announcement yet.

Forum Header Under First Category

  • Filter
  • Time
  • Show
Clear All
new posts

  • Forum Header Under First Category

    I've done a search on here on how to move the forum header under a category, but each method posted puts the header under EVERY category..I would like to have it only under the first category, can anyone help me? Thanks in advance.

  • #2


    • #3
      Please wait 24 hours before bumping your posts.

      This can probabbly be done with template conditionals. Here is the online documentation for using template conditionals:
      Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
      Change CKEditor Colors to Match Style (for 4.1.4 and above)

      Steve Machol Photography

      Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


      • #4
        Thanks Steve, I looked at that page but I'm a little confused on how I can use template conditionals to move the forum header. Is there an easier way to do this like just moving the header chunk of code in the FORUMHOME template to a different place? I'm still sorta new to vB =/


        • #5
          Forum header like this?

          You can surround the red code with the blue conditional:

          <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
          <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 condition="$childforumbits">
          <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
          Where X is the forumid of the category.


          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.