Results 1 to 15 of 15

Thread: Using vB Codes and smileys

  1. #1

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Arrow Using vB Codes and smileys

    What are vB codes?

    vB codes are what vBulletin calls Bulletin Board codes (BBcodes). These are present on just about every forum. Since raw HTML is disallowed on the forums, vB codes are used for formatting, links, images, etc. This post demonstrates how to use vB codes (If you know how, it also demonstrates how to post vB codes without applying them )



    Basic formatting:

    [b]Bold[/b]
    [i]Italic[/i]
    [u]Underline[/u]

    [font=Fontname]Times New Roman[/font]
    [size=x]Size 4[/size]
    [color=name] or [color=#rrggbb]Custom font colouring[/color]
    [highlight]Bold red text[/highlight]
    [hl]Yellow highlighted text[/hl]
    [hl=name] or [hl=#rrggbb]Custom colour highlighted text[/hl]
    [sub]Subscript[/sub]
    [sup]Superscript[/sup]


    Alignment:

    [left]Left aligned[/left]
    [center]Centred[/center]
    [right]Right aligned[/right]


    Indentation and lists:

    [indent]Indented[/indent]
    [list]
    • [*]List item
    • [*]Another list item
      • [list]Sub-list
      • [*]2nd sub-item[/list]
    [/list]

    [list=a]
    1. [*]blah
    2. [*]blah
    [/list]

    [list=i]
    1. [*]blah
    2. [*]blah
    [/list]

    [list=1]
    1. [*blah
    2. [*]blah
    [/list]

    [col=1]Something
    [col=2]Something else
    [/col]
    [/col]



    Inline images:

    [img]http://www.imageurl.com/image.xxx[/img]


    Hyperlinks:

    [url]http://www.hyperlink.com/page.html[/url]
    [url="http://www.hyperlink.com/page.html"]Link text[/url]


    Code tags:

    [code]
    Code:
    long __stdcall CallByAddress(long lpfn, int arg1, int arg2)
    {
        fnptr function = (fnptr) lpfn;
        return function(arg1, arg2);
    }
    [/code]

    [vbcode]
    VB Code:
    1. Public Sub vpoint( _
    2.     ByRef pPoint As POINTL, _
    3.     ByVal lX As Long, _
    4.     ByVal lY As Long _
    5. )
    6.     pPoint.X = lX
    7.     pPoint.Y = lY
    8. End Sub
    [/vbcode]

    [html]
    HTML Code:
    <head>
      <title>Penagate</title>
      <link rel="stylesheet" type="text/css" href="style.css" />
      <meta name="robots" content="index, follow" />
    </head>
    [/html]

    [php]
    PHP Code:
    $classes get_declared_classes();
    foreach (
    $classes as $class) {
      if (
    in_array('Template'class_implements($classfalse))) {
        
    $this->Templates[$class] = new $class();
      }

    [/php]


    Quoting:

    [quote]
    Quoted text
    [/quote]

    [quote=Someone]
    Quote Originally Posted by Someone
    Someone's quote
    [/quote]


    Write Jupitermedia in pretty text:
    [jm]xxx[/jm]Internet.com


    Smileys:

    :)
    :(
    :o
    :D
    ;)
    :p
    :cool:
    :rolleyes:
    :mad:
    :eek:
    :confused:
    :bigyello:
    Last edited by penagate; Jun 7th, 2006 at 08:12 AM. Reason: to shut up visualAd

  2. #2

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Using vB Codes and smileys

    More smileys:

    :wave:
    :lol:
    :blush:
    :cry:
    :ehh:
    :sick:
    :thumb:
    :afrog:
    :eek2:
    :duck:

    Apparently there is a limit on the number of smileys one can include in a post.

  3. #3
    Elite Hacker Jacob Roman's Avatar
    Join Date
    Aug 2004
    Location
    Miami Beach, FL
    Posts
    5,349

    Re: Using vB Codes and smileys

    You forgot Canders smileys in the Firefox plug-in

    PM him about it. I need to get it too anyways. I also have a plug-in for IE and Firefox to do things like this in VBForums, which I think Cander did as well:

    Taste the Rainbow

  4. #4

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Using vB Codes and smileys

    Quote Originally Posted by Jacob Roman
    You forgot Canders smileys in the Firefox plug-in
    How could I?

    There are no smiley codes for these though... they are attachments:
    This is the first one:

    [img]http://vbforums.com/attachment.php?attachmentid=37785[/img]

    So I will just give the attachment ID and the correponding smiley. Of course if you have the Fx extension then you can just click on them in the context menu

    37785:
    37786:
    37787:
    37788:
    37794:
    37796:
    37789:
    37797:
    37790:
    37791:
    37798:
    37799:
    37800:
    37801:
    37802: <-- Is it just me or are these two exactly the same...?
    37803:

  5. #5

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Using vB Codes and smileys

    Continued...
    37804:
    37805:
    37806:
    37807:
    37792:
    37809:
    37810:
    37811:
    37812:
    37813:
    37793:
    37815:
    37816:
    37817:
    37818:
    37819:
    37820:
    37821:
    37822:
    37823:

    Appears that the image limit is 20 per post, including normal smileys.

  6. #6

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Using vB Codes and smileys

    and finally:
    37824:
    37825:
    37826:
    37827:
    37828:
    37829:
    37830:
    37831:

  7. #7
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Using vB Codes and smileys

    http://www.vbforums.com/misc.php?do=bbcode

    The above link is the vBulletin page for showing the vbCodes.
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  8. #8
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Using vB Codes and smileys

    I moved this thread to feedback because it risked getting deleted in the testing forum.
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  9. #9
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Using vB Codes and smileys

    One other comment --


    If including smilies with the image code, you should be aware that if the person that uploaded the image deletes it, then your use of it breaks.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

  10. #10

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Using vB Codes and smileys

    I believe the images for the Fx plugin are all posted in a thread in the testing area also (used to be called "Uploaded images for Cander's plugin" or something but NoteMe changed it something like to "Noteme is good, Noteme is the best" ). So the extra smileys will be there as long as that thread is.

    Thanks for moving this thread also

  11. #11
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Using vB Codes and smileys

    Quote Originally Posted by brad jones
    One other comment --


    If including smilies with the image code, you should be aware that if the person that uploaded the image deletes it, then your use of it breaks.

    Brad!

    I won't delete the attachments Brad. I have worked enough hours with that extension to go and ruin it again.. As long as no one else deletes the thread though. Guess it should probably be moved to a safer place like the image section. But it is too much CC in the thread. And I don't have the permision to do anything in that section anyway.

    - ØØ -

  12. #12
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Using vB Codes and smileys

    BTW what about the two other types of list?


    1. list item 1
    2. list item 2


    1. list item 1
    2. list item 2



    and what about the col tag?

  13. #13

    Thread Starter
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: Using vB Codes and smileys

    How is the col tag supposed to be used? I tried, but couldn't get anything more than this:

    Something
    Something else

  14. #14
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Using vB Codes and smileys

    Well, that is how you use it..

    Pretty useless without a row tab, and the ability to make the border go away, but at least it is a tag...


    - ØØ -

  15. #15
    ex-Administrator brad jones's Avatar
    Join Date
    Nov 2002
    Location
    Indianapolis
    Posts
    6,614

    Re: Using vB Codes and smileys

    Quote Originally Posted by NoteMe
    Well, that is how you use it..

    Pretty useless without a row tab, and the ability to make the border go away, but at least it is a tag...


    - ØØ -
    Correct - we stuck that in as a way to get a border. Nothing more. Wasn't really done for public consumption, but more because I wanted it for something.

    Brad!
    Have you given out your reputation points today? Select the Rate This Post link to give points for good posts!
    -------------------------------------------------------------
    Brad! Jones
    Lots of Software, LLC
    (I wrote: C Programming in One Hour a Day) (Dad Jokes Book) (Follow me on Twitter)

    --------------------------------------------------------------

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