Código: Seleccionar todo
Fatal error: Call to undefined function: birthday_interface()
En el index.php, buscar:
Código: Seleccionar todo
if ( $row['user_level'] == ADMIN )
{
$color = ' style="color:#' . $theme['fontcolor3'] . '"';
}
else if ( $row['user_level'] == MOD )
{
$color = ' style="color:#' . $theme['fontcolor2'] . '"';
}
Código: Seleccionar todo
if ( $row['user_level'] == ADMIN )
{
$color = ' style="color:#' . $theme['fontcolor3'] . '"';
}
else if ( $row['user_level'] == MOD )
{
$color = ' style="color:#' . $theme['fontcolor2'] . '"';
}
Luego:
Código: Seleccionar todo
#-----[ ABRIR ]------------------------------------------
#
includes/template.php
#
#-----[ BUSCAR ]------------------------------------------
# Esta es una búsqueda parcial
#
/**
* Generates a full path+filename for the given filename, which can either
* be an absolute name, or a name relative to the rootdir for this Template
* object.
*/
function make_filename($filename
#
#-----[ ANTES AGREGAR ]-----------------------------------
#
function birthday_interface()
{
global $lang;
// the following was adapted from bbcode.php's load_bbcode_template function.
$bday_filename = $this->make_filename('birthday_interface.tpl');
$fp = fopen($bday_filename, 'r');
$temp = fread($fp, filesize($bday_filename));
fclose($fp);
$temp = str_replace('\\', '\\\\', $temp);
$temp = str_replace('\'', '\\\'', $temp);
$temp = str_replace("\n", '', $temp);
$temp = preg_replace('#<!-- BEGIN (.*?) -->(.*?)<!-- END (.*?) -->#', "\n" . '$bday_tpls[\'\\1\'] = \'\\2\';', $temp);
$bday_tpls = array();
eval($temp);
$bday_format = preg_replace('#\\\\.|[^djFmMnYy]#','',$lang['DATE_FORMAT']);
$bday_format = substr(chunk_split($bday_format,1,'.'),0,-1);
$bday_template = isset($bday_tpls['bday_start']) ? $bday_tpls['bday_start'] : '';
$i = '';
while ( isset($bday_tpls["bday_month$i"]) && isset($bday_tpls["bday_day$i"]) && isset($bday_tpls["bday_year$i"]) )
{
if ( !empty($i) )
{
$bday_template.= isset($bday_tpls['bday_glue']) ? $bday_tpls['bday_glue'] : '';
}
$bday_template.= strtr($bday_format,array(
'd' => $bday_tpls["bday_day$i"],
'j' => $bday_tpls["bday_day$i"],
'F' => $bday_tpls["bday_month$i"],
'm' => $bday_tpls["bday_month$i"],
'M' => $bday_tpls["bday_month$i"],
'n' => $bday_tpls["bday_month$i"],
'Y' => $bday_tpls["bday_year$i"],
'y' => $bday_tpls["bday_year$i"],
'.' => isset($bday_tpls["bday_subglue$i"]) ? $bday_tpls["bday_subglue$i"] : '')
);
if ( empty($i) )
{
$i = 1;
}
$i++;
}
$bday_template.= isset($bday_tpls['bday_end']) ? $bday_tpls['bday_end'] : '';
$this->uncompiled_code['bday_interface'] = trim($bday_template);
// the following two lines are required for phpBB's that use the eXtreme Styles MOD, cache/template_file_cache.php,
// or other files bearing some sort of semblance to either of those. on phpBB's not using those MODs, these lines
// don't do much of anything.
// also, if you're using cache/template_file_cache.php and you change $lang['DATE_FORMAT'], you'll need to delete
// the appropriate *.php file in the birthday_interface directory.
$this->files['bday_interface'] = $this->make_filename('birthday_interface.tpl');
$this->filename['bday_interface'] = 'birthday_interface_'.$board_config['default_lang'].'.tpl';
$this->assign_var_from_handle('BIRTHDAY_INTERFACE','bday_interface');
}

lo traduzco a este tema para cualquiera que tenga el mismo problema que tuve yo encuentre la solución en esta web, yo conseguí esta solución en el foro de PHPBB, exactamente en ESTA respuesta...
cualquier problema pregunten...
saludos
