vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Move Sub-forums listing below threads... (vB4) (https://vborg.vbsupport.ru/showthread.php?t=251127)

BirdOPrey5 09-24-2010 10:00 PM

Move Sub-forums listing below threads... (vB4)
 
1 Attachment(s)
This is the vB4 version of my vB3 mod here:https://vborg.vbsupport.ru/showthread.php?t=249626

Demo: http://www.qapla.com/mods/forumdispl...ions?styleid=5

This is a simple template edit to move sub-forums display below the threads in a forum rather than on top like they are now. There are various reasons for this, all come down to personal preference. Personally if I have a lot of sub-forums I want users to be able to see the threads without needing to scroll down.

NOTE - For VB 4.2.1 and any version where the code does not match below, see Post # 28 for alternate instructions.

In your FORUMDISPLAY template find the code:

Code:

<vb:if condition="$forumbits">
{vb:raw template_hook.forumdisplay_above_subforums}
<div id="forumbits" class="forumbits">
        <div class="forumhead">
                <h2>
                        <span class="forumtitle">{vb:rawphrase subforums}</span>
                        <span class="forumlastpost">{vb:rawphrase last_post}</span>
                </h2>
        </div>
        <ol>
                {vb:raw forumbits}
        </ol>

        {vb:raw forumhome_markread_script}
</div>
</vb:if>

And "CUT" it to your clipboard... (Copy it and delete it but save a copy)

Now find:

Code:

        <div class="threadpagenav">
                {vb:raw pagenav}
                {vb:raw forumjump}
        </div>
</div>

And below that PASTE the code you cut above...

And that's it, now your sub-forums will show under your threads. See the screen shot.

Download the .txt file as a backup.

Please Mark as Installed if you use this. :)

Goonie 09-25-2010 05:35 PM

Nice one.

Tony_FPM 09-26-2010 08:33 AM

Installed!

But my post a new thread button is standing in the sub-forum (title) text.
How can i change this ?

BirdOPrey5 09-26-2010 11:04 AM

1 Attachment(s)
Quote:

Originally Posted by Tony_FPM (Post 2103273)
Installed!

But my post a new thread button is standing in the sub-forum (title) text.
How can i change this ?

Did you fix this because when I go to your site it looks fine to me? Screen shot attached...

If not please give me a link to where the problem is happening.

VonDoom 09-26-2010 11:52 AM

1 Attachment(s)
Quote:

Originally Posted by Tony_FPM (Post 2103273)
Installed!

But my post a new thread button is standing in the sub-forum (title) text.
How can i change this ?

That is a free bug courtesy of vBulletin.. Ive seen it on many vB4 forums none are using this hack..

AttalaEA 07-21-2011 11:22 AM

Hello,

Please I have a question is this MOD works for vBulletin 4.1.4

Thanks

BirdOPrey5 07-21-2011 11:37 AM

It should.

If the code in the directions can be found, it will work.

Randomm 07-22-2011 07:34 PM

This was much needed. Thanks!
Installed, rated, and nominated

Question
When in the forumbit as shown in your screenshot, the sub-forums are arranged vertically in one column
Is there a way to arrange sub-forums (5+ subforums) horizontally and be able to decide how many column you want?
Is there a mod for this? I have 10, 15, 20+ subforums under one category and it's hard for me and my members to keep scrolling just to find a specific sub-forum...

BirdOPrey5 07-22-2011 09:38 PM

Thanks.

I don't know the answer to your question, I know it's not possible without a mod. I know there were mods to do it on VB 3.x, but I don't know if anyone ever made one for VB 4. Have you tried the search?

Randomm 07-23-2011 03:47 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2223681)
Thanks.

I don't know the answer to your question, I know it's not possible without a mod. I know there were mods to do it on VB 3.x, but I don't know if anyone ever made one for VB 4. Have you tried the search?

yeah many times. I do for the most part search first before I ask
so nothing yet huh? ohh well I'll just wait


All times are GMT. The time now is 11:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03336 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete