2008-04-09, 04:41 AM
2008-04-09, 04:47 AM
You need enable HTML, but I don't recommend it. It can be insecure. You may be vulnerable to Cross Site Scripting hacks.
2008-04-09, 05:02 AM
I have enabled HTML but still no luck. Only admins/super mods has permission to post in that forums.
2008-04-09, 05:06 AM
oh? Hmm sorry. I thought you could with HTML enabled.. I'll test on my localhost and see.
2008-04-09, 06:26 AM
MyBB strips out any Javascript for security reasons. You can remove it in inc/class_parser.php, but I highly recommend against it.
2008-04-09, 10:30 PM
A safer alternative is to create a custom MyCode which will run the Javascript. However, this also means that normal users will also be able to use it.
2008-04-10, 04:08 AM
DennisTT Wrote:MyBB strips out any Javascript for security reasons. You can remove it in inc/class_parser.php, but I highly recommend against it.Thanks Dennis. As you said, I think I shouldn't go for editing the php files.
ZiNgA BuRgA Wrote:A safer alternative is to create a custom MyCode which will run the Javascript. However, this also means that normal users will also be able to use it.I tried with custom MyCode also.. But myBB is replacing the <script tag with >script. :-)
2008-04-10, 07:14 AM
cgshelf Wrote:The custom MyCode itself must have the <script> tag.ZiNgA BuRgA Wrote:A safer alternative is to create a custom MyCode which will run the Javascript. However, this also means that normal users will also be able to use it.I tried with custom MyCode also.. But myBB is replacing the <script tag with >script. :-)
Post your custom MyCode regular expression and replacement.