09-13-2022, 02:28 PM
1
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]
En c.cuenta.php --> inc --> class --> c.cuenta.php
Buscar:
Código PHP: ( Seleccionar Todo )
$data['p_socials']['t'] = $data['p_socials'][1];
Debajo agregar:
Código PHP: ( Seleccionar Todo )
$data['p_socials']['i'] = $data['p_socials'][2];
Buscar:
Código PHP: ( Seleccionar Todo )
$data['p_socials']['t'] = $data['p_socials'][1];
Debajo agregar:
Código PHP: ( Seleccionar Todo )
$data['p_socials']['i'] = $data['p_socials'][2];
Buscar:
Código PHP: ( Seleccionar Todo )
$twitter = $tsCore->setSecure($tsCore->parseBadWords($_POST['twitter']), true);
Debajo agregar:
Código PHP: ( Seleccionar Todo )
$instagram = $tsCore->setSecure($tsCore->parseBadWords($_POST['instagram']), true);
Buscar:
Código PHP: ( Seleccionar Todo )
'socials' => serialize(array($facebook,$twitter)),
Al lado de:
Código PHP: ( Seleccionar Todo )
,$twitter
Agregar:
Código PHP: ( Seleccionar Todo )
,$instagram
En m.cuenta_perfil_me.tpl --> themes --> default --> templates --> modules --> m.cuenta_perfil_me.tpl
Buscar:
Código PHP: ( Seleccionar Todo )
<strong>twitter.com/</strong><input type="text" value="{$tsPerfil.p_socials.t}" maxlength="64" name="twitter" id="ft2" class="text cuenta-save-2" style="margin-top:3px; width:204px"><br />
Debajo agregar:
Código PHP: ( Seleccionar Todo )
<img src="{$tsConfig.default}/images/icons/instagram.png" width="16" height="16" style="margin:8px 5px 5px 160px; float:left" />
<strong>instagram.com/</strong><input type="text" value="{$tsPerfil.p_socials.i}" maxlength="64" name="instagram" id="ft3" class="text cuenta-save-2" style="margin-top:3px; width:204px"><br />
En m.perfil_headinfo.tpl --> themes --> default --> templates --> modules --> m.perfil_headinfo.tpl
Buscar:
Código PHP: ( Seleccionar Todo )
{if $tsInfo.p_socials.t}
<li style="float:right!important;" class="floatR">
<a target="_blank" href="Registrate o inicia tu sesión para ver este contenido{$tsInfo.p_socials.t}" title="Twitter"><img height="14" width="14" src="{$tsConfig.default}/images/icons/twitter.png"/></a>
</li>
{/if}
Debajo agregar:
Código PHP: ( Seleccionar Todo )
{if $tsInfo.p_socials.i}
<li style="float:right!important;" class="floatR">
<a target="_blank" href="Registrate o inicia tu sesión para ver este contenido{$tsInfo.p_socials.i}" title="Instagram"><img height="14" width="14" src="{$tsConfig.default}/images/icons/instagram.png"/></a>
</li>
{/if}
Y subir este icono a la carpeta icons con el nombre de instagram.png
[img]Registrate o inicia tu sesión para ver este contenido[/img]


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