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)

Viks 01-14-2005 04:24 AM

UPDATE: sorry folks, i was able to figure it out.
Added navbar2 at the bottom of "navbar" tempelate.

everything is ok now.

attroll 01-14-2005 04:52 AM

To get navbar2 to work with vBadvanced CMPS portal do the following.

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


sportster 01-22-2005 05:27 PM

Installed :nervous:

SHANE-D-PAIN 01-30-2005 10:55 AM

hey checkout what ive done with mine: www.teenageforums.com/forums/

MR-2ZZ 02-04-2005 06:48 AM

Awesome! Works great on my site: http://driftchat.com/forum/index.php

MR-2ZZ 02-04-2005 08:48 AM

Quote:

Originally Posted by attroll
To get navbar2 to work with vBadvanced CMPS portal do the following.

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


That didnt work for me. VB 3.06 BTW. I couldnt find that phrase. I found a phrase similiar and added the approprate phrase but nothing came of it.

MR-2ZZ 02-05-2005 06:48 AM

BTW it is actually working for me but the colors are not correct.

hondaman 02-07-2005 05:42 AM

How did you get it to work? I am using vBA CMPS 1.01. I followed the install directions, even did the edit to the vba_cmps_include_bottom.php file, but its not appearing on the front page.

MR-2ZZ 02-09-2005 03:40 AM

I just tried it with a new theme and it did not work.

trulylowcarb 02-24-2005 03:46 PM

Love this mod, as it gives me one uniform navbar that appears on both gallery and vb pages - thank you!!

Now, I wonder if someone could help me move the welcome/login box from the vb navbar into this one instead, so I can turn off the vb navbar on the gallery pages and make the site seem more integrated.
Thanks in advance.

trulylowcarb 02-24-2005 04:02 PM

I decided to just remove the bottom part of the navbar with all the links, and leave the breadcumbs and login box only.... I quickly created another template called navbar_lite and copied the code from my existing navbar into it, removing everything after the login info. Then I adjusted the addition to the phpstart templete (change the navar2 to navar_lite) and replaced $navbar with $navbar_lite in the gallery template .
This worked great for me.

RichieBoy67 02-26-2005 05:05 PM

This is an awesome addon but I have one question.

I have added an html "sponsor Page" to my site that I link up too.

http://www.talkandmore.net/adpage1.htm?

It is just a really simple basic page to list sponsors, ads, links etc.. Is there any way I can put the navbar on this page??

Thanks,


-

KanyeWest 03-17-2005 11:37 PM

i added new templates to my site www.idenonfire.com but it wont show the double nav bar i did all the editing for navbar and navbar2 it wont work whats wrong

SuperGLS 03-18-2005 01:18 AM

Check out how I did mine... www.elantraxd.com.

This way both bars and next to each other.

attroll 03-18-2005 03:20 AM

Quote:

Originally Posted by KanyeWest
i added new templates to my site www.idenonfire.com but it wont show the double nav bar i did all the editing for navbar and navbar2 it wont work whats wrong

Did you do step 2 and 3 and create a template called navbar2?

It is hard to see what you did wrong when I can only look at you front page and forum page. I can not see what you di that is not making it work.

beano33 03-18-2005 03:58 PM

Quote:

Originally Posted by SuperGLS
Check out how I did mine... www.elantraxd.com.

This way both bars and next to each other.

I like that a lot. What did you do to get the bars like that?

attroll 03-18-2005 11:16 PM

It looks like he did the same thing I did with my web site but you can not see the table border because it is the same color as the background. This is what I have donw with mine. www.whiteblaze.net

RichieBoy67 03-18-2005 11:53 PM

This is an awesome addon but I have one question.

I have added an html "sponsor Page" to my site that I link up too.

http://www.talkandmore.net/adpage1.htm?

It is just a really simple basic page to list sponsors, ads, links etc.. Is there any way I can put the navbar on this page??

Thanks,

attroll 03-19-2005 01:36 AM

Quote:

Originally Posted by RichieBoy67
This is an awesome addon but I have one question.

I have added an html "sponsor Page" to my site that I link up too.

http://www.talkandmore.net/adpage1.htm?

It is just a really simple basic page to list sponsors, ads, links etc.. Is there any way I can put the navbar on this page??

Thanks,

I could not get that link to work.

It depends on how your doing it. Is the sponsor page in your templates? It looks like it is a stand alone sponsor page. If is is a stand along page then it will not work. But if it is a template then just add $navbar2 in the template.

RichieBoy67 03-19-2005 01:49 AM

Oh, sorry... that link is no good because I added a portal.. here is the new link

http://www.talkandmore.net/forums/adpage1.htm?

Yes, It is a stand alone....

attroll 03-19-2005 03:19 AM

You can get this to work if you use it with this mod https://vborg.vbsupport.ru/showthread.php?t=62164

KanyeWest 03-19-2005 05:02 AM

Quote:

Originally Posted by attroll
Did you do step 2 and 3 and create a template called navbar2?

It is hard to see what you did wrong when I can only look at you front page and forum page. I can not see what you di that is not making it work.

i added everything :nervous:

t-roz 04-05-2005 10:38 AM

hi there

i installed it but the drop down menu's are not working and also the search dropdown in the main navbar stoped working so what can i do

by the way im using 3.0.7

and here is my site but i hope you can understand because it is in arabic language

organik81 04-21-2005 11:42 AM

Hi all.. I have a little problem with my second navbar.. I put it under the banners on forumhome. But after that the forum's width increased.. How can I fix it..? (I tried to fix it from style options, CSS etc.. but there is no any result) Thanx... (I attached a shot below)

attroll 04-22-2005 05:14 AM

I would have to see the code to figure out what to do. I don't know how these banner thing is making this do that until I see the code.

RichieBoy67 04-22-2005 05:23 AM

Quote:

Originally Posted by organik81
Hi all.. I have a little problem with my second navbar.. I put it under the banners on forumhome. But after that the forum's width increased.. How can I fix it..? (I tried to fix it from style options, CSS etc.. but there is no any result) Thanx... (I attached a shot below)



Try making the width smaller -- try 90%


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

attroll 04-22-2005 05:53 AM

Quote:

Originally Posted by organik81
Hi all.. I have a little problem with my second navbar.. I put it under the banners on forumhome. But after that the forum's width increased.. How can I fix it..? (I tried to fix it from style options, CSS etc.. but there is no any result) Thanx... (I attached a shot below)

Try moving the $spacer_open variable from the bottom of the header to the top of the header.

LauraFL 04-29-2005 01:47 PM

I am trying to add this under my first navbar. I have the code at the end of my navbar template but Its not working. Should I have put it somewhere else?

www.sunshinestatemoms.com

attroll 04-29-2005 03:52 PM

Quote:

Originally Posted by LauraFL
I am trying to add this under my first navbar. I have the code at the end of my navbar template but Its not working. Should I have put it somewhere else?

www.sunshinestatemoms.com

Go to your NAVBAR and find:
Code:

<!-- / nav buttons bar -->
above that add:
Code:

$navbar2

LauraFL 04-29-2005 05:16 PM

I did that. It is not showing up there.

attroll 04-30-2005 04:26 AM

Quote:

Originally Posted by LauraFL
I did that. It is not showing up there.

Hmm. It works on my web site. If you want you can cut and paste what you have in your navbar and I will look at it and see if I can find something wrong. Send it to me in a PM if you want.

mholtum 05-01-2005 12:52 AM

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

mholtum 05-01-2005 01:15 AM

I had to delete it and just edit the navbar template..

attroll 05-01-2005 02:39 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 don't know why it did a center justify uless you were missing a code or have something in the wrong place. I have three other lines added in my phpinclude_start but and it still works for me. Here is what my phpinclude_start looks like:
Code:

$postthumbnail = implode("", file("http://www.mysite.net/gallery/thumbincluder11.php"));
eval('$navbar2 = "' . fetch_template('navbar2') . '";');
if ($bbuserinfo['field5'] == 'Left'){$vboptions['legacypostbit'] = 1;}


mholtum 05-01-2005 01:23 PM

I have no idea why it did that either as it has worked in the past.

attroll 05-01-2005 03:52 PM

Quote:

Originally Posted by mholtum
I have no idea why it did that either as it has worked in the past.

It looks like something in the navbar2 template got changed and or a table is not getting closed that is open in the navbar2 template. If you want to send me the template I will look at it and see if I can find the problem.

attroll 05-01-2005 04:59 PM

I just updated the first post explaining where to put the $navbar2 line in the templates depending on where you want it. I have also included some 5 screen shots of examples of where you can put them.

mholtum 05-01-2005 05:10 PM

Quote:

Originally Posted by attroll
It looks like something in the navbar2 template got changed and or a table is not getting closed that is open in the navbar2 template. If you want to send me the template I will look at it and see if I can find the problem.

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">
        <tr align="center">< -- is this the issue?       

<!-- Non drop down menu's in navbar -->
      <td class="vbmenu_control"><a href="$vboptions[bburl]/showgroups.php">Staff</a></td>
                <td class="vbmenu_control"><a href="$vboptions[bburl]/affiliate.php">Affiliates</a></td>
                <td class="vbmenu_control"><a href="$vboptions[bburl]/article.php?$session[sessionurl]">Articles</a></td>
                <td class="vbmenu_control"><a href="$vboptions[bburl]/arcade.php?$session[sessionurl]">Arcade</a></td>
                <td class="vbmenu_control"><a href="$vboptions[bburl]/donationstotal.php?$session[sessionurl]">Donations</a></td>
                <td class="vbmenu_control"><a href="http://www.ravensrealm.net/index.php?page=chat">Chat</a></td>
                <td class="vbmenu_control"><a href="/forum/helpdesk.php?$session[sessionurl]">$vbphrase[helpdesk]</a></td>
<!-- / Non drop down menu's in navbar -->


attroll 05-01-2005 06:44 PM

Quote:

Originally Posted by mholtum
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">
        <tr align="center">< -- is this the issue?       

<!-- Non drop down menu's in navbar -->
      <td class="vbmenu_control"><a href="$vboptions[bburl]/showgroups.php">Staff</a></td>
                <td class="vbmenu_control"><a href="$vboptions[bburl]/affiliate.php">Affiliates</a></td>
                <td class="vbmenu_control"><a href="$vboptions[bburl]/article.php?$session[sessionurl]">Articles</a></td>
                <td class="vbmenu_control"><a href="$vboptions[bburl]/arcade.php?$session[sessionurl]">Arcade</a></td>
                <td class="vbmenu_control"><a href="$vboptions[bburl]/donationstotal.php?$session[sessionurl]">Donations</a></td>
                <td class="vbmenu_control"><a href="http://www.ravensrealm.net/index.php?page=chat">Chat</a></td>
                <td class="vbmenu_control"><a href="/forum/helpdesk.php?$session[sessionurl]">$vbphrase[helpdesk]</a></td>
<!-- / Non drop down menu's in navbar -->


I took your exact code that you posted and cut and pasted it in my test site and it worked for me. I will leave your code in there until you see it. The problem has to be somewhere else. Because it works for me.

Here is my test site. You can look at it here: http://www.athiker.net/forum/index.php?

The problem may remain with the rest of the code in your navbar2 template. Can you send me the whole navbar2 template or post it. If that is the whole navbar2 template that you posted then it is most likely a problem in the stock narbar template. If that it the case send me or post you stock navbar template.

mholtum 05-01-2005 07:16 PM

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.


All times are GMT. The time now is 03:11 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.01474 seconds
  • Memory Usage 1,848KB
  • 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
  • (7)bbcode_code_printable
  • (4)bbcode_php_printable
  • (13)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