vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Add-On Releases - NJAquaman - [CMS] Sub Nav Tabs (https://vborg.vbsupport.ru/showthread.php?t=232265)

NJAquaman 01-04-2010 10:00 PM

NJAquaman - [CMS] Sub Nav Tabs
 
1 Attachment(s)
What: A Simple [CMS] Sub Nav Tab Plugin to Add a Sub Nav Tab 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
Execution Order : 5

3) Insert the Code;

For Tabs On the Right Side Use This Code:
Code:

$template_hook['vbcms_navbar_end'] .= '
<li><a href="http://www.google.com" >Google </a></li>
<li><a href="http://www.yahoo.com" >Yahoo </a></li>';

For Tabs On the Left Side Use This Code:
Code:

$template_hook['vbcms_navbar_start'] .= '
<li><a href="http://www.google.com" >Google </a></li>
<li><a href="http://www.yahoo.com" >Yahoo </a></li>';

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

Notes:
- "Google" or "Yahoo" is the tab names
- To Create More Tabs Duplicate it in the Same "$template_hook['vbcms_navbar_end']" Tag
- YOU MAY Duplicate it in the same Plugin
- You can use both Left and Right codes at the same time!


Screen Shot!

Attachment 109210



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 Drop Down

Boko577 01-16-2010 10:06 PM

Doesn't work, messed up my whole forum navbar and gave me weird code at the top. It makes all of the navbar buttons go away except for Forum and What's New?

NJAquaman 01-17-2010 02:02 PM

Quote:

Originally Posted by Boko577 (Post 1957731)
Doesn't work, messed up my whole forum navbar and gave me weird code at the top. It makes all of the navbar buttons go away except for Forum and What's New?

This has Been Thoroughly tested on numerous sites. Here are some tips on Making it work;
- If your navbar templates are customized then it will not work.
- Please Copy the Code correctly
- Read the directions carefully
- Remember this is not e template edit , its a Plugin!

Thanks

Let me know if you need any help !

chuotlac 04-05-2011 10:08 AM

It works fine! Thanks.

Could I ask another question, just a private question? I want to add section as new item in sub nav, I know I can set it in "Sections to Display in Navbar Sub-Menu", after I check selected section, choose order to showing then I click save but my setting does not saved. Many thanks!

archet1337 08-12-2011 08:09 PM

Is it possible to use this to get the forum navbar links to show on the CMS page?

New Posts, Private Messages, FAQ, Calendar etc..


All times are GMT. The time now is 04:31 AM.

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.01641 seconds
  • Memory Usage 1,723KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete