Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

foro sin header y sin footer

🔓 Foros cerrados y son sólo de lectura
Cerrado
kintaniya
Observador/a
Mensajes: 24
Registrado: 21 Mar 2004, 20:03

foro sin header y sin footer

#1

Mensaje por kintaniya »

Pues kiero saber como kitar el overall_header y overall_footer para q solo me cargue la parte central, eso si, respetando el copyrigth y demas...
thnx 8)
The Legend Will Never Die... & ...LeM0nS rULeS mY w0rRLd.
<div align="center">Imagen</div>

Avatar de Usuario
ThE KuKa
Administrador
Mensajes: 10432
Registrado: 04 Ene 2004, 19:27
Género:
Edad: 50

#2

Mensaje por ThE KuKa »

Es algo que no se exactamente, para el footer mira a probar esto:
Abre el archivo /includes/page_tail.php y busca esto:

Código: Seleccionar todo

//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';

$template->set_filenames(array(
	'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl')
);

$template->assign_vars(array(
	'PHPBB_VERSION' => '2' . $board_config['version'],
	'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '', 
	'ADMIN_LINK' => $admin_link)
);

$template->pparse('overall_footer');
En lugar de borralo, cambialo por esto, asi si pasa "algo" tienes una solucion "rapida"

Código: Seleccionar todo

/*
//
// Show the overall footer.
//
$admin_link = ( $userdata['user_level'] == ADMIN ) ? '<a href="admin/index.' . $phpEx . '?sid=' . $userdata['session_id'] . '">' . $lang['Admin_panel'] . '</a><br /><br />' : '';

$template->set_filenames(array(
	'overall_footer' => ( empty($gen_simple_header) ) ? 'overall_footer.tpl' : 'simple_footer.tpl')
);

$template->assign_vars(array(
	'PHPBB_VERSION' => '2' . $board_config['version'],
	'TRANSLATION_INFO' => ( isset($lang['TRANSLATION_INFO']) ) ? $lang['TRANSLATION_INFO'] : '', 
	'ADMIN_LINK' => $admin_link)
);

$template->pparse('overall_footer');
*/
Para el header lo mirare mas detenidamente.

S@lu2

📌 Raul [ThE KuKa] en phpBB 📌
✅ Jr. Extension Validator - Jr. Styles Validator - Style Customisations - Translator - International Support Team
✅

Si te gustan mis estilos, traducciones, etc. y quieres mostrar algo de aprecio, no dudes en hacer una donación Imagen
:flag_es: phpBB España - En línea desde 2003 :heart:



kintaniya
Observador/a
Mensajes: 24
Registrado: 21 Mar 2004, 20:03

Re: foro sin header y sin footer

#3

Mensaje por kintaniya »

ok, pos voy a ir probando, asias
The Legend Will Never Die... & ...LeM0nS rULeS mY w0rRLd.
<div align="center">Imagen</div>

Cerrado

Volver a “Archivo phpBB 2.0”