Announcement

Collapse
No announcement yet.

Removing "Forum" "Last Post" etc.

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

  • Removing "Forum" "Last Post" etc.

    Hello,

    I have a catergory set up that does not include any forums only links to my arcade and such. How would I go about removing the "Forum Name", "Last Post" etc. lines from above the first link?

    I have included a screenshot and the highlighted are is what I want to remove..



    Is it possible to remove these items from only this catergory or would they all be removed??

    Thanks in advance!

    John

  • #2
    Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_forumbit_level1_nopost

    Surround the code for that label row with this condition:

    Code:
    <if condition="$forum[forumid] != X">
    
    </if>
    Where X is the forumid of that one category.

    Comment


    • #3
      Jake, shouldn't that be $forumid != 'x'
      or $forum['forumid'] != 'x'
      ?

      Comment


      • #4
        Those work too. It doesn't matter.

        Comment


        • #5
          Thanks for all your input, but I am confused as to where to place this conditional....i tryed it in a couple spots and it would give me errors...then in another spot and that catergory disapeared all together...

          ??

          lol

          Comment


          • #6
            Can you post the contents of your forumhome_forumbit_level1_nopost template?

            Comment


            • #7
              Sure Jake, here it is:


              Code:
               
              <!-- eXtremepixels.com top category table setup -->
              <table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
                <tr>
              	<td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
              	<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle">
               
                 
                 <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
                 <div align="center">
                 <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
                 <if condition="$show['forumdescription']"><div class="smallfont">$forum[description] <br /><span id="moderator$forum[forumid]">Moderated by $forum[moderators]</span></div></if>
                 <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>
               
               
               </td>
              	 <td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="140" height="27" alt=" " border="0" /></td>
                </tr>
              </table>
              		<!-- End top category table setup -->
              		
              		
              		
              <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
              <if condition="$childforumbits">
              <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
              <tr align="center">
                 <td class="thead">&nbsp;</td>
                 <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
              		  <td class="thead" width="200">$vbphrase[last_post]</td>
              		  <td class="thead">$vbphrase[threads]</td>
                 <td class="thead">$vbphrase[posts]</td>
                
               </tr>
              $childforumbits
              </tbody>
              </if>
              </table>
                <!-- bottom table setup -->
              	<table width="100%" border="0" cellpadding="0" cellspacing="0">
              	  <tr>
              		<td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
              		<td  width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
              		<td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
              	  </tr>
              	</table>
                 <!-- End bottom table setup -->
              	 <div style="padding: 7px 7px 7px 7px;"></div>

              Comment


              • #8
                Add the red code, and replace the X with the forumid of that one category:

                Code:
                 
                <!-- eXtremepixels.com top category table setup -->
                <table width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                	<td width="140" height="27" align="left" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_ls.gif" width="140" height="27" alt=" " border="0" /></td>
                	<td width="100%" style="background-image:url($stylevar[imgdir_misc]/cat_back.gif)" valign="middle">
                 
                   
                   <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
                   <div align="center">
                   <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><b>$forum[title]</b></a></div>
                   <if condition="$show['forumdescription']"><div class="smallfont">$forum[description] <br /><span id="moderator$forum[forumid]">Moderated by $forum[moderators]</span></div></if>
                   <if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></div></if>
                 
                 
                 </td>
                	 <td width="140" height="27" align="right" valign="top"><img src="$stylevar[imgdir_misc]/cat_top_rs.gif" width="140" height="27" alt=" " border="0" /></td>
                  </tr>
                </table>
                		<!-- End top category table setup -->
                		
                		
                		
                <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
                <if condition="$childforumbits">
                <tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
                [color=red]<if condition="$forum[forumid] != X">[/color]
                <tr align="center">
                   <td class="thead">&nbsp;</td>
                   <td class="thead" width="100%" align="$stylevar[left]">$vbphrase[forum]</td>
                		  <td class="thead" width="200">$vbphrase[last_post]</td>
                		  <td class="thead">$vbphrase[threads]</td>
                   <td class="thead">$vbphrase[posts]</td>
                  
                 </tr>
                [color=red]</if>[/color]
                $childforumbits
                </tbody>
                </if>
                </table>
                  <!-- bottom table setup -->
                	<table width="100%" border="0" cellpadding="0" cellspacing="0">
                	  <tr>
                		<td width="70" align="left" valign="top"><img src="$stylevar[imgdir_misc]/ls_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
                		<td  width="100%" style="background-image:url($stylevar[imgdir_misc]/extended_main_table_bottom.gif)"><img src="$stylevar[imgdir_misc]/clear.gif" width="100%" height="14" alt=" " border="0" /></td>
                		<td width="70" align="right" valign="top"><img src="$stylevar[imgdir_misc]/rs_main_table_bottom.gif" width="70" height="14" alt=" " border="0" /></td>
                	  </tr>
                	</table>
                   <!-- End bottom table setup -->
                	 <div style="padding: 7px 7px 7px 7px;"></div>

                Comment


                • #9
                  amazing! thanks so much jake, I really appreciate it

                  xoxo

                  Comment

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