WYSIWYG BBCode for Mybb [ No xss,and no enable html ]
#11
[Image: CS0.8425523_1_1.jpg]

No error "The messenger is missing"

Add mybb

- Upload source into root forum !

Edit Newthread stemplate !
Find :
<form action="newthread.php?fid={$fid}&amp;processed=1" method="post"  enctype="multipart/form-data" name="input">

add : after method="post" :
onsubmit="doCheck();"

Find :
<textarea id="message" name="message" rows="20" cols="70" tabindex="2" >{$message}</textarea>

replace :

	<div class="richeditor">
		<div class="editbar">
			<button title="bold" onclick="doClick('bold');" type="button" style="background-image:url('wysiwyg-bbcode/images/text_bold.gif');"></button>
			<button title="italic" onclick="doClick('italic');" type="button" style="background-image:url('wysiwyg-bbcode/images/text_italic.gif');"></button>
			<button title="underline" onclick="doClick('underline');" type="button" style="background-image:url('wysiwyg-bbcode/images/text_underline.gif');"></button>
			<button title="hyperlink" onclick="doLink();" type="button" style="background-image:url('wysiwyg-bbcode/images/url.png');"></button>
			<button title="image" onclick="doImage();" type="button" style="background-image:url('wysiwyg-bbcode/images/img.gif');"></button>
			<button title="list" onclick="doClick('InsertUnorderedList');" type="button" style="background-image:url('wysiwyg-bbcode/images/icon_list.gif');"></button>
			<button title="color" onclick="showColorGrid2('none')" type="button" style="background-image:url('wysiwyg-bbcode/images/colors.gif');"></button><span id="colorpicker201" class="colorpicker201"></span>
			<button title="quote" onclick="doQuote();" type="button" style="background-image:url('wysiwyg-bbcode/images/quote.gif');"></button>
			<button title="youtube" onclick="InsertYoutube();" type="button" style="background-image:url('wysiwyg-bbcode/images/icon_youtube.gif');"></button>
			<button title="switch to source" type="button" onclick="javascript:SwitchEditor()" style="background-image:url('wysiwyg-bbcode/images/icon_html.gif');"></button>
		</div>
		<textarea name="message" id="tbMsg" style="height:350px;width:99.6%;">{$message}</textarea>
	</div>
	<script type="text/javascript">
		initEditor("tbMsg");
	</script>
My forum : WWW.VUISONG.ORG
Forum of life !
Reply
#12
But the smilies don't work? Confused
[Image: 40DS6Te.png]

Reply
#13
Yes ,this is problem ..and insert attackment .
Wysiwyg for mybb not enable html is topics of universal interest .
Thanks because all contribution will be welcome ,however small .
My forum : WWW.VUISONG.ORG
Forum of life !
Reply
#14
Thankss...
Hope that someone can help to fix this!
[Image: 40DS6Te.png]

Reply
#15
But is fine also mybb 1.6?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)