Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
Move Sub-forums listing below threads... (vB4) Details »»
Move Sub-forums listing below threads... (vB4)
Version: 1.00, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: Forum Display Enhancements - Version: 4.0.x Rating:
Released: 09-24-2010 Last Update: Never Installs: 34
Supported Template Edits
Re-useable Code Translations  

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.

Download Now

File Type: txt subforum_display_below_threadsv4.txt (1.2 KB, 71 views)

Screenshots

File Type: jpg ss_subforums_below_v4.jpg (105.4 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
spencerp

Comments
  #2  
Old 09-25-2010, 05:35 PM
Goonie's Avatar
Goonie Goonie is offline
 
Join Date: Jul 2010
Location: UK
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice one.
Reply With Quote
  #3  
Old 09-26-2010, 08:33 AM
Tony_FPM Tony_FPM is offline
 
Join Date: Feb 2005
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!

But my post a new thread button is standing in the sub-forum (title) text.
How can i change this ?
Reply With Quote
  #4  
Old 09-26-2010, 11:04 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tony_FPM View Post
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.
Attached Images
File Type: png ss_subforums_below_v4dutch.png (111.0 KB, 0 views)
Reply With Quote
  #5  
Old 09-26-2010, 11:52 AM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Tony_FPM View Post
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..
Attached Images
File Type: jpg Capture_09262010_084426.jpg (10.2 KB, 0 views)
File Type: jpg Capture_09162010_134035.jpg (26.6 KB, 0 views)
Reply With Quote
  #6  
Old 07-21-2011, 11:22 AM
AttalaEA AttalaEA is offline
 
Join Date: Apr 2011
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

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

Thanks
Reply With Quote
  #7  
Old 07-21-2011, 11:37 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should.

If the code in the directions can be found, it will work.
Reply With Quote
  #8  
Old 07-22-2011, 07:34 PM
Randomm Randomm is offline
 
Join Date: Jul 2010
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #9  
Old 07-22-2011, 09:38 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #10  
Old 07-23-2011, 03:47 AM
Randomm Randomm is offline
 
Join Date: Jul 2010
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
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
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05436 seconds
  • Memory Usage 2,328KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete