Results 1 to 38 of 38

Thread: extra linefeed when vbcode tag used?

  1. #1

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629

    extra linefeed when vbcode tag used?

    Is it just me ? or has there been a change in how vbcode is displayed ?
    -= a peet post =-

  2. #2
    VB Code:
    1. java.lang.Sucks();
    Last edited by filburt1; Jun 9th, 2002 at 03:34 PM.

  3. #3
    Sure looks like it. Could have something to do with the 2.2.6 upgrade.

  4. #4
    Stiletto
    Guest

    Re: extra linefeed when vbcode tag used?

    Originally posted by peet
    Is it just me ? or has there been a change in how vbcode is displayed ?
    They've changed it, yes i think.

  5. #5

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    damn.. hope they change/fix this ...
    -= a peet post =-

  6. #6
    Simple:

    [vbcode]Stuff[/Highlight]
    [vbcode]
    Stuff
    [/Highlight]

    Use the first way.

  7. #7
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Youneedtotype[vbcode]likethis[/vbcode]orelseitwon'twork,itsbeenlikethatsincetheyimplementedit.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  8. #8

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    VB Code:
    1. Private Sub Command1_Click()
    2.     Dim sName() As String
    3.     Dim sFileNamesOnly() As String
    4.     Dim sFullName() As String
    5.     Dim i As Integer
    6.     ReDim sFileNamesOnly(0)
    7.     ReDim sFullName(0)
    8.    
    9.     CommonDialog1.DialogTitle = "Add Files"
    10.     CommonDialog1.Flags = &H200 + &H80000 + &H4
    -= a peet post =-

  9. #9

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    did not look like that before... what do you mean filburt?

    and implemented what Sastraxi?
    -= a peet post =-

  10. #10
    Originally posted by peet
    VB Code:
    1. Private Sub Command1_Click()
    2.     Dim sName() As String
    3.     Dim sFileNamesOnly() As String
    4.     Dim sFullName() As String
    5.     Dim i As Integer
    6.     ReDim sFileNamesOnly(0)
    7.     ReDim sFullName(0)
    8.    
    9.     CommonDialog1.DialogTitle = "Add Files"
    10.     CommonDialog1.Flags = &H200 + &H80000 + &H4
    THAT is freaky

  11. #11

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    Originally posted by filburt1


    THAT is freaky
    what is freaky ?
    -= a peet post =-

  12. #12

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    the code or the way its shown ??
    -= a peet post =-

  13. #13
    Originally posted by peet
    the code or the way its shown ??
    Meh

    John did write that hack for an extremely old version of vBulletin and I doubt he's going to update it, just because this board is practically the only one that uses it...

  14. #14
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    Since they implemented the [Highlight=VB] tag (at least HERE), it's always been like that.
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  15. #15
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by Sastraxi
    Since they implemented the [Highlight=VB] tag (at least HERE), it's always been like that.
    Not it hasn't. I haven't changed a thing in the way I post code and now it's suddenly double spaced.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  16. #16
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Yep, I'll verify this. It's only started happening today (for me), as far as I can tell.
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  17. #17

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    yes a bit annoying ... rjlohan signature takes up half a page now
    -= a peet post =-

  18. #18
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Originally posted by peet
    yes a bit annoying ... rjlohan signature takes up half a page now
    Oh well, I have them turned off, so I don't have to put up with my own ridiculousness.
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  19. #19
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    Originally posted by rjlohan
    Oh well, I have them turned off, so I don't have to put up with my own ridiculousness.
    I turned them off for the kiddy dick specs and unfortunately your ridiculousnessness was caught in the same net
    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  20. #20
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    Originally posted by beachbum

    I turned them off for the kiddy dick specs and unfortunately your ridiculousnessness was caught in the same net
    Oh well, it's only a half-arsed (and plagiarised) attempt at Nerd Humour, so you're not missing much.
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  21. #21

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    hello ?? anyone at vbw care to make a statement?

    -= a peet post =-

  22. #22
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    593
    What's the problem

  23. #23

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    hehe u clever John u
    -= a peet post =-

  24. #24

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    next time I'll make sure that I have a snapshot of the problem
    -= a peet post =-

  25. #25
    Originally posted by John
    What's the problem
    What was the problem...you know, just to let us vB customers know

    No really, is it caused by vB2.2.6?

  26. #26
    PowerPoster beachbum's Avatar
    Join Date
    Jul 2001
    Location
    Wollongong, NSW, Australia
    Posts
    2,274
    I think I've found it

    Stuart Laidlaw
    Brightspark Financial Software
    http://www.gstsmartbook.com

  27. #27

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    uhumm.... now there is to little spacing

    try copy and paste a sample... no spacing at all
    -= a peet post =-

  28. #28
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    VB Code:
    1. Peet is full of crap.
    2. This prints our ferpectly fine.
    3.  
    4. See?

    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  29. #29
    PowerPoster rjlohan's Avatar
    Join Date
    Sep 2001
    Location
    Sydney, Australia
    Posts
    3,205
    VB Code:
    1. Ryan is full of crap.
    2. Peet was right.
    3. Even when I put
    4.  
    5. one
    6.  
    7.  
    8. or two
    9.  
    10.  
    11.  
    12. or even three spaces, it doesn't look right...
    -----------------------------------------
    -RJ
    [email protected]
    -----------------------------------------

  30. #30
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343
    John,

    As Peet posted before, the VBCode when using the tags seems to have changed recently. It no longer changes the extra lines or spacing like it used to do (the indenting).

    Other than that the forums look neat


    Vince

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  31. #31

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    Ohhh Joooohhnnnn come out and plaaaayyyy

    the problems now are actually more problematic than yesterday
    -= a peet post =-

  32. #32
    WorkHorse
    Guest
    I think what peet is saying is that if you highlight someone's code on the screen, copy it, then paste it into VB, you get one huge long line. Seems to be a missing carriage return or line feed. Please fix the vbcode tag so that we can copy & paste code.

  33. #33
    pathfinder NotLKH's Avatar
    Join Date
    Apr 2001
    Posts
    2,397
    Hmm, Thats stupid!!!

    VB Code:
    1. Private Sub Picture1_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
    2.  
    3. 'one space above, two below
    4.  
    5.  
    6. If IM_WORKING = False Then
    7.     IM_WORKING = True
    8.     OVER_SQUARE = GET_INDEX(X, Y)
    9.     If OVER_SQUARE > 0 Then
    10.         Call SHOW_CLOSE_LINE(X, Y, OVER_SQUARE)
    11.     Else
    12.         If (Last_SQ <> 0) And (Last_W <> -1) Then
    13.             Call ReDRAW_SQUARE_WALL(MY_SQUARES(Last_SQ), Last_W)
    14.             Last_SQ = 0
    15.             Last_W = -1
    16.         End If
    17.     End If
    18.     DoEvents
    19. IM_WORKING = False
    20. End If
    21.  
    22. End Sub

    Its supposed to have spaces, see image:
    Attached Images Attached Images  

  34. #34
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Originally posted by beachbum
    I think I've found it

    That's not page 578, is it?

    Seriously though, I place the blame squarely on the Aussies' blind golf team.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  35. #35
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Originally posted by crptcblade

    Seriously though, I place the blame squarely on the Aussies' blind golf team.

    Hey, I heard they're supposed to be good this year?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  36. #36
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    593
    I found it. PHP had switched to an XHTML friendly <br /> tag instead of the old <br> tag, which was confusing it! All sorted now :-)

  37. #37

    Thread Starter
    -= B u g S l a y e r =- peet's Avatar
    Join Date
    Aug 2000
    Posts
    9,629
    -= a peet post =-

  38. #38
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Dang, all that time I spent went to waste! Can't you screw it up again and fix it later so that people become inherently dependent upon #010;?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width