Forum Mod Bakery Docs

[Tutorial] [Outdated] Posting Images, bold text, ect. with BBCode

Posted in Off Topic
Please login to contribute to the conversation.
This tutorial is outdated. Use this one instead.

Bulletin Board Code, also known as BBCode, is a markup language used among forums.
You can use it to make your posts boring fancy.
Text Effects
The syntax for bold text is:
[code][b]Insert text here
[/code]For strikethroughs, replace b with s.
For underlining, replace b with u.
For italics, replace b with i.
Example:
I like waffles.
[b]I like waffles.[/b]
Links
The syntax for posting links is:
[url]URL goes here[/url]
If you don't use this, your links will not be clickable!
Example:
donutteam.com/forum/topic/342/
[url]http://donutteam.com/forum/topic/342/[/url]
If you want custom text, add a = after the first url inside brackets, and the link after the =. Then, put your text in between the brackets.
Example:
A cool Topic
[url=http://donutteam.com/forum/topic/342/]A cool Topic[/url]
Finally, you can also put images inside a url tag, and they will also be clickable.

Images
The syntax is:
[img]Image URL goes here[/img]
Make sure that you are using the image url.
Wrong: imgur.com/zF5O9BS
Right: i.imgur.com/zF5O9BS.png
As you can see, it will end in an extension like .jpg, .png, or .bmp.
Example:
[img]http://donutteam.com/assets/img/page/games/donut-mod-lg-banner.png[/img]
Here's an example of a clickable image like I mentioned earlier:

[url=http://donutteam.com/games/donutmod/][img]http://donutteam.com/assets/img/page/games/donut-mod-lg-banner.png[/img][/url]

Youtube Videos
The syntax for posting Youtube videos is:
[video]Video ID[/video]
You can find the video id by looking at the URL of a Youtube video.
www.youtube.com/watch?v=zVRctMNpWfg
The bolded text is the video ID here.
Example:
[video]zVRctMNpWfg[/video]
Code
This can be used for displaying code, irc logs, ect.
Syntax:
[code]Whatever you want in the box[/code]
Example:
int main()
{
        cout << "blah blah blah";
}
[code]
int main()
{
        cout << "blah blah blah";
}
[/code]
Posting BBCode in Code Tags
Thanks to @DouglasColvin for this :)
First, copy this sentence -><-.
In between those arrows, there is an invisible character, so if you paste that sentence into a new post, you should just see a block.
When you post BBCode in a code block, the forum will still parse it, so we need to use this character to "disguise" the BBCode so that it isn't parsed, but the user can still see it on the post.
Example:
This will show what the Youtube Video section actually is.
[img]http://i.imgur.com/iPwTFCL.png[/img]
The 0081 block is what the character looks like in Firefox. As you can see, it must be placed in or touching the opening tag name*.

*If you are posting a code block inside of a code block, you must paste the character into the closing tag, too.
There was supposed to be a formatting page when we removed the horrible editor we had, but this is decent enough until we add a new editor. Thanks.

There's also:

Which can show links that people can click on.
This post has been removed.
8 yrs ago (Statistics)
This post has been removed.
8 yrs ago (Statistics)
"Horrible editor" I don't understand why you keep calling it a horrible editor when it was better than most people not knowing how to use BBCode. And it wasn't all that bad...
[deleted user]
8 yrs ago (Statistics)
Thanks for the tutorial!
[deleted user]
8 yrs ago (Statistics)
How do I post videos from youtube? It gives me an error.
[youtube]video url[/youtube]
I believe you have to take the s out of https, but that may be just for another site I use. Cant remember
[deleted user]
8 yrs ago (Statistics)
Still can't post a video to my mod thread!
Do it like this: