vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   how to remove this..... (https://vborg.vbsupport.ru/showthread.php?t=192059)

swiper the fox 09-27-2008 02:06 PM

how to remove this.....
 
1 Attachment(s)
Can someone tell me how to get rid of this entire bar ?

We have buttons at the top that do the same functions, and then this one
would like to get rid of the links and leave the buttons.

Dismounted 09-27-2008 02:13 PM

The code for that bit is contained in the navbar template.

swiper the fox 09-27-2008 02:16 PM

yep, found it in the navbar template, but how can I remove just this entire line completely and if I do anything do this, will is mess up my buttons that I have doing the same thing up at the top of the forum page ( customized skin buttons )

??

Lynne 09-27-2008 03:15 PM

Try commenting out the whole sections in the navbar that are between:
<!-- nav buttons bar -->
and
<!-- / nav buttons bar -->

and also
<!-- NAVBAR POPUP MENUS -->
and
<!-- / PAGENAV POPUP -->

swiper the fox 09-27-2008 04:36 PM

I am not proficient at html/css etc....

I know some stuff, but not a whole lot

what commenting out should I be trying Html or php
and how is it done correctly ?

thx Lynne
hope you get paid for your support, cuz its stupendous !!!

Lynne 09-27-2008 04:41 PM

In order to comment out html (which are what templates use), you use the following lines:

<!--
all the stuff to comment out
-->

However, that will still show in your source code. I would comment it out at first and see if the page works how you want, then I would go and delete it. Or, save the current navbar template, delete the stuff, if it doesn't work then go back to a saved copy of the navbar.

As an aside, if you are wanting to comment out php (which are what plugins and php pages use), you would use:
/*
stuff to comment out
*/

swiper the fox 09-27-2008 04:42 PM

cool

thx again.................will try that out

UPDATED: worked like a charm
only commented out the <!-- nav buttons bar --> portion

should I be doing the others as well for any particular reason ?


All times are GMT. The time now is 02:42 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.01110 seconds
  • Memory Usage 1,714KB
  • 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)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