mod-announces 3.0.2 Solucion error al postear
Publicado: 06 Nov 2006, 11:05
Hola: Aqui os dejo la solucion al error, que da al postear. No salen los anuncions Globales http://www.phpbb.com/phpBB/viewtopic.ph ... &start=375
Antes de efectuar cambios hacer copias de seguridad
Código: Seleccionar todo
#
#---[ OPEN ]--------------
#
posting.php
#
#---[ FIND ]------------------
#
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
#
#---[ REPLACE WITH ]-----------------
#
//--- mod : Announces suite ----------------------------
//-- delete
/*
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
*/
//-- add
$topic_type = ( in_array($topic_type, array(POST_NORMAL, POST_STICKY, POST_ANNOUNCE, POST_GLOBAL_ANNOUNCE)) ) ? $topic_type : POST_NORMAL;
//--- fin mod : Announces suite ------------------------
#
#---[ OPEN ]--------------
#
includes/functions_announces.php
#
#---[ FIND ]------------------
#
if (!empty($tree_forum_ids))
{
$sql_where .=
#
#---[ REPLACE WITH ]-----------------
#
if (!empty($tree_forum_ids))
{
// $sql_where .=
Saludos a todo el foro y a disfrutar