[Template] Categorys everywhere like forumhome

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Killhunter
    New Member
    • Jul 2011
    • 18
    • 4.0.x

    [vB4] [Template] Categorys everywhere like forumhome

    Hi from germany,

    Im looking for a possibility to change the way how categorys are displayed in forums. I want to make them look like they look at forumhome, to get my forum more structured.

    Well, in vBulletin 4.2 the way how the forums in a category which is in a forum are displayed are sub-forums. I dont need sub-forums, so i just edited the "forumhome_subforums" template to this (edit of "forumhome_forumbit_level2_post"):

    Code:
    <vb:if condition="THIS_SCRIPT != 'index'">
    <vb:each from="subforums" value="row">
    
    <li id="forum{vb:raw forum.forumid}" class="forumbit_post {vb:raw forum.statusicon} L2">
    	<div class="forumrow table">
    		<div class="foruminfo td">
    			<img src="image.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
    			<div class="forumdata">
    				<div class="datacontainer">
    					<div class="titleline">
    						<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw row}}">{vb:raw row.title}</a></h2>
    						
    					</div>
    
    
    
    
    
    					
    				</div>
    			</div>
    		</div>
          
            	
           
           
    	</div>
    	
    </li>
    </vb:each>
    </vb:if>
    You see, my skills arent the best. The idea works, but it does kill the style and looks horrible I really really hope that someone of you has the skills to make that work perfect. It would be so awesome...

    Thank you.
    Sorry for my bad english. My programmer-skills also aren´t the best.
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73427
    • 6.0.X

    #2
    Just copy the contents of your level1_nopost template into your level2_nopost template. They will look exactly alike then.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • Killhunter
      New Member
      • Jul 2011
      • 18
      • 4.0.x

      #3
      Originally posted by Wayne Luke
      Just copy the contents of your level1_nopost template into your level2_nopost template. They will look exactly alike then.
      No effect...
      Your idea cant work, because the forums in categorys in forums are displayed as sub-forums.
      Last edited by Killhunter; Fri 17 Aug '12, 6:47am.
      Sorry for my bad english. My programmer-skills also aren´t the best.

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73427
        • 6.0.X

        #4
        I use it all the time... Umm, really don't know how to accomplish what you are asking then without seeing it in operation and what specifically you want things to look like.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • Killhunter
          New Member
          • Jul 2011
          • 18
          • 4.0.x

          #5
          I want to display categories and forums like that:

          Click image for larger version

Name:	cat12324.png
Views:	1
Size:	62.3 KB
ID:	3689900

          But not at forumhome, but in forums.

          For example, i want to show the categorys and forums in the picture above in this forum:

          Forum -> vBulletin -> vBulletin 4 -> Test Forum

          If I create categorys in this path, the categorys and forums looks horrible. I never saw a vbulletin forum which solved that problem - they just dont create categorys in forums.
          Sorry for my bad english. My programmer-skills also aren´t the best.

          Comment

          • Zachery
            Former vBulletin Support
            • Jul 2002
            • 59097

            #6
            What do you mean in forums?

            Comment

            • Wayne Luke
              vBulletin Technical Support Lead
              • Aug 2000
              • 73427
              • 6.0.X

              #7
              I helped him resolve the issue. He had to adjust the depth for forums for forumdisplay.
              Translations provided by Google.

              Wayne Luke
              The Rabid Badger - a vBulletin Cloud demonstration site.
              vBulletin 5 API

              Comment

              Related Topics

              Collapse

              Working...
              😀
              😂
              🥰
              😘
              🤢
              😎
              😞
              😡
              👍
              👎