รหัส BB

  • [B], [I], [U], [S] - ตัวหนา, ตัวเอียง, ขีดเส้นใต้, และ ขีดค่า

    Makes the wrapped text bold, italic, underlined, or struck-through.
    ตัวอย่าง:
    This is [B]bold[/B] text.
    This is [I]italic[/I] text.
    This is [U]underlined[/U] text.
    This is [S]struck-through[/S] text.
    การแสดงผล:
    This is bold text.
    This is italic text.
    This is underlined text.
    This is struck-through text.
  • [COLOR=color], [FONT=name], [SIZE=size] - Text Color, Font, and Size

    Changes the color, font, or size of the wrapped text.
    ตัวอย่าง:
    This is [COLOR=red]red[/COLOR] and [COLOR=#0000cc]blue[/COLOR] text.
    This is [FONT=Courier New]Courier New[/FONT] text.
    This is [SIZE=1]small[/SIZE] and [SIZE=7]big[/SIZE] text.
    การแสดงผล:
    This is red and blue text.
    This is Courier New text.
    This is small and big text.
  • [URL], [EMAIL] - Linking

    Creates a link using the wrapped text as the target.
    ตัวอย่าง:
    [URL]http://www.example.com[/URL]
    [EMAIL][email protected][/EMAIL]
    การแสดงผล:
  • [URL=ลิงก์], [EMAIL=ที่อยู่] - การเชื่อมโยง (ขั้นสูง)

    Links the wrapped text to the specified web page or email address.
    ตัวอย่าง:
    [URL=http://www.example.com]Go to example.com[/URL]
    [[email protected]]Email me[/EMAIL]
    การแสดงผล:
  • [USER=ID] - Profile Linking

    Links to a user's profile. This is generally inserted automatically when tagging a user.
    ตัวอย่าง:
    [USER=1]ชื่อสมาชิก[/USER]
    การแสดงผล:
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.
    ตัวอย่าง:
    [IMG]https://forum.i-loadzone.com/data/assets/logo/logo-171.png[/IMG]
    การแสดงผล:
    logo-171.png
  • [MEDIA=site] - Embedded Media

    Embeds media from approved sites into your message. It is recommended that you use the media button in the editor tool bar.
    อนุมัติเวบไซต์: Apple Music, Dailymotion, Facebook, Flickr, Giphy, Imgur, Instagram, Pinterest, Reddit, SoundCloud, Spotify, TikTok, Tumblr, Twitch, Twitter, Vimeo, YouTube
    ตัวอย่าง:
    [MEDIA=youtube]kQ0Eo1UccEE[/MEDIA]
    การแสดงผล:
    An embedded YouTube player would appear here.
  • [LIST] - Lists

    Displays a bulleted or numbered list.
    ตัวอย่าง:
    [LIST]
    [*]Bullet 1
    [*]Bullet 2
    [/LIST]
    [LIST=1]
    [*]Entry 1
    [*]Entry 2
    [/LIST]
    การแสดงผล:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 2
  • [LEFT], [CENTER], [RIGHT] - ตำแหน่งข้อความ

    Changes the alignment of the wrapped text.
    ตัวอย่าง:
    [LEFT]จัดซ้าย[/LEFT]
    [CENTER]จัดตรงกลาง[/CENTER]
    [RIGHT]จัดขวา[/RIGHT]
    การแสดงผล:
    จัดซ้าย​
    จัดตรงกลาง​
    จัดขวา​
  • [QUOTE] - Quoted Text

    Displays text that has been quoted from another source. You may also attribute the name of the source.
    ตัวอย่าง:
    [QUOTE]Quoted text[/QUOTE]
    [QUOTE=A person]Something they said[/QUOTE]
    การแสดงผล:
    Quoted text
    A person โพสต์ว่า:
    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.
    ตัวอย่าง:
    [SPOILER]Simple spoiler[/SPOILER]
    [SPOILER=Spoiler Title]Spoiler with a title[/SPOILER]
    การแสดงผล:
    Simple spoiler
    Spoiler with a title
  • [ISPOILER] - Inline text containing spoilers

    Allows you to display text inline among normal content which hides text that may contain spoilers and must be clicked by the viewer to be seen.
    ตัวอย่าง:
    You have to click the following [ISPOILER]word[/ISPOILER] to see the content.
    การแสดงผล:
    You have to click the following word to see the content.
  • [CODE], [PHP], [HTML] - Programming Code Display

    Displays text in one of several programming languages, highlighting the syntax where possible.
    ตัวอย่าง:
    [CODE]General
    code[/CODE]
    [PHP]echo $hello . 'world';[/PHP]
    การแสดงผล:
    Code:
    General
    code
    PHP:
    echo $hello . 'world';
  • [ICODE] - Inline programming code display

    Allows you to display code inline among normal post content. Syntax will not be highlighted.
    ตัวอย่าง:
    Inline code blocks [ICODE]are a convenient way[/ICODE] of displaying code inline.
    การแสดงผล:
    Inline code blocks are a convenient way of displaying code inline.
  • [INDENT] - ย่อหน้าข้อความ

    Indents the wrapped text. This can be nested for larger indentings.
    ตัวอย่าง:
    Regular text
    [INDENT]Indented text
    [INDENT]More indented[/INDENT]
    [/INDENT]
    การแสดงผล:
    Regular text
    Indented text
    More indented​
  • [TABLE] - Tables

    Special markup to display tables in your content.
    ตัวอย่าง:
    [TABLE]
    [TR]
    [TH]Header 1[/TH]
    [TH]Header 2[/TH]
    [/TR]
    [TR]
    [TD]Content 1[/TD]
    [TD]Content 2[/TD]
    [/TR]
    [/TABLE]
    การแสดงผล:
    Header 1Header 2
    Content 1Content 2
  • [HEADING=level] - Headings levels 1 to 3

    Marks text as a structured heading to facilitate machine readability.
    ตัวอย่าง:
    [HEADING=1]Major heading[/HEADING]
    This text comes under a major heading, used to separate the primary sections of an article.

    [HEADING=2]Minor heading[/HEADING]
    When you need to subdivide the primary sections of an article, use a level 2 minor heading.

    [HEADING=3]Subheading[/HEADING]
    If you require additional subdivision, you may drop to level 3.
    การแสดงผล:

    Major heading​

    This text comes under a major heading, used to separate the primary sections of an article.

    Minor heading​

    When you need to subdivide the primary sections of an article, use a level 2 minor heading.

    Subheading​

    If you require additional subdivision, you may drop to level 3.
  • [PLAIN] - Plain Text

    Disables BB code translation on the wrapped text.
    ตัวอย่าง:
    [PLAIN]This is not [B]bold[/B] text.[/PLAIN]
    การแสดงผล:
    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.
    ตัวอย่าง:
    รูปขนาดย่อ: [ATTACH]123[/ATTACH]
    ขนาดเต็ม: [ATTACH=full]123[/ATTACH]
    การแสดงผล:
    The contents of the attachments would appear here.
  • [CLUB] - For club members

    The information inside the code is displayed only to members of the club.
    ตัวอย่าง:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
    การแสดงผล:
    - Hidden text for club members
  • [DAYS=option] - Number of days

    Number of days from the date of registration on the forum, which the user needs to be able to view
    ตัวอย่าง:
    [DAYS=5]Hello World![/DAYS] - Only registered users who are registered not earlier than 5 days ago are displayed.
    การแสดงผล:
    - Only registered users who are registered not earlier than 5 days ago are displayed.
  • [GROUPS=option] - For user groups

    The tag hides content from people who are not members of X,Y,Z user groups.
    ตัวอย่าง:
    [GROUPS=2]Hello World![/GROUPS] - Displayed only for group members with ID 2.
    การแสดงผล:
    Content of this hidden block can only be seen by members of: Registered
    - Displayed only for group members with ID 2.
  • [HIDE] [HIDE=option] - For registered users only

    Tag [HIDE] is used for hidden content. If [HIDE=(condition)] is specified, the condition will be applied to the hidden content. Note: After the = sign, you must enclose the conditions in parentheses to indicate the start and end of condition processing. Inside, you can use any condition grouping.

    Allowed expressions (tags):

    • posts: Number of user posts.
    • likes: User reaction count.
    • reactions: User reaction count (same as likes).
    • trophies: Number of user trophies.
    • days: Number of days since user registration.
    • isMemberOf(id): User group, for multiple groups you can use comma-separated values.
    • username: User's username.
    • user_id: User's identifier.
    • user_state: User's state.
    • is_staff: Flag indicating whether the user is a staff member.
    • is_admin: Flag indicating whether the user is an administrator.
    • is_moderator: Flag indicating whether the user is a moderator.

    Allowed operators:

    • Arithmetic operators:
      Arithmetic operators are used for performing mathematical calculations:
      • +
      • -
      • *
      • /
      • % (modulus)
      • ** (exponentiation)
    • Comparison operators:
      Comparison operators are used for comparing values and returning a boolean result:
      • == (equal to)
      • === (strictly equal to)
      • != (not equal to)
      • !== (strictly not equal to)
      • < (less than)
      • > (greater than)
      • <= (less than or equal to)
      • >= (greater than or equal to)
    • Logical operators:
      Logical operators are used for performing logical operations and returning a boolean result:
      • and or && (logical AND)
      • or or || (logical OR)
      • not or ! (logical NOT)
    • Bitwise operators:
      Bitwise operators are performed on binary representations of numbers:
      • & (bitwise AND)
      • | (bitwise OR)
      • ^ (bitwise XOR)
    • String operators:
      The ~ operator is used for string concatenation:
      • ~ (string concatenation)
    • Array operators:
      Array operators are used for checking element membership in an array:
      • in (element present in array)
      • not in (element not present in array)
    • Numeric operators:
      The .. operator is used to create a range of numbers:
      • .. (number range)
    • Ternary operator:
      The ?: operator is used to perform conditional operations in a single line:
      • ?: (ternary operator)
    ตัวอย่าง:
    [HIDE]Hello World![/HIDE] - only registered users see the hidden text
    [HIDE=(posts > 1 or likes > 1)]Hello world![/HIDE] - The hidden text "Hello world!" will be displayed if the number of user posts is greater than 1 OR the number of likes is greater than 1.
    [HIDE=(posts > 1 and likes > 1)]Hello world![/HIDE] - The hidden text "Hello world!" will be displayed if the number of user posts is greater than 1 AND the number of likes is greater than 1.
    [HIDE=(days > 1 or user_state == "valid")]Hello World![/HIDE] - The hidden text "Hello World!" will be displayed if the number of days since user registration is greater than 1 OR the user state is "valid".
    [HIDE=(isMemberOf(2) or trophies >= 0)]Hello World![/HIDE] - The hidden text "Hello World!" will be displayed if the user is a member of group 2 OR the number of user trophies is greater than or equal to 0.
    [HIDE=(is_staff)]Hello World![/HIDE] - The hidden text "Hello World!" will be displayed if the user is a staff member.
    การแสดงผล:
    เนื้อหาเฉพาะผู้ใช้ที่ลงทะเบียนแล้ว!
    - only registered users see the hidden text
    message > 1 (0) or like > 1 (0)
    - The hidden text "Hello world!" will be displayed if the number of user posts is greater than 1 OR the number of likes is greater than 1.
    message > 1 (0) and like > 1 (0)
    - The hidden text "Hello world!" will be displayed if the number of user posts is greater than 1 AND the number of likes is greater than 1.
    day > 1 (0) or User state is "valid" (valid)
    Hello World!
    - The hidden text "Hello World!" will be displayed if the number of days since user registration is greater than 1 OR the user state is "valid".
    Member group(s): Registered or point >= 0 (0)
    Hello World!
    - The hidden text "Hello World!" will be displayed if the user is a member of group 2 OR the number of user trophies is greater than or equal to 0.
    Staff Member
    - The hidden text "Hello World!" will be displayed if the user is a staff member.
  • [LIKES=option] - Number of likes

    Number of likes on the forum, which the user needs to be able to view
    ตัวอย่าง:
    [LIKES=5]Hello World![/LIKES] - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
    การแสดงผล:
    - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
  • [POSTS=option] - Number of posts

    Number of posts on the forum, which the user needs to be able to view
    ตัวอย่าง:
    [POSTS=5]Hello World![/POSTS] - Displays users who have 5 or more posts on the forum.
    การแสดงผล:
    - Displays users who have 5 or more posts on the forum.
  • [REACTS=option] - By the reactions

    Hidden text for which you need to select a specific reaction
    ตัวอย่าง:
    [REACTS=1]Hello World![/REACTS] - displayed for those who clicked the 'Like' reaction.
    การแสดงผล:
    - displayed for those who clicked the 'Like' reaction.
  • [REPLY] - Answers the thread

    Hidden text until the user answers the thread.
    ตัวอย่าง:
    [REPLY]Hello World![/REPLY] - Displayed to users when they reply to the thread.
    การแสดงผล:
    - Displayed to users when they reply to the thread.
  • [REPLYANDTHANKS] - Answer and click Like

    Hidden text until the user responds to the thread and clicks Like on this message.
    ตัวอย่าง:
    [REPLYANDTHANKS]Hello World![/REPLYANDTHANKS] - It is displayed to users when they reply to the thread and click "I like".
    การแสดงผล:
    - It is displayed to users when they reply to the thread and click "I like".
  • [REPLYTHANKS] - Answer or click Like

    Hidden text until the user responds to the thread or clicks Like on this message.
    ตัวอย่าง:
    [REPLYTHANKS]Hello World![/REPLYTHANKS] - It is displayed to users when they reply to the thread or click "I like".
    การแสดงผล:
    - It is displayed to users when they reply to the thread or click "I like".
  • [THANKS] - Click "Like"

    This tag hides the text until the user clicks the Like button in the message.
    ตัวอย่าง:
    [THANKS]Hello World![/THANKS] - This tag hides the text until the user clicks the Like button in the message.
    การแสดงผล:
    - This tag hides the text until the user clicks the <b>Like button</b> in the message.
  • [TROPHIES=option] - Number of trophies

    Number of trophies on the forum, which the user needs to be able to view
    ตัวอย่าง:
    [TROPHIES=5]Hello World![/TROPHIES] - It is displayed only to registered users, the number of points for trophies on the forum which is greater than or equal to 5.
    การแสดงผล:
    - It is displayed only to registered users, the number of points for trophies on the forum which is greater than or equal to 5.
  • [USERS=option] - For users

    Hides the text from users, except for the parameters listed in the list of BB-code.
    ตัวอย่าง:
    [USERS=Alex,John,Bryan]Hello World![/USERS] - Displayed only by user Alex, John, Bryan.
    การแสดงผล:
    Hidden text for users:
    - Displayed only by user Alex, John, Bryan.
  • [USERSEXC=option] - Exclude users

    Hides the text from users that is listed in the list of parameters of the BB-code.
    ตัวอย่าง:
    [USERSEXC=Alex,John,Bryan]Hello World![/USERSEXC] - Displayed to all users except Alex, John, Bryan.
    การแสดงผล:
    - Displayed to all users except Alex, John, Bryan.
  • [USERSID=option] - Users by id

    Hides the text from users by id, except for the parameters listed in the list of BB-code.
    ตัวอย่าง:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
    การแสดงผล:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
  • [USERSIDEXC=option] - Exclude users by id

    Hides the text from users by id that are listed in the list of parameters of the BB-code.
    ตัวอย่าง:
    [USERSIDEXC=1,2,3]Hello World![/USERSIDEXC] - Appears only for all users except with ids 1, 2, 3.
    การแสดงผล:
    - Appears only for all users except with ids 1, 2, 3.
ด้านบน ด้านล่าง