Results 1 to 10 of 10

Thread: [RESOLVED] [vbcode] Tags

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Resolved [RESOLVED] [Highlight=VB] Tags

    I know I've seen it, but doing a search for the tag will probably return 25% of the posts in the database.

    What's the code to have "<open square bracket>vbcode<close square bracket> ..." etc., in a post? Something like <open square bracket>open<close square bracket><something here?><open square bracket>/open<close square bracket> ...? It works if I put "vbcode" in for the <something>, but what's really supposed to go there? Any character?
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: [Highlight=VB] Tags

    [vbcode]like this?[/Highlight]

    That is what i usually do

    quote my post to find out how i did it

  3. #3
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390

    Re: [Highlight=VB] Tags

    Quote Originally Posted by kfcSmitty
    [vbcode]like this?[/Highlight]

    That is what i usually do

    quote my post to find out how i did it
    ooohh!!! I wondered how to do that myself!!
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [Highlight=VB] Tags

    There's actually a "proper" way to do it (which definitely wont be eliminated by future software upgrades), and I'll use it the explanation:

    [open]a[/open]vbcode] code here [open]a[/open]/vbcode]

    (you need at least one character - I just picked "a" at random)

  5. #5
    PowerPoster JPnyc's Avatar
    Join Date
    Oct 2002
    Location
    Manhattan
    Posts
    3,015

    Re: [Highlight=VB] Tags

    JUst highlight all the code and click the vbcode button. Easy as can be.

  6. #6

    Thread Starter
    PowerPoster
    Join Date
    Feb 2006
    Location
    East of NYC, USA
    Posts
    5,691

    Re: [Highlight=VB] Tags

    Quote Originally Posted by si_the_geek
    (you need at least one character
    That was the question. Thanks, Si.

    JP, I don't want to put things in a vbcode block, I want to be able to do something like "Please put your code between [vbcode] and [/vbcode] tags." The [vbcode] structure has to be escaped (well, actually simulated) or it gets interpreted.
    The most difficult part of developing a program is understanding the problem.
    The second most difficult part is deciding how you're going to solve the problem.
    Actually writing the program (translating your solution into some computer language) is the easiest part.

    Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.

    Please Help Us To Save Ana

  7. #7
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [RESOLVED] [Highlight=VB] Tags

    Quote Originally Posted by si_the_geek
    There's actually a "proper" way to do it (which definitely wont be eliminated by future software upgrades)
    The method which won't be eliminated is the [noparse] tag. Unfortunately that's not available pre 3.5 but keep it in mind for when we upgrade

  8. #8
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: [RESOLVED] [Highlight=VB] Tags

    always ahead of the game!

    The Open tag is here to stay.. it has been added along with VBCode and our other specific tags.

  9. #9
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: [RESOLVED] [Highlight=VB] Tags

    OK, I forgot about non-hack custom tags

  10. #10
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: [RESOLVED] [Highlight=VB] Tags

    Quote Originally Posted by penagate
    OK, I forgot about non-hack custom tags
    That would actually be "non-specialized custom tags"

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