Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Javascript in Forum Post
Avatar
Oluwatoyin Ajayi
United States
Rookie
Free Members
sp_UserOfflineSmall Offline
May 10, 2012 - 6:02 pm

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!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 10, 2012 - 9:56 pm

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

Avatar
Oluwatoyin Ajayi
United States
Rookie
Free Members
sp_UserOfflineSmall Offline
May 11, 2012 - 11:07 am

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 🙂

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 11, 2012 - 7:11 pm

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

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626