Boas-vindas ao Power Pixel

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

Avatar sub forum

3 participantes

venancio venancio  • Qui 18 Dez 2014 - 23:18

Avatar sub forum Empty Avatar sub forum Qui 18 Dez 2014 - 23:18

Minha questão:
Ola queria saber como coloca o avatar no Sub Fórum
por que to usando um efeito e ele vai fica bem bacana espero ajuda até


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

Versão:
PunBB

[S]herlock H. [S]herlock H.  • Sex 19 Dez 2014 - 10:15

Avatar sub forum Empty Re: Avatar sub forum Sex 19 Dez 2014 - 10:15

Faça o seguinte, desative o JS que usa para o tal efeito, Avatar nas Categorias.
Com isso, aceda em:
Painel de Controle > Visualização > Página Inicial > Estrutura e Hierarquia

Em Hierarquia, procure a opção Mostrar avatar na coluna "Última mensagem" : Coloque SIM.
Salve!
Veja se irá aparecer, caso contrário, me envie o template index_box e topics_list_box.

venancio venancio  • Sáb 20 Dez 2014 - 12:01

Avatar sub forum Empty Re: Avatar sub forum Sáb 20 Dez 2014 - 12:01

Desculpe mais não tem essa opção no meu painel uso a verção PunBB

[S]herlock H. [S]herlock H.  • Sáb 20 Dez 2014 - 12:03

Avatar sub forum Empty Re: Avatar sub forum Sáb 20 Dez 2014 - 12:03

venancio escreveu:Desculpe mais não tem essa opção no meu painel uso a verção PunBB
Como não amigo? Isto é padrão forumeiros!
Tire uma print da sua tela na parte de Hierarquia.

venancio venancio  • Sáb 20 Dez 2014 - 12:10

Avatar sub forum Empty Re: Avatar sub forum Sáb 20 Dez 2014 - 12:10

Amigo ja esta em (SIM) Mais mesmo asim Sumil até o da Indice queria coloca ele na indice e no Sub Fórum

Cepheus Cepheus  • Sáb 20 Dez 2014 - 12:24

Avatar sub forum Empty Re: Avatar sub forum Sáb 20 Dez 2014 - 12:24

então deixa marcado sim, e siga os passos abaixo:

Abra o index_box e procure por:

Código:
<td class="tcr">

Adicione depois:
Código:
<!-- BEGIN avatar -->
                            <span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
                            <!-- END avatar -->


no topics_list_box

procure por: (pode ser que esteja apenas: < td class=" tcr " > "sem os espaços")
Código:
<td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">


adicione depois:
Código:
<!-- BEGIN avatar -->
                <span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
                <!-- END avatar -->

venancio venancio  • Seg 22 Dez 2014 - 16:14

Avatar sub forum Empty Re: Avatar sub forum Seg 22 Dez 2014 - 16:14

[aviso="Abandonado"]O tópico foi abandonado pelo usuário.
Nota: O fórum do membro já se encontra com a solução.[/aviso]
Ola poderia colocar pra min o code to meio confiso e sem resultados..

code

Código:
    <!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
   <!-- BEGIN multi_selection -->
      <script type="text/javascript">
      function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
         var all_checked = true;
         for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
         if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
            all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
         }
         }
         document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
      }
      function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
         for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
         if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
            document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
         }
         }
      }
      </script>
   <!-- END multi_selection -->

   <div class="main-head">
      <!-- BEGIN multi_selection -->
      <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
      <!-- END multi_selection -->
      <h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
   </div>
   <div class="main-content">
<div class="ipb-content">
   <table cellspacing="0" class="table">
      <thead>
         <tr>
            <th class="tcl">{L_TOPICS}</th>
                          <th class="tc2"></th>
            <th class="tcr">{topics_list_box.row.L_LASTPOST}</th>
         </tr>
      </thead>
      <tbody class="statused">
<!-- END header_table -->

<!-- BEGIN header_row -->
<strong>{topics_list_box.row.L_TITLE}</strong>
<!-- END header_row -->

<!-- BEGIN topic -->
   <!-- BEGIN table_sticky -->
      </tbody>
   </table>
            </div>
   </div>

   <div class="main-head">
      <!-- BEGIN multi_selection -->
      <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" /   >
      <!-- END multi_selection -->
      <h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
          
          </div>
        
   <div class="main-content">
          <div class="ipb-content">
   <table cellspacing="0" class="table">
      <thead>
         <tr>
            <th class="tcl">{L_TOPICS}</th>
                          <th class="tc2"></th>
            <th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
         </tr>
      </thead>
      <tbody class="statused">
   <!-- END table_sticky -->
      <tr>
         <td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
            <span class="status">
               <img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
            </span>
<div class="t2">

<a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a> {topics_list_box.row.GOTO_PAGE_NEW}

</div>
<div class="by smalltext">

    Started By {topics_list_box.row.TOPIC_AUTHOR}
</div>
            <!-- BEGIN switch_description -->
            <br />
             {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
            <!-- END switch_description -->
         </td>
                  <td class="tch3xd tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                        <ul>
         <li>
            
               {topics_list_box.row.REPLIES} replies

         </li>
         <li class="views desc">{topics_list_box.row.VIEWS} views</li>
      </ul>
                  
                  </td>

   
         <td class="tcr <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                  <div>

   {topics_list_box.row.LAST_POST_AUTHOR}

</div>
<div>

    {topics_list_box.row.LAST_POST_TIME}

</div>
<div>

</div>
                  </td>
         <!-- BEGIN multi_selection -->
         <td><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
         <!-- END multi_selection -->
      </tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
   <td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->

<!-- BEGIN bottom -->
      </tbody>
   </table>
          </div>
   </div>
   <div class="main-foot clearfix">
      <!-- BEGIN multi_selection -->
      <input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
      <!-- END multi_selection -->
      <p class="h2">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
      <p class="options">
         <a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> {S_WATCH_FORUM}&nbsp;<a href="#top">{L_BACK_TO_TOP}</a>
      </p>
   </div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->

Conteúdo patrocinado  • 

Avatar sub forum Empty Re: Avatar sub forum

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