Problema con simple hide mod 0.3.0
Publicado: 18 Mar 2011, 19:47
Hace dias active el modo debug en mi foro ,para ver si habia errores ,ya vaya si los habia ,llevo bastantes ya corregidos ,pero este ultmo del simple hide mod se me resiste
que corresponde a fragmento de lineas del simple hide mod 0.3.0
el cambio que pide el mod es
buscar
y añadir despues
Este es el simple hide mod 0.3.0
http://www.phpbb-es.com/foro/viewtopic. ... 18&t=24821
la linea 459 del posting.php es[phpBB Debug] PHP Notice: in file /posting.php on line 459: Undefined index: bbcode_uid
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4758: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3772)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4760: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3772)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4761: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3772)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3772)
Código: Seleccionar todo
$uid = $post_data['bbcode_uid'];
Código: Seleccionar todo
$uid = $post_data['bbcode_uid'];
$user->add_lang('mods/simple_hide_bbcode');
if ($mode == 'edit' or $unhide == true)
{
$message_parser->message = $message_parser->message;
}
else
{
$message_parser->message = preg_replace("#\[hide:$uid\].*?\[/hide:$uid\]#ise", "\$user->lang['HIDDEN_MESSAGE']", $message_parser->message);
}
buscar
Código: Seleccionar todo
$message_parser->message = &$post_data['post_text'];
Código: Seleccionar todo
$uid = $post_data['bbcode_uid'];
$user->add_lang('mods/simple_hide_bbcode');
if ($mode == 'edit' or $unhide == true)
{
$message_parser->message = $message_parser->message;
}
else
{
$message_parser->message = preg_replace("#\[hide:$uid\].*?\[/hide:$uid\]#ise", "\$user->lang['HIDDEN_MESSAGE']", $message_parser->message);
}
http://www.phpbb-es.com/foro/viewtopic. ... 18&t=24821