VBCMS Comments
Collapse
X
-
-
-
PHP Code:// Is a single line comment, we have some code here
if($foo == $bar)
{
/*
This is a multiline comment, anything inside of here is commented out
Set foobar equal to foo
*/
$foobar = foo;
}
Comment
-
-
Oh, I didn't close commenting because I don't know any code.
So, if I put // in front of the line 317 and */ at the end of 320 it wil be ok? Did I understand it right?Comment
-
No, you can comment out a single line with // and you're fine. Look at my example above.Comment
-
Comment
-
No, it was an example to show you how comments work, there are two types of php comments to remove code from executing
PHP Code:// Single line comment, i stop all code from this line executing
FAKE CODE HERE THAT IS AN EXAMPLE THAT WOULD EXECUTE, THERE IS NO COMMENTS STOPING ME FROM EXECUTING
/* This type of comment will ignore everything until
It finds the astersik and forward slash
*/
Comment
-
-
Comment
-
Comment
-
I have to say I find vbulletin a complete joke now. Wth dont they EVER tell you proper changelogs. Do they honestly think that users wont notice?
Right now if this continues in 4.0.5 etc I am thinking to switch to Invision because I am so angry that they cant even get changelogs correct and thats before we get to the bugs...
I have vented my anger about the awful changelogs at: http://www.vbulletin.com/forum/showt...tin-changelogs.... I just hope it doesnt get nerfed...Comment
-
I'm using Windows Notepad. Let me try that Notepad ++.
Edit: Thank you very very much "wcguy". After editing with Notepad ++ it works perfectly.
Last edited by Master_Jedi; Wed 23 Jun '10, 8:03am.Comment
-
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment