MyBB Community Forums

Full Version: remove php code button and add own highlighting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.
I'm on a fresh install of mybb1.8 and need to remove the php code button.
Additionally I would like to add a customized highlighting to the standard code button?
How to do both of those things, where to look?

Thanks in advance...
php code button? a image would be great or forum url.
Hi, you can write this code at the end of global.css to hide php code button Smile :

[data-sceditor-command=php] {
    display: none !important;
}

And for highlighting codes, you can use highlightjs.org, like my forum Big Grin :
http://construct2.ir/showthread.php?tid=1076