[Tutorial] Imagem do membro na lista de online
Página 1 de 1 • Compartilhe
Informações:
Autor: While
Funcionalidade: Todas as Versões
Acesse:
E Crie um novo Javascript com investimento em todas as paginas com esse código:Painel de Controle ☛ Modulos ☛ Html e Javascript ☛ Gestão dos codigos Javascript
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');
});
});
});
- 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');
});
});
});
- 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');
});
});
});
- 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:
E Adicione esse código:Painel de Controle ☛ Visualização ☛ Imagens e Cores ☛ Cores ☛ Folha de Estilo CSS
- 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:
E troque por:{LOGGED_IN_USER_LIST}
PunBB:{LOGGED_IN_USER_LIST}
Procure por:
E troque por:{LOGGED_IN_USER_LIST}
{LOGGED_IN_USER_LIST}
Tópicos semelhantes
Cria uma conta ou logue para postar uma mensagem.
Você precisa ser um membro, para poder postar uma resposta.
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|