01-26-2021, 08:59 AM
0
[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.posts.php --> inc --> class --> c.posts.php
Antes del corchete de cierre } :
Agregar:
Código PHP: ( Seleccionar Todo )
/*Staff Automatico to-up*/
function GrupoStaff(){
global $tsCore;
$query = db_exec(array(__FILE__, __LINE__), 'query', 'SELECT user_id, user_name, user_rango, user_baneado FROM u_miembros WHERE user_rango = 1 OR user_rango = 2 ORDER BY user_rango ASC');
$data = result_array($query);
return $data;
}
En posts.php --> inc --> php --> posts.php
Buscar:
Código PHP: ( Seleccionar Todo )
$smarty->assign("tsDo",$_GET['do']);
Debajo agregar:
Código PHP: ( Seleccionar Todo )
// Variable Staff
$smarty->assign("staff",$tsPosts->GrupoStaff());
En t.home.tpl --> themes --> default --> templates --> t.home.tpl
Default
Buscar:
Código PHP: ( Seleccionar Todo )
{if $tsConfig.c_fotos_private == 1 && !$tsUser->is_member}
Agregar arriba:
Código PHP: ( Seleccionar Todo )
{include file='modules/m.home_staff.tpl'}
V5
Buscar:
Código PHP: ( Seleccionar Todo )
{include file='modules/m.home_top_fotos.tpl'}
Agregar arriba:
Código PHP: ( Seleccionar Todo )
{include file='modules/m.home_staff.tpl'}
V6
Buscar:
Código PHP: ( Seleccionar Todo )
{include file='modules/m.home_stats.tpl'}
Agregar arriba:
Código PHP: ( Seleccionar Todo )
{include file='modules/m.home_staff.tpl'}
En estilo.css --> themes --> default --> estilo.css
Al final agregar:
Default
Código PHP: ( Seleccionar Todo )
.divisor{overflow:hidden;clear:both;border-top:#e0e0e0 1px solid;background:#f5f5f5;padding:8px}
.divisor:nth-child(2n+1){border-top:#fff 1px solid;background:#fff}
a.ava{float:left;margin-right:10px}a.ava img{width:35px;height:35px}
a.ava img:hover{opacity:.6}
.data-staff a{color:#105cb6!important;font-weight:700;overflow:hidden;clear:both}
.data-staff p{margin:0}.data-staff p b{font-weight:400}
V5
Código PHP: ( Seleccionar Todo )
.divisor{overflow:hidden;clear:both;border-top:#e0e0e0 1px solid;background:#f5f5f5;padding:8px}
.divisor:nth-child(2n+1){border-top:#fff 1px solid;background:#fff}a.ava{float:left}
a.ava img{width:35px;height:35px}
a.ava img:hover{opacity:.6}
.data-staff{float:left;margin:0 0 0 10px}
.data-staff a{color:#105cb6!important;font-weight:700;overflow:hidden;clear:both}
.data-staff p{margin:0}.data-staff p b{font-weight:400}
Y subir esta carpeta
Default
Mega
Google Drive
Mediafire
V5
Mega
Google Drive
Mediafire
V6
Mega
Google Drive
Mediafire
Creditos: Debes agradecer para ver el contenido...


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