How Can I make My SubForum Just like this

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dream On

    How Can I make My SubForum Just like this

    i dont no .. if this is a custom code or not .. i need to make my subforum .. just like Here

    http://www.juegos21.org/foros/index.php?


    thankyou
  • Zachery
    Former vBulletin Support
    • Jul 2002
    • 59097

    #2
    You mean they way they are displayed?

    AdminCP > vBulletin Options > Forum Listings Display Options > Depth of Sub-Forums

    Comment

    • Dream On

      #3
      ok look here the pic

      Here is the pic what i mean ..

      the number (1) is the subforum that iam talking .. it is listed ..

      the number (2) is mine .. look what the diffrent .. all come togather and it's not listed like the other one ..
      Attached Files

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_forumbit_level2_post

        Replace this code:

        Code:
        		<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
        With this code:

        Code:
        		<if condition="$show['subforums']">
        
        			<table width="100%" cellpadding="1" cellspacing="0" border="0">
        
        			<tr>
        
        				<td width="50%" align="left" colspan="2"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>:</div></td>
        
        			</tr>
        
        			<tr>
        
        				$forum[subforums]
        
        			</tr>
        
        			</table>
        
        		</if>
        Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_subforumseparator_post and forumhome_subforumseparator_nopost

        Delete the contents of both templates.

        Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_subforumbit_post and forumhome_subforumbit_nopost

        Add the red code to both templates:

        Code:
        [color=red]<td width="50%" align="left" nowrap="nowrap">[/color]
        
        	<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
        
        [color=red]</td>
        
        <if condition="$GLOBALS[subrow]">
        
        	</tr><tr>
        
        </if>
        
        <if condition="$GLOBALS[subrow] = !$GLOBALS[subrow]"></if>[/color]
        The end result will look like the first picture you attached.
        Last edited by Jake Bunce; Tue 27 Apr '04, 4:40pm.

        Comment

        • Dream On

          #5
          Thanks

          Thanks it work .............

          Comment

          • Kyrnel
            Member
            • Jan 2001
            • 91

            #6
            Sorry to ressurect an old thread, but I implemented this exactly as described and I am getting a bit of an unexpected result.

            I have attached an image that shows that in forumhome_forumbit_level2_nopost everything works as expected, but in forumhome_forumbit_level2_post, it does not.

            You can view my site at www.mx6.com.
            Any ideas on a fix for this?

            Thanks
            Attached Files

            Comment

            • Kyrnel
              Member
              • Jan 2001
              • 91

              #7
              I figured it out.
              I just added this code to the beginning of the forumhome_forumbit_level2_post template:

              <if condition="$GLOBALS[subrow] = false"></if>

              Comment

              • JCWMCS
                Member
                • Oct 2004
                • 43
                • 3.0.3

                #8
                Help!!

                I did as described and now have a major mess:


                See here

                Comment

                • Jake Bunce
                  Senior Member
                  • Dec 2000
                  • 46598
                  • 3.6.x

                  #9
                  Yep, that's a mess.

                  In my instructions, for the modification to the forumhome_forumbit_level2_post template... try making the same change to the forumhome_forumbit_level1_post template. I think that will fix it.

                  Comment

                  • Jake Bunce
                    Senior Member
                    • Dec 2000
                    • 46598
                    • 3.6.x

                    #10
                    Actually, make that change to all 4 forumhome_forumbit_* templates. That should take care of all possibilities.

                    Comment

                    • JCWMCS
                      Member
                      • Oct 2004
                      • 43
                      • 3.0.3

                      #11
                      Originally posted by Jake Bunce
                      Actually, make that change to all 4 forumhome_forumbit_* templates. That should take care of all possibilities.
                      Sensational Jake . . Thanks heaps.

                      Comment

                      • JCWMCS
                        Member
                        • Oct 2004
                        • 43
                        • 3.0.3

                        #12
                        Hi Jake,

                        We have the columns working fine except occasionally throughout the forum we have the the subforums splitting into three columns for no apparent reason.

                        This happens on the first forum and when you drill down to various sections. All froums will be in two columns (which is the way we like it) but then one will split into three and we can't work out why.

                        Attached is the index page and you will see under 'Imported Cars' that Nissan has wondered off on its own. Maybe it doesn't want to mix it with the others.
                        Attached Files

                        Comment

                        • Jake Bunce
                          Senior Member
                          • Dec 2000
                          • 46598
                          • 3.6.x

                          #13
                          Did you add the red code to both the forumhome_subforumbit_post and forumhome_subforumbit_nopost templates?

                          Originally posted by Jake Bunce
                          Admin CP -> Styles & Templates -> Style Manager -> « » -> Forum Home Templates -> forumhome_subforumbit_post and forumhome_subforumbit_nopost

                          Add the red code to both templates:

                          Code:
                          [color=red]<td width="50%" align="left" nowrap="nowrap">[/color]
                          
                          	<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
                          
                          [color=red]</td>
                          
                          <if condition="$GLOBALS[subrow]">
                          
                          	</tr><tr>
                          
                          </if>
                          
                          <if condition="$GLOBALS[subrow] = !$GLOBALS[subrow]"></if>[/color]

                          Comment

                          • JCWMCS
                            Member
                            • Oct 2004
                            • 43
                            • 3.0.3

                            #14
                            Originally posted by Jake Bunce
                            Did you add the red code to both the forumhome_subforumbit_post and forumhome_subforumbit_nopost templates?
                            Yep did that. however we still get the occasional three column problem

                            Comment

                            • Jake Bunce
                              Senior Member
                              • Dec 2000
                              • 46598
                              • 3.6.x

                              #15
                              hmmm, nothing comes to mind. I can take a look if you send me a PM with an admin login and URL to your forums. The admin login will need to have access to your styles and forums.

                              Comment

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