Modificação de Template não funciona

4 participantes

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

Tópico resolvido Modificação de Template não funciona

Mensagem por .Danni. Qui 7 Ago 2014 - 2:26


  • Descrição:

Boa noite,

Meu problema é exatamente esse. Eu criei um fórum há pouco para criar temas e a edição de templates não funcionou. Achei que podia ser bug porque o fórum era novo, apaguei o mesmo e decidi testar no meu fórum de testes, contudo o mesmo também não aceita alterações no template.

Meu fórum principal, no entanto, funciona bem.

O que eu fiz para solucionar o problema:


  • Limpei todo o histórico do navegador;
  • Tentei outros dois navegadores diferentes;
  • Desliguei e liguei a opção de forçar template padrão;
  • Troquei o endereço do fórum teste para um subdomínio igual ao do meu fórum principal;
  • Reiniciei o PC.


Nada disso resultou. Agradeço qualquer ajuda desde já, mas por favor, não me peçam para refazer o que eu já fiz.



  • Informações:




Fórum:http://cincoreinos.ace.st/Versão:PUNBB
Tipo:Erros diversosTags:Modificação,Template,funciona



Última edição por Eva Boss em Sex 15 Ago 2014 - 8:10, editado 1 vez(es)
.Danni.

.Danni.
Super Membro

Membro desde : 13/01/2010
Mensagens : 1880
Pontos : 2623

https://coletivomistico.forumbrasil.net/

Ir para o topo Ir para baixo

Membro Entusiasta

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por Hancki Qui 7 Ago 2014 - 9:29

Olá!

Problemas deste tipo (normalmente) não têm a ver com o computador, mas ainda bem que fez essas coisas para procurar a origem do problema. Antes fossemos todos assim  Rindo 

No entanto, para ajudarmos, precisamos dos links dos fóruns onde ocorre esse problema. Assim como vários Print Screen dos problemas.

Hancki
Hancki

Hancki
Membro Entusiasta
Membro Entusiasta

Membro desde : 03/10/2009
Mensagens : 8194
Pontos : 12249

https://ajuda.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por .Danni. Qui 7 Ago 2014 - 10:36

O único print que faz sentido postar é o da área de templates, com o mesmo editado:

Modificação de Template não funciona 2v7xgyp

No caso eu fiz alterações que seriam visíveis como remover os readers da tabela de tópicos. Visitando o link, pelo menos para mim, aparece inalterado: http://cincoreinos.ace.st/forum

Edit: Caso o erro seja só para mim, aqui está a área editada como ela aparece:

Modificação de Template não funciona 1z6ys8w

Deveria estar sem o título da categoria e a linha de tabela abaixo dela.
.Danni.

.Danni.
Super Membro

Membro desde : 13/01/2010
Mensagens : 1880
Pontos : 2623

https://coletivomistico.forumbrasil.net/

Ir para o topo Ir para baixo

Principal Contribuidor

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por Shek Qui 7 Ago 2014 - 13:14

Bom dia!

A opção Forçar os modelos padrão está ativada Eva Boss?
Shek

Shek
Principal Contribuidor
Principal Contribuidor

Membro desde : 11/04/2009
Mensagens : 18896
Pontos : 22793

https://shiftactive.blogspot.com/ https://www.facebook.com/ShiftActif https://twitter.com/ShiftActif

Ir para o topo Ir para baixo

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por .Danni. Qui 7 Ago 2014 - 21:49

Não, eu até ativei e desativei pra ver se funcionava, mas não deu em nada. Se alguém quiser login e senha para entrar e ver é só falar que eu mando por MP.
.Danni.

.Danni.
Super Membro

Membro desde : 13/01/2010
Mensagens : 1880
Pontos : 2623

https://coletivomistico.forumbrasil.net/

Ir para o topo Ir para baixo

Membro Entusiasta

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por Hancki Sex 8 Ago 2014 - 9:47

Olá!

Pode passar-me o seu template editado? Pode ser um problema de edição e parece que está a dar em falso.

Hancki
Hancki

Hancki
Membro Entusiasta
Membro Entusiasta

Membro desde : 03/10/2009
Mensagens : 8194
Pontos : 12249

https://ajuda.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por .Danni. Sex 8 Ago 2014 - 12:14

Código:
<!-- BEGIN topics_list_box -->
   <!-- BEGIN row -->
      <!-- BEGIN header_table -->
         <!-- BEGIN multi_selection -->
            <script type="text/javascript">
               //<![CDATA[
               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="maintitle floated dropped">
            <h3>{FORUM_NAME}&nbsp;</h3>

            <!-- BEGIN switch_forum_options -->
               <div id="forummenu-options" class="popmenubutton">
                  <a href="javascript:void(0);" onclick="togglePopUpMenu('forummenu-options_menu');">{L_FORUM_OPTIONS}</a>
               </div>
               <ul id="forummenu-options_menu" class="popupmenu" style="position: absolute; top: 30px; right: 8px; z-index: 10000; display: none;">
                  <li class="popupmenu-category">
                     {L_FORUM_OPTIONS}
                  </li>
                  <li class="popupmenu-item">
                     <a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a>
                  </li>
                  <li class="popupmenu-item last">
                     {S_WATCH_FORUM}
                  </li>
               </ul>
            <!-- END switch_forum_options -->

         </div>

         <table cellspacing="0" cellpadding="0" class="ipbtable">
            <tbody>
      <!-- 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 class="maintitle">
            <h2>{topics_list_box.row.topic.table_sticky.L_TITLE}</h2>
         </div>
         <table cellspacing="0" cellpadding="0" class="ipbtable">
            <tbody>
         <!-- END table_sticky -->
               <tr>
                  <td class="row1 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                     <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}" />
                  </td>
                  <td class="row1 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                     {topics_list_box.row.ICON}
                  </td>
                  <td class="row1 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                     <!-- BEGIN single_selection -->
                        <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
                     <!-- END single_selection -->

                     {topics_list_box.row.PARTICIPATE_POST_IMG}&nbsp;{topics_list_box.row.NEWEST_POST_IMG}&nbsp;{topics_list_box.row.TOPIC_TYPE}&nbsp;
                     <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>&nbsp;
                     <!-- BEGIN switch_description -->
                     <p class="topic-desc">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</p>
                     <!-- END switch_description -->
                     {topics_list_box.row.GOTO_PAGE_NEW}
                  </td>
                  <td class="row2 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.REPLIES}</td>
                  <td class="row1 centered author <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.TOPIC_AUTHOR}</td>
                  <td class="row2 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.VIEWS}</td>
                  <td class="row1 lastaction <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">

                            <!-- BEGIN avatar -->
                            <span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
                            <!-- END avatar -->

                     {topics_list_box.row.LAST_POST_IMG}&nbsp;{topics_list_box.row.LAST_POST_TIME}
                     <br />{topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR}
                  </td>
                  <!-- BEGIN multi_selection -->
                     <td class="row2 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                        <input type="checkbox" name="{topics_list_box.FIELDNAME}" 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="row1 centered" colspan="8"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
               </tr>
      <!-- END no_topics -->

      <!-- BEGIN bottom -->
            </tbody>
         </table>

         <div class="tfooter box-content darkrow clearfix">
            <!-- BEGIN search -->
               <div class="search-footer-box">
                  <form method="get" id="forum-search" action="{S_SEARCHBOX_ACTION}">
                     <fieldset>
                        <input type="text" name="search_keywords" id="search_keywords" size="20" value="{L_SEARCH}" onclick="if (this.value == '{L_SEARCH}') this.value = '';" onblur="if (this.value == '') this.value = '{L_SEARCH}';" />
                        &nbsp;<input class="button" type="submit" value="{L_SEARCH}" />
                        <input type="hidden" value="{SEARCH_WHERE}" name="search_where" />
                     </fieldset>
                  </form>
               </div>
            <!-- END search -->
         </div>
      <!-- END bottom -->

      <!-- BEGIN spacer -->
         <br />
      <!-- END spacer -->
   <!-- END row -->
<!-- END topics_list_box -->

Eu sempre tiro os headers nos fóruns que eu faço, o meu principal mesmo eu tirei um deles e não deu problema: http://dominacao.ace.st
.Danni.

.Danni.
Super Membro

Membro desde : 13/01/2010
Mensagens : 1880
Pontos : 2623

https://coletivomistico.forumbrasil.net/

Ir para o topo Ir para baixo

Membro Entusiasta

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por Hancki Sex 8 Ago 2014 - 19:17

Ele aplica, mas parece-me defeituoso.
O mais fácil é começarmos de novo e me dizer todas as alterações que deseja fazer na lista de tópicos.
Hancki

Hancki
Membro Entusiasta
Membro Entusiasta

Membro desde : 03/10/2009
Mensagens : 8194
Pontos : 12249

https://ajuda.forumeiros.com/

Ir para o topo Ir para baixo

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por .Danni. Sex 8 Ago 2014 - 21:21

O problema não é o código, o problema é que no meu fórum não importa o nível da edição, não funciona, não aparece. Eu tentei até coisas simples como só mudar a cor de determinado campo e o efeito não teve resultado.

Código:
<!-- BEGIN topics_list_box -->
   <!-- BEGIN row -->
      <!-- BEGIN header_table -->
         <!-- BEGIN multi_selection -->
            <script type="text/javascript">
               //<![CDATA[
               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="maintitle floated dropped">
            <h3>{FORUM_NAME}&nbsp;</h3>

            <!-- BEGIN switch_forum_options -->
               <div id="forummenu-options" class="popmenubutton">
                  <a href="javascript:void(0);" onclick="togglePopUpMenu('forummenu-options_menu');">{L_FORUM_OPTIONS}</a>
               </div>
               <ul id="forummenu-options_menu" class="popupmenu" style="position: absolute; top: 30px; right: 8px; z-index: 10000; display: none;">
                  <li class="popupmenu-category">
                     {L_FORUM_OPTIONS}
                  </li>
                  <li class="popupmenu-item">
                     <a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a>
                  </li>
                  <li class="popupmenu-item last">
                     {S_WATCH_FORUM}
                  </li>
               </ul>
            <!-- END switch_forum_options -->

         </div>

         <table cellspacing="0" cellpadding="0" class="ipbtable">
            <thead>
               <tr>
                  <th class="icon"></th>
                  <th class="icon" style="width: 2%;"></th>
                  <th class="forum2">{topics_list_box.row.L_TITLE}</th>
                  <th class="topics">{topics_list_box.row.L_REPLIES}</th>
                  <th class="starter">{topics_list_box.row.L_AUTHOR}</th>
                  <th class="views">{topics_list_box.row.L_VIEWS}</th>
                  <th class="last last-post2">{topics_list_box.row.L_LASTPOST}</th>
                  <!-- BEGIN multi_selection -->
                     <th>
                        <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" />
                     </th>
                  <!-- END multi_selection -->
               </tr>
            </thead>
            <tbody>
      <!-- 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 class="maintitle">
            <h2>{topics_list_box.row.topic.table_sticky.L_TITLE}</h2>
         </div>
         <table cellspacing="0" cellpadding="0" class="ipbtable">
            <thead>
               <tr>
                  <th class="icon"></th>
                  <th class="icon"></th>
                  <th class="forum2">{topics_list_box.row.topic.table_sticky.L_TITLE}</th>
                  <th class="topics">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
                  <th class="starter">{topics_list_box.row.topic.table_sticky.L_AUTHOR}</th>
                  <th class="views">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
                  <th class="last last-post2">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
                  <!-- BEGIN multi_selection -->
                     <th class="checkbox">
                        <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" />
                     </th>
                  <!-- END multi_selection -->
               </tr>
            </thead>
            <tbody>
         <!-- END table_sticky -->
               <tr>
                  <td class="row1 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                     <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}" />
                  </td>
                  <td class="row1 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                     {topics_list_box.row.ICON}
                  </td>
                  <td class="row1 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                     <!-- BEGIN single_selection -->
                        <input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} />
                     <!-- END single_selection -->

                     {topics_list_box.row.PARTICIPATE_POST_IMG}&nbsp;{topics_list_box.row.NEWEST_POST_IMG}&nbsp;{topics_list_box.row.TOPIC_TYPE}&nbsp;
                     <a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>&nbsp;
                     <!-- BEGIN switch_description -->
                     <p class="topic-desc">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</p>
                     <!-- END switch_description -->
                     {topics_list_box.row.GOTO_PAGE_NEW}
                  </td>
                                          <td class="row2 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->"><span style="color: #ff0000 !important;">{topics_list_box.row.REPLIES}</span></td>
                  <td class="row1 centered author <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">{topics_list_box.row.TOPIC_AUTHOR}</td>
                  <td class="row2 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->"><span style="color: #ff0000 !important;">{topics_list_box.row.VIEWS}</span></td>
                  <td class="row1 lastaction <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">

                            <!-- BEGIN avatar -->
                            <span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
                            <!-- END avatar -->

                     {topics_list_box.row.LAST_POST_IMG}&nbsp;{topics_list_box.row.LAST_POST_TIME}
                     <br />{topics_list_box.row.L_BY} {topics_list_box.row.LAST_POST_AUTHOR}
                  </td>
                  <!-- BEGIN multi_selection -->
                     <td class="row2 centered <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
                        <input type="checkbox" name="{topics_list_box.FIELDNAME}" 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="row1 centered" colspan="8"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
               </tr>
      <!-- END no_topics -->

      <!-- BEGIN bottom -->
            </tbody>
         </table>

         <div class="tfooter box-content darkrow clearfix">
            <!-- BEGIN search -->
               <div class="search-footer-box">
                  <form method="get" id="forum-search" action="{S_SEARCHBOX_ACTION}">
                     <fieldset>
                        <input type="text" name="search_keywords" id="search_keywords" size="20" value="{L_SEARCH}" onclick="if (this.value == '{L_SEARCH}') this.value = '';" onblur="if (this.value == '') this.value = '{L_SEARCH}';" />
                        &nbsp;<input class="button" type="submit" value="{L_SEARCH}" />
                        <input type="hidden" value="{SEARCH_WHERE}" name="search_where" />
                     </fieldset>
                  </form>
               </div>
            <!-- END search -->
         </div>
      <!-- END bottom -->

      <!-- BEGIN spacer -->
         <br />
      <!-- END spacer -->
   <!-- END row -->
<!-- END topics_list_box -->

Essa modificação está ativa no fórum e mesmo assim não aparece, é só uma alteração de cor dos campos de resposta e visualização.
.Danni.

.Danni.
Super Membro

Membro desde : 13/01/2010
Mensagens : 1880
Pontos : 2623

https://coletivomistico.forumbrasil.net/

Ir para o topo Ir para baixo

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por .Danni. Dom 10 Ago 2014 - 4:27

Ainda com problemas.
.Danni.

.Danni.
Super Membro

Membro desde : 13/01/2010
Mensagens : 1880
Pontos : 2623

https://coletivomistico.forumbrasil.net/

Ir para o topo Ir para baixo

Principal Contribuidor

Tópico resolvido Re: Modificação de Template não funciona

Mensagem por nikka Dom 10 Ago 2014 - 10:25

Olá Eva Boss,

Esta situação foi reportado aos nossos técnicos informáticos para ser analisada. Logo que tenhamos algo mais a acrescentar, comunicar-lhe-emos.

Agradecemos a sua compreensão e paciência.
Até mais.
nikka

nikka
Principal Contribuidor
Principal Contribuidor

Membro desde : 17/12/2008
Mensagens : 15620
Pontos : 19897

https://ajuda.forumeiros.com/ https://www.facebook.com/forumeirospt https://twitter.com/Forumeiros_PT

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