vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Adding links into the navbar (https://vborg.vbsupport.ru/showthread.php?t=194704)

ultimatearco 10-26-2008 10:00 PM

Adding links into the navbar
 
1 Attachment(s)
I also got inspirated by someone to make a double navbar, il make it and ask for his permission
Adding links in the navbar

Added for 3.8.x !
In beta stage couse of the beta version, this will be taken out of beta when vBulletin 3.8.X is out of beta


Translations alloud!
But only with my permission and FULL credit of me!




Demo 1: http://forums.colzdragon.com/
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

ultimatearco 10-27-2008 12:51 PM

I help people when they need support, I only help people who klicked the install button after installing!

Thanks,

Arco

ultimatearco 10-27-2008 12:52 PM

Reserved 2

moschino 11-04-2008 11:21 AM

Nice. Installed

ultimatearco 11-09-2008 03:05 PM

Thanks mate ;)



Also: I give custom codes...

Just pm me with you want ;)
When asking for a custom code please klick install! or i will not support

pspmodandcfw 11-10-2008 11:10 PM

how do i make it show to logged in users only i am on a bluefox theme

ultimatearco 11-11-2008 05:41 AM

Quote:

how do i make it show to logged in users only i am on a bluefox theme
Hello there, This works when your Bluefox theme's navbar works completely
Find:
HTML Code:

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

Add under:
HTML Code:

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

I put the text in bold that you wanted

ultimatearco 11-25-2008 04:10 PM

Taken out of beta!!!!

:D


All times are GMT. The time now is 01:56 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.03306 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
  • (5)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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