allow iframe and html

hi,

how can i allow <iframe> tag script and html script in orca forum only by admin ?

i dont want my members to be able to put <iframe> in my site.

 

regards

mchauhan

Regards........ M.Chauhan U.K.
Quote · 7 Sep 2009

phpBB3 integration.  Orca is not a  very friendly forum script and should be the first thing you kick out of your Dolphin site

Quote · 7 Sep 2009

I'm not quite sure if this article suites your needs, but this guy has a way to take out the "html" button in the tiny mice editors. Maybe there's something you can use. here's the link. http://www.dialme.com/articles/entry/How-to-Remove-Disable-the-HTML-button-in-Dolphin-Orca-editors

Quote · 7 Sep 2009

MD is right about Orca.  This would be a really easy thing to do in any REAL forum script.

I'm not sure it can be done, but you might be able to add a bit of javascript to safehtml.php to allow the iframe tag by admins, while still stripping the tag for all other users.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 7 Sep 2009

Actually, I think this can be done in Orca Houston, and you just gave the solution to it... Someone else can work out all the code in completion...

 

Hop into orca/classes/DbForum.php and note the iflogged and so on for Orca, now, with a little page_extrajs we can set it to recognize if Admin logged true then it calls up TinymceCompact that has a ton of options, but if Admin Logged false then we call up tinymceJS that has a lot less options. 

 

Thanks for the tuning of my brain, now someone else can right the full functions out.

 

 

Quote · 8 Sep 2009

MD, I'm not sure you can do it from there.  My D6 expertise sucks, but I think every post by tinymce is filtered by safehtml.php  In any case, it's more than my little brain wants to deal with..... got way to much of my own crap to deal with.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 8 Sep 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.