PDA

View Full Version : disable flash in signature


dxb
08-11-2001, 02:41 AM
I having majer problems because users are using flash files in their signature so is there is any way of disabling or preventing the users from using flash

I hope somebody will help me out with this

mjames
08-11-2001, 12:14 PM
Just disable HTML in signatures.

Admin
08-11-2001, 12:37 PM
No need in disabling HTML.

In functions.php find
if(!$dohtml) { // kill any rogue html code
// $bbcode=str_replace("&","&",$bbcode);
$bbcode=str_replace("<","<",$bbcode);
$bbcode=str_replace(">",">",$bbcode);
$bbcode=str_replace("<","&lt;",$bbcode);
$bbcode=str_replace(">","&gt;",$bbcode);
}
And below add
$bbcode=str_replace("<FLASHCODE>","&lt;FLASHCODE&gt;",$bbcode);
But replace FLASHCODE with the code that calls in the movie.

:)

firas
10-02-2005, 05:10 AM
what about 3.0.9? does work the same way cuz i could not find it