01-01-2022, 10:25 AM
3
Capturas[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
Nota: La captura esta creada con imágenes de color liso para que se vea mejor el efecto.
Ejecutar esta consulta
Código PHP: ( Seleccionar Todo )
ALTER TABLE `w_configuracion` ADD `c_max_heads` INT(2) NOT NULL AFTER `c_allow_edad`;
En header.php
Buscar:
Código PHP: ( Seleccionar Todo )
// Baneo por IP
Arriba agregar:
Código PHP: ( Seleccionar Todo )
//Cantida de imagenes a ocupar de head
$smarty->assign('tsHead',rand(1,$tsCore->settings['cons']['c_max_heads']));
En c.admin.php --> inc --> class --> c.admin.php
Buscar:
Código PHP: ( Seleccionar Todo )
'max_nots' => $tsCore->setSecure($_POST['max_nots']),
Debajo agregar:
Código PHP: ( Seleccionar Todo )
'max_heads' => $tsCore->setSecure($_POST['max_heads']),
Buscar:
Código PHP: ( Seleccionar Todo )
`offline_message` = \'' . $c['offline_message'] . '\'
Al lado agregar:
Código PHP: ( Seleccionar Todo )
, `c_max_heads` = \'' . $c['max_heads'] . '\'
En c.core.php --> inc --> class --> c.core.php
Buscar:
Código PHP: ( Seleccionar Todo )
$this->settings['tema'] = $this->getTema();
Debajo agregar:
Código PHP: ( Seleccionar Todo )
$this->settings['cons'] = $this->getSettings();
En main_header.tpl --> themes --> default --> templates --> sections --> main_header.tpl
Buscar:
Código PHP: ( Seleccionar Todo )
<div id="maincontainer">
Reemplazar por:
Código PHP: ( Seleccionar Todo )
<div id="maincontainer" style="background:#004A95 url('{$tsConfig.tema.t_url}/images/headers/{$tsHead}.gif') repeat-x top center;">
En m.admin_configs.tpl --> themes --> default --> templates --> admin_mods --> m.admin_configs.tpl
Buscar:
Código PHP: ( Seleccionar Todo )
<dl>
<dt>
<label for="ai_max_acts">Máximo de actividades:</label>
<br /><span>Cuantas actividades puede registrar un usuario.</span></dt>
<dd>
<input type="text" id="ai_max_acts" name="max_acts" style="width:10%" maxlength="3" value="{$tsConfig.c_max_acts}" />
</dd>
</dl>
<hr />
Debajo agregar:
Código PHP: ( Seleccionar Todo )
<dl>
<dt><label for="ai_max_acts">Máximo de headers:</label><span>Selecciona la cantidad de head's máximo que apareceran.</span></dt>
<dd><input type="text" id="ai_max_heads" name="max_heads" style="width:10%" maxlength="3" value="{$tsConfig.c_max_heads}" /></dd>
</dl>
En estilo.css --> themes --> default --> estilo.css
Buscar:
Código PHP: ( Seleccionar Todo )
#maincontainer{
background:#004A95 url('images/maincontainerbg.gif') repeat-x top center;
width:984px;
height:auto;
margin:0 auto;
position:relative;
}
Reemplazar por:
Código PHP: ( Seleccionar Todo )
#maincontainer{
width:984px;
height:auto;
margin:0 auto;
position:relative;
}
Crear una carpeta llamada headers dentro de la carpeta images, las imágenes deben tener nombre de numero y en formato GIF.
Cita:themes --> default --> images --> headers
Creditos: Debes agradecer para ver el contenido...



Facebook
Twitter
Reddit
Digg
del.icio.us
Tumblr
Pinterest
Blogger
Fark
LinkedIn
Mix
Google