Support Forums
[TUT] How to make a MyCode [MyBB] - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Webmaster Support (https://www.supportforums.net/forumdisplay.php?fid=36)
+---- Forum: Forum Software Help (https://www.supportforums.net/forumdisplay.php?fid=49)
+---- Thread: [TUT] How to make a MyCode [MyBB] (/showthread.php?tid=19233)

Pages: 1 2


[TUT] How to make a MyCode [MyBB] - Laughynose - 06-02-2011

Hello everyone, this is going to be my first detailed tutorial for Support Forums, I've hardly seen these around and some people say they are the easiest but you'll be surprised about how many people get confused with this type of stuff, this will be a detail on how to make a MyCode.

Pick a theme
When making anything you need a theme, with a theme you can choose what you're whole project is going to be about, for example, my latest project was THIS, now this is a set of Moderator Tags that give a red color warning to users, I decided to make this because there's a few of them out there and most of them are un-readable.

Choose a title
Now a title can be anything, I chose for my Moderator Tags the title "Moderation Tags" since they are the most easiest to remember and they give you a clear understanding of what they are and what that section of tags are used for.

Write a description
Now writing a description is normally one of those stupid jobs that are most unlikely needed unless you've done a really bad title, if that is the case then you should be using the description to describe on what your MyCode is all about, for example: "I just made a yellow tag that gives the user a yellow background and named it Yellow, now I might know what is it but other staff members might not, so you add this description"Turns you're normal text to have a yellow background", now I hope you understand that".

Regular Expression
Now you're probably wondering what these are, well these are the MAIN tags for a forum, for example, these control you're whole MyCode, since the user will use the "Regular Expression" to make the MyCode active this will be the best bet, so normally these expressions always represent the theme of the MyCode for example, my Moderator Tags have the expression \[warn\](.*?)\[/warn\] since they are mostly used for warnings, you can use these for nearly anything but you must stick to the format "\[EDIT\](.*?)\[/EDIT\]", now you can only edit the bits that are named EDIT since that is what the user will use to get in contact with the MyCode.

Replacement
Now we're onto the big stuff! The replacement is more important then the Regular Expressions since this is what the expression will echo out of the user. Now the expression is basically the whole MyCode, this can be used to basically "make" the whole MyCode work, it's important that you must remember to use $1 normally in the center of you're MyCode since that is what let's the user implant their own text.

Now the other ones I don't need to explain, now I'm not going to read over this but if you liked it and if you see a spelling mistake simply message me or post below regarding the spelling mistake, I hope you guys enjoyed this "HOW TO CREATE A MYCODE".


RE: [TUT] How to make MyCode [MyBB] - Focnr - 06-02-2011

Awesome tutorial, amazing job.
Big Grin This really helps!


RE: [TUT] How to make MyCode [MyBB] - Laughynose - 06-02-2011

You're very welcome, just about to post on other websites. Smile


RE: [TUT] How to make a MyCode [MyBB] - Link - 07-04-2011

This seems like a decent tutorial. Good job. But some people I have noticed have already realized what type of site they want, name and theme design. Though this helps fill in the gaps before hand.


RE: [TUT] How to make a MyCode [MyBB] - B3cnoc - 07-07-2011

good job. very usefull Smile


RE: [TUT] How to make a MyCode [MyBB] - Laughynose - 07-09-2011

Glad you like it, took me sometime to make.


RE: [TUT] How to make a MyCode [MyBB] - Kyle FYI™ - 07-11-2011

I have always wanted to know how to do this thanks.



RE: [TUT] How to make a MyCode [MyBB] - Laughynose - 07-13-2011

You're very welcome, if you're unsure about anything please just mention it too me! Smile


RE: [TUT] How to make a MyCode [MyBB] - Relapse - 07-13-2011

This is pretty cool as i never knew how to do this. Thanks Man!


RE: [TUT] How to make a MyCode [MyBB] - Drakon - 07-20-2011

This is really cool, thank you.