vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Calling the navbar (https://vborg.vbsupport.ru/showthread.php?t=67423)

manguish 07-20-2004 07:58 PM

Calling the navbar
 
Before i start you may need the login as follows :

user : testuser
pass : testuser

I have the following page :

http://www.minimotoclub.co.uk/vb/MiniMotoMap.php

And a couple of others.

Within these i have :

PHP Code:

$stylevar[htmldoctype]
<
html dir="$stylevar[textdirection]lang="$stylevar[languagecode]">
<
head>

<!-- 
no cache headers -->
<
meta http-equiv="Pragma" content="no-cache" />
<
meta http-equiv="Expires" content="-1" />
<
meta http-equiv="Cache-Control" content="no-cache" />

<!-- 
end no cache headers -->
<
title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase></title>
$headinclude
</head>
<
body>

$header
$navbar

<p align=center><IMG WIDTH=460 HEIGHT=580 SRC="images/misc/ukmap1.gif" BORDER=0 ISMAP USEMAP="#ukmap1.gif"

And further on :

$footer

BUT as you may see, only the header & footer is displayed. NO navbar.

Any ideas? This is true for all custom pages i've made.

Over at vbulletin, they suggest i ask here as this is outside coding. They think i need to call the navbar from the database. BUT - by putting in $header and $footer i get both them but no $navbar - navbar?

Any ideas?

Andreas 07-20-2004 08:06 PM

<a href="https://vborg.vbsupport.ru/showpost.php?p=534815&postcount=5" target="_blank">https://vborg.vbsupport.ru/showp...15&postcount=5</a>

manguish 07-21-2004 06:07 PM

Quote:

Originally Posted by KirbyDE

All this does is place :

= array('TEST'); = construct_navbits(); eval(' = "' . fetch_template('navbar') . '";');

at the top of the page.

Any clues?

Andreas 07-21-2004 06:49 PM

Erm ... where did you put this code?

It must be in MiniMotoMap.php before the print_output line.

manguish 07-22-2004 08:15 AM

Cheers bud ;)

I was putting it into the template :doh:

Many thanks ;)

Andreas 07-22-2004 08:21 AM

Quote:

Originally Posted by manguish
I was putting it into the template :Doh:

LOL. That's crazy ^.^

manguish 07-22-2004 08:28 AM

Just a crazy kinda guy...... :p

Cheers again.


All times are GMT. The time now is 10:07 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.01285 seconds
  • Memory Usage 1,734KB
  • 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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