BB codes

  • A blessed day to our new members and guests. Feel free to explore and don't forget to read our Forum Rules.
    We’re looking forward to having you again as our UDPFamily :)
Welcome to UDPHub forum
Join this amazing group of people and start discussing what you like.
Register now
  • [B], [I], [U] - bold, Italic, Underline

    Basic text formatting for the wrapped text.
    Example:
    This is [B]bold[/B] text.
    This is [I]italic[/I] text.
    This is [U]underlined[/U] text.
    Output:
    This is bold text.
    This is italic text.
    This is underlined text.
  • [COLOR=color], [SIZE=size] - Text color, Size

    Advanced text formatting options for wrapped text.
    Example:
    This is [COLOR=red]red[/COLOR] and [COLOR=#0000cc]blue[/COLOR] text.
    This is [SIZE=1]small[/SIZE] and [SIZE=7]big[/SIZE] text.
    Output:
    This is red and blue text.
    This is small and big text.
  • [URL], [EMAIL] - Linking

    Creates a link using the wrapped text as the target.
    Example:
    [URL]https://www.example.com[/URL]
    [EMAIL][email protected][/EMAIL]
    Output:
  • [URL=link], [EMAIL=address] - Linking (Advanced)

    Links the wrapped text to the specified web page or email address.
    Example:
    [URL=https://www.example.com]Go to example.com[/URL]
    [[email protected]]Email me[/EMAIL]
    Output:
  • [USER=ID] - Profile Linking

    Links to a user's profile. This is generally inserted automatically when mentioning a user.
    Example:
    [USER=1]User name[/USER]
    Output:
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.
    Example:
    [IMG]https://www.udphub.net/styles/io/io/images/udplogo.png[/IMG]
    Output:
  • [LIST] - Lists

    Displays a bulleted or numbered list.
    Example:
    [LIST]
    [*]Bullet 1
    [*]Bullet 2
    [/LIST]
    [LIST=1]
    [*]Entry 1
    [*]Entry 2
    [/LIST]
    Output:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 2
  • [QUOTE] - Quoted text

    Displays text that has been quoted from another source. You may also attribute the name of the source.
    Example:
    [QUOTE]Quoted text[/QUOTE]
    [QUOTE=A person]Something they said[/QUOTE]
    Output:
    Quoted text
    A person said:
    Something they said
  • [SPOILER] - Text containing spoilers

    Hides text that may contain spoilers so that it must be clicked by the viewer to be seen.
    Example:
    [SPOILER]Simple spoiler[/SPOILER]
    [SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
    Output:
    You don't have permission to view the spoiler content.
    You don't have permission to view the spoiler content.
  • [CODE] - Programming code display

    Displays text in one of several programming languages, highlighting the syntax where possible.
    Example:
    General code:
    [CODE]General
    code[/CODE]

    Rich code:
    [CODE=rich][COLOR=red]Rich[/COLOR]
    code[/CODE]

    PHP code:
    [CODE=php]echo $hello . ' world';[/CODE]

    JS code:
    [CODE=javascript]var hello = 'world';[/CODE]
    Output:
    General code:
    Code:
    You don't have permission to view the code content.
    Rich code:
    Rich (BB code):
    You don't have permission to view the code content.
    PHP code:
    PHP:
    You don't have permission to view the code content.
    JS code:
    JavaScript:
    You don't have permission to view the code content.
  • [ICODE] - Inline programming code display

    Allows you to display code inline among normal post content. Syntax will not be highlighted.
    Example:
    Inline code blocks [ICODE]are a convenient way[/ICODE] of displaying code inline.
    Output:
    Inline code blocks are a convenient way of displaying code inline.
  • [INDENT] - Text indent

    Indents the wrapped text. This can be nested for larger indentings.
    Example:
    Regular text
    [INDENT]Indented text[/INDENT]
    [INDENT=2]More indented[/INDENT]
    Output:
    Regular text
    Indented text​
    More indented​
  • [PLAIN] - Plain text

    Disables BB code translation on the wrapped text.
    Example:
    [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
    Output:
    This is not [B]bold[/B] text.
  • [ATTACH] - Attachment insertion

    Inserts an attachment at the specified point. If the attachment is an image, a thumbnail or full size version will be inserted. This will generally be inserted by clicking the appropriate button.
    Example:
    Thumbnail: [ATTACH]123[/ATTACH]
    Full size: [ATTACH=full]123[/ATTACH]
    Output:
    The contents of the attachments would appear here.
  • [HIDE], [HIDEPOSTS], [HIDEREPLY], [HIDETHANKS], [HIDEREPLYTHANKS], [HIDEGROUP] - Hide content

    Hides wrapped text until certain conditions are fullfilled.
    Example:
    [HIDE]Hides wrapped content.[/HIDE]

    [HIDEPOSTS]Hides until user reached number of posts.[/HIDEPOSTS]

    [HIDEREPLY]Hides content until viewer replied to thread.[/HIDEREPLY]

    [HIDETHANKS]Hides content until viewer reacted to content.[/HIDETHANKS]

    [HIDEREPLYTHANKS]Hides content until viewer replied to thread or reacted to content.[/HIDEREPLYTHANKS]

    [HIDEGROUP=administrator]Hides content for non-administrators.[/HIDEGROUP]
    Output:
    Hidden content
    You need to react to this post in order to see this content.
    Hidden content
    kl_em_not_allowed_to_view_this_content
    Hidden content
    You need to reply to this thread in order to see this content.
    Hidden content
    You need to react to this post in order to see this content.
    Hidden content
    You need to reply to this thread or react to this post in order to see this content.
    Hidden content
    You need to be in at least one of the following groups to see this content: Administrative
  • [REPLY] - Hidden text until the user answers the thread.

    Hidden text until the user answers the thread.
    Example:
    [reply]Hello World![/reply] - Displayed to users when they reply to the thread.
    Output:
    To view the content, you need to Sign In or Register. - Displayed to users when they reply to the thread.
  • [REPLYANDTHANKS] - Hidden text until the user responds to the topic and clicks Like on this message.

    Hidden text until the user responds to the topic and clicks Like on this message.
    Example:
    [replyandthanks]Hello World![/replyandthanks] - It is displayed to users when they reply to the topic and click "I like".
    Output:
    To view the content, you need to Sign In or Register. - It is displayed to users when they reply to the topic and click "I like".
  • [REPLYTHANKS] - Hidden text until the user responds to the topic or clicks Like on this message.

    Hidden text until the user responds to the topic or clicks Like on this message.
    Example:
    [replythanks]Hello World![/replythanks] - It is displayed to users when they reply to the topic or click "I like".
    Output:
    To view the content, you need to Sign In or Register. - It is displayed to users when they reply to the topic or click "I like".
  • [THANKS] - Hidden text until the user clicks "Like" for this message.

    This tag hides the text until the user clicks the Like button in the message.
    Example:
    [thanks]Hello World![/thanks] - This tag hides the text until the user clicks the Like button in the message.
    Output:
    To view the content, you need to Sign In or Register. - This tag hides the text until the user clicks the <b>Like button</b> in the message.