first off why upgrade to phpnuke 8?? there are better distro's out there like ravennuke or nuke-evolution that offer better things and whats more better security. Anyway the way i allways solve these problems is within the config.php or in some CMSes the mainfile.php anyway look for
| Quote:
|
|
$AllowableHTML = array('b'=>1,'i'=>1,'u'=>1,'div'=>2,'a'=>2,'em'=>1,'br'=>1,'strong'=>1,'blockquote'=>1,'tt'=>1,'li'=>1,'ol'=>1,'ul'=>1);
|
you could all ways just add the codes you need
| Quote:
|
|
'object' => array('width' => 1, 'height' => 1), 'embed' => array('src' => 1, 'width' => 1, 'height' => 1, 'wmode' => 1, 'type' => 1),
|
or you could use my one?
| Code:
|
$AllowableHTML = array(
'a' => array('href' => 1, 'target' => 1, 'title' => array('minlen' => 4, 'maxlen' => 120)),
'b' => array(),
'blockquote' => array(),
'br' => array(),
'center' => array(),
'div' => array('align' => 1),
'em' => array(),
'embed' => array('src' => 1, 'width' => 1, 'height' => 1, 'wmode' => 1, 'type' => 1),
'font' => array('face' => 1, 'style' => 1, 'color' => 1, 'size' => array('minval' => 1, 'maxval' => 7)),
'h1'=>array(),
'h2'=>array(),
'h3'=>array(),
'h4'=>array(),
'h5'=>array(),
'h6'=>array(),
'hr' => array(),
'i' => array(),
'img' => array('alt' => 1, 'src' => 1, 'hspace' => 1, 'vspace' => 1, 'width' => 1, 'height' => 1, 'border' => 1, 'align' => 1),
'li' => array(),
'object' => array('width' => 1, 'height' => 1),
'ol' => array(),
'p' => array('align' => 1),
'param' => array('name' => 1, 'value' => 1),
'pre' => array('align' => 1),
'span' =>array('class' => 1, 'style' => array('font-family' => 1, 'color' => 1)),
'strong' => array(),
'strike'=>array(),
'sub'=>array(),
'sup'=>array(),
'table' => array('align' => 1, 'border' => 1, 'cell' => 1, 'width' => 1, 'cellspacing' => 1, 'cellpadding' => 1),
'td' => array('align' => 1, 'width' => 1, 'valign' => 1, 'height' => 1, 'rowspan' => 1, 'colspan' => 1, 'bgcolor' =>1 ),
'tr' => array('align' => 1),
'tt'=>array(),
'u' => array(),
'ul' => array(),
);
|
let me know if that worked?
|