Support Forum

Javascript in Forum Post

DV Da Vinci
Da Vinci
Member

I’m new to Simple Press and trying to add a script to one of the forum posts, when I do the preview it shows but when I try to save it doesn’t.  

 

Any idea how to fix this?

 

It’s for a giveaway that I only want members to see so I setup a giveaway forum and tried to add the script to a forum post. hope that makes sense.

 

Thanks in advance!

3 Answers

New Answer

MP Mr Papa
Mr Papa
Member

um, you really want folks posting javascript in your forum posts, do you???  that would be a huge security risk and allow them total access to your server…  so all javascript is stripped out of posts…

does your plugin allow use of shortcodes? much better way to protect content for certain users..

DV Da Vinci
Da Vinci
Member

I can check I didn’t want anyone else posting it, as the Admin I would be the only one with the capability to do so.  But I understand the risk. I’ll check for a shortcode.

 

Thanks for the reply 🙂

MP Mr Papa
Mr Papa
Member

sorry we strip all js from posts…  if you cant find a good plugin for hiding some content with shortcodes, come on back and I can point you to some…