MyBB Hacks

Full Version: Easy MyCodes
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
i dont understand this plugin Ouch
^ Don't bother using it then >_>
It assumes a certain amount of knowledge with custom MyCodes.
Very nice! It allows me add myCode faster. thank You!
hello friends.

I have a problem with the code {COLOR}.

if I use the code {CSS} quasi-normal. if there is something wrong with the code {COLOR}?

image :
http://gyazo.com/ab89d731ce1cddf33d24b84cc2948fb5

http://gyazo.com/0a692186fcf4d43dac69f0fb5587a24a
Looks like a bug - can you please try this?
In easymycode.php, find:

PHP Code:
'([a-z\-]+|#?[0-9a-fA-F]{6})',

replace with:

PHP Code:
'([a-z\-]+|\\#?[0-9a-fA-F]{6})',

Biggrin

This code seems there is a little problem:

Code:
'([a-z\-]+|\\#?[0-9a-fA-F]{6})', 


I like this change and everything is back to normal. :

Code:
'([a-z\-]+|\#?[0-9a-fA-F]{6})', 


helo Zinga.

I want this code added uppercase and lowercase letters and numbers as well. how to make it.

This plugin is no further development, such as adding more code.

I want a plugin that is very easy to make this code developed constantly.
(07-28-2013 12:50 PM)ikhwanulfikri Wrote: [ -> ]I like this change and everything is back to normal. :
I don't see how that code is actually any different from mine...  Two backslashes is more "correct", but PHP will fix it if you only have one.

(07-28-2013 12:50 PM)ikhwanulfikri Wrote: [ -> ]I want this code added uppercase and lowercase letters and numbers as well. how to make it.
MyBB's parser is case insensitive, so a lower/upper case colour seems to work fine, eg "Red" and "red" act the same way.
If you're asking for tokens to be case insensitive, eg "{color}" be recognised, this isn't the intention of the plugin.
(07-31-2013 08:29 PM)ZiNgA BuRgA Wrote: [ -> ][quote='ikhwanulfikri' pid='13970' dateline='1374979841']
I like this change and everything is back to normal. :
I don't see how that code is actually any different from mine...  Two backslashes is more "correct", but PHP will fix it if you only have one.

yea Zinga.

I've tried 2 back slash and the case, as seen above. and I change the 1 backslashes and it worked.

I saw it. Biggrin
Updated to v1.1 to fix above issue.
Thanks for finding!
v1.2: Mark compatible with MyBB 1.8
Pages: 1 2 3
Reference URL's