MyBB Code [Guide] - sarabscientist - Jul. 20, 2012
MyCode
An exhaustive breakdown.
I know this exists. But this a elaboration. An extensive elaboration. What is wrong with me? My obsession with the simplicity of MyCode has reached near critical levels. I wanted needed to write a guide.
- The Basics
In every code, there are two bracket sets. One opening bracket set and a closing one. You need both to have a code that works. The opening bracket will follow this format:
[****]
It has no "slashes". The closing bracket however will look like this:
[/****]
It will have a slash at the front. In many cases, both brackets will contain the same word. The opening bracket causes everything after it to be affected. The closing bracket causes everything before it to be affected. They both work together to preform a formatting task (ie: bolding). WITHOUT ONE, THE CODE IS BROKEN. And your text will NOT be affected by the code. So when posting, keep in mind that they both have to be in the right spots to work!
- Spoilers
To make a spoiler, all you have to do is enclose the text in spoiler brackets. Simply see the code below:
Code: [spoiler] Put your text here [/spoiler]
As you can see, both opening and closing brackets are present. Now, if we repeat the code on a normal post, it will appear like this:
Alternatively (THANK YOU KAI-V), you can now use the new spoiler button!
- Naming Spoilers
The "Spoiler" text may be a bit boring for some. So you can actually rename the "spoiler" part of the text. For example, you wanted to tell a secret. All you have to do is re-write the spoiler brakcets, but add in an "equal sign" followed by your desired text.
Code: [spoiler=Secret] Kai-V is awesome [/spoiler]
Instead of: it will show as:
- Image Links
If you would like to link an image to a site, all you have to do is highlight the image URL and the code brackets and then click on the little [Image: hyperlinkIcon.gif] icon in the tool bar that should appear when you are posting something. After it prompts you to enter a URL, enter the URL of the site you wish to link your image to. This is of course the more "simple" way to do it. If you learn the code for doing this, it can be quicker (in my opinion).
Say you would like to link this image to the WBO.
[Image: smiley.jpg]
You can do it with the buttons, like explained above. Once again, we have our image URL:
http://www.themelab.com/wp-content/uploads/smiley.jpg
And then we highliight the WHOLE URL AND CODE BRACKETS and click the button. After the prompt, enter the site URL.
http://worldbeyblade.org/
After that is all done, you will have an image link!
[Image: smiley.jpg]
The code can be used instead of that lengthy process. See below:
Code: [url=worldbeyblade.org][img]http://www.themelab.com/wp-content/uploads/smiley.jpg[/img][/url]
Basically, you have to enclose the [img] brackets between the [url] brackets. But remeber to add in the little "equal sign" and the URL INSIDE the first bracket.
- Quotes
A quote from the WBO will appear like this:
(Jul. 20, 2012 3:45 AM)Hazel Wrote: Somehow, this is even more goofy.
The " pid='995136' " is the green arrow. It will link you to the quote in its respective thread.
The "dateline='1342752347' " is the time and date line in the top right-hand corner of the quote box.
The main part is this:
It is the opening bracket. It displays the username. The ending bracket for any quote is still:
Basically, when quoting something MAKE SURE TO HAVE BOTH OPENING AND CLOSING BRACKETS ENCLOSING THE SPEAKER'S WORDS.
*Do not quote large pieces of text. If you are only going to comment regarding one part of the reply, please delete the other text. It makes it easier to find what you are referring to. But make sure to not delete the ending or opening brackets.
- Lists
To make a list, it is fairly simple. Like usual, you have the opening bracket:
and then, every "point" in the list will be written underneath that bracket set. Preceded by a "star bracket"
Every "star bracket" is another "bullet" in the list.
Add as many "star bracket" sets as you'd like underneath the opening bracket. At the end of the list, close it off with
Example List:
Things to Do: - Write this guide
- Post the thread
- Update the guide
The code for that simple list:
Code: [list]
[*]Write this guide
[*]Post the thread
[*]Update the guide
[/list]
As you can see, all my "to-do's" were listed under the bracket but were followed by the brackets. Do not forget to close off your list!
- Numbered List
Say I wanted to be more professional and prioritize my list. Or simply add numbers in it. All you have to do is one tiny change in the opening bracket. Add in a little "equal sign" and a "1" in the opening bracket to make everything in the list preceded by a number. The numbers go down in chronological order.
- Write this guide
- Post the thread
- Update the guide
Code:
Code: [list=1]
[*]Write this guide
[*]Post the thread
[*]Update the guide
[/list]
Again, to make it an alphabetical list, replace the "1" with an "a".
- Re-sizing Images
To make sure an image doesn't stretch the page, make sure to make it small enough to fit (or put it in spoiler brackets). To make an image smaller, enter the size in the opening bracket preceded by an "equal sign".
Code: [img=20x20]http://www.themelab.com/wp-content/uploads/smiley.jpg[/img]
From
[Image: smiley.jpg]
to
[Image: smiley.jpg]
- Using the toolbar
The simplest way to enhance your text is by making use of the toolbar. It appears during every post you make (except for quick replies).
[Image: bZR6p.png]
Now, briefly, I will explain the functions of each button. - Font :Highlight your text and then click on the box. From the drop down menu, choose your desired font.
[Image: rVcH9.png]
- Text Size: Highlight your text and click on the box. From the drop down menu, choose your desired size.
[Image: NhY6b.png]
- Text Color: Highlight your text and click on the icon. It will open up a small box with a variety of colors to choose from.
[Image: UE4bA.png]
- Spoiler Button Higlight your text and click on the spoiler button to make everything "spoiled". This wonderful button was added to make life easier!
[Image: h6Okk.png]
- The Trio:
Highlight your text and then click on one of the three(or more than one) letter. It will make your text bolded, italicized or underlined. This is probably the most basic function in the whole tool box :\
[Image: fzzdW.png]
- Alignment:
Highlight your text and then click on one of the options. It will align your text accordingly.
[Image: 3fDJl.png]
- Lists (the "easy" way):
I personally prefer the coded way, but basically all this does is ask you to list items one by one via small prompts.
[Image: THPhY.png]
- Hyperlinks:
Really simple to use (and usefull). Click on the icon, it will then prompt you to enter a URL. Put in the URL. Then after, it will ask you if you would like to rename the URL. For example, you wanted to link the WBO.
We have the WBO URL:
http://worldbeyblade.org/
By following the steps, you can have the link to the WBO actually "say" something else. Example:
Click Me!
Simple via buttons. For those hardcore coders though, here is what you have to do:
Code: [url=http://worldbeyblade.org/index.php]Click Me![/url]
Simply change the opening bracket and add in the "equal sign"+URL. And then before the ending bracket, add in your desired text. Simple, but still ... the buttons are useful in this case XD
[Image: hyperlinkIcon.gif]
- Insert Image:
Click on the button, and then when prompted, insert the URL of the image you would like to insert.
Notice: Make sure to have something other than an image in your post. Or else it constitutes as an image macro, which can result in a warning. Also, keep in mind to make sure that the image doesn't stretch the page. If it does, re-size it or put it in spoiler brackets.
[Image: A2ETY.png]
- Email:
Click on the button. When prompted, insert the desired email adress. You can also optionally rename the email link. Clicking on it will cause a Windows Live email page.
http://i.imgur.com/dlt94.png
[Image: xjgzz.png]
- Quote Button:
Highlight the text and it will put in between quote brackets. So it will look like ...
Quote:this
[Image: yTVdx.png]
- Code:
Hah, ironic name. But anyways, highlighting your text and clicking on this button will cause everything highlighted to NOT become affected by MyCode. Good for telling people how to use MyCode without having your own tutorial affected XD
[Image: 17CIn.png]
- Videos:
Clicking on the TV button will create a drop-down menu. From there, select your video source and then enter the video URL. It will directly embed the video in the post.
Notice: Video embedding does not work in your signatures!
[Image: 61pkg.png]
- Close Tags:
If you do not highlight text to be affected by code, there will be a message that appears. It will look like this [Image: SVtEJ.png]
Basically, it creates an opening tag. Put in text after and close the tags by pressing the format option again and then it will close the tags.
- Strikeout
Put your desired text between strikeout brackets and a line will appear through it.
- Getting image URLs
- Tagging People
To tag someone in a post, so that they receive a private message informing them that they've been mentioned, use the following simple code:
Code: @[INSERT USERNAME HERE]
Remember that the tagging feature does not work with only the "@" symbol, like twitter. You must use the square brackets.
NOTE: If constantly being tagged is a nuisance for you, go to your USER CONTROL PANEL and drop down to the "MISCELLANEOUS" section. There you will see a link titled "TAGS". From there, you can change your options.
I hope this guide helped! You can also check this one out for your user control panel.
RE: Extensive MyCode Tutorial [Being Edited] - *Ginga* - Jul. 20, 2012
Nice guide! I hope it covers some things that the MyCode doesn't.
RE: Extensive MyCode Tutorial [Being Edited] - sarabscientist - Jul. 20, 2012
(Jul. 20, 2012 12:48 PM)Ginga Blader#1 Wrote: Nice guide! I hope it covers some things that the MyCode doesn't.
Eh, mainly just elaboration. The two main things were the "image linking" and the "custom spoiler text" part.
RE: Extensive MyCode Tutorial [Being Updated] - gameboysuperman - Jul. 20, 2012
nice thread Imsomnia!the only code i knew was hoe to put stuff in spoilers nothing else thanks to your thread its really easy to uderstand the coding stuff... thanks again xD
RE: Extensive MyCode Tutorial [Being Updated] - sarabscientist - Jul. 20, 2012
(Jul. 20, 2012 5:12 PM)gameboysuperman Wrote: nice thread Imsomnia!the only code i knew was hoe to put stuff in spoilers nothing else thanks to your thread its really easy to uderstand the coding stuff... thanks again xD
Helping out where I can
Basically I thought I would tackle the basics of MyCode. Once you get the basics, its all really simple. The main reason for creating the guide though (I am writing up some more stuff, will be posted soon) is because nothing ticks me off more than seeing people with broken codes/spoiler brackets.
RE: Extensive MyCode Tutorial [Being Updated] - 50uNdW4v3 - Jul. 20, 2012
Well done, Insomniac! Waiting for the next update...
RE: Extensive MyCode Tutorial [Being Updated] - sarabscientist - Jul. 20, 2012
(Jul. 20, 2012 7:44 PM)Crab Commando Wrote: Well done, Insomniac! Waiting for the next update...
Thank you
I will get writing when I have time
RE: Extensive MyCode Tutorial [Being Updated] - Sparta - Jul. 20, 2012
This guide is really well written! I actually didn't know about the lists, so you taught me something, haha. Hope this helps new members. If there's a way to make sure new members have easy access to this thread, that'd be great (Maybe include a link in the welcome PM?).
RE: Extensive MyCode Tutorial [Being Updated] - sarabscientist - Jul. 20, 2012
(Jul. 20, 2012 10:44 PM)Sparta Wrote: This guide is really well written! I actually didn't know about the lists, so you taught me something, haha. Hope this helps new members. If there's a way to make sure new members have easy access to this thread, that'd be great (Maybe include a link in the welcome PM?).
Ha, if a link was included in the welcome PM, I would be honoured XD
Still in alpha mode though, things will be added soon!
Oh, the mysteries of MyCode ... I honestly think I am obsessed with MyCode :\
RE: Extensive MyCode Tutorial [Being Updated] - Tech - Jul. 20, 2012
Look at you, writin' extensive tutorials and such
But really, great job on it!
RE: Extensive MyCode Tutorial [Being Updated] - sarabscientist - Jul. 20, 2012
(Jul. 20, 2012 11:12 PM)Tech Wrote: Look at you, writin' extensive tutorials and such
Making up for my mistakes, one awesome thread at a time
RE: Extensive MyCode Tutorial [Being Updated] - Tri - Jul. 20, 2012
What? awesome? Are you joking?...
Just kidding, this guide is very helpful. lol
RE: Extensive MyCode Tutorial [Being Updated] - sarabscientist - Jul. 20, 2012
(Jul. 20, 2012 11:20 PM)TriSix Wrote: What? awesome? Are you joking?...
Yeah, probably. More like:
epykpeanutbutterjellytime awesomeness.
Thanks though
HTML has some serious mad jelly towards the simplicity of MyCode. I can feel it.
RE: The Simplicity of MyCode. HTML, U MAD BRO? U MAD? - Alphaburner - Jul. 22, 2012
LOL, Insomiac gimme code.
RE: The Simplicity of MyCode. HTML, U MAD BRO? U MAD? - sarabscientist - Jul. 22, 2012
(Jul. 22, 2012 3:42 AM)KnightIfraid15 Wrote: LOL, Insomiac gimme code.
U WANT CODE BRO? U WANT CODE?
Just kidding, though I'll take that as a "Nice guide dude!".
But yeah, I think I can answer any questions regarding the use of MyCode on this forum. Just ask if needed
RE: MyCode - sarabscientist - Jul. 22, 2012
I think I've pretty much finished the guide. If there is anything I need to add, just tell me. Also, feel free to post any questions regarding MyCode features on this forum.
RE: Extensive MyCode Tutorial [Being Edited] - Janstarblast - Jul. 26, 2012
That's a great guide, Insomniac!
(Jul. 20, 2012 12:51 PM)Insomniac Wrote: (Jul. 20, 2012 12:48 PM)Ginga Blader#1 Wrote: Nice guide! I hope it covers some things that the MyCode doesn't.
Eh, mainly just elaboration. The two main things were the "image linking" and the "custom spoiler text" part.
Ah yes, the elaboration seemed to be quite important.
Even though the WBO Help Section does give information about the use of MyCode on this Forum, certain people fail to understand it and hence end up asking questions about it in certain threads(no wonder certain newbies would picture you as a mad scientist to call MyCode "simple", LOL!).
Or rather, they just don't read the Help Section...
So yeah, even though you have just elaborated on what was already given in WBO's Help Section, it does have a lot of significance; provided members actually read it(well, if they don't care to read the "short and sweet" Help Section, they'd actually never come here, haha!)...
RE: MyCode [Guide] - sarabscientist - Jul. 26, 2012
The "most-asked" question on the WBO regarding MyCode is how to make spoilers. Because they aren't included in the help section.
The guide will hopefully get people to understand the basics (the [***] and [/***] tags). Because I see a lot of members forgetting to close tags or erase the last bracket from a tag.
Long story short, it ticks me off to see broken codes, haha.
RE: MyCode [Guide] - Janstarblast - Jul. 26, 2012
Ah yes, I know how people usually ask about Spoilers.
Aaaand, this guide succeeds in explaining the basics of MyCode very well!
Maybe you'd like to know-
[spoiler]Insomniac is awesome!
Sorry for ticking you off, haha!
RE: MyCode [Guide] - sarabscientist - Jul. 26, 2012
Its worse when people forget the [/quote] tags. Really.
It feels incomplete.
Also, its funny when you referred to me as a "mad-scientist". Because my previous username was indeed "SarabScientist"!
RE: MyCode [Guide] - TakasuMouce - Jul. 27, 2012
Even after this, I can almost bet someone will ask "How do you put images in your signature?"
But I love how you're making up for your little "mistakes."
Hope you write more, SarabScientist
I still remember the good old days, when your username was SarabScientist, and Mine was Takasu...
-Takasu the Mouse
RE: MyCode [Guide] - sarabscientist - Jul. 27, 2012
Haha, in my other guide (User CP) it shows how to do stuff with your signature.
RE: MyCode [Guide] - Argentum - Aug. 11, 2012
I Never Knew You Could Resize Things Through MyBB Anyway, Great Guide!
RE: MyCode [Guide] - sarabscientist - Aug. 11, 2012
(Aug. 11, 2012 12:29 PM)麦ã‚らルフィ Wrote: I Never Knew You Could Resize Things Through MyBB Anyway, Great Guide!
Well now you know
RE: MyCode [Guide] - TentacleZooka - Sep. 20, 2012
how do i get the url?
|