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)

attroll 05-02-2005 04:01 AM

Quote:

Originally Posted by mholtum
I really appreciate the effort you are taking to help me figure this out.. I found an easy fix, since I was banging my head against my keyboard for something like 5 hours..

I just uninstalled the second navbar completely and just added a table to my navbar template where I wanted it.. The odd thing is that it works perfectly on another site I designed http://www.theflyfishingforum.com

Just a complete mystery... But again, thanks for the effort.

Ok. No problem. If it works on one site and not another then there is something missing in your templates somewhere.

DavidN 05-29-2005 11:54 PM

Nice, thanks :D

TruthElixirX 06-21-2005 06:55 PM

I tried doing this, followed all of the instructions but the nav bar just doesn't show up...

Where do I need to put that phrase in the phpinclude_start template exactly as I think this would have something to do with it.

attroll 06-22-2005 04:16 AM

Quote:

Originally Posted by TruthElixirX
I tried doing this, followed all of the instructions but the nav bar just doesn't show up...

Where do I need to put that phrase in the phpinclude_start template exactly as I think this would have something to do with it.

Go to your phpinclude_start template and your stock version of the template should look like the one below with the exception of the line that needs to be added at the end/bottom.

// Example of how to include a seperate file:
// ob_start();
// require("yourheader.html");
// $header = ob_get_contents();
// ob_end_clean();
eval('$navbar2 = "' . fetch_template('navbar2') . '";');

mikexxx 06-28-2005 05:22 AM

Any support for 3.5 ? The is no phpinclude_start template.

quachvu 06-28-2005 06:46 AM

Quote:

Originally Posted by mholtum
This worked perfectly for me awhile ago.. Now that I want to install it again. When I add:
Code:

eval('$navbar2 = "' . fetch_template('navbar2') . '";');
to the phpinclude_start template, if makes my entire site center justified. I am at a loss for how this could happen

i have the same problem

attroll 06-28-2005 06:57 AM

Quote:

Originally Posted by mikexxx
Any support for 3.5 ? The is no phpinclude_start template.

Sorry I can not help you yet. I am not going to install 3.5 until it is all done the Beta testing. I have gone through this to many times before. It is hard to keep up with hacks while the Beta testing is being done. But if someone can ask on VB what happened to the phpinclude_start template and let me know I might be able to shed some light on this.

quachvu 06-28-2005 06:59 AM

Quote:

Originally Posted by quachvu
i have the same problem

OK, i have found out the problem ... when we edit the navbar2, we have delete
PHP Code:

    </tr>
    </
table>
</
div

we just add these again so things is ok then ...

attroll 06-28-2005 07:02 AM

Quote:

Originally Posted by quachvu
OK, i have found out the problem ... when we edit the navbar2, we have delete
PHP Code:

    </tr>
    </
table>
</
div

we just add these again so things is ok then ...

You still have me wondering now because there is no phpinclude_start template anymore. I went to VB and found a thread that said this. So now I need to research what this Hook thing is they are talking about.

http://www.vbulletin.com/forum/showt...start+template

Found these two here on this site:
https://vborg.vbsupport.ru/showthread.php?t=82703
https://vborg.vbsupport.ru/showthread.php?t=82625



.

theoperative 06-30-2005 10:48 AM

Just installed. Looks and works fine in IE, but it's completely messed up in firefox..anyone have that issue?

Also I'd like to know how you added that google search box in there? Also great navbar hack.

attroll 07-01-2005 06:19 AM

Quote:

Originally Posted by theoperative
Also I'd like to know how you added that google search box in there? Also great navbar hack.

Here is the link for the Google search box. https://vborg.vbsupport.ru/showthread.php?t=91394

TheRipper 07-02-2005 12:43 PM

Great work loved it

xtreme-mobile 07-05-2005 08:41 AM

this is great :D

how would i get the navbar to show on my portal?

stumparoooo 07-15-2005 03:14 AM

Quote:

Originally Posted by xtreme-mobile
this is great :D

how would i get the navbar to show on my portal?

*installed and loves it*

Thanks for a great hack!! :)

attroll 07-16-2005 07:15 AM

Quote:

Originally Posted by xtreme-mobile
this is great :D

how would i get the navbar to show on my portal?

If your using the vBadvanced CMPS portal to get my navbar2 to work.

In your includes/vba_cmps_include_bottom.php file try looking for:

PHP Code:

global $vboptions$vba_options$vbphrase$stylevar$bbuserinfo$show$pmbox

Replace that with:

PHP Code:

global $vboptions$vba_options$vbphrase$stylevar$bbuserinfo$show$pmbox$navbar2


theo 07-21-2005 10:16 AM

how do you have the navbar split like can be seen here www.footiethreads.com/forum

help appreciated

angelicGrace 07-21-2005 01:44 PM

that would be the 5E insturctions.

Follow the directions for steps 1 -4. When you get to step 5 you want 5E.

xtreme-mobile 07-21-2005 03:28 PM

Quote:

Originally Posted by attroll
If your using the vBadvanced CMPS portal to get my navbar2 to work.

In your includes/vba_cmps_include_bottom.php file try looking for:

PHP Code:

global $vboptions$vba_options$vbphrase$stylevar$bbuserinfo$show$pmbox

Replace that with:

PHP Code:

global $vboptions$vba_options$vbphrase$stylevar$bbuserinfo$show$pmbox$navbar2



not found :(

any ideas?

attroll 07-21-2005 04:12 PM

Quote:

Originally Posted by xtreme-mobile
not found :(

any ideas?

What was not found the template or the code? What version of VB are you running?

xtreme-mobile 07-21-2005 05:52 PM

3.0.7

im using the V2 vbadvanced

i cant find the code:(

theo 07-21-2005 08:30 PM

I want to perform 5e but do not know which template to look for this code in

<!-- / breadcrumb, login, pm info -->

help??

angelicGrace 07-21-2005 08:55 PM

It is in the navbar template.

steven s 07-22-2005 03:08 AM

Quote:

Originally Posted by xtreme-mobile
not found :(

any ideas?

I ran into this problem too.
According to
http://www.vbadvanced.com/forum/showthread.php?t=7565

admincp==> vba CMPS==> Default Settings==> Portal Output Global Variables==> add navbar2

steven s 07-22-2005 03:12 AM

Although the width is not correct.

Edit: problem fixed. I had an additional /div and /table tag.
I copied the code t my html editor and did a syntax check.
Amazing what you discover after a night's sleep.

xtreme-mobile 07-22-2005 05:51 AM

Quote:

Originally Posted by 1996 328ti
I ran into this problem too.
According to
http://www.vbadvanced.com/forum/showthread.php?t=7565

admincp==> vba CMPS==> Default Settings==> Portal Output Global Variables==> add navbar2

works like a charm

cheers

dean

attroll 07-22-2005 06:01 AM

Quote:

Originally Posted by 1996 328ti
I ran into this problem too.
According to
http://www.vbadvanced.com/forum/showthread.php?t=7565

admincp==> vba CMPS==> Default Settings==> Portal Output Global Variables==> add navbar2

Thanks for pointing that out. I will have to add that to the docs on the first page when I get a chance. I am still using CMPS V1.0.0. I have not updated to the newer version so I did not know. Thank you 1996 328ti.

attroll 07-22-2005 06:07 AM

Quote:

Originally Posted by theo
I want to perform 5e but do not know which template to look for this code in

<!-- / breadcrumb, login, pm info -->

help??

It will be in your templates under:
Navigation / Breadcrumb Templaters - navbar

theo 07-26-2005 08:41 PM

ive done everything in the instructions anf followed to get the 5e result but there is still no navbar showing. any ideas?

attroll 07-28-2005 03:39 AM

Quote:

Originally Posted by theo
ive done everything in the instructions anf followed to get the 5e result but there is still no navbar showing. any ideas?

The directions are right.

attroll 07-28-2005 03:59 AM

If you have

1. Created a template called 'navbar2' and have all the code in there.

2. Pu the proper command in you 'phpinclude_start template'.

3. Follow step 5D.

Then it should look like the other web site that you meantioned.

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:43 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.01663 seconds
  • Memory Usage 1,866KB
  • 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)bbcode_code_printable
  • (12)bbcode_php_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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