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

Reply
 
Thread Tools
Forum Quick Jump menu Details »»
Forum Quick Jump menu
Version: 1.00, by tidy_boy tidy_boy is offline
Developer Last Online: Sep 2008 Show Printable Version Email this Page

Version: 3.5.2 Rating:
Released: 01-07-2006 Last Update: Never Installs: 9
Template Edits
 
No support by the author.

Hey guys this is my first hack I have made so be gentle.

What does it do?

This creates a drop down menu with a list of your forums so where ever you are on your site you can use the quick jump to go direct to the forum your want.

Template Edits: 2


/--------------\
|How to Install|
\--------------/

You need to go to your admincp > styles and templates > style manager > select your style > Edit templates > Header

Find:

Code:
<if condition="$show['popups']">		
			<if condition="$show['searchbuttons']">
				<if condition="$show['member']">
				<td class="element_control_nav"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>

Above Add:

Code:
<!--- tidy_boys Forum Dropdown --->

<td id="forum_options" class="vbmenu_control">
    <a href="$vboptions[bburl]">Forum Quick Jump</a>
    <script type="text/javascript">
        vbmenu_register("forum_options");
    </script>
</td>

<!---End tidy_boys Forum Dropdown --->

Then go to admincp > styles and templates > style manager > select your style > Edit templates > navbar


Find:

Code:
<!-- NAVBAR POPUP MENUS -->

Add after:

Code:
<!--- tidy_boys Forum Dropdown --->

<div class="vbmenu_popup" id="forum_options_menu" style="display:none">
   <table cellpadding="3" cellspacing="1" border="0">
		<tr align="center">
			<td class="thead" colspan="2" >Drop Down title</td>
		</tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]">Forum Index</a>
			</td></tr>

<tr align="center">
			<td class="thead" colspan="2" >Forum Title</td>
		</tr>
		
<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr align="center">
			<td class="thead" colspan="2" >Forum title</td>
		</tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>
			
<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr align="center">
			<td class="thead" colspan="2" >Forum title</td>
		</tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

<tr>
			<td class="vbmenu_option" title="Forum Name">
				<a href="$vboptions[bburl]/forumdisplay.php?f=x">Forum Name</a>
			</td></tr>

</table>
</div>


<!---End tidy_boys Forum Dropdown --->
Where you see the x you replace it with the forum id. You will need to play around with the code if you need more forums in the drop down its really easy.


Dont forget to click install


Enjoy...

Show Your Support

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

Comments
  #12  
Old 01-09-2006, 08:07 AM
tidy_boy tidy_boy is offline
 
Join Date: Jun 2005
Location: England
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have now moved a few things around to make time to improve this
Reply With Quote
  #13  
Old 01-09-2006, 12:12 PM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its Nice Really..

After installing this -Boards Forum Jump Menu Can Be Disable ??

As we have a bit long Forum List & sub-forum...
will it be okay ??
Reply With Quote
  #14  
Old 01-09-2006, 12:30 PM
tidy_boy tidy_boy is offline
 
Join Date: Jun 2005
Location: England
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zia
Its Nice Really..

After installing this -Boards Forum Jump Menu Can Be Disable ??

As we have a bit long Forum List & sub-forum...
will it be okay ??
I dont understand this After installing this -Boards Forum Jump Menu Can Be Disable ??
Reply With Quote
  #15  
Old 02-14-2006, 08:37 PM
Strat Strat is offline
 
Join Date: Jan 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I understand what he's trying to say, albeit with broken English. It's OK.

Yes, Zia. The regular Forum Jump menu can be disabled via the Admin CP.

vBulletin Options -> General Settings -> Use Forum Jump Menu. Set to "no."
Reply With Quote
  #16  
Old 02-14-2006, 08:53 PM
Strat Strat is offline
 
Join Date: Jan 2006
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, I would really enjoy this hack, but in HEADER, I can't find the required text. Here's my entire (small) HEADER template.

PHP Code:
<!-- logo -->
<
a name="top"></a>
<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
<
tr>
<
td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td>
</
tr>
</
table>
<!-- /
logo -->

<!-- 
content table -->
$spacer_open

$_phpinclude_output
<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">
        <
input type="hidden" name="spell_formname" value="">
        <
input type="hidden" name="spell_fieldname" value="">
        <
input type="hidden" name="spellstring" value="">
</
form
Ideas?
Reply With Quote
  #17  
Old 02-26-2006, 06:36 PM
michaelbenson's Avatar
michaelbenson michaelbenson is offline
 
Join Date: Feb 2005
Location: United Kingdom
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Strat
BTW, I would really enjoy this hack, but in HEADER, I can't find the required text. Here's my entire (small) HEADER template.

PHP Code:
<!-- logo -->
<
a name="top"></a>
<
table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
<
tr>
<
td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]border="0" alt="$vboptions[bbtitle]/></a></td>
</
tr>
</
table>
<!-- /
logo -->

<!-- 
content table -->
$spacer_open

$_phpinclude_output
<form name="spell_form" id="spell_form" method="POST" target="spellWindow" action="vbspell.php">
        <
input type="hidden" name="spell_formname" value="">
        <
input type="hidden" name="spell_fieldname" value="">
        <
input type="hidden" name="spellstring" value="">
</
form
Ideas?
You might have to make the appropriate changes in this case to your navbar template.
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 07:20 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.06808 seconds
  • Memory Usage 2,302KB
  • Queries Executed 21 (?)
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
  • (4)bbcode_code
  • (2)bbcode_php
  • (2)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
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)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