Java Script in MyCode Not working. Any Ideas?
#1
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?
Reply
#2
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.
Reply
#3
(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.
Reply
#4
Unless you allow HTML in posts, you can't run javascript mycodes.
Reply
#5
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.
Reply
#6
I just checked the above MyCode and its working here.
Reply
#7
Sad Could I have messed up a setting? And does it work in preview(before save)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)