Subforum display question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Tru2Chevy
    Member
    • Sep 2005
    • 38
    • 3.8.x

    Subforum display question

    I tried searching, but couldn't find exactly what I was looking for.

    I have one forum on my site for an annual event that my club runs, and I like to keep the forum open only for threads/posts about the current year's event. All past events each have their own locked subforum under that forum. I have
    I have it set so that the subforums are displayed on the forumhome page, under the parent forum, however having the subforums listed at the top of the page when viewing the parent forum is causing some non-computer savvy users who are looking for information about our event to become discouraged.


    Therefore I would like them to NOT be displayed when viewing the parent forum, or have them displayed under the threads in the parent forum instead of above them. I would assume that this could be done with a template edit of sorts, but I'm not sure what to change.

    Thanks for any help you can provide, and if you aren't sure what I mean I'll get some pics up.

    - Justin
  • peterska2
    Senior Member
    • Oct 2003
    • 8869
    • 3.7.x

    #2
    Try setting your forum depth settings to be 2-0-1 in the options at

    AdminCP > vBulletin Options > vBulletin Options > Forum Listings Display Options

    Comment

    • Tru2Chevy
      Member
      • Sep 2005
      • 38
      • 3.8.x

      #3
      I tried that, and when I do the subforums are listed on the Forum home (which I want), but then if I am just viewing that category (Events) they are not displayed, and when I click on the specific parent forum, the 3 subforums are still shown above all of the threads in the parent forum.

      Here's a link to my forum: http://www.njfboa.org/forums

      The Parent forum is 2008 East Coast F-Body Nationals, and the 3 subforums are 2005, 2006, and 2007 East Coast Nats.


      Currently my subforum depth is set as follows:

      Forum home - 2
      Forum display - 0
      Subforums - 1

      - Justin

      Comment

      • Tru2Chevy
        Member
        • Sep 2005
        • 38
        • 3.8.x

        #4
        Anyone else have any insight for me on this?

        - Justin

        Comment

        • Jose Amaral Rego
          Senior Member
          • Feb 2005
          • 11058
          • 1.1.x

          #5
          Is this the look you want or was it some other look.
          2-1-1
          Last edited by Jose Amaral Rego; Thu 10 Jan '08, 5:24pm.

          Comment

          • Tru2Chevy
            Member
            • Sep 2005
            • 38
            • 3.8.x

            #6
            Originally posted by Jose Amaral Rego
            Is this the look you want or was it some other look.
            2-1-1
            [ATTACH]24971[/ATTACH]

            What I am trying to do is to either get rid of or move the subforums displayed at the top of this page: http://www.njfboa.org/forums/forumdisplay.php?f=32

            If possible I would like to move the listing of the subforums below the list of threads in that forum, or remove them all together. As long as the subforums are listed on the forum home as shown in your attachment, I don't need them to be displayed anywhere else.

            - Justin

            Comment

            • Jose Amaral Rego
              Senior Member
              • Feb 2005
              • 11058
              • 1.1.x

              #7
              Like this.


              # find in template: FORUMDISPLAY
              # remove what is in red and paste it within same template below.
              Code:
              [COLOR="#0000ff"]src="clientscript/vbulletin_inlinemod.js?v=$vboptions[simpleversion]"></script></if>
              </head>
              <body>
              $header
              $navbar
              [/COLOR]
              [COLOR="red"]<if condition="$show['forumslist']">
              <!-- sub-forum list  -->
              <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="border-bottom-width:0px">
              <tr>
              	<td class="tcat" width="100%">$vbphrase[subforums]<span class="normal"> : $foruminfo[title]</span></td>
              	<if condition="$show['forumsearch']">
              	<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
              	</if>
              </tr>
              </table>
              <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
              <thead>
              	<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>
              </thead>
              $forumbits
              </table>
              <br />
              <!-- / sub-forum list  -->
              </if>[/COLOR]
              MOve - Paste to
              Code:
              <!-- / controls below thread list -->
              
              </form>
              <br />
              
              [B][COLOR="Red"]<!-- PASTE CODE ABOVE HERE -->[/COLOR][/B]
              
              <!-- Active Users in this Forum (and sub-forums) and Moderators -->
              Last edited by Jose Amaral Rego; Thu 10 Jan '08, 5:24pm.

              Comment

              • Tru2Chevy
                Member
                • Sep 2005
                • 38
                • 3.8.x

                #8
                Perfect, thanks!

                I figured that it could be done with a template edit, just wasn't sure exactly what to move. Still trying to get familiar with all the vB code.

                - Justin

                Comment

                • Tru2Chevy
                  Member
                  • Sep 2005
                  • 38
                  • 3.8.x

                  #9
                  Actually, I take that back. Now the 3 forums under the "Events" category don't display when trying to view them: http://www.njfboa.org/forums/forumdisplay.php?f=40

                  - Justin

                  Comment

                  • Jose Amaral Rego
                    Senior Member
                    • Feb 2005
                    • 11058
                    • 1.1.x

                    #10
                    I just notice the other placement feel inside another if condition and this method should work now.
                    Code:
                    	<!-- / search this forum -->	
                    </tr>
                    </table>
                    <br />
                    
                    
                    <!-- / controls for non-popup browsers -->
                    </if>
                    
                    [B][COLOR="Red"]<!-- PASTE CODE ABOVE HERE -->[/COLOR][/B]
                    
                    <if condition="$show['ajax_js']">

                    Comment

                    • Tru2Chevy
                      Member
                      • Sep 2005
                      • 38
                      • 3.8.x

                      #11
                      Nope, same problem.....

                      And it's not just the Events Catagory - it's all of them.

                      - Justin

                      Comment

                      • Jose Amaral Rego
                        Senior Member
                        • Feb 2005
                        • 11058
                        • 1.1.x

                        #12
                        You know what.. it was not as simple as I thought it would be and you might need a plugin to get this to properly work. I tried if else and edit other templates to get to show properly but I can not. You might want to post over at vBulletin.org.

                        The only other option is to set forums like '2008 East Coast F-Body Nationals' Posting Options > Forum is Open [No] and move the threads within a subforum.

                        Comment

                        • Tru2Chevy
                          Member
                          • Sep 2005
                          • 38
                          • 3.8.x

                          #13
                          Ok, thanks for trying.

                          I'll post up on vB.org and see if anyone can help there.

                          - Justin

                          Comment

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