01-25-2021, 03:39 PM
4
[img]Registrate o inicia tu sesión para ver este contenido[/img]
En c.post.php --> inc --> class --> c.post.php
Buscar:
Código PHP: ( Seleccionar Todo )
/*
editComentario()
*/
Arriba agregar:
Código PHP: ( Seleccionar Todo )
/*
TOPs Punteador
*/
function tops_puntos(){
global $tsCore, $tsUser;
$query = db_exec(array(__FILE__, __LINE__), 'query', "SELECT * FROM u_miembros ORDER BY user_puntos DESC LIMIT 5");
$data = result_array($query);
//
return $data;
}
En post.php --> inc --> class --> post.php
Buscar:
Código PHP: ( Seleccionar Todo )
// AFILIADOS
$smarty->assign("tsAfiliados",$tsAfiliado->getAfiliados());
Debajo agregar:
Código PHP: ( Seleccionar Todo )
$smarty->assign("tsTOPs_p",$tsPosts->tops_puntos());
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Buscar:
Código PHP: ( Seleccionar Todo )
{include file='modules/m.home_stats.tpl'}
Debajo agregar:
Código PHP: ( Seleccionar Todo )
{include file='modules/m.home_tops_puntos.tpl'}
Y subir esta carpeta
Mega
Google Drive
Mediafire
Creditos: Debes agradecer para ver el contenido...