MyBB Community Forums

Full Version: Custom MyCode does not appear in the editor
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

  1. I installed the usual forumI installed the theme "novus-cardinal" on forum
  2. I installed the theme "ACP BlueVision" in ACP.
  3. I installed Plugins the "Anti Proxy. (1.1) and Checkbox Validation (1.1)".
  4. I created a bbcode of a "div" custom activated it, and will not appear in the text editor.What can I do to solve?
my forum mangosweb-cata-skyfire.tk
MyCode:
description =
description
Regular Expression =
\[b\](.*?)\[/b\]
replacement =
<style type="text/css">
.bordaBox .conteudo {
	color:#FFFFFF;
	position:absolute; align: left;
	padding:5px;display:block; 
	box-shadow: 0px 0px 5px #161616;
	background:#161616;
}
</style>
<div class="bordaBox">
<div class="conteudo">
<strong>$1</strong>
</div>
</div>
regular expression could be \[div\](.*?)\[/div\] not sure that you can use \[b\](.*?)\[/b\]
[b]Bold[/b]

a) That mycode is already in use and won't parse with your custom mycode
b) For adding buttons to text editor see this thread http://community.mybb.com/thread-91131.html
(2013-04-06, 07:15 AM).m. Wrote: [ -> ]regular expression could be \[div\](.*?)\[/div\] not sure that you can use \[b\](.*?)\[/b\]
Thank you, thanks, the name of mycode not important but the (.*?) and $1 are important

(2013-04-06, 09:54 AM)Johnny S Wrote: [ -> ]
[b]Bold[/b]
a) That mycode is already in use and won't parse with your custom mycode
b) For adding buttons to text editor see this thread http://community.mybb.com/thread-91131.html
Thank you, thanks, Helped me a lot