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.
    Output:
    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.
    Output:
    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]https://www.example.com[/URL]
    [EMAIL]example@example.com[/EMAIL]
    Output:
  • [URL=link], [EMAIL=address] - Linking (Advanced)

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

    Links to a user's profile. This is generally inserted automatically when mentioning a user.
    مثال:
    [USER=1]نام‌کاربری[/USER]
    Output:
  • [IMG] - Image

    Display an image, using the wrapped text as the URL.
    مثال:
    [IMG]https://practicalsoft.ir/styles/default/xenforo/logo-2.png[/IMG]
    Output:
    logo-2.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.
    سایت‌های تایید شده: aparat, Apple Music, Bluesky, Dailymotion, dalfak, Facebook, Flickr, Giphy, imdb, Imgur, Instagram, mihanvideo, namasha, Pinterest, Reddit, SoundCloud, Spotify, tamasha, TikTok, Tumblr, Twitch, X, Vimeo, YouTube
    مثال:
    [MEDIA=youtube]kQ0Eo1UccEE[/MEDIA]
    Output:
    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]
    Output:
    • Bullet 1
    • Bullet 2
    1. Entry 1
    2. Entry 2
  • [LEFT], [CENTER], [RIGHT] - Text alignment

    Changes the alignment of the wrapped text.
    مثال:
    [LEFT]Left-aligned[/LEFT]
    [CENTER]Center-aligned[/CENTER]
    [RIGHT]Right-aligned[/RIGHT]
    Output:
    Left-aligned​
    Center-aligned​
    Right-aligned​
  • [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]
    Output:
  • [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]
    Output:
    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.
    Output:
    You have to click the following word to see the content.
  • [CODE] - Programming code display

    متن را به یکی از چندین زبان برنامه نویسی نمایش می دهد و دستورات را در صورت امکان برجسته می کند.
    مثال:
    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:
    محتوای بلوک کدها فقط برای اعضا قابل نمایش میباشد , اکنون ثبت نام کنید یا وارد سیستم شوید.

    Rich code:
    محتوای بلوک کدها فقط برای اعضا قابل نمایش میباشد , اکنون ثبت نام کنید یا وارد سیستم شوید.

    PHP code:
    محتوای بلوک کدها فقط برای اعضا قابل نمایش میباشد , اکنون ثبت نام کنید یا وارد سیستم شوید.

    JS code:
    محتوای بلوک کدها فقط برای اعضا قابل نمایش میباشد , اکنون ثبت نام کنید یا وارد سیستم شوید.
  • [ICODE] - Inline programming code display

    Allows you to display code inline among normal post content. Syntax will not be highlighted.
    مثال:
    Inline code sections [ICODE]are a convenient way[/ICODE] of displaying code inline.

    Rich formatting within inline code sections [ICODE=rich]is [COLOR=red]also[/COLOR] [U]supported[/U][/ICODE].
    Output:
    Inline code sections are a convenient way of displaying code inline.

    Rich formatting within inline code sections is also supported.
  • [INDENT] - Text indent

    Indents the wrapped text. This can be nested for larger indentings.
    مثال:
    Regular text
    [INDENT]Indented text[/INDENT]
    [INDENT=2]More indented[/INDENT]
    Output:
    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]
    Output:
    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.
    Output:

    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] - متن ساده

    Disables BB code translation on the wrapped text.
    مثال:
    [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.
    مثال:
    بندانگشتی: [ATTACH]123[/ATTACH]
    اندازه کامل: [ATTACH=full]123[/ATTACH]
    Output:
    The contents of the attachments would appear here.
  • [CHARGE=option] - شارژ

    شارژ کردن کاربران برای مشاهده محتوای شما
    مثال:
    [CHARGE=5]برای دیدن این متن 5 اعتبار هزینه دارد.[/CHARGE]
    Output:
    برای دیدن این متن 5 اعتبار هزینه دارد.
  • [CLUB] - برای اعضای باشگاه

    The information inside the code is displayed only to members of the club.
    مثال:
    [CLUB]Hello World![/CLUB] - Hidden text for club members
    Output:
    - Hidden text for club members
  • [DAYS=option] - تعداد روزها

    تعداد روزهایی از تاریخ ثبت نام کاربر در انجمن میگذرد تا بتواند محتوا را مشاهده کند
    مثال:
    [DAYS=5]سلام دنیا![/DAYS] - فقط کاربران ثبت نام شده ای نمایش داده می شوند که زودتر از 5 روز قبل ثبت نام کرده باشند.
    Output:
    - فقط کاربران ثبت نام شده ای نمایش داده می شوند که زودتر از 5 روز قبل ثبت نام کرده باشند.
  • [EDIT] - Edit

    Edit
    مثال:
    [edit]Text here...[/edit]
    Output:
    Edit: Text here...
  • [GALLERY=option] - گالری تعبیه شده

    BB code برای نمایش موارد رسانه ای گالری و آلبوم ها.
    مثال:
    [GALLERY=media, X]گالری BB Code[/GALLERY]
    Output:
    [GALLERY=media, X]گالری BB Code[/GALLERY]
  • [GROUPS=option] - برای گروه های کاربری

    این برچسب محتوا را از افرادی که عضو گروه های کاربری X,Y,Z نیستند پنهان می کند.
    مثال:
    [GROUPS=2]Hello World![/GROUPS] - Displayed only for group members with ID 2.
    Output:
    محتوای این بلوک پنهان را فقط اعضای ذیل می‌توانند ببینند: کاربر(جدید)
    - Displayed only for group members with ID 2.
  • [HELP] - Help

    Help - Staff only
    مثال:
    [help]Text here...[/help]
    Output:
    Help
    Text here...
  • [HIDE] [HIDE=option] - فقط برای ثبت نام

    محتوای پنهان: فقط برای کاربران ثبت نام شده
    مثال:
    [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.
    Output:
    محتوای این بلوک پنهان را فقط اعضای ذیل می‌توانند ببینند: نامشخص
    - only registered users see the hidden text
    محتوای این بلوک پنهان را فقط اعضای ذیل می‌توانند ببینند: نامشخص
    - 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.
    محتوای این بلوک پنهان را فقط اعضای ذیل می‌توانند ببینند: نامشخص
    - 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.
    محتوای این بلوک پنهان را فقط اعضای ذیل می‌توانند ببینند: نامشخص
    - 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".
    محتوای این بلوک پنهان را فقط اعضای ذیل می‌توانند ببینند: نامشخص
    - 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.
    محتوای این بلوک پنهان را فقط اعضای ذیل می‌توانند ببینند: نامشخص
    - The hidden text "Hello World!" will be displayed if the user is a staff member.
  • [HIDEUSERAGE=option] - Hide Content by User Age

    This BB code hides content from users who have not reached a specified age.
    مثال:
    [hideuserage=18]This content is only visible to users who are at least 18 years old.[/hideuserage]
    Output:
  • [IMPORTANT] - Important

    Important - Staff only
    مثال:
    [important]Text[/important]
    Output:
    Important
    Text
  • [INFO] - Information

    Information - Staff only
    مثال:
    [info]Text here...[/info]
    Output:
    Info
    Text here...
  • [LIKES=option] - تعداد لایک

    تعداد لایک در انجمن برای مشاهده محتوا
    مثال:
    [LIKES=5]Hello World![/LIKES] - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
    Output:
    - Displayed only registered users whose number of reactions on the forum is greater than or equal to 5.
  • [OFFTOPIC] - Offtopic

    Offtopic text
    مثال:
    [offtopic]Text here...[/offtopic]
    Output:
    Offtopic:
    Text here...
  • [POSTS=option] - تعداد پست ها

    تعداد پست های موجود در انجمن برای مشاهده محتوا
    مثال:
    [POSTS=5]سلام جهان![/POSTS] - محتوا را به کاربرانی را که 5پست یا بیشتر دارند نمایش می دهد.
    Output:
    - محتوا را به کاربرانی را که 5پست یا بیشتر دارند نمایش می دهد.
  • [PRODUCT=option] - Product embed

    کد BB برای نمایش محصولات.
    مثال:
    [PRODUCT=product, X]Product BB Code[/PRODUCT]
    Output:
    [PRODUCT=product, X]Product BB Code[/PRODUCT]
  • [REACTS=option] - توسط واکنش ها

    Hidden text for which you need to select a specific reaction
    مثال:
    [REACTS=1]سلام جهان![/REACTS] - محتوا برای کسانی که روی "پسندیدن" کلیک کردند نمایش داده می شود.
    Output:
    - محتوا برای کسانی که روی "پسندیدن" کلیک کردند نمایش داده می شود.
  • [REPLY] - پاسخ به تاپیک

    Hidden text until the user answers the thread.
    مثال:
    [REPLY]سلام جهان![/REPLY] - محتوا هنگامی که کاربران به موضوع پاسخ می‌دهند، نمایش داده می‌شود.
    Output:
    - محتوا هنگامی که کاربران به موضوع پاسخ می‌دهند، نمایش داده می‌شود.
  • [REPLYANDTHANKS] - پاسخ دهید و روی Like کلیک کنید

    Hidden text until the user responds to the thread and clicks Like on this message.
    مثال:
    [REPLYANDTHANKS]سلام جهان![/REPLYANDTHANKS] - محتوا زمانی که کاربران به موضوع پاسخ می‌دهند و روی «دوست دارم» کلیک می‌کنند، نمایش داده می‌شود.
    Output:
    - محتوا زمانی که کاربران به موضوع پاسخ می‌دهند و روی «دوست دارم» کلیک می‌کنند، نمایش داده می‌شود.
  • [REPLYTHANKS] - پاسخ دهید یا روی Like کلیک کنید

    Hidden text until the user responds to the thread or clicks Like on this message.
    مثال:
    [REPLYTHANKS]سلام جهان![/REPLYTHANKS] - محتوا زمانی که کاربران به موضوع پاسخ می‌دهند یا روی «دوست دارم» کلیک می‌کنند، نمایش داده می‌شود.
    Output:
    - محتوا زمانی که کاربران به موضوع پاسخ می‌دهند یا روی «دوست دارم» کلیک می‌کنند، نمایش داده می‌شود.
  • [SF_A] - سایه نارنجی

    Couleur shadow orange
    مثال:
    [sf_y]Vert citron[/sf_y]
    [sf_a]Orange[/sf_a]
    [sf_p]Rose[/sf_p]
    [sf_k]rouge[/sf_k]
    [sf_mo]violet[/sf_mo]
    [sf_l]bleu marine[/sf_l]
    [sf_m]bleue[/sf_m]
    [sf_b]cyan[/sf_b]
    [sf_s]Black[/sf_s]
    Output:
    Vert citron
    Orange
    Rose
    rouge
    violet
    bleu marine
    bleue
    cyan
    Black
  • [THANKS] - روی "پسندیدن" کلیک کنید

    This tag hides the text until the user clicks the Like button in the message.
    مثال:
    [THANKS]سلام جهان![/THANKS] - این برچسب محتوا را پنهان می کند تا زمانی که کاربر روی دکمه پسندیدن در پیام کلیک کند.
    Output:
    - این برچسب محتوا را پنهان می کند تا زمانی که کاربر روی <b>دکمه پسندیدن</b> در پیام کلیک کند.
  • [TROPHIES=option] - تعداد جوایز

    Number of trophies on the forum, which the user needs to be able to view
    مثال:
    [TROPHIES=5]سلام جهان![/TROPHIES] - فقط برای کاربران ثبت نام شده نمایش داده می شود، که امتیازهای آنها در انجمنبیشتر یا مساوی 5 باشد.
    Output:
    - فقط برای کاربران ثبت نام شده نمایش داده می شود، که امتیازهای آنها در انجمنبیشتر یا مساوی 5 باشد.
  • [USERS=option] - برای کاربران

    متن را از کاربران پنهان می کند، به جز پارامترهای فهرست شده در لیست BB-code.
    مثال:
    [USERS=Alex,John,Bryan]Hello World![/USERS] - Displayed only by user Alex, John, Bryan.
    Output:
    متن پنهان برای کاربران:
    - Displayed only by user Alex, John, Bryan.
  • [USERSEXC=option] - حذف کاربران

    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.
    Output:
    - Displayed to all users except Alex, John, Bryan.
  • [USERSID=option] - کاربران بر اساس شناسه

    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.
    Output:
    [USERIDS=1,2,3]Hello World![/USERIDS] - Appears only for users with ids 1, 2, 3.
  • [USERSIDEXC=option] - حذف کاربران با شناسه

    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.
    Output:
    - Appears only for all users except with ids 1, 2, 3.
عقب
بالا