Boas-vindas ao Power Pixel

Junte-se a comunidade! Crie o seu próprio conteúdo, e faça amizades.EntrarCriar uma conta

[Ajuda]Código

5 participantes

xTrevor xTrevor  • Ter 7 Out 2014 - 15:17

[Ajuda]Código Empty [Ajuda]Código Ter 7 Out 2014 - 15:17

Minha questão:
Olá, meu problema e sobre avatar do Lost Post já tentei ver alguns códigos já existentes mais nada com exito, queria colocar mais não estou conseguindo queria saber se tem algum Código pra isso!


Endereço do meu fórum:
[Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

Versão:
PunBB

iConnect iConnect  • Ter 7 Out 2014 - 15:58

[Ajuda]Código Empty Re: [Ajuda]Código Ter 7 Out 2014 - 15:58

Olá,
Me passe o seu index_box por gentileza.

Até Mais...

xTrevor xTrevor  • Ter 7 Out 2014 - 16:43

[Ajuda]Código Empty Re: [Ajuda]Código Ter 7 Out 2014 - 16:43

Código:
<div class="pun-crumbs">
   <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
   <!-- BEGIN tablehead -->
      <div class="main-head">
         <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
         <table cellspacing="0" class="table">
            <tbody class="statused">
   <!-- END tablehead -->

   <!-- BEGIN forumrow -->
               <tr>
                                                <td class="tc_icon">
                     <span class="status">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                     </span>
                                                </td>
                  <td class="tc_forum" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT};">
                                                        <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                     <br />
                     {catrow.forumrow.FORUM_DESC}
                     <!-- BEGIN switch_moderators_links -->
                     <br />
                     {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                     <!-- END switch_moderators_links -->
                     {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                     <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </td>
                                          <td class="tc3"><strong>{catrow.forumrow.TOPICS}</strong> tópicos<br /><strong>{catrow.forumrow.POSTS}</strong> respostas</td>
                  <td class="tcr">
                     <span>
                     <!-- BEGIN switch_topic_title -->
                     <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                     <!-- END switch_topic_title -->
                     {catrow.forumrow.USER_LAST_POST}
                     </span>
                  </td>
               </tr>
   <!-- END forumrow -->

   <!-- BEGIN tablefoot -->
            </tbody>
         </table>
      </div>
   <!-- END tablefoot -->
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->

Arcanjo Arcanjo  • Qui 9 Out 2014 - 9:14

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 9:14

Troque por este:



Código:
    <div class="pun-crumbs">
      <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
    </div>
    <div class="main">
    <!-- BEGIN catrow -->
      <!-- BEGIN tablehead -->
          <div class="main-head">
            <div class="page-title">{catrow.tablehead.L_FORUM}</div>
          </div>
          <div class="main-content">
            <table cellspacing="0" class="table">
                <tbody class="statused">
      <!-- END tablehead -->

      <!-- BEGIN forumrow -->
                  <tr>
                                                    <td class="tc_icon">
                        <span class="status">
                            <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                        </span>
                                                    </td>
                      <td class="tc_forum" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT};">
                                                            <h{catrow.forumrow.LEVEL} class="hierarchy"><a href="{catrow.forumrow.U_VIEWFORUM}" class="forumtitle">{catrow.forumrow.FORUM_NAME}</a></h{catrow.forumrow.LEVEL}>
                        <br />
                        {catrow.forumrow.FORUM_DESC}
                        <!-- BEGIN switch_moderators_links -->
                        <br />
                        {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                        <!-- END switch_moderators_links -->
                        {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                        <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                      </td>
                                              <td class="tc3"><strong>{catrow.forumrow.TOPICS}</strong> tópicos<br /><strong>{catrow.forumrow.POSTS}</strong> respostas</td>
                      <td class="tcr">
<!-- BEGIN avatar -->
                            <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
                            <!-- END avatar -->
                        <span>
                        <!-- BEGIN switch_topic_title -->
                        <a href="{catrow.forumrow.U_LATEST_TOPIC}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}">{catrow.forumrow.LATEST_TOPIC_NAME}</a><br />
                        <!-- END switch_topic_title -->
                        {catrow.forumrow.USER_LAST_POST}
                        </span>
                      </td>
                  </tr>
      <!-- END forumrow -->

      <!-- BEGIN tablefoot -->
                </tbody>
            </table>
          </div>
      <!-- END tablefoot -->
    <!-- END catrow -->
    </div>

    <!-- BEGIN switch_on_index -->
    <div class="main-box clearfix">
      <ul>
          <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
          <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
          <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
      </ul>
      <!-- BEGIN switch_delete_cookies -->
      <p class="right">
          <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
      </p>
      <!-- END switch_delete_cookies -->
    </div>
    <!-- END switch_on_index -->

Agora acesse seu Painel de controle - Visualização - Página inicial - Estrutura e hierarquia:


Mostrar avatar na coluna "Última mensagem" : Marque SIM

xTrevor xTrevor  • Qui 9 Out 2014 - 14:50

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 14:50

Olá, eu gostaria tipo assim "Print", Com bordas

[Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem]

Darknes Darknes  • Qui 9 Out 2014 - 14:53

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 14:53

Basta adicionar o seguinte código ao seu CSS:

Código:
.lastpost-avatar {
border: solid 1px #DDD;
}

Resulta?

Até mais!

xTrevor xTrevor  • Qui 9 Out 2014 - 15:27

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 15:27

Olá, Não resultou continua mesma coisa sem bordas, Queria que ficasse igual no print se poder me ajudar ficarei grato Abraços.

Darknes Darknes  • Qui 9 Out 2014 - 15:30

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 15:30

Olá,

Tente adicionar este código ao seu CSS:

Código:
.lastpost-avatar  {
border: solid 1px #DDD!important;
}
.lastpost-avatar img {
border-radius: 0px!important;
}

Resulta?

Até mais!

xTrevor xTrevor  • Qui 9 Out 2014 - 15:58

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 15:58

Olá, não está resultando de forma alguma meu index_box ta logo acima! Abraços

Darknes Darknes  • Qui 9 Out 2014 - 15:59

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 15:59

Poderia me fornecer seu CSS?

Até!

Arcanjo Arcanjo  • Qui 9 Out 2014 - 16:08

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 16:08

Adicione este código em seu CSS:

Código:
.lastpost-avatar img {
height: 38px;
width: 38px;
border: 1px solid #ccc;
}

Darknes Darknes  • Qui 9 Out 2014 - 16:12

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 16:12

Caso o do nosso amigo Arcanjo não resulte tente esse:

Código:
.lastpost-avatar img {
width: 38px;
float: left;
padding: 1px;
border: 1px solid #d5d5d5;
background: #fff;
height: 38px;
margin-left: 10px;
}

Até!

xTrevor xTrevor  • Qui 9 Out 2014 - 16:22

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 16:22

Olá, Não está dando de nenhum geito queria que ficasse igual desse fórum que é o mesmo que o meu [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]

Arcanjo Arcanjo  • Qui 9 Out 2014 - 19:28

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 19:28

Código:
.lastpost-avatar {
float: left;
padding: 2px;
border: 1px solid #ccc;
margin-right: 5px;
}
*


Instruções: FAÇA BACKUP DA FOLHA CSS PRIMEIRO


Primeiro, no seu template procure por:  [infos].lastpost-avatar[/infos]

Depois apague-o e adicione o código acima fornecido.

xTrevor xTrevor  • Qui 9 Out 2014 - 21:09

[Ajuda]Código Empty Re: [Ajuda]Código Qui 9 Out 2014 - 21:09

Olá, Não resultou, já estou quase desistindo queria igual está no print.

Arcanjo Arcanjo  • Sex 10 Out 2014 - 6:10

[Ajuda]Código Empty Re: [Ajuda]Código Sex 10 Out 2014 - 6:10

Venho que o senhor não tem nenhum código aplicado dos anteriores fornecidos.

Tente adicionar este código no inicio de sua folha CSS

Código:
.lastpost-avatar img {
width: 30px;
float: left;
padding: 1px;
border: 1px solid #d5d5d5;
background: #fff;
height: 30px;
}

Caso não resulte novamente tente este:

Código:
.lastpost-avatar img {
width: 30px;
float: left; !important
padding: 1px; !important
border: 1px solid #d5d5d5; !important
background: #fff; !important
height: 30px;
}

O código é funcional:

[Tens de ter uma conta e sessão iniciada para poderes visualizar esta imagem]

iConnect iConnect  • Dom 12 Out 2014 - 7:56

[Ajuda]Código Empty Re: [Ajuda]Código Dom 12 Out 2014 - 7:56

Olá,
Se não resultar nenhum dos códigos acima, peço que me passe toda a sua Folha de Estilo CSS.

Até Mais...

xTrevor xTrevor  • Dom 19 Out 2014 - 22:04

[Ajuda]Código Empty Re: [Ajuda]Código Dom 19 Out 2014 - 22:04

Olá, alguem? me ajuda fais tempo que espero

Daemon Daemon  • Dom 19 Out 2014 - 22:23

[Ajuda]Código Empty Re: [Ajuda]Código Dom 19 Out 2014 - 22:23

Adicione ao seu css:
Código:
.lastpost-avatar img {
-moz-box-shadow: 0 2px 2px rgba(0,0,0,0.1);
-webkit-box-shadow: 0 2px 2px rgba(0,0,0,0.1);
background: #fff;
border: 1px solid #d8d8d8;
box-shadow: 0 2px 2px rgba(0,0,0,0.1);
border-radius: 0;
float: left;
height: 28px;
margin-right: 5px;
padding: 2px;
width: 28px;
}
Até mais!

xTrevor xTrevor  • Dom 19 Out 2014 - 22:27

[Ajuda]Código Empty Re: [Ajuda]Código Dom 19 Out 2014 - 22:27

Resultou, Obrigado pode Fechar

Daemon Daemon  • Dom 19 Out 2014 - 22:28

[Ajuda]Código Empty Re: [Ajuda]Código Dom 19 Out 2014 - 22:28

[sucesso=Tópico Resolvido; e Bloqueado][/sucesso]Movido para: Arquivo - Pedido de código

Conteúdo patrocinado  • 

[Ajuda]Código Empty Re: [Ajuda]Código

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