[Tutorial] Imagem do membro na lista de online

Ver o tópico anterior Ver o tópico seguinte Ir para baixo

Admin
Admin
Administrador
Tempo Online : 250d 6h 21m 59s
Mensagens : 693
Reputação : 4
https://bestweb.forumeiro.com

MensagemAdmin Sex Set 30, 2016 12:49 pm

Informações:
Autor:
While
Funcionalidade: Todas as Versões




Acesse:
Painel de Controle Modulos Html e Javascript Gestão dos codigos Javascript
E Crie um novo Javascript com investimento em todas as paginas com esse código:

PhpBB3:
Código:
$(function() {
 $('#i_whosonline + p a[href*="/u"]').each(function() {
 var url = this.href;
 $(this).html('<img src="http://i32.servimg.com/u/f32/15/42/26/78/th/oaspet11.png" class="etMiniAv" />');
 $(this).load(url +'#profile-advanced-right .module:eq(0) img:eq(0)',function(et) {
 $(this).children('img').attr('class','etMiniAv');
 });
 });
});
PunBB:
Código:
$(function() {
 $('#etAvOnline a[href*="/u"]').each(function() {
 var url = this.href;
 $(this).html('<img src="http://i32.servimg.com/u/f32/15/42/26/78/th/oaspet11.png" class="etMiniAv" />');
 $(this).load(url +'#profile-advanced-right .main-content.clearfix.center img:first',function(et) {
 $(this).children('img').attr('class','etMiniAv');
 });
 });
});
PhpBB2:
Código:
$(function() {
 $('#etAvOnline a[href*="/u"]').each(function() {
 var url = this.href;
 $(this).html('<img src="http://i32.servimg.com/u/f32/15/42/26/78/th/oaspet11.png" class="etMiniAv" />');
 $(this).load(url +'#page-body .forumline .gensmall > img:first',function(et) {
 $(this).children('img').attr('class','etMiniAv');
 });
 });
});
Invision:
Código:
$(function() {
$('.ipbtable tr:has("a[href="/viewonline"]") + tr .thin a[href*="/u"]').each(function() {
 var url = this.href;
 $(this).html('<img src="http://i32.servimg.com/u/f32/15/42/26/78/th/oaspet11.png" class="etMiniAv" />');
 $(this).load(url +'#profile-advanced-right .box-content.profile.center img:eq(0)',function(et) {
 $(this).children('img').attr('class','etMiniAv');
 });
 });
});

Acesse:
Painel de Controle Visualização Imagens e Cores Cores Folha de Estilo CSS
E Adicione esse código:

Código:
.etMiniAv {
width: 35px;
height: 35px;
background: #FFF;
padding: 1px;
border: 1px solid rgba(204, 204, 204, 0.89)!important;
}

Feito isto, acesse:
Painel de Controle Visualização Templates Geral Index_body

PhpBB2:
Procure por:
{LOGGED_IN_USER_LIST}
E troque por:
{LOGGED_IN_USER_LIST}
PunBB:
Procure por:
{LOGGED_IN_USER_LIST}
E troque por:
{LOGGED_IN_USER_LIST}

Ver o tópico anterior Ver o tópico seguinte Ir para o topo

Cria uma conta ou logue para postar uma mensagem.

Você precisa ser um membro, para poder postar uma resposta.

Criar conta

Participe de nossa comunidade, basta se registrar. É Fácil!


Criar uma conta

Logar

Já tem uma conta? Sem problemas, Logue agora.


Logar-se

 
Permissões neste sub-fórum
Não podes responder a tópicos