Uutiset:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu
Advertisement:

enable .js in posts?

Aloittaja Chemicaltrails, kesäkuu 09, 2011, 10:41:20 AP

« edellinen - seuraava »

Chemicaltrails


Does anyone know the best way to give the forum admin the ability to ebmed .js into the forum posts? Thanks for any ideas.

SMF 1.1.12


Illori


Chemicaltrails

Thanks for the quick reply... I searched the smf mod site for html bbc ... is this the plugin your referring to:
http://custom.simplemachines.org/mods/index.php?mod=411

Thank you for the clarification.

Illori

no it is [html] it is a built in feature.

Chemicaltrails

I tried posting the following but the .js didn't render when I clicked the "preview post" button....

My "Enable basic HTML in posts" box is checked under admin > manage posts and topcis > Bulletin Board Code >

Here is the .js script I was trying to include:
[html]<script language='JavaScript' src="myscripthere.js" type="text/javascript"></script>[/html]

Solution: The .js wasn't rendering in the "preview post" mode... once I actually posted the post it did render.

Thanks for the quick help guys! clicking on some ads now!

Advertisement: