PDA

View Full Version : modding a script..


Ankun
12-19-2002, 02:35 AM
I'm using this script for my news, coranto, I'm sure most of you have heard of it, one of my staff seems to be adding iframes in his news posts, and basically I'd liek to just ban the tag, <iframe> so he wont be able to do this anymore, any suggestions, or does anyone know of mods for adding tagbans? :\

ACJavascript
12-19-2002, 06:54 PM
You might be able to replace with somthing like this....um,, i havn't tested it so it might not work LOL :D

$value is the scalar variable that has the info for the news coming in.

$value =~ s/\<iframe><\/iframe>//g;



that should replace <iframe> and </iframe> with a space. or nothing for that matter :D