MyBB Community Forums
Java Script in MyCode Not working. Any Ideas? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Resources (https://community.mybb.com/forum-8.html)
+--- Forum: MyCodes (https://community.mybb.com/forum-117.html)
+--- Thread: Java Script in MyCode Not working. Any Ideas? (/thread-93865.html)



Java Script in MyCode Not working. Any Ideas? - mooson94 - 2011-05-08

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?


RE: Java Script in MyCode Not working. Any Ideas? - Yaldaram - 2011-05-08

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.


RE: Java Script in MyCode Not working. Any Ideas? - mooson94 - 2011-05-08

(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.


RE: Java Script in MyCode Not working. Any Ideas? - Yaldaram - 2011-05-08

Unless you allow HTML in posts, you can't run javascript mycodes.


RE: Java Script in MyCode Not working. Any Ideas? - mooson94 - 2011-05-08

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.


RE: Java Script in MyCode Not working. Any Ideas? - Yaldaram - 2011-05-08

I just checked the above MyCode and its working here.


RE: Java Script in MyCode Not working. Any Ideas? - mooson94 - 2011-05-08

Sad Could I have messed up a setting? And does it work in preview(before save)