Results 1 to 15 of 15

Thread: [RESOLVED] Vbcode tags

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2008
    Posts
    14

    Resolved [RESOLVED] Vbcode tags

    when i want to use the vbcode tags, it comes up with a box saying highlight, what do i put in the highlight box to make it colour the syntax?

  2. #2

  3. #3

    Thread Starter
    New Member
    Join Date
    Sep 2008
    Posts
    14

    Re: Vbcode tags

    ok thanks, and a speedy reply might i say!

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

    Re: [RESOLVED] Vbcode tags

    You can also do
    highlight=vb.net
    vb.net Code:
    1. Dim i As Integer = 0
    highlight=c#
    c# Code:
    1. //Comments are us
    highlight=sql
    sql Code:
    1. SELECT * FROM mytable
    highlight=php
    php Code:
    1. if(!extension_loaded('standard')): exit('Extension Standard not found!');
    2. endif;

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

    Re: [RESOLVED] Vbcode tags

    it will default I believe to VB. If you leave it blank I put a regex replace so it will default to VB, provided you have JavaScript enabled. But then the whole thing won't work without JavaScript so...

  6. #6
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: [RESOLVED] Vbcode tags

    Quote Originally Posted by JPnyc
    it will default I believe to VB. If you leave it blank I put a regex replace so it will default to VB, provided you have JavaScript enabled. But then the whole thing won't work without JavaScript so...
    If I leave it blank (IE6) it doesn't produce any tags at all.

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

    Re: [RESOLVED] Vbcode tags

    vb Code:
    1. testing

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

    Re: [RESOLVED] Vbcode tags

    I beg to differ.

  9. #9

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

    Re: [RESOLVED] Vbcode tags

    vb Code:
    1. Are you using IE6?

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

    Re: [RESOLVED] Vbcode tags

    yes, IE 6. I just highlighted that text click the button and click post

  12. #12
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,431

    Re: [RESOLVED] Vbcode tags

    Okay I know you're busy but it still doesn't work for me. However I may not understand what you are doing. By "button" do you mean the VBCode "button"? And I have nothing that says "post" other than "Preview Post".

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

    Re: [RESOLVED] Vbcode tags

    yes, highlight, click VB code, click post quick reply

  14. #14

  15. #15

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