The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
What do you mean by commenting the code?
|
#12
|
||||
|
||||
======================
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|