vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Adding Links to the Forum Navbars? (https://vborg.vbsupport.ru/showthread.php?t=255070)

Gomojoe 12-11-2010 03:17 PM

Adding Links to the Forum Navbars?
 
I can add links the home navbar and these also show up on the "What's New" page. However, I have not been able to get these same links to show up in the navbar on the forum or thread pages. Any idea where to get these in?

Lynne 12-11-2010 05:27 PM

You would edit the navbar template (or use one of the template_hooks). Just made sure to add the links under the Forum area of the navbar instead of the What's New area.

Gomojoe 12-11-2010 11:12 PM

I guess that is my issue. I've read through the whole template and am not entirely sure where the forum section is. Would you be able to give me the preceeding code to look for?

Lynne 12-12-2010 04:21 AM

This template_hook is at the beginning of the sub-menu for the Forums:
{vb:raw template_hook.navbar_start}

And this at the end:
{vb:raw template_hook.navbar_end}

So add your new sub-menu item between them.

Gomojoe 12-12-2010 04:35 PM

Looks like that is getting me on to the sub-navbar. I was wanting to add links to the main navbar on the forums page. Thank you very much for your help by the way!

Lynne 12-12-2010 06:53 PM

Well, you can add new navtabs by either installing a modification that does this, or I wrote an article on how to write a plugin to do that - it's linked in my profile.


All times are GMT. The time now is 09:21 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.01088 seconds
  • Memory Usage 1,715KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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