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 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 04:53 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.01125 seconds
  • Memory Usage 1,754KB
  • 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_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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