Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Add mybb code with input box
Not Solved
how are you?
thanks for you for your jobs.
I added flash bbcode to my forum with this code:

Parses quote MyCode

<object width="$2" height="$3">
<param name="movie" value="$1">
<embed src="$1" " type="application/x-shockwave-flash"></embed>

and it's perfect.
but I need when I press in its button ( which I add it to quick reply buttons ) use the input box to enter url of file, width and height. such as when I press on image button.

how I can do that?

thanks for all

I added that button by adding this code to "wysiwyg_quickreply" and "wysiwyg_default"
var tmpBBCode = { wysiwyg:0, bbCode:'Flash', htmlOpen:'', htmlClose:'', icon:'flash.gif', sourceCode:1, attributes:[{ attributeHTML:'', validationPattern:'^\\d+$', required:0 }] };
                extraBBCodes['Flash'] = tmpBBCode; sourceCodes['Flash'] = 'Flash'; language['Flash.title'] = "Insert Flash File";

can any one help me? please.
Thanks for all user who work for this great forum
My site is: Water Eng Forums
Bahaa Okba

Messages In This Thread
Add mybb code with input box - by bahaa87 - 2011-09-03, 11:18 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)