Before I get ripped a new one, let me point out that I've searched for this in the archives for the last couple days, and all I've succeeded at is getting more confused. Here's the question:
Has anyone succesfully hacked the KSES file to allow iframe and/or javascript based on some kind of permission logic (blog user or some such)?
I need to be able to circumvent the filters for a few specific "power" users - specifically when it comes to iframe and JS. I've looked over the KSES file multiple times, and I'm not savvy enough with PHP (yet!) to fully understand some of the logic (I apologize profusely).
The first thing I tried was to allow iframe (I guess permission logic will have to be added later??). I added iframe to the $allowedposttags array as well as the $allowedtags array. Result after attempting to add iframe to a page - the iframe tags remained, but everything between them was stripped? So, obviously I've only covered the the first step.
Am I going in the wrong direction for this to work?
Thanks,
Wally