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?

ultimatearco 10-23-2008 01:59 PM

Quote:

Originally Posted by RGVFMod (Post 1646577)
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?

If you want to make a link to another site make sure you include http:// before the rest :)

Quote:

Originally Posted by RGVFMod (Post 1647019)
Got it. Marked as Installed.

Thank-you

Quote:

Originally Posted by the stig (Post 1650920)
Interested to install it. Do you know how I can put "albums" link in the navbar? Can I use this to add that?

Of course!

find
Code:

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

Add unther:
Code:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="PUT THE LINK TO YOUR ALBUMS HERE">Albums</a></td></if>

Now if you want to make it plublic then use this:
Code:

<td class="vbmenu_control"><a href="PUT THE LINK TO YOUR ALBUMS HERE">Albums</a></td>
~Ulti

the stig 10-23-2008 08:55 PM

nice.. I am gonna try it now. 1 more Q, what's my link for all albums? i looked in admincp and couldn't find it. thanks for your help so far.

the stig 10-24-2008 05:22 PM

Quote:

Originally Posted by the stig (Post 1651388)
nice.. I am gonna try it now. 1 more Q, what's my link for all albums? i looked in admincp and couldn't find it. thanks for your help so far.

Bump for answer.

Answer found. :D

ultimatearco 10-27-2008 10:38 AM

Sorry it took so long.

What do you mean with link to all of my albums?

raznaran 10-27-2008 08:50 PM

Man. you so rock! Thank you, thank you, thank you. I wish more people would post things written just idiot simple. I'm playing catch up and I really appreciate it.

ultimatearco 10-28-2008 08:47 AM

No problem, I allways want to help people.
Eventually i will make harder and harder mods (but still easy to install :))

the stig 10-28-2008 01:34 PM

Quote:

Originally Posted by raznaran (Post 1654092)
Man. you so rock! Thank you, thank you, thank you. I wish more people would post things written just idiot simple. I'm playing catch up and I really appreciate it.

Def. agreed. Not many people are "code savvy" ..gonna give this a try today.

Just a question, I am adding a 2nd navbar to the original navbar. Am I still going to be OK with this mod?

Swapnil 11-05-2008 01:59 PM

Thx friend i greatly needed this......

UKBusinessLive 11-09-2008 03:24 PM

Just added My Amazon Bookstore to my Navbar, Thanks :D

ultimatearco 11-11-2008 05:43 AM

No problem, guys,

Glad to have helped you ;)

ultimatearco 11-21-2008 01:45 PM

Quote:

Originally Posted by the stig (Post 1654509)
Def. agreed. Not many people are "code savvy" ..gonna give this a try today.

Just a question, I am adding a 2nd navbar to the original navbar. Am I still going to be OK with this mod?


Yes you will just look up the (i guess >_< ) Double Navbar template

momo2 11-23-2008 12:16 AM

This is very useful for those, who hate to install products etc..

ultimatearco 11-28-2008 05:49 AM

Thanks for your support :)

CPOWA 12-06-2008 08:17 PM

Installed. Thanks Arco :)

ultimatearco 12-08-2008 08:49 AM

No problem, glad to have helped you :)


All times are GMT. The time now is 04:54 PM.

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.01149 seconds
  • Memory Usage 1,769KB
  • 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_code_printable
  • (3)bbcode_html_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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