11-21-2021, 03:00 PM
Capturas
En c.tops.php --> inc --> class --> c.tops.php
Buscar:
Debajo agregar:
Buscar:
Debajo agregar:
Buscar:
Debajo agregar:
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Buscar:
Debajo agregar:
En head_menu.tpl --> themes --> default --> templates --> sections --> head_menu.tpl
Buscar:
Debajo agregar:
Buscar:
Reemplazar por:
En head_submenu.tpl --> themes --> default --> templates --> sections --> head_submenu.tpl
Buscar:
Debajo agregar:
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Googel Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Creditos: tutan-kabron
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
[img]Registrate o inicia tu sesión para ver este contenido[/img]
En c.tops.php --> inc --> class --> c.tops.php
Buscar:
Código PHP:
function getHomeTopPosts(){
// AYER
$data['ayer'] = $this->getHomeTopPostsQuery($this->setTime(2));
// SEMANA
$data['semana'] = $this->getHomeTopPostsQuery($this->setTime(3));
// MES
$data['mes'] = $this->getHomeTopPostsQuery($this->setTime(4));
// HISTÓRICO
$data['historico'] = $this->getHomeTopPostsQuery($this->setTime(5));
Debajo agregar:
Código PHP:
// 15 MINUTOS
$data['15min'] = $this->getHomeTopPostsQuery($this->setTime(9));
// 1HORA
$data['hora'] = $this->getHomeTopPostsQuery($this->setTime(6));
// 3HORAS
$data['3horas'] = $this->getHomeTopPostsQuery($this->setTime(7));
// 6HORAS
$data['6horas'] = $this->getHomeTopPostsQuery($this->setTime(8));
Buscar:
Código PHP:
// TODO EL TIEMPO
case 5:
//
$data['start'] = 0;
$data['end'] = $tiempo;
//
break;
Debajo agregar:
Código PHP:
// 15 Minutos
case 9:
//
$resta = $this->setSegs(1, '15min') + $this->setSegs(1, 'min') + $seg;
$data['start'] = $tiempo - $resta;
$data['end'] = $tiempo;
//
break;
// 30 Minutos
case 10:
//
$resta = $this->setSegs(1, '30min') + $this->setSegs(1, 'min') + $seg;
$data['start'] = $tiempo - $resta;
$data['end'] = $tiempo;
//
break;
// 1 HORA
case 6:
//
$resta = $this->setSegs(1, 'dia') + $this->setSegs(1, 'min') + $seg;
$data['start'] = $tiempo - $resta;
$data['end'] = $tiempo;
//
break;
// 3 HORAS
case 7:
//
$resta = $this->setSegs(1, '3horas') + $this->setSegs(1, 'min') + $seg;
$data['start'] = $tiempo - $resta;
$data['end'] = $tiempo;
//
break;
// 6 HORAS
case 8:
//
$resta = $this->setSegs(1, '6horas') + $this->setSegs(1, 'min') + $seg;
$data['start'] = $tiempo - $resta;
$data['end'] = $tiempo;
//
break;
Buscar:
Código PHP:
case 'mes' :
$segundos = $tiempo * 2592000;
break;
Debajo agregar:
Código PHP:
case 'hora' :
$segundos = $tiempo * 3600;
break;
case '3horas' :
$segundos = $tiempo * 10800;
break;
case '6horas' :
$segundos = $tiempo * 32400;
break;
case '15min' :
$segundos = $tiempo * 900;
break;
case '30min' :
$segundos = $tiempo * 1800;
break;
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Buscar:
Código PHP:
{include file='modules/m.home_last_comments.tpl'}
Debajo agregar:
Código PHP:
{if $tsUser->is_member}
{include file='modules/m.home_destacados.tpl'}
{/if}
En head_menu.tpl --> themes --> default --> templates --> sections --> head_menu.tpl
Buscar:
Código PHP:
{if $tsConfig.c_fotos_private == '1' && !$tsUser->is_member}{else}
<li class="tabbed {if $tsPage == 'fotos'}here{/if}" id="tabbedfotos">
<a title="Ir a Fotos" onclick="menu('fotos', this.href); return false;" href="{$tsConfig.url}/fotos/">Fotos <img alt="Drop Down" src="{$tsConfig.tema.t_url}/images/arrowdown.png"></a>
</li>
{/if}
Debajo agregar:
Código PHP:
<li class="tabbed {if $tsPage == 'destacados'}here{/if}" id="tabbedtops">
<a title="destacados" onclick="menu('tops', this.href); return false;" href="{$tsConfig.url}/destacados/">Destacados </a>
</li>
Buscar:
Código PHP:
<li class="tabbed {if $tsPage != 'home' && $tsPage != 'posts' && $tsPage != 'tops' && $tsPage != 'admin' && $tsPage != 'fotos'}here{/if}" id="tabbedhome">
Reemplazar por:
Código PHP:
<li class="tabbed {if $tsPage != 'home' && $tsPage != 'posts' && $tsPage != 'tops' && $tsPage != 'admin' && $tsPage != 'fotos' && $tsPage != 'destacados'}here{/if}" id="tabbedhome">
En head_submenu.tpl --> themes --> default --> templates --> sections --> head_submenu.tpl
Buscar:
Código PHP:
<div id="subMenuFotos" class="subMenu {if $tsPage == 'fotos'}here{/if}">
<ul class="floatL tabsMenu">
<li{if $tsAction == '' && $tsAction != 'agregar' && $tsAction != 'album' && $tsAction != 'favoritas' || $tsAction == 'ver'} class="here"{/if}><a href="{$tsConfig.url}/fotos/">Inicio</a></li>
{if $tsAction == 'album' && $tsFUser.0 != $tsUser->uid}<li class="here"><a href="{$tsConfig.url}/fotos/{$tsFUser.1}">Álbum de {$tsFUser.1}</a></li>{/if}
{if $tsUser->is_admod || $tsUser->permisos.gopf}<li{if $tsAction == 'agregar'} class="here"{/if}><a href="{$tsConfig.url}/fotos/agregar.php">Agregar Foto</a></li>{/if}
<li{if $tsAction == 'album' && $tsFUser.0 == $tsUser->uid} class="here"{/if}><a href="{$tsConfig.url}/fotos/{$tsUser->nick}">Mis Fotos</a></li>
</ul>
<div class="clearBoth"></div>
</div>
Debajo agregar:
Código PHP:
<div id="subMenuTops" class="subMenu {if $tsPage == 'destacados'}here{/if}">
<ul class="floatL tabsMenu">
<li{if $tsAction == 'posts'} class="here"{/if}><a href="{$tsConfig.url}/destacados/posts/">Posts</a></li>
<li{if $tsAction == 'usuarios'} class="here"{/if}><a href="{$tsConfig.url}/destacados/usuarios/">Usuarios</a></li>
</ul>
<div class="clearBoth"></div>
</div>
Y subir esta carpeta
Mega
http://Registrate o inicia tu sesión par... contenido
Googel Drive
http://Registrate o inicia tu sesión par... contenido
Mediafire
http://Registrate o inicia tu sesión par... contenido
Creditos: tutan-kabron