Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Template Modifications

Reply
 
Thread Tools
Sub-Forum Dropdown Menu Details »»
Sub-Forum Dropdown Menu
Version: 1.00, by JAuthement JAuthement is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.7.x Rating:
Released: 01-13-2008 Last Update: Never Installs: 46
Template Edits
Re-useable Code  
No support by the author.

This is template mod I released for 3.6 Seeing that the original vB code remained the same the template edits should still work in 3.7.x.

Description. This is a Mod to make sub-forums appear in a drop-down menu fashion.

1. +/- sign for forums with/without unread posts

Step 1. Open:
forumhome_forumbit_level2_nopost
forumhome_forumbit_level2_post

Find:
Code:
Code:
<strong>$vbphrase[subforums]</strong>: $forum[subforums]
Replace with:
Code:
Code:
<!-- Subforum pull-down menu --------------------------------------->
	<form action="forumdisplay.php" method="get">
		<input name="s" value="" type="hidden">
		<input name="daysprune" value="-1" type="hidden">
		<select name="f" onchange="this.form.submit();">
                 <option value="$forum[forumid]" selected><strong>Sub Forums</strong></option>
			$forum[subforums]
		</select>
                
	</form>
<!-- Subforum pull-down menu --------------------------------------->
Step 2. Open:
forumhome_subforumbit_nopost
forumhome_subforumbit_post

Replace the templates with:
Code:
Code:
<!-- Subforum pull-down menu --------------------------------------->
<option value="$forum[forumid]">

<if condition="$forum[statusicon] == 'new'">
+&nbsp;
<else />
-&nbsp;
</if>

$forum[title]

</option>
<!-- Subforum pull-down menu --------------------------------------->
Screen Shots Are Located Here:

https://vborg.vbsupport.ru/showthread.php?t=155012

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-03-2008, 07:44 PM
honcho honcho is offline
 
Join Date: Apr 2007
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AzzX View Post
That worked for me (from the 3.6 thread.)

Thanks JAuthement.
i have installed it and get nothing i have increased what you said above m8 but nothing running 3.7.2 and incresased it to 10 can you give me a screen shot to see if i have right setting in what you g=have said above
Reply With Quote
  #23  
Old 07-03-2008, 09:54 PM
anderow anderow is offline
 
Join Date: Jun 2008
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by honcho View Post
i have installed it and get nothing i have increased what you said above m8 but nothing running 3.7.2 and incresased it to 10 can you give me a screen shot to see if i have right setting in what you g=have said above
Ive got exactly the same problem m8.

Have changed forum depth to an adequate number....I have done the modifications as stated....

and I get nada....zip......zilch

I am using the Clean Blue forum template ....has anyone got that template...and this customisation..working together?, please?

thanks
Reply With Quote
  #24  
Old 07-24-2008, 04:13 AM
FReeSTER FReeSTER is offline
 
Join Date: Jun 2006
Location: Rome
Posts: 730
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really love this Mod back in 3.6 but in this one just trash my forum very serious
Is this how is suppose to looks like
Reply With Quote
  #25  
Old 07-24-2008, 03:49 PM
Pf?hler Pf?hler is offline
 
Join Date: Mar 2008
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice! Installed on 3.7.2 PL1.

But, it doesn´t work in forumdisplay if there are again subforums?
Reply With Quote
  #26  
Old 08-03-2008, 05:43 AM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you have to change colspans to fix this....
Reply With Quote
  #27  
Old 08-03-2008, 05:09 PM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

heres how to change the background color and font color...
search for
Code:
<select name="f" onchange="this.form.submit();">
replace with
Code:
<select name="f" onchange="this.form.submit();" style="font-size: 7pt; background-color: darkgray; font-family: Tahoma;">
change font color and background to your liking
Reply With Quote
  #28  
Old 08-31-2008, 04:12 PM
lord eriol lord eriol is offline
 
Join Date: Sep 2005
Location: Italy
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by El Intocable View Post
I really love this Mod back in 3.6 but in this one just trash my forum very serious
Is this how is suppose to looks like
tried on 3.7.2 default style and obtained same result...

seem this mod don't function... (and i need)
Reply With Quote
  #29  
Old 09-01-2008, 01:38 PM
ShadowOne ShadowOne is offline
 
Join Date: May 2005
Location: Tampa
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this mod works fine....www.ripthemic.org

check it out...its works on forum display and everything...
Reply With Quote
  #30  
Old 09-01-2008, 06:34 PM
lord eriol lord eriol is offline
 
Join Date: Sep 2005
Location: Italy
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ShadowOne View Post
this mod works fine....www.ripthemic.org

check it out...its works on forum display and everything...
that is Vb 3.7.0!
you are not the only one that reported all is ok on that version... but the mod has problem with 3.7.2 (my version)
i hope the author can fix the problem a.s.a.p., i need this mod for my forum
Reply With Quote
  #31  
Old 09-01-2008, 07:02 PM
RobbieZ RobbieZ is offline
 
Join Date: Jul 2008
Posts: 1,117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats is cool.. especially if your sub forums are taking up your forum space.. installed..
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 01:25 AM.


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.04447 seconds
  • Memory Usage 2,303KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete