2010-05-29, 10:56 PM
Pages: 1 2
2010-05-29, 11:05 PM
[b*][/b]
this is a mycode
[s*][/s]
this is a mycode
[u*][/u]
this is a mycode
this is a mycode
[s*][/s]
this is a mycode
[u*][/u]
this is a mycode
2010-05-29, 11:20 PM
So tags and html codes are mycodes?
2010-05-29, 11:25 PM
No, HTML tags are HTML tags. MyCodes are ways of using HTML effects without using HTML itself. For example using [ b ]Text[ / b ] without the spaces is the same as doing <strong>Text</strong> in normal HTML. [ color = red ]Text[ / color ] is the same as doing <span style="color: red;">Text</span> in normal HTML.
2010-05-29, 11:26 PM
Well, there his codes , he posted them , but if you post them there your codes , then you can call them "myCodes*
Edit : couldnt help myself
Edit : couldnt help myself
2010-05-29, 11:37 PM
Ah, Ok, Thanks, I found a list: http://wiki.mybboard.net/index.php/MyCode, But do not understand how to add them so people can use them.
For those who dont know what the field looks like without logging into your forum, Here is the page:
For those who dont know what the field looks like without logging into your forum, Here is the page:
Add MyCode
Title *
Short Description
Regular Expression *
Enter a regular expression that will search for a specific combination of characters. You must make sure the regular expression is valid and safeāno validation is performed.
Example: \[b\](.*?)\[/b\]
Replacement *
Enter a replacement for the regular expression.
Example: <strong>$1</strong>
Enabled? *
Yes No
Parse Order
MyCodes will be parsed in ascending order relative to other MyCodes.
2010-05-30, 02:10 AM
most basic bhtml and formatting are already built into mybb's mycodes. you only need to add custom codes that are not already included by default. things like bold, size, color, links, images, strike, underline, bullet list, numbered list and probably a few more are builtin
2010-05-30, 05:24 AM
(2010-05-29, 11:37 PM)groovybluedog Wrote: [ -> ]But do not understand how to add them so people can use them.
You need to write a regular expression, these are quite complex so if you are not familiar with them start here http://en.wikipedia.org/wiki/Regular_expression
2010-05-30, 09:10 AM
I did not get a word of that lol - I have no clue about MyCodes, Expressions, ect.
2010-05-30, 10:34 AM
What sort of stuff are you wanting to add??
Pages: 1 2