¡Bienvenido! ¿Aún no estás registrado?, deberás registrarte antes de poder usar el Chat, Comentar y Descargar en el Foro. Usa un email válido para la activación.
Calificación:
  • 0 voto(s) - 0 Media
  • 1
  • 2
  • 3
  • 4
  • 5

COMPLEMENTOS Enlace al canal de Instagram en el perfil
#1

1
Mejor respuesta del mensaje Enlace al canal de Instagram en el perfilCapturas
[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:
$data['p_socials']['t'] = $data['p_socials'][1]; 


Debajo agregar:
$data['p_socials']['i'] = $data['p_socials'][2]; 


Buscar:
$data['p_socials']['t'] = $data['p_socials'][1]; 


Debajo agregar:
$data['p_socials']['i'] = $data['p_socials'][2]; 


Buscar:
$twitter $tsCore->setSecure($tsCore->parseBadWords($_POST['twitter']), true); 


Debajo agregar:
$instagram $tsCore->setSecure($tsCore->parseBadWords($_POST['instagram']), true); 


Buscar:
'socials' => serialize(array($facebook,$twitter)), 


Al lado de:
,$twitter 


Agregar:
,$instagram 


En m.cuenta_perfil_me.tpl --> themes --> default --> templates --> modules --> m.cuenta_perfil_me.tpl

Buscar:
<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:
<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:
{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:
{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]
Responder


Compartir en:

Salto de foro:


Usuarios navegando en este tema: 1 invitado(s)