Mirad, estoy intentando poner en mi foro este MOD: http://www.phpbb-es.com/foro/mods-desar ... as#p198051
Pero no logro ponerlo, ni siquiera con la solución que me di el año pasado en ese mismo post.
Por si ayuda, al poner el modo debug me salta esto:
Código: Seleccionar todo
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions.php on line 4732: Undefined property: stdClass::$locale
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4973: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3900)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4975: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3900)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4976: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3900)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4977: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3900)
Saludos!!Cuando voy al acp y en "Activar "Smashable Christmas Lights" " pongo que sí y lo envío, cuando vuelvo a esa misma página me aparece seleccionado un no...
PD: Para que se vean las luces, he intentado quitar los <--- IF XXX ---> de overall_header, pero naaaaaaada. También lo he repasado, he limpiado caché, refrescado plantillas y todo eso :/
EDITO: Ya lo solucioné! En includes/functions.php reemplacé:
Código: Seleccionar todo
'S_SCL_ENABLED' => ($config['scl_enabled']) ? true : false,
Código: Seleccionar todo
'S_SCL_ENABLED' => (!empty($config['scl_enabled'])) ? true : false,
Código: Seleccionar todo
<div id="lights"><!-- lights go here --></div>
Código: Seleccionar todo
<div id="box">