vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   left navagation bar (https://vborg.vbsupport.ru/showthread.php?t=6214)

01-02-2001 02:27 AM

how to put a left navagation bar in vB ?

01-02-2001 02:54 AM

Just put a left aligned table in your header.

01-02-2001 04:17 AM

which header ?

01-02-2001 03:01 PM

Header template.

01-02-2001 08:47 PM

do you mean header template under
options->change styles ?

01-02-2001 08:50 PM

besides this thread, is there any resource on the net that detail talking the structure of vb and which template to build up a page, what is the use of indivdual php files ?
I found the offical user manual is not very enough

01-02-2001 09:09 PM

Quote:

Originally posted by adrianmak
do you mean header template under
options->change styles ?

Yes, or under edit templates. The styles is just an interface to certain templates.

And no, there's not an official template resource handbook yet, but I think someone detailed about 50% of them. There may be one for 2.0. And there's little need to edit any of the PHP files.

01-02-2001 11:05 PM

I added my test nav bar on the header template
but it appears at the top of the page as show below

http://free4home.dns2go.com/~adrian/screenshoot3.gif

01-02-2001 11:13 PM

cut: forumhome template
Copy: into a editer like Frontpage or dreamweaver.

Make a two column table and put all of forumhome in the right column and your links in the left column.

cut the code and paste back into that template.

01-02-2001 11:14 PM

I am going to make a book one day on this. :)

01-03-2001 01:39 AM

vboard.co.uk,

that means I don't need to do anything on the header template ?

01-03-2001 01:47 AM

<table align="left" width=150>
should do it.

Or

(in the header)
<table width="100%">
<tr>
<td><!-- Nav Bar --></td>
<td>

(in the footer)
</td>
</tr>
</table>

01-03-2001 02:56 AM

In my understanding,

to put a nav bar on the left, there are two methods mentioned by two persons in this thread

1st method mentioned by vboard.co.uk
modify the forumhome template to make a two table
one on the left of the nav bar and one on the right for the forum

2nd method mentioned by Ed Sullivan
edit header template and footer template

<table align="left" width=150>
should do it.

Or

(in the header)
<table width="100%">
<tr>
<td><!-- Nav Bar --></td>
<td>

(in the footer)
</td>
</tr>
</table>


Please correct me if I am wrong

01-03-2001 03:04 AM

Actually, I mentioned 2 methods - a left aligned table or one large table.

01-03-2001 11:35 AM

Mine requires no header template.

Just Forumhome template.
I will try it later on today and see what I can do with it.

01-03-2001 01:06 PM

okay mate I tried it with sucess.
Surf to: http://www.vboard.co.uk/test/index.php
for my demo of what I was talking about.

Only the front has that lay out so far.

01-04-2001 11:23 AM

If you want a hand with this let me know.
It realy is not that hard.

In the header you would have the start of the table and the nav bar, then you have the open second column.
<table> (start of table)
<tr>
<td width=120> (nav bar)
Links
and
other
nav
bar
stuff
</td> (end nav bar)
<td> (open second column)

The is all you would have in your header and the forums yould be here

</td> (end second column)
</tr>
</table>

that would be in the footer

look at my source if you want

01-04-2001 12:02 PM

vboard.co.uk

does the links at nav bar is hard code or dynamic ?

01-04-2001 03:39 PM

They are normal links I wrote in.

I will change that so it calls on a new template I am creating for the nav bar so I can edit the template when I need to and update it very easy.

Easy stuff! :)

01-04-2001 04:41 PM

Damn I could have suggested what UKliam said!
oh well use his!

Its easy to mantain then editing all displaying templates like Forumhome, Forumdisplay .etc

Me/ Brain dead! :(

01-04-2001 08:54 PM

After creating a template for the nav bar, how to call it ?


All times are GMT. The time now is 06:13 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.01064 seconds
  • Memory Usage 1,744KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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