News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Ativar permissão de inserir código html nos posts

Started by thebuffalo, November 14, 2014, 12:30:21 PM

Previous topic - Next topic

thebuffalo

Como ativar a permissão de inserir código html nos posts?

margarett

Só dá para administradores. Não há permissão para isso...
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

thebuffalo

Quote from: margarett on November 14, 2014, 12:34:00 PM
Só dá para administradores. Não há permissão para isso...

Mas nem eu administrador consigo postar html =(

margarett

Espera... Pode haver um problema no SMF em relação a isso. um bugalho :P no 2.0.9

Podes postar o teu Subs-Post.php?
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair


margarett

Sim, confirma-se.

Substitui a tua linha 239 por isto:
$htmlfunc = create_function('$m', 'return \'[html]\' . strtr(un_htmlspecialchars("$m[1]"), array("\n" => \'
\', \'  \' => \'  \', \'[\' => \'[\', \']\' => \']\')) . \'[/html]\';');
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

vms

Se quiseres para outros grupos de membros (não aconcelhado) existe um Mod é uma verção antiga mas funciona.
http://custom.simplemachines.org/mods/index.php?mod=411

Advertisement: