The Arcive of vBulletin Modifications Site. |
|
What is the code.... Details »»
|
|||||||||||||||||||||||||
that I need to include when I am adding a hack and say it says replace this with this and I don't want to delete the original, I want to leave it there and just put the other underneath... so what do I do to block the original without removing it? Or say I want to add some info on the hack? Some hacks say this is the something hack done by such and such but some don't say anything which makes it harder for them to be recognized as hacks later on... I'd appreciate the help
![]() Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
to comment one line use //
if you want to outcomment a whole block: /* block here */ |
|
#3
|
||||
|
||||
|
You can also comment a line by preceding it with #.
|
|
#4
|
||||
|
||||
|
really?
everyday something new ![]() but why do the developers than use such type for sectioning?: // ##### blabla #### instead of just ##### blabla #### ? |
|
#5
|
||||
|
||||
|
PHP Code:
|
|
#6
|
|||
|
|||
|
Let me make sure I understand LOL, don't want to mess things up. If I have one line that I want to leave but that I don't want it to be part of the file, I use
//this is a hack// if it is more then one line then /* la la la la la la laa lalalalalalalla lallalalaa lalallalaa */ ???? |
|
#7
|
||||
|
||||
|
That's correct, but you don't need the // at the end of the line, just at the beginning.
PHP Code:
|
|
#8
|
||||
|
||||
|
one line:
// blablabla or # blabla more lines: /* blblbla blabla*/ you must always end a /* with a */ but theres no need to close a //, because this comments just till the end of the line.. |
|
#9
|
|||
|
|||
|
Thank you to both of you, this is a big help!!!!
|
![]() |
|
|