vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Mini Mods - Adding links in the navbar (https://vborg.vbsupport.ru/showthread.php?t=193167)

ultimatearco 10-08-2008 10:00 PM

Adding links in the navbar
 
I also got inspirated by someone to make a double navbar, il make it and ask for his permission
Adding links in the navbar

Demo 1: http://forums.colzdragon.com/forums
Demo 2: Unavaible

Before installing please check the Installed button
ALSO: This version has been taken out of beta stage
Thanks to StuntFactoryX's idea we now have the code for guests!
Version 2 relased and taken out of beta!


Okay, iv'e seen some mods that did not edit the navbar for some reason
Please dont flame me couse of the basic stuff, this is for people who dont have the knowledge of HTML


This has been tested on the Default style. It should work on templates WITHOUT a image navbar!


This hasent been tested on the Fox styles, so use it on your own risk there


Go to your Panel and select Styles & Templates then select Style Manager
go to the Navbar template
Find:


Code:
HTML Code:

  <if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>

Under that add:




Code:
HTML Code:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="[link]">text</a></td></if>

If you want to make it avaible to guests add that below the code above:

HTML Code:

                        <td class="vbmenu_control"><a href="index.php">portal</a></td>
Note: adding the <if> code could couse your forum style to fail completely!
Thank-you StuntFactoryX



Please dont flame me becouse its so simple!!!




It also includes a README file

glennybee 10-09-2008 02:38 PM

Some other guides that might be helpful.

How to add a link to the navbar
How to add dropdown menus to the navbar

wwolf27 10-09-2008 04:15 PM

EXACTLY what I needed!!
THANK YOU!!

ultimatearco 10-09-2008 05:00 PM

No problem, renember to show your support and klick installed!

iogames 10-09-2008 10:38 PM

why don't u put images on navbar???

ultimatearco 10-10-2008 01:39 PM

That would be a really nice idea! Thanks! :)

Renember: Help me by klicking installed!!

ultimatearco 10-15-2008 10:02 AM

bumped...

24 hours over i guess...

RGVFMod 10-16-2008 07:32 PM

I am trying to get the navabar link to point to a site that is not on the vbulletin forums. I keep getting redirected to the my forums as the default. How can I get it to point to a site other than the forums?

RGVFMod 10-17-2008 01:44 PM

Got it. Marked as Installed.

the stig 10-23-2008 05:25 AM

Interested to install it. Do you know how I can put "albums" link in the navbar? Can I use this to add that?


All times are GMT. The time now is 10:01 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.01091 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete