vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Additional Navbar (https://vborg.vbsupport.ru/showthread.php?t=65198)

JMH11788 09-03-2005 04:59 AM

Here is a fix for people that want a navbar ontop.

You will have the problem like in post #33

i had the problem. it had no border ontop and a thick one on bottom.

i spent a couple hours trying to figure the stupid thing out.

its really easy and i dont know why it took me so long to figure out.

anyways,

in navbar2 template find:

PHP Code:

<!-- nav buttons bar -->
<
div align="center">
    <
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px"

and replace with:

PHP Code:

<!-- nav buttons bar -->
<
div align="center">
    <
table class="tborder" cellpadding="$stylevar[cellpadding]cellspacing="0" border="0" width="100%" align="center" style="border-bottom-width:0px"

easy as that. not sure why no one else posted the solution

sbrad 09-07-2005 03:59 AM

This thing turned out beautifully. Thanks!
http://forums.officerresource.com

mustang_lex 09-07-2005 03:34 PM

I love it. However why doesn't the Navbar2 showup when I go into my arcade?

its arcade.php BTW

attroll 09-07-2005 03:54 PM

Quote:

Originally Posted by mustang_lex
I love it. However why doesn't the Navbar2 showup when I go into my arcade?

its arcade.php BTW

It has something to do with your arcade hack. You most likely need to add "$navbar2" to your globals in your arcade index or main arcade php file.

mustang_lex 09-07-2005 04:28 PM

Ya its iproarcade . you can see it when you go to my site. I opened the arcade.php file and it just says load ./global.php ???

attroll 09-09-2005 06:42 AM

Quote:

Originally Posted by mustang_lex
Ya its iproarcade . you can see it when you go to my site. I opened the arcade.php file and it just says load ./global.php ???

I am looking at you arcade right now.

Try this in your arcade functions. But first before you make any modifications remember to make a backup.

Go to you arcade/functions/functions.php

open it with a text editor:

Find:
PHP Code:

     global $header$vbphrase$vboptions$stylevar$headinclude$bbuserinfo$session$show$pmbox;
global 
$forumjump$timezone$logincode$_USEROPTIONS$scriptpath$admincpdir$modcpdir$quickchooserbits

Replace with:
PHP Code:

     global $header$vbphrase$vboptions$stylevar$headinclude$bbuserinfo$session$show$pmbox;
global 
$forumjump$timezone$logincode$_USEROPTIONS$scriptpath$admincpdir$modcpdir$quickchooserbits$navbar2

If this does not work then delte the file and put your backup back in.

mustang_lex 09-09-2005 12:35 PM

Quote:

Originally Posted by attroll
I am looking at you arcade right now.

Try this in your arcade functions. But first before you make any modifications remember to make a backup.

Go to you arcade/functions/functions.php

open it with a text editor:

Find:
PHP Code:

     global $header$vbphrase$vboptions$stylevar$headinclude$bbuserinfo$session$show$pmbox;
global 
$forumjump$timezone$logincode$_USEROPTIONS$scriptpath$admincpdir$modcpdir$quickchooserbits

Replace with:
PHP Code:

     global $header$vbphrase$vboptions$stylevar$headinclude$bbuserinfo$session$show$pmbox;
global 
$forumjump$timezone$logincode$_USEROPTIONS$scriptpath$admincpdir$modcpdir$quickchooserbits$navbar2

If this does not work then delte the file and put your backup back in.

How can I say this......

THANK YOU! it worked like a charm. I never even thought of looking there. You truly are a genieus!!!!

ReZ 09-09-2005 02:22 PM

Does this work with version 3.0.7?

mustang_lex 09-09-2005 03:16 PM

Yes it does. I have 3.0.7. they should update that

ReZ 09-09-2005 05:53 PM

Ok thanks ^


All times are GMT. The time now is 07:45 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.01346 seconds
  • Memory Usage 1,761KB
  • 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
  • (6)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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