Fazer painel do convidado?

3 participantes

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

Tópico resolvido Fazer painel do convidado?

Mensagem por xandez 21.03.13 15:33

Qual é minha questão:
Como colocar um painel de convidado no meu forum?

Endereço do meu fórum:
http://anonimos.forumbrasil.net

Versão do fórum:
PHPBB3
xandez

xandez
*****

Membro desde : 26/01/2013
Mensagens : 434
Pontos : 831

http://anonymous.forumbrasil.net/ http://anonymous.forumbrasil.net/ http://anonymous.forumbrasil.net/

Ir para o topo Ir para baixo

Tópico resolvido Re: Fazer painel do convidado?

Mensagem por -luiz,, 21.03.13 15:40

Não se tem muitas informações para mostrar a um convidado.
Como você deseja esse painel? Tem alguma base?
-luiz,,

-luiz,,
**

Membro desde : 05/07/2010
Mensagens : 88
Pontos : 101

http://clickhabbo.6te.net/

Ir para o topo Ir para baixo

  • 0

Tópico resolvido Re: Fazer painel do convidado?

Mensagem por Gmtp 21.03.13 15:46

Olá,

Eu tenho este..

Estes codigos podem apresentar erros se utilizados junto a codigos que exibem avatar no lastpost

Visitante

Neste primeiro codigo o stats mostra que o membro nao esta logado e oferece opçoes para que ele logue-se ou registre-se.

Coloque em um widget, clique em Fazer painel do convidado? Perms e marque apenas (x) Convidados

Código:
<style type="text/css">
#imhavat {border: none;border-radius: 4px;}
#bottonadc:hover {background: #e0f3fa;background: -moz-linear-gradient(top,  #e0f3fa 0%, #d8f0fc 50%, #b8e2f6 51%, #b6dffd 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e0f3fa), color-stop(50%,#d8f0fc), color-stop(51%,#b8e2f6), color-stop(100%,#b6dffd));background: -webkit-linear-gradient(top,  #e0f3fa 0%,#d8f0fc 50%,#b8e2f6 51%,#b6dffd 100%);background: -o-linear-gradient(top,  #e0f3fa 0%,#d8f0fc 50%,#b8e2f6 51%,#b6dffd 100%);background: -ms-linear-gradient(top,  #e0f3fa 0%,#d8f0fc 50%,#b8e2f6 51%,#b6dffd 100%);background: linear-gradient(to bottom,  #e0f3fa 0%,#d8f0fc 50%,#b8e2f6 51%,#b6dffd 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0f3fa', endColorstr='#b6dffd',GradientType=0 );}
#bottonadc {margin: 2px;width: 50px;font-weight: bold !important;margin-left: 2px !important;color: rgb(30, 144, 255);padding: 4px 10px !important;border-radius: 3px; border: 0px solid rgb(221, 221, 221); text-align: center;background: #ffffff;background: -moz-linear-gradient(top,  #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#f1f1f1), color-stop(51%,#e1e1e1), color-stop(100%,#f6f6f6));background: -webkit-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);background: -o-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); background: -ms-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 );}
#ilavamosnos {position: fixed;top: 5px !important;right: 5px !important;padding: 5px;width: auto;border-radius: 5px;color: #fff;background: #45484d;background: -moz-linear-gradient(top,  #45484d 0%, #000000 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#45484d), color-stop(100%,#000000));background: -webkit-linear-gradient(top,  #45484d 0%,#000000 100%);background: -o-linear-gradient(top,  #45484d 0%,#000000 100%);background: -ms-linear-gradient(top,  #45484d 0%,#000000 100%);background: linear-gradient(to bottom,  #45484d 0%,#000000 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#000000',GradientType=0 );}
</style>
<script>jQuery(document).ready(function() {jQuery.get('/profile?mode=editprofile&page_profil=avatars',function(data) {var link=jQuery('form[action="/profile"] .panel .inner fieldset:first dl:first dd img',data).attr('src');jQuery('#ilavamosnos table tr:first td:first img').attr('src',link).css({'width':'50px','height':'50px'});});});</script><span id="ilavamosnos"><a href="http://www.whatsmyip.us" style="color:black;"><b></b></a><table border="0"><tr><td><img id="imhavat" src="http://i71.servimg.com/u/f71/17/71/75/73/defaul10.jpg" /></td><td style="padding: 0px 00px 0px 10px;"><span style="margin-left: 30px; color: #1E90FF; font-size: 15px; text-transform: none;"><b>Visitante</b></span><br><br>Apartir do IP <script type="text/javascript" src="http://www.whatsmyip.us/showipsimple.php"></script><td style="padding: 0px 0px 0px 20px;"><div id="bottonadc"><a href="/login">Entrar</a></div><div id="bottonadc"><a href="/register?agreed=true&step=2">Registrar</a></div></td></td></tr></table></span>

Membro

Neste segundo codigo o stats mostra que o membro esta logado e oferece opçoes para que ele editar seu perfil ou sair.

Coloque em um widget, clique em Fazer painel do convidado? Perms e DESmarque apenas ( ) Convidados

Código:
<style type="text/css">
#imhavat {border: none;border-radius: 4px;}
#bottonadc:hover {background: #e0f3fa;background: -moz-linear-gradient(top,  #e0f3fa 0%, #d8f0fc 50%, #b8e2f6 51%, #b6dffd 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e0f3fa), color-stop(50%,#d8f0fc), color-stop(51%,#b8e2f6), color-stop(100%,#b6dffd));background: -webkit-linear-gradient(top,  #e0f3fa 0%,#d8f0fc 50%,#b8e2f6 51%,#b6dffd 100%);background: -o-linear-gradient(top,  #e0f3fa 0%,#d8f0fc 50%,#b8e2f6 51%,#b6dffd 100%);background: -ms-linear-gradient(top,  #e0f3fa 0%,#d8f0fc 50%,#b8e2f6 51%,#b6dffd 100%);background: linear-gradient(to bottom,  #e0f3fa 0%,#d8f0fc 50%,#b8e2f6 51%,#b6dffd 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0f3fa', endColorstr='#b6dffd',GradientType=0 );}
#bottonadc {margin: 2px;width: 50px;font-weight: bold !important;margin-left: 2px !important;color: rgb(30, 144, 255);padding: 4px 10px !important;border-radius: 3px; border: 0px solid rgb(221, 221, 221); text-align: center;background: #ffffff;background: -moz-linear-gradient(top,  #ffffff 0%, #f1f1f1 50%, #e1e1e1 51%, #f6f6f6 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(50%,#f1f1f1), color-stop(51%,#e1e1e1), color-stop(100%,#f6f6f6));background: -webkit-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);background: -o-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%); background: -ms-linear-gradient(top,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);background: linear-gradient(to bottom,  #ffffff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0 );}
#ilavamosnos {position: absolute;top: 5px !important;right: 5px !important;padding: 5px;width: auto;border-radius: 5px;color: #fff;background: #45484d;background: -moz-linear-gradient(top,  #45484d 0%, #000000 100%);background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#45484d), color-stop(100%,#000000));background: -webkit-linear-gradient(top,  #45484d 0%,#000000 100%);background: -o-linear-gradient(top,  #45484d 0%,#000000 100%);background: -ms-linear-gradient(top,  #45484d 0%,#000000 100%);background: linear-gradient(to bottom,  #45484d 0%,#000000 100%);filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#45484d', endColorstr='#000000',GradientType=0 );}
</style>
<script>jQuery(document).ready(function() {jQuery.get('/profile?mode=editprofile&page_profil=avatars',function(data) {var link=jQuery('form[action="/profile"] .panel .inner fieldset:first dl:first dd img',data).attr('src');jQuery('#ilavamosnos table tr:first td:first img').attr('src',link).css({'width':'50px','height':'50px'});});});</script><span id="ilavamosnos"><a href="http://www.whatsmyip.us" style="color:black;"><b></b></a><table border="0"><tr><td><img id="imhavat" src="http://img407.imageshack.us/img407/1396/ajaxloaderi.gif" /></td><td style="padding: 0px 00px 0px 10px;"><span style="margin-left: 30px; color: #1E90FF; font-size: 15px; text-transform: none;"><b>{USERLINK}</b></span><br><br>Apartir do IP <script type="text/javascript" src="http://www.whatsmyip.us/showipsimple.php"></script><td style="padding: 0px 0px 0px 20px;"><div id="bottonadc"><a href="/profile?mode=editprofile">Perfil</a></div><div id="bottonadc"><a href="/login?logout=1">Sair</a></div></td></td></tr></table></span>

Obs: eu sei que pediu só de visitante, mais para combinar dei os dois.

Até mais
Gmtp

Gmtp
Super Membro

Membro desde : 03/01/2013
Mensagens : 1044
Pontos : 1469

http://makerforum.forumeiros.com/ https://www.facebook.com/gyovany.francini

Ir para o topo Ir para baixo

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

- Tópicos semelhantes

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