![]() |
|
Mycode for MYBB CMS - Printable Version +- HN-Community (https://hacker-newbie.org) +-- Forum: Open Discussion (https://hacker-newbie.org/forum-24.html) +--- Forum: Apa aja deh... (https://hacker-newbie.org/forum-27.html) +--- Thread: Mycode for MYBB CMS (/thread-2583.html) |
Mycode for MYBB CMS - cr0w - 03-20-2010 Langsung aja ya ni list mycode untuk mybb..maaf bahasa inglis lum ditranslit ![]() Text Formatting [edit] Bold, Italics, Underline, Strikethrough Syntax TEXT TEXT TEXT[/i] TEXT[/i] Examples Bold text Italicized text [u]Underlined text [s]Strikethrough text Results Bold text Italicized text Underlined text Strikethrough text [edit] Font Size Syntax [size=SIZE]TEXT[/size] Examples XX-Small[/ size] [size=x-small]X-Small Small Medium Large X-Large [size=xx-large]XX-Large[/ size] Results XX-Small X-Small Small Medium Large X-Large XX-Large [edit] Font Face Syntax TEXT[/ font] Examples [font=Tahoma]This is in Tahoma This is in Courier Results This is in Tahoma T h i s i s i n C o u r i e r [edit] Font Color Syntax [color=THE_COLOR]TEXT[/ font] Examples This is red This is green[/ color] [color=#0000FF]This is blue, in Hex form Results This is red This is green This is blue, in Hex form [edit] Text Alignment Syntax [align=POSITION] Examples Left-aligned[/
align] [align=center]Center-aligned Right-aligned[/
Resultsalign] [align=justify]Justified Left-aligned Center-aligned Right-aligned Justified (Justified is more noticeable when there are large blocks of text. ) [edit] Preformatted Text [edit] General Code Syntax Code: CODE HERECode: <div
class="menu">Text
Here.. <- Those spaces
won't be merged</div>[/
code]
[code]<a href="http://
domain.com/">Text Here..</
a><div class="menu">Text Here.. <- Those spaces won't be merged</div> <a href="http:// domain.com/">Text Here..</ a> [edit] PHP Code Syntax PHP Code: PHP CODE HERE
PHP Code: <?php echo "Hi!"; ?>[/
php]
[php]<?php
// Comment
$mybb->user['var'] = "Hi"; ?><?php echo "Hi!"; ?> <?php // Comment $mybb->user['var'] = "Hi"; ?> [edit] Images and Attachments [edit] Images Syntax ![]() [img=WIDTHxHEIGHT]http:// example.com/image.gif[/img] Examples ![]() Results Image:Logo.gif [edit] Attachments Syntax [attachment=ATTACHMENT_ ID] Examples [attachment=11776] Results [icon] mybb_1403_ patches.txt (Size: 2.16 KB / Downloads: 1125) NOTE: This shortcut only works for attachments that are attached to the post you are writing. It does not allow you to include attachments from other posts. [edit] Links [edit] URL Syntax http://example.com Title Examples [url]http:// community.mybboard.net[/ url] [url=http:// community.mybboard.net] Support Communtiy[/url] Results http:// community.mybboard.net Support Communtiy [edit] Syntax [email]example@ example.com[/email] [email=example@ example.com?subject=work] Link text[/email] Examples [email]example@ example.com[/email] [email=example@ example.com]E-mail Me![/ email] [email=example@ example.com?subject=spam] E-mail with subject 'spam'[/ email] Results example@example.com E-mail Me! E-mail with subject 'spam' [edit] Lists [edit] Unordered Lists Syntax
To Do:
list is only for readability, it is not required) Results To Do: Fix the boiler Buy: Eggs Milk Call mother [edit] Ordered Lists Syntax
To Do:
To Do: 1. Fix the boiler 2. Buy eggs & milk 3. Call mother [edit] Alphabetical Lists Syntax
To Do:
To Do: a. Fix the boiler b. Buy eggs & milk c. Call mother Maaf kalo repost maaf kalo salah t4 ![]() Kalo berknan minta cendol ya ![]()
|