MyBB Community Forums

Full Version: Java Script in MyCode Not working. Any Ideas?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have attempted to make several MyCodes with Java and NONE of them work.

I even tried something simple that other users have done with success:
http://community.mybb.com/thread-93297.html
And no luck.

I also thought well maybe my computer/browser doesn't support Java(witch it does) so I had others try it and again, no luck.

I have made a few MyCodes w/o Java with much success and am sure im not doing them wrong..
Any ideas of why it wont work?
Make sure that your forum permissions allow posting HTML in posts.

ACP > Forums and Posts > Select that forum where you have posted that MyCode > Edit > Miscellanoues options > and Tick "Yes, allow HTML in posts" option.
(2011-05-08, 06:02 PM)Yaldaram Wrote: [ -> ]Make sure that your forum permissions allow posting HTML in posts.

ACP > Forums and Posts > Select that forum where you have posted that MyCode > Edit > Miscellanoues options > and Tick "Yes, allow HTML in posts" option.

I thought that was the point of BBcode, a shortcut and alternative to allowing users to use HTML. Also the BBcode doesnt work even in the preview before saving.
Unless you allow HTML in posts, you can't run javascript mycodes.
I enabled it and im getting:

<script type="text/javascript">
sdfsdf

When I type: [blink2]sdfsdf[/blink2] and hit preview post.

(using this Code: http://community.mybb.com/thread-93297.html and on other codes)
P.S. Yaldaram thank you for your quick replies.
I just checked the above MyCode and its working here.
Sad Could I have messed up a setting? And does it work in preview(before save)