Como colocar painel de ususario

4 participantes

Ir para baixo

Tópico resolvido Como colocar painel de ususario

Mensagem por HidroMaster 27.01.13 14:26

Qual é minha questão:
Olá quer colocar um painel de usuario no meu forum e n tenho o codigo podem me ajudar?

Endereço do meu fórum:
http://glintcheats.forumfacil.net

Versão do fórum:
PHPBB3
HidroMaster
HidroMaster
Novo Membro

Membro desde : 15/01/2013
Mensagens : 26
Pontos : 50

http://glintcheats.forumfacil.net/forum

Ir para o topo Ir para baixo

Tópico resolvido Re: Como colocar painel de ususario

Mensagem por Hilary Killer 27.01.13 23:49

Código:
<script src="http://illiweb.com/fa/js_16/collapsible_faq.js" type="text/javascript"></script>
        <font size="4">{USERLINK}</font><script>
        jQuery(document).ready(function(){
        jQuery.get('/profile?mode=editprofile&page_profil=avatars', function(data) {
        link = jQuery('.panel dl:first img', data).attr('src');
        jQuery('#avatar').attr('src', link);
        });
        });
        </script>
        <span style="font-size: 1.2em;"><img id="avatar" align="left" width="50">

        <b>Mensagens:</b> {USERCOUNTPOST}

        <span id="friends_cook"></span>

   
    </span>
            <dl class="faq" style="margin-bottom: -1px !important;"><dt></dt><dd onclick="return CFAQ.display('l7', false);">
            <div style="cursor: pointer;" onclick="return CFAQ.display('l7', true);" onfocus="this.blur();"><img src="http://i66.servimg.com/u/f66/15/86/37/09/config10.png" style="width: 15px;height: 15px" border="0"> Alterar</div></dd><dd style="display:none;" id="l7"><span style="margin: 0pt 0px 0pt 0px; display: block;"><a href="../profile?mode=editprofile&amp;page_profil=informations" target="_blank"> Informações </a></span><span style="font-size: ;">
            <a href="../profile?mode=editprofile&amp;page_profil=preferences" target="_blank"> Preferências </a></span><span style="font-size: ;"><br><a href="../profile?mode=editprofile&amp;page_profil=avatars" target="_blank"> Avatar </a></span></dd><dd onclick="return CFAQ.display('l8', false);">
            <div style="cursor: pointer;" onclick="return CFAQ.display('l8', true);" onfocus="this.blur();"><img src="http://i66.servimg.com/u/f66/15/86/37/09/new_ic10.png" style="width: 15px;height: 15px" border="0"> Ver</div></dd>
            <dd style="display:none;" id="l8"><span style="margin: 0pt 0px 0pt 0px; display: block;"><a href="../profile?mode=editprofile&amp;page_profil=friendsfoes" target="_blank"> Amigos e ignorados</a></span><span style="font-size: ;"><a href="../search?search_id=watchsearch" target="_blank"> Tópicos supervisionados </a></span><br><span style="font-size: ;"><a href="../search?search_id=draftsearch" target="_blank"> Rascunhos </a></span><br><span style="font-size: ;"><a href="../search?search_id=favouritesearch" target="_blank"> Tópicos favoritos</a></span></dd><dd onclick="return CFAQ.display('l9', false);">
            <div style="cursor: pointer;" onclick="return CFAQ.display('l9', true);" onfocus="this.blur();"><img src="http://i66.servimg.com/u/f66/15/86/37/09/ecrire10.png" style="width: 15px;height: 15px" border="0"> Tópicos e mensagens</div></dd><dd style="display:none;" id="l9"><span style="margin: 0pt 0px 0pt 0px; display: block;"><a href="../msg.forum?folder=inbox" target="_blank"> Mensagens Privadas</a></span><span style="font-size: ;"><a href="../search?search_topics={USERNAME}" target="_blank"> Meus tópicos</a></span><br><span style="font-size: ;"><a href="../search?search_id=egosearch" target="_blank"> Tópicos que participo </a></span><br><span style="font-size: ;"><a href="../search?search_author={USERNAME}&amp;show_results=posts" target="_blank"> Minhas mensagens</a></span><br><span style="font-size: ;"><a href="../search?search_id=newposts" target="_blank"> Novas mensagens<br></a></span></dd></dl>

The Painel of the User


    <!-- The CSS -->
    <link rel="stylesheet" href="http://web-kreation.com/demos/login_form_mootools_1.2/fx.slide.css" type="text/css" media="screen" />
    <style>
    #login {
    overflow: visible;
    height: auto;
    -webkit-transition:  margin-top 0.5s ease-in-out 0s;
    -moz-transition:  margin-top 0.5s ease-in-out 0s;
    -o-transition:    margin-top 0.5s ease-in-out 0s;
    transition:    margin-top 0.5s ease-in-out 0s;

    }

    /* Login Panel I */
    #topp {
    height: 38px;
    position: relative;
    }

    #topp ul.login {
    display: block;
    position: relative;
    float: right;
    clear: right;
    height: 38px;
    width: auto;
    font-weight: bold;
    line-height: 38px;
    margin: 0;
    right: 150px;
    color: white;
    font-size: 80%;
    text-align: center;
    padding-right: 45px;
    }

    #topp ul.login li.left {
    height: 38px;
    width: 45px;
    padding: 0;
    margin: 0;
    display: block;
    float: left;
    }

    #topp ul.login li {
    text-align: left;
    padding: 0 6px;
    display: block;
    float: left;
    height: 38px;
    }
    #topp ul.login li a {color: #33CCCC;}
    #topp ul.login li a:hover {color: white;}

    /* Login Panel */
    #topp {
    background: url(http://web-kreation.com/demos/login_form_mootools_1.2/images/login_top.jpg) repeat-x 0 0;}

    #topp ul.login {
    background: url(http://img18.imageshack.us/img18/3017/loginrw.png) no-repeat right 0;}

    #topp ul.login li.left {
    background: url(http://img41.imageshack.us/img41/3439/loginlc.png) no-repeat left 0;}

    #topp ul.login li {
    background: url(http://web-kreation.com/demos/login_form_mootools_1.2/images/login_m.jpg) repeat-x 0 0;}

    /*Login*/
    /* toggle effect - show/hide login*/
    #login {
    background: #1E1E1E;}

    #login .loginContent input:focus.field {
    background: #545454;}

    #login .loginContent{padding-top:0px;width:790px;height:100px;}

    #login .loginContent input.button_login {
    background: transparent url(http://web-kreation.com/demos/login_form_mootools_1.2/images/button_login.jpg) no-repeat 0 0;}

    #login .loginClose a {
    background: url(http://web-kreation.com/demos/login_form_mootools_1.2/images/button_close.jpg) no-repeat right 0;}

    #login .loginClose a:hover {
    background: url(http://web-kreation.com/demos/login_form_mootools_1.2/images/button_close.jpg) no-repeat right -20px;}
    </style>

    <!-- Login --><div id="loginn" style="display: block;position: absolute;left: 0px;top: 0px;width: 100%;"><div id="login" style="margin-top:-100px;"><div class="loginContent">




    <table  style="width:100%;"  border="0">
    <tr>

    <td style="text-align:center;">
    <table border="0">
    <tr>

    <td>
    <script>
    jQuery(document).ready(function(){
      jQuery.get('/profile?mode=editprofile&page_profil=avatars', function(data) {
          link = jQuery('.panel dl:first img', data).attr('src');
          if(link){
            jQuery('#avatar').html('<img src="'+link+'" align="left" width="60" height="80">');
          }else{
            jQuery('#avatar').html('');
          }
      });
    });
    </script><div id="avatar"><center><img src="http://i53.tinypic.com/1e1fex.gif"></center></div>
    </td>

    <td>
    <span style="font-size: 1.2em;">
    <font size="4">{USERLINK}</font>

    <b>Mensagens:</b> {USERCOUNTPOST}
    </span>
    </td>

    </tr>
    </table>
    </td>



    <td style="text-align:center;">
    <span style="font-size: 1.2em;"><b>Alterar</b>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=informations">Informações</a>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=preferences">Preferências</a>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=signature">Assinatura</a>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=avatars">Avatar</a>

    </span>
    </td>

    <td style="text-align:center;">
    <span style="font-size: 1.2em;"><b>Ver</b>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=friendsfoes">Amigos & ignorados</a>

    <a href="../search.forum?search_id=watchsearch">Tópicos supervisionados</a>

    <a href="../search.forum?search_id=draftsearch">Rascunhos</a>

    <a href="../search.forum?search_id=favouritesearch">Tópicos favoritos</a>

    <a href="../rpg_sheet_edit.forum">Ficha de personagem</a>

    </span>
    </td>

    <td style="text-align:center;">
    <span style="font-size: 1.2em;"><b>Tópicos & Mensagens</b>

    <a href="../msg.forum?folder=inbox">Mensagens Privadas</a>

    <a href="../search.forum?search_topics={USERNAME}">Meus tópicos</a>

    <a href="../search.forum?search_id=egosearch">Tópicos que participa</a>

    <a href="../search.forum?search_author={USERNAME}&show_results=posts">Minhas mensagens</a>

    <a href="../search.forum?search_id=newposts">Últimos tópicos</a>

    </span>
    </td>

    </tr>
    </table>




    </div>

    </div>


    <!-- /login --><div id="container"><div id="topp">

    <!-- login -->

    <ul class="login">

    <li class="left"> </li>

    <li><a id="toggleLogin" href="#" onclick="document.getElementById('login').style.marginTop=((document.getElementById('login').style.marginTop=='0px')? '-100px' : '0px');">Painel de Usuário</a></li>

    </ul> <!-- / login -->

    </div> <!-- / topp --><div class="clearfix"></div>
    </div>
<script src="http://illiweb.com/fa/js_16/collapsible_faq.js" type="text/javascript"></script>
        <font size="4">{USERLINK}</font><script>
        jQuery(document).ready(function(){
        jQuery.get('/profile?mode=editprofile&page_profil=avatars', function(data) {
        link = jQuery('.panel dl:first img', data).attr('src');
        jQuery('#avatar').attr('src', link);
        });
        });
        </script>
        <span style="font-size: 1.2em;"><img id="avatar" align="left" width="50">

        <b>Mensagens:</b> {USERCOUNTPOST}

        <span id="friends_cook"></span>

   
    </span>
            <dl class="faq" style="margin-bottom: -1px !important;"><dt></dt><dd onclick="return CFAQ.display('l7', false);">
            <div style="cursor: pointer;" onclick="return CFAQ.display('l7', true);" onfocus="this.blur();"><img src="http://i66.servimg.com/u/f66/15/86/37/09/config10.png" style="width: 15px;height: 15px" border="0"> Alterar</div></dd><dd style="display:none;" id="l7"><span style="margin: 0pt 0px 0pt 0px; display: block;"><a href="../profile?mode=editprofile&amp;page_profil=informations" target="_blank"> Informações </a></span><span style="font-size: ;">
            <a href="../profile?mode=editprofile&amp;page_profil=preferences" target="_blank"> Preferências </a></span><span style="font-size: ;"><br><a href="../profile?mode=editprofile&amp;page_profil=avatars" target="_blank"> Avatar </a></span></dd><dd onclick="return CFAQ.display('l8', false);">
            <div style="cursor: pointer;" onclick="return CFAQ.display('l8', true);" onfocus="this.blur();"><img src="http://i66.servimg.com/u/f66/15/86/37/09/new_ic10.png" style="width: 15px;height: 15px" border="0"> Ver</div></dd>
            <dd style="display:none;" id="l8"><span style="margin: 0pt 0px 0pt 0px; display: block;"><a href="../profile?mode=editprofile&amp;page_profil=friendsfoes" target="_blank"> Amigos e ignorados</a></span><span style="font-size: ;"><a href="../search?search_id=watchsearch" target="_blank"> Tópicos supervisionados </a></span><br><span style="font-size: ;"><a href="../search?search_id=draftsearch" target="_blank"> Rascunhos </a></span><br><span style="font-size: ;"><a href="../search?search_id=favouritesearch" target="_blank"> Tópicos favoritos</a></span></dd><dd onclick="return CFAQ.display('l9', false);">
            <div style="cursor: pointer;" onclick="return CFAQ.display('l9', true);" onfocus="this.blur();"><img src="http://i66.servimg.com/u/f66/15/86/37/09/ecrire10.png" style="width: 15px;height: 15px" border="0"> Tópicos e mensagens</div></dd><dd style="display:none;" id="l9"><span style="margin: 0pt 0px 0pt 0px; display: block;"><a href="../msg.forum?folder=inbox" target="_blank"> Mensagens Privadas</a></span><span style="font-size: ;"><a href="../search?search_topics={USERNAME}" target="_blank"> Meus tópicos</a></span><br><span style="font-size: ;"><a href="../search?search_id=egosearch" target="_blank"> Tópicos que participo </a></span><br><span style="font-size: ;"><a href="../search?search_author={USERNAME}&amp;show_results=posts" target="_blank"> Minhas mensagens</a></span><br><span style="font-size: ;"><a href="../search?search_id=newposts" target="_blank"> Novas mensagens<br></a></span></dd></dl>

The Painel of the User


    <!-- The CSS -->
    <link rel="stylesheet" href="http://web-kreation.com/demos/login_form_mootools_1.2/fx.slide.css" type="text/css" media="screen" />
    <style>
    #login {
    overflow: visible;
    height: auto;
    -webkit-transition:  margin-top 0.5s ease-in-out 0s;
    -moz-transition:  margin-top 0.5s ease-in-out 0s;
    -o-transition:    margin-top 0.5s ease-in-out 0s;
    transition:    margin-top 0.5s ease-in-out 0s;

    }

    /* Login Panel I */
    #topp {
    height: 38px;
    position: relative;
    }

    #topp ul.login {
    display: block;
    position: relative;
    float: right;
    clear: right;
    height: 38px;
    width: auto;
    font-weight: bold;
    line-height: 38px;
    margin: 0;
    right: 150px;
    color: white;
    font-size: 80%;
    text-align: center;
    padding-right: 45px;
    }

    #topp ul.login li.left {
    height: 38px;
    width: 45px;
    padding: 0;
    margin: 0;
    display: block;
    float: left;
    }

    #topp ul.login li {
    text-align: left;
    padding: 0 6px;
    display: block;
    float: left;
    height: 38px;
    }
    #topp ul.login li a {color: #33CCCC;}
    #topp ul.login li a:hover {color: white;}

    /* Login Panel */
    #topp {
    background: url(http://web-kreation.com/demos/login_form_mootools_1.2/images/login_top.jpg) repeat-x 0 0;}

    #topp ul.login {
    background: url(http://img18.imageshack.us/img18/3017/loginrw.png) no-repeat right 0;}

    #topp ul.login li.left {
    background: url(http://img41.imageshack.us/img41/3439/loginlc.png) no-repeat left 0;}

    #topp ul.login li {
    background: url(http://web-kreation.com/demos/login_form_mootools_1.2/images/login_m.jpg) repeat-x 0 0;}

    /*Login*/
    /* toggle effect - show/hide login*/
    #login {
    background: #1E1E1E;}

    #login .loginContent input:focus.field {
    background: #545454;}

    #login .loginContent{padding-top:0px;width:790px;height:100px;}

    #login .loginContent input.button_login {
    background: transparent url(http://web-kreation.com/demos/login_form_mootools_1.2/images/button_login.jpg) no-repeat 0 0;}

    #login .loginClose a {
    background: url(http://web-kreation.com/demos/login_form_mootools_1.2/images/button_close.jpg) no-repeat right 0;}

    #login .loginClose a:hover {
    background: url(http://web-kreation.com/demos/login_form_mootools_1.2/images/button_close.jpg) no-repeat right -20px;}
    </style>

    <!-- Login --><div id="loginn" style="display: block;position: absolute;left: 0px;top: 0px;width: 100%;"><div id="login" style="margin-top:-100px;"><div class="loginContent">




    <table  style="width:100%;"  border="0">
    <tr>

    <td style="text-align:center;">
    <table border="0">
    <tr>

    <td>
    <script>
    jQuery(document).ready(function(){
      jQuery.get('/profile?mode=editprofile&page_profil=avatars', function(data) {
          link = jQuery('.panel dl:first img', data).attr('src');
          if(link){
            jQuery('#avatar').html('<img src="'+link+'" align="left" width="60" height="80">');
          }else{
            jQuery('#avatar').html('');
          }
      });
    });
    </script><div id="avatar"><center><img src="http://i53.tinypic.com/1e1fex.gif"></center></div>
    </td>

    <td>
    <span style="font-size: 1.2em;">
    <font size="4">{USERLINK}</font>

    <b>Mensagens:</b> {USERCOUNTPOST}
    </span>
    </td>

    </tr>
    </table>
    </td>



    <td style="text-align:center;">
    <span style="font-size: 1.2em;"><b>Alterar</b>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=informations">Informações</a>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=preferences">Preferências</a>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=signature">Assinatura</a>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=avatars">Avatar</a>

    </span>
    </td>

    <td style="text-align:center;">
    <span style="font-size: 1.2em;"><b>Ver</b>

    <a href="../profile.forum?mode=editprofile&amp;page_profil=friendsfoes">Amigos & ignorados</a>

    <a href="../search.forum?search_id=watchsearch">Tópicos supervisionados</a>

    <a href="../search.forum?search_id=draftsearch">Rascunhos</a>

    <a href="../search.forum?search_id=favouritesearch">Tópicos favoritos</a>

    <a href="../rpg_sheet_edit.forum">Ficha de personagem</a>

    </span>
    </td>

    <td style="text-align:center;">
    <span style="font-size: 1.2em;"><b>Tópicos & Mensagens</b>

    <a href="../msg.forum?folder=inbox">Mensagens Privadas</a>

    <a href="../search.forum?search_topics={USERNAME}">Meus tópicos</a>

    <a href="../search.forum?search_id=egosearch">Tópicos que participa</a>

    <a href="../search.forum?search_author={USERNAME}&show_results=posts">Minhas mensagens</a>

    <a href="../search.forum?search_id=newposts">Últimos tópicos</a>

    </span>
    </td>

    </tr>
    </table>




    </div>

    </div>


    <!-- /login --><div id="container"><div id="topp">

    <!-- login -->

    <ul class="login">

    <li class="left"> </li>

    <li><a id="toggleLogin" href="#" onclick="document.getElementById('login').style.marginTop=((document.getElementById('login').style.marginTop=='0px')? '-100px' : '0px');">Painel de Usuário</a></li>

    </ul> <!-- / login -->

    </div> <!-- / topp --><div class="clearfix"></div>
    </div>

Coloque esse código na folha CSS e salve, mas, por favor, salve sua folha CSS em alguma pasta antes, pois pode ser que dê algum erro.

Meu post foi útil? Clique no + ao lado.
Hilary Killer
Hilary Killer
****

Membro desde : 02/09/2011
Mensagens : 224
Pontos : 373

Ir para o topo Ir para baixo

Tópico resolvido Re: Como colocar painel de ususario

Mensagem por kazemaru suzuno 27.01.13 23:51

Olá, você deseja o Painel de usuário que tem aqui no fórum(ao lado) ou deseja um próprio?
Bom, aqui esta o código do painel do fórum dos fóruns:

Código:
<div class="h3">Painel do usuário</div><script src="http://illiweb.com/fa/js_16/collapsible_faq.js"></script>

<script>jQuery(document).ready(function(){jQuery.get('/profile?mode=editprofile&page_profil=avatars',function(a){jQuery('#avatar').attr('src',jQuery('.panel dl:first img',a).attr('src'))})})</script>

<span style="font-size:1.2em"><img id="avatar" src="http://i.imm.io/mpFV.png" align="left" width="45px" height="70px"><br><font size="4"><a href="http://ajuda.forumeiros.com/profile.forum?mode=viewprofile&amp;u=41412">!sasuky</a></font><br>
<b>Mensagens:</b> <span id="usercountpost">1468</span><br><br>
<span id="friends_cook"></span>
<br></span>
<dl class="faq" style="margin-bottom:-1px!important"><dt></dt>
<dd onclick="return CFAQ.display('l20',false)">
 <div style="cursor:pointer" onclick="return CFAQ.display('l20',true)" onfocus="this.blur()"><img src="http://2img.net/i/fa/admin/icones/editer.png" style="width:15px;height:15px"> Alterar</div></dd><dd style="display:none" id="l20"><span style="margin:0pt 0px 0pt 0px;display:block"><a href="/profile?mode=editprofile&amp;page_profil=informations" target="_blank"> Informações </a></span><span>
<a href="/profile?mode=editprofile&amp;page_profil=preferences" target="_blank"> Preferências </a></span><br><span><a href="/profile?mode=editprofile&amp;page_profil=avatars" target="_blank"> Avatar </a></span></dd>
<dd onclick="return CFAQ.display('l21',false)">
 <div style="cursor:pointer" onclick="return CFAQ.display('l21',true)" onfocus="this.blur()"><img src="http://2img.net/i/fa/admin/icones/small_ico/support.png" style="width:15px;height:15px"> Ver</div></dd>
<dd style="display:none" id="l21"><span style="margin:0pt 0px 0pt 0px;display:block"><a href="/profile?mode=editprofile&amp;page_profil=friendsfoes" target="_blank"> Amigos e ignorados</a></span><span><a href="/search?search_id=watchsearch" target="_blank"> Tópicos supervisionados </a></span><br><span><a href="/search?search_id=draftsearch" target="_blank"> Rascunhos </a></span><br><span><a href="/search?search_id=favouritesearch" target="_blank"> Tópicos favoritos</a></span></dd>
<dd onclick="return CFAQ.display('l22',false)">
 <div style="cursor:pointer" onclick="return CFAQ.display('l22',true)" onfocus="this.blur()"><img src="http://2img.net/i/fa/admin/icones/small_ico/boite_email.png" style="width:15px;height:15px"> Tópicos e mensagens</div></dd><dd style="display:none" id="l22"><span style="margin:0pt 0px 0pt 0px;display:block"><a href="/privmsg" target="_blank"> Mensagens Privadas</a></span><span><a href="/search?search_topics=!sasuky" target="_blank"> Meus tópicos</a></span><br><span><a href="/search?search_id=egosearch" target="_blank"> Tópicos que participo </a></span><br><span><a href="/search?search_author=!sasuky&amp;show_results=posts" target="_blank"> Minhas mensagens</a></span><br><span><a href="/search?search_id=newposts" target="_blank"> Novas mensagens<br> <small>(Sab 21 Abr 2012)</small></a></span></dd></dl><span class="corners-bottom"><span></span></span></div></div>
kazemaru suzuno
kazemaru suzuno
Super Membro

Membro desde : 11/01/2012
Mensagens : 1617
Pontos : 1800

http://superonzerpg.forumeiros.net/forum

Ir para o topo Ir para baixo

Tópico resolvido Re: Como colocar painel de ususario

Mensagem por Castiiel 29.01.13 21:08

Olá HidroMaster,

Este tutorial lhe ensinará passo-a-passo como construir o seu próprio painel do usuário em seu fórum:
Seta [TUTORIAL] Construir um painel de usuário (atalhos)

Abraços, Castiiel.
avatar
Castiiel
Novo Membro

Membro desde : 15/01/2013
Mensagens : 19
Pontos : 31

http://forumbrazuca.forumeiros.com

Ir para o topo Ir para baixo

Ir para o topo

- Tópicos semelhantes

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