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)

mustang_lex 09-15-2005 05:36 PM

Quote:

Originally Posted by attroll
We got Edrick's web site working.

One thing to keep in mind when editing templates in your styles is that sometimes editing the Master(Default) style it will not edit the child styles all the time. For example if you edited the navbar template in a child style it will not update later in that particular child style when you go and edit the Master(Default) style.

Once a template has been edited in a child style you can not expect to edit it in the Defult style and have it update in the child style you edited.

I hope that makes sense.

Yes makes perfect sense. I don't have any other styles except one for now so it would be over my head anyways. Glad it works now!!!

XFGHIA 09-30-2005 12:15 PM

Hey, how come the navbar2 wont show up on my vBa CMPS home page, do i need to edit the CMPS index.php file? if so what will i need to add?

Edrick 10-01-2005 12:01 AM

try editing all the templates. Do not trust the feature of inheriting properties form a parent style. I had a similar problem.

Try doing so. It worked for me

Omega Prime 10-01-2005 12:20 AM

Quote:

Originally Posted by XFGHIA
Hey, how come the navbar2 wont show up on my vBa CMPS home page, do i need to edit the CMPS index.php file? if so what will i need to add?

There's an option in the CMPS settings to add "navbar2" to the list of variables so it'll work with it :)

XFGHIA 10-01-2005 12:34 AM

Thanks Omega Prime, perfect!!!

attroll 10-01-2005 07:02 PM

Quote:

Originally Posted by XFGHIA
Thanks Omega Prime, perfect!!!

Did you get it working with CMPS? There is one php file you need to edit to get it working with CMPS. That template is vba_cmps_include_bottom.php. Let me know if you still need help.

ashley53680 10-03-2005 04:06 AM

Thank you for updating this for 3.5!!

marcjd 10-03-2005 10:37 PM

Quote:

Originally Posted by attroll
This can be done. But it looks like the site you are talking about incorperated it into their existing $navbar. It was not a seperate template.

I played around with it a little and I got it to work but I have to put it in the existing $navbar. I did not try it with drop downs though. I will have to play with it some more later on and see if I can get drop downs to work like in another table within $navbar. I can not promise I will get right on it though. I am pretty buisy.

I basically did this at my site by just editing the existing navbar. It wasn't too difficult. I just looked at the code, copied what I want duplicated on the top, edited it, and pasted it.
U.S. Politics Online

Samira 10-05-2005 07:19 AM

I'm having a cosmetic problem I wanted to ask about. :) Pardon me if it's the way it's supposed to be; it isn't a big deal, but I thought I'd ask.

When a drop down is clicked on, it is way over to the left, as opposed to directly underneath. (screen attached) Is there any way to correct this? It did it on 3.0.7 and now 3.5.0 for me.

I'd also like to know where to add $navbar2 within the vBa CMPS system if someone knows. The previously posted location doesn't exist in the 2.0.0 version that I can see.

Thanks in advance. :)

attroll 10-05-2005 02:51 PM

Quote:

Originally Posted by Samira
I'm having a cosmetic problem I wanted to ask about. :) Pardon me if it's the way it's supposed to be; it isn't a big deal, but I thought I'd ask.

When a drop down is clicked on, it is way over to the left, as opposed to directly underneath. (screen attached) Is there any way to correct this? It did it on 3.0.7 and now 3.5.0 for me.

I would have to look at your navbar2$ template. If you could send me your email address in a pm then I can write to you and send you my email address and then you could send your telplate for me to look at.

Quote:

I'd also like to know where to add $navbar2 within the vBa CMPS system if someone knows. The previously posted location doesn't exist in the 2.0.0 version that I can see.
open the vba_cmps_include_bottom.php that is located in the includes directory and

Find:
Code:

global $pages, $stylevar, $headinclude, $header, $footer, $vbulletin, $vbphrase, $stylevar, $show, $pmbox, $vba_options, $vba_style, $navbar, $cusid, $_REQUEST, $gobutton, $pagetitle, $pagecache, $db;
Insert the $navbar code like below:
Code:

global $pages, $stylevar, $headinclude, $header, $footer, $vbulletin, $vbphrase, $stylevar, $show, $pmbox, $vba_options, $vba_style, $navbar, $cusid, $_REQUEST, $gobutton, $pagetitle, $pagecache, $navbar2, $db;


All times are GMT. The time now is 10:14 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.01389 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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