Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
NJAquaman - [CMS] Sub Nav Tabs Drop Down Details »»
NJAquaman - [CMS] Sub Nav Tabs Drop Down
Version: 1.2, by NJAquaman NJAquaman is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Category: Add-On Releases - Version: 4.0.x Rating:
Released: 01-04-2010 Last Update: Never Installs: 25
Uses Plugins
Re-useable Code Translations  
No support by the author.

What: A Simple [CMS] Sub Nav Tab Plugin to Add a Sub Nav Tab Drop Down to the [CMS] Nav Bar.

WORKS WITH ..!!!
4.0.x

Browser Comparability (All Latest Versions);
Internet Explorer
Firefox
Opera
Safari
Google Chrome


Install:

1) Navigate to ACP> Plugins & Products > Add New Plugin
2) Product : Vbulletin
Hook Location : parse_templates
Title : CMS Sub Nav Tab Drop Down
Execution Order : 5

3) Insert the Code;

For Tabs On the Right Side Use This Code:
Code:
$template_hook['vbcms_navbar_end'] .= '
<li class="popupmenu">
<a href="javascript://" class="popupctrl">Browsers</a>
<ul class="popupbody">

<li><a href="http://www.google.com">Google</a></li>
<li><a href="http://www.yahoo.com">Yahoo</a></li>
<li><a href="http://www.bing.com">Bing</a></li>
				
</ul>
</li>
';

For Tabs On the Left Side Use This Code:
Code:
$template_hook['vbcms_navbar_start'] .= '
<li class="popupmenu">
<a href="javascript://" class="popupctrl">Browsers</a>
<ul class="popupbody">

<li><a href="http://www.google.com">Google</a></li>
<li><a href="http://www.yahoo.com">Yahoo</a></li>
<li><a href="http://www.bing.com">Bing</a></li>
				
</ul>
</li>
';

4) Save , Now you Have a CMS Sub Nav Tab Drop Down!

Notes:
- "Browsers" is the Sub Main tab name
- To Create More Tabs Duplicate it in the Same Code
- YOU MAY Duplicate it in the same Plugin
- You can use both Left and Right codes at the same time!


Screen Shot!

2010-01-05_131921.gif



DONT FORGET TO CLICK INSTALL


__________________________________________
Change Log
v1.2 - 01/17/10
- vB 4.0.1 Temp Hook Call Fix
- Patch: Change the Hook From "process_template_complete" to "parse_templates"

v1.1 - 01.05/10
- Both Right and Left Sides (Zaiaku)
__________________________________________



Here Are Some Other Versions:

Main Nav Tabs
Main Nav Tab Drop Down
Main Nav Tab w/ Connective Sub Nav
[CMS] Sub Nav Tabs

Show Your Support

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

Comments
  #2  
Old 01-05-2010, 11:52 PM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, none of these work for me.
Reply With Quote
  #3  
Old 01-06-2010, 11:24 AM
NJAquaman's Avatar
NJAquaman NJAquaman is offline
 
Join Date: Feb 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steven s View Post
Sorry, none of these work for me.
Remember this is For HOME or CMS Sub Nan Bar!
I retested and thy work perfect! What is the problem ,, they don't show for you ?

Glad to Help!
Reply With Quote
  #4  
Old 01-06-2010, 10:37 PM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NJAquaman View Post
Remember this is For HOME or CMS Sub Nan Bar!
I retested and thy work perfect! What is the problem ,, they don't show for you ?

Glad to Help!
Nope. Didn't appear at all.
I'll revert the template and try again.
Reply With Quote
  #5  
Old 01-07-2010, 10:54 AM
NJAquaman's Avatar
NJAquaman NJAquaman is offline
 
Join Date: Feb 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steven s View Post
Nope. Didn't appear at all.
I'll revert the template and try again.
I am Sorry to alarm you But its not a Template , This is an ACP Plugin.
Nothing here has to do whit templates. Please read the directions.

Thanks!
Reply With Quote
  #6  
Old 01-11-2010, 02:03 AM
steven s's Avatar
steven s steven s is offline
 
Join Date: Aug 2004
Location: Greenville, SC
Posts: 572
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by NJAquaman View Post
I am Sorry to alarm you But its not a Template , This is an ACP Plugin.
Nothing here has to do whit templates. Please read the directions.

Thanks!
What I meant was that I edited the template before installing your mod. Maybe the edit caused the mod not to work.
Reply With Quote
  #7  
Old 01-11-2010, 11:11 AM
NJAquaman's Avatar
NJAquaman NJAquaman is offline
 
Join Date: Feb 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steven s View Post
What I meant was that I edited the template before installing your mod. Maybe the edit caused the mod not to work.
I suggest saving you edited on the txt doc then reverting the template. Then adding them with my Mod. This will help you when updating vB so it will not overwrite the template.!

Thanks
Reply With Quote
  #8  
Old 01-16-2010, 05:00 PM
CrosseyedGamer's Avatar
CrosseyedGamer CrosseyedGamer is offline
 
Join Date: Aug 2009
Location: MN
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I love all these nav plug ins. Couldn't be easier than this. thanks.
Reply With Quote
  #9  
Old 01-17-2010, 01:59 PM
NJAquaman's Avatar
NJAquaman NJAquaman is offline
 
Join Date: Feb 2008
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CrosseyedGamer View Post
I love all these nav plug ins. Couldn't be easier than this. thanks.
Thank You !
Reply With Quote
  #10  
Old 01-17-2010, 04:03 PM
ascott ascott is offline
 
Join Date: May 2009
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I added this to my forum and it's totally destroyed my layout, all I get now is a white background with text, no theme at all.
Reply With Quote
Reply


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 08:08 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.05323 seconds
  • Memory Usage 2,323KB
  • 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
  • (6)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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (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
  • 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