Announcement

Collapse
No announcement yet.

How To Add 'Forum, Last Posts, Threads and Posts' Row After Categories

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Steve Machol
    replied
    Updated for vB 3.0.7:

    To add the Forum/Last Post/Thread/Posts row just after the Category listings, edit the forumhome_forumbit_level1_nopost and add this:
    HTML Code:
     <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>
    Right above this line:

    $childforumbits

    Leave a comment:


  • How To Add 'Forum, Last Posts, Threads and Posts' Row After Categories

    Edit the forumhome_forumbit_level1_nopost template and add the section in red:

    Code:
    <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
      </td>
     </tr>
    </tbody>
     
    [color=red] <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>[/color]
    
    <if condition="$childforumbits">
    <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
    $childforumbits
    </tbody>
    </if>
    And this in the forumhome_forumbit_level2_nopost template:

    Code:
    <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
     </td>
    </tr>
     
    [color=red] <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>[/color]
    $childforumbits
    You can also remove that same section from the FORUMHOME template if you want.
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X