vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   line under who is online after adding catspace (https://vborg.vbsupport.ru/showthread.php?t=83992)

z2s 07-29-2002 03:14 PM

line under who is online after adding catspace
 
1 Attachment(s)
After adding the category space, a line appeared at the bottom of my current user online. How do i delete it??

TrAsTiOn 07-29-2002 04:42 PM

i do believe that that is an image thats has the line

z2s 07-29-2002 06:13 PM

do you mean that it shoudn't be there??

z2s 07-29-2002 06:14 PM

i checked my images and nope. The image is clean. That line is the same color as my table borders. It changes of color when i change it in my styles edit.

mashby 07-30-2002 03:23 AM

It does appear to be part of the image. Not of the blue tab, but of the light purple image beneath it.

Jon 07-30-2002 01:55 PM

It is there because there is an extra <table> somewhere in your code.

z2s 08-04-2002 07:50 PM

well, where do I suppose to look up for that extra <able>?

mashby 08-04-2002 10:27 PM

I can't tell what template that is that you took a screenshot of. I'm guessing that it's in your postbit. If that's the case, you need to review your code in that template.

Another option, although kinda messy with vB, is to validate your code with the W3C [link]. It's going to give you a lot of errors because of the vB specific code, but it can also help you ferret out where your missing table tag is.

z2s 08-05-2002 02:02 PM

noo..it is the current online members thing...that appears in the top of the homepage. In front of the categories. I have find out that it is the line that the category spacer mod put in the top of every category(space.gif). Is there a way to just delete the one of the top and leave the lines in the others categories.

mashby 08-05-2002 02:22 PM

You could try commenting the code out. In other words <!-- this is a comment -->

z2s 08-05-2002 02:45 PM

What do you mean by commenting the code?

mashby 08-07-2002 06:08 PM

======================
What Is A Comment Tag?
======================
A comment tag is a special tag in HTML. Anything between the brackets "hides" the code from the browser. Normally, this is used for adding comments to your code so you can tell other's what's going on in your code.

For example:
<!-- begin user stats -->
<table>
<tr>
<td>I am a user</td>
</tr>
</table>
<!-- /begin user stats -->

You can easily tell that between the comment tags is the "user stats". The first tag tells you when it starts and the last tag tells you where it ends.

======================
How Can It Help Me?
======================
Ok, but that doesn't help you does it? Well, it can. Comment tags can span as many lines as you need. So, if you're having trouble with a particular section of code, you can try commenting out certain sections to try and locate where the problem is.

For example, let's say that I have a bunch of code that's giving me trouble, I could start a comment tag right before it and then end the comment after it and see if everything goes back to normal.

In other words:
<!--
a bunch of code here
-->

Anything between those two tags will be "commented out" and hidden from the browser.

======================
Use It Wisely
======================
Of course, you need to have some basic understanding of HTML in order for this to work. Just placing comment tags willy nilly can only create more problems if your not careful. This is especially true with tables. So just make sure that the code that you've commented will not affect the layout of the page and you should be ok.

======================
Another Alternative
======================
If you're unfamilar with basic HTML, I'd suggest that you post the URL to your board so that we can take a look at it and offer a solution. :)


All times are GMT. The time now is 03:52 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.01394 seconds
  • Memory Usage 1,731KB
  • 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
  • (12)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