Soucis Messenger et Template modifié

3 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Soucis Messenger et Template modifié

Message par Cassicorn Dim 1 Sep 2024 - 16:14

Détails techniques


Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Google Chrome, Opera
Personnes concernées par le problème : Tous les utilisateurs
Lien du forum : https://goodmorningny.forumactif.com

Description du problème

Bonjour,
Depuis quelques temps j'essaye d'installer sur notre forum le code messenger. J'essaye tout d'abord sur le forum test en utilisant le code d'Ange Tuteur
Ayant modifié certain template le code n'arrive pas à trouver les messages et les sujets.
J'ai réussit à identifier les trois Template qui font planter le code mais je n'arrive pas à résoudre le soucis
Le index_box:
Code:
<div class="liens_inutiles">
         <!-- BEGIN switch_user_logged_in -->
                  <a class="gensmall" href="{U_SEARCH_NEW}">Nouveaux postes</a>
                <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
         <!-- END switch_user_logged_in -->
        <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
                  </div>
      

<!-- BEGIN catrow --><!-- BEGIN tablehead --><div class="titre_categ" align="center">{catrow.tablehead.L_FORUM}</div>
<table class="forumline2" width="100%" border="0" cellspacing="0" cellpadding="0">
   
   <!-- END tablehead -->

   <!-- BEGIN cathead -->
   <tr>
      <!-- BEGIN inc -->
     <td class="{catrow.cathead.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
    
      <td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%">
        <h{catrow.cathead.LEVEL} class="hierarchy">
            <span class="cattitle">
               <a class="cattitle" title="{catrow.cathead.CAT_DESC}" href="{catrow.cathead.U_VIEWCAT}">{catrow.cathead.CAT_TITLE}</a>
            </span>
         </h{catrow.cathead.LEVEL}>
  
      </td>
    
    
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right"> </td>
   </tr>
   <!-- END cathead -->
   <!-- BEGIN forumrow -->
   <tr>
      <!-- BEGIN inc -->
       <td class="{catrow.forumrow.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" alt="." /></td>
        <!-- END inc -->
        <td align="center" valign="middle">
         <div class="forumstyle">
            <div class="partie_un">
               <div class="new_old">
   <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </div>
            </div>
                          
                             <div class="partie_deux">
               <div class="forumlink">
                  <a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
               </div>
                                  <div class="nb-suj-msg">
                          {catrow.forumrow.TOPICS} sujets - {catrow.forumrow.POSTS} messages.
                                  </div>
               <div class="forumdesc">
                  <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
               </div>
                                  <div class="dernier_msg">
<div class="last_post_center" id="last_post_center"><span>{catrow.forumrow.LAST_POST}</span></div>
               </div>
            </div>
                          
                          <div class="partie_trois">
         <!-- BEGIN avatar -->
                  <div style="width: 200px;"></div>
                  <div class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</div>
               <!-- END avatar -->
               
            </div>
                          
                             <div class="partie_quatre">
                              <div class="sousforum">
               <span class="gensmall" id="subforums">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>
               <script type="text/javascript">
                  jQuery('#subforums').html(jQuery('#subforums').html().replace(/, /g,' ')).removeAttr('id');
               </script>
            </div>
            </div>
            </div>
         
      </td>
   </tr>
   <!-- END forumrow -->
   <!-- BEGIN catfoot -->
   <tr>
      <!-- BEGIN inc -->
      <td class="{catrow.catfoot.inc.INC_CLASS}" width="46"><img src="{SPACER}" height="0" width="46" /></td>
      <!-- END inc -->
      <td class="spaceRow" colspan="{catrow.catfoot.INC_SPAN}" height="1"><img src="{SPACER}" alt="" height="1" width="1" /></td>
   </tr>
   <!-- END catfoot -->
   <!-- BEGIN tablefoot -->
</table><img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->

Le topic_list_box:
Code:
<!-- 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 -->

<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
      <!-- BEGIN pagination -->
   <tr>
      <td class="" colspan="7" align="right"><span class="gensmall4">{PAGINATION}</span></td>
   </tr>
   <!-- END pagination -->
   <!-- END header_table --><!-- BEGIN header_row -->
   <tr colspan="3">
      <td class="" colspan="{topics_list_box.row.COLSPAN}"><span class="gensmall2">&nbsp;<b>{topics_list_box.row.L_TITLE}</b></span></td>
   </tr>

  <!-- END header_row -->
  
  <!-- BEGIN topic -->
{topics_list_box.row.END_TABLE_STICKY}
   <tr><td>
          
<div class="affichage_sujets">
    <!-- BEGIN avatar -->
  <div class="last_avatar1">
            <div class="lastpost-avatar1">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</div>
  </div>
                    <!-- END avatar -->   
     <div class="descrp_affichage">
            <div style="width: 35px;"></div>
  <!-- BEGIN multi_selection -->
<th align="center" nowrap="nowrap" width="20"><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>

<span class="postdetails"><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} /></span>
   <!-- END multi_selection -->
  
<div class="topic-title1">
{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE} &nbsp;&nbsp;
<a class="topictitle1" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>
            </div>
          <!-- BEGIN switch_description -->
                          <span class="genmed1">
   {topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}
                          </span>
         <!-- END switch_description -->
           <span class="postdetails1"><div style="margin-top: -20px;" id="trucsuj"><span class="gensmall1">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span>&nbsp;
                            <span class="gensmall1">{topics_list_box.row.GOTO_PAGE}<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE} <!-- END nav_tree --></span> </div>
                       <span class="postdetails4">par</span> <span class="name2"><strong>{topics_list_box.row.TOPIC_AUTHOR}</strong>
                            </span>  </span></div>
    <div class="image_sujets">
<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}" />
    </div>
 
    <div class="last_partie">
                   <span class="postdetails"> Le dernier message a été posté {topics_list_box.row.LAST_POST_TIME} par {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}
                    </span>

   </div>
    <div class="rep_suj1"> {topics_list_box.row.REPLIES} M.
               {topics_list_box.row.VIEWS} V.</div>
  </div>
             
          </td>   
   </tr>
   <!-- END topic --><!-- BEGIN no_topics -->

   <!-- END no_topics --><!-- BEGIN bottom -->
   <tr>
      <td class="catBottom" colspan="{topics_list_box.row.COLSPAN}" valign="middle">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <td>&nbsp;<span class="gensmall">{PAGINATION}</span></td>
               <td align="right"><a href="#top">{L_BACK_TO_TOP}</a>&nbsp;</td>
            </tr>
         </table>
      </td>
   </tr>
<!-- END bottom --><!-- BEGIN footer_table -->
</table><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->

Et le viewtopic_body
Code:
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
    <tr><td align="left" {WIDTH_GALLERY}><span class="nav"><!-- BEGIN switch_user_authpost --><a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}Newtopic" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a><!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a><!-- END switch_user_authreply --></span></td>
    <td valign="middle" align="right"><span class="navPOST" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a class="nav" href="{U_INDEX}" itemprop="url"><span itemprop="title">{L_INDEX}</span></a><!--{NAV_SEP}<a class="nav" href="{U_ALBUM}" itemprop="url"><span itemprop="title">{L_ALBUM}</span></a>-->{NAV_CAT_DESC_SECOND} <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a></span>
    </td></tr>
      <table id="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" >
   <tr align="right">
      <td class="catHead" colspan="2" height="28">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                                  <tr><td colspan="2"><div id="tlePOST">{TOPIC_TITLE}</div></td></tr></tr></table>
          </td></tr></table>

    <table align="center" width="100%" border="0" cellspacing="0" cellpadding="0" >
    <!-- BEGIN topicpagination -->
    <tr><td colspan="2" align="right" valign="top"><span class="gensmall">{PAGINATION}</span></td></tr>
    <!-- END topicpagination -->
    {POLL_DISPLAY}
 
        <!-- BEGIN postrow -->
        <!-- BEGIN hidden -->
        <tr><td class="postdetails {postrow.hidden.ROW_CLASS}" colspan="2" align="center">{postrow.hidden.MESSAGE}</td></tr>
        <!-- END hidden -->
        <!-- BEGIN displayed -->
        <tr class="post post--{postrow.displayed.U_POST_ID}" id="p{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}"><td colspan="3">
        <!-- BEGIN switch_vote_active -->
        <div class="vote gensmall">
        <!-- BEGIN switch_vote -->
        <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
        <!-- END switch_vote -->

        <!-- BEGIN switch_bar -->
        <div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
        <!-- BEGIN switch_vote_plus -->
        <div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
        <!-- END switch_vote_plus -->

        <!-- BEGIN switch_vote_minus -->
        <div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
        <!-- END switch_vote_minus -->
        </div>
        <!-- END switch_bar -->

        <!-- BEGIN switch_no_bar -->
        <div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
        <!-- END switch_no_bar -->

        <!-- BEGIN switch_vote -->
        <div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
        <!-- END switch_vote -->
        </div>
        <!-- END switch_vote_active --><div style="height:5px;"></div>
    </td></tr>
 
        <tr><td valign="top">
  <span class="postdetails poster-profile">
    <div class="profil-complet">
 <div class="name">
                   « <a name="{postrow.displayed.U_POST_ID}" style="" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong> »
                 </div>
      <div class="rank-profil">{postrow.displayed.POSTER_RANK}</div>
      <center>{postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}</center>{postrow.displayed.ONLINE_IMG}<br />
            
<div class="systab">
 <div class="selected">
   <span>identity card</span>
        <span class="profil"> <!-- BEGIN profile_field --><div class="infos-posteur">
          <span class="profil_label"> <!-- Champs du profil  --> {postrow.displayed.profile_field.LABEL}</span>
              <!-- Contenu/réponses aux champs --> {postrow.displayed.profile_field.CONTENT}
             {postrow.displayed.profile_field.SEPARATOR}
          </div> <!-- END profile_field --> </span>
 </div>
 <div>
   <span>we're curious</span>
   <div class="rpg"><!-- Feuille de personnage -->{postrow.displayed.POSTER_RPG}</div>
 </div>
</div>
      <div class="ktactPOST"><center>{postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field -->{postrow.displayed.contact_field.CONTENT}<!-- END contact_field --></center></div>
    </div>
            </span>
        </td>
 
        <td valign="top" width="70%">
        <div class="DTPOST"><div style="display:none;">{postrow.displayed.POSTER_NAME}</div>
          <div class="datePOST"><img src="{postrow.displayed.MINI_TIME_IMG}" border="0" />{postrow.displayed.POST_DATE}</div>
          <div class="magicDivPOST">
            <div class="toolsPOST">{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG} <a href="{postrow.displayed.POST_URL}"><img src="https://i.ibb.co/mHRn9Xm/diez.png" /></a></div>
        
         </div>
          </div>
        <div class="postbody">
          <div>{postrow.displayed.MESSAGE}</div>
          
          
          
        <!-- BEGIN switch_attachments -->
        <dl class="attachbox">
        <dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
        <dd>
        <!-- BEGIN switch_post_attachments -->
        <dl class="file">
        <dt><img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" alt="" />

        <!-- BEGIN switch_dl_att -->
        <a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
        <!-- END switch_dl_att -->

        <!-- BEGIN switch_no_dl_att -->
        {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
        <!-- END switch_no_dl_att -->
        </dt>

        <!-- BEGIN switch_no_comment -->
        <dd><em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em></dd>
        <!-- END switch_no_comment -->

        <!-- BEGIN switch_no_dl_att -->
        <dd><em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em></dd>
        <!-- END switch_no_dl_att -->

        <dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
        </dl>
        <!-- END switch_post_attachments -->
        </dd>
        </dl>
        <!-- END switch_attachments -->
          
                            

        <div class="clear"></div></div>
 
        <!-- BEGIN switch_signature -->
        <div class="signPOST">{postrow.displayed.SIGNATURE}</div>
        <!-- END switch_signature -->
          
 </td>
 </tr>
 <!-- BEGIN switch_likes_active -->
 <tr>
 <td colspan="3">
 <div class="fa_like_div">
 <!-- BEGIN switch_like_list -->
 {postrow.displayed.switch_likes_active.switch_like_list.D_LIKE_LIST}
 <!-- END switch_like_list -->
 <!-- BEGIN switch_dislike_list -->
 {postrow.displayed.switch_likes_active.switch_dislike_list.D_DISLIKE_LIST}
 <!-- END switch_dislike_list -->
 <div class="fa_like_div">
 <button class="rep-button {postrow.displayed.switch_likes_active.C_VOTE_LIKE}"  data-href="{postrow.displayed.switch_likes_active.U_VOTE_LIKE}" data-href-rm="{postrow.displayed.switch_likes_active.U_VOTE_RM_LIKE}">
 <svg width="15px" height="15px" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M320 1344q0-26-19-45t-45-19q-27 0-45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45-18.5t19-45.5zm160-512v640q0 26-19 45t-45 19h-288q-26 0-45-19t-19-45v-640q0-26 19-45t45-19h288q26 0 45 19t19 45zm1184 0q0 86-55 149 15 44 15 76 3 76-43 137 17 56 0 117-15 57-54 94 9 112-49 181-64 76-197 78h-129q-66 0-144-15.5t-121.5-29-120.5-39.5q-123-43-158-44-26-1-45-19.5t-19-44.5v-641q0-25 18-43.5t43-20.5q24-2 76-59t101-121q68-87 101-120 18-18 31-48t17.5-48.5 13.5-60.5q7-39 12.5-61t19.5-52 34-50q19-19 45-19 46 0 82.5 10.5t60 26 40 40.5 24 45 12 50 5 45 .5 39q0 38-9.5 76t-19 60-27.5 56q-3 6-10 18t-11 22-8 24h277q78 0 135 57t57 135z" fill="#666"/></svg>
 <span>{postrow.displayed.switch_likes_active.L_LIKE}</span>{postrow.displayed.switch_likes_active.COUNT_VOTE_LIKE}
 </button>
 <!-- BEGIN switch_dislike_button -->
 <button class="rep-button {postrow.displayed.switch_likes_active.switch_dislike_button.C_VOTE_DISLIKE}" data-href="{postrow.displayed.switch_likes_active.switch_dislike_button.U_VOTE_DISLIKE}" data-href-rm="{postrow.displayed.switch_likes_active.switch_dislike_button.U_VOTE_RM_LIKE}">
 <svg width="15px" height="15px" viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"><path d="M320 576q0 26-19 45t-45 19q-27 0-45.5-19t-18.5-45q0-27 18.5-45.5t45.5-18.5q26 0 45 18.5t19 45.5zm160 512v-640q0-26-19-45t-45-19h-288q-26 0-45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45-19t19-45zm1129-149q55 61 55 149-1 78-57.5 135t-134.5 57h-277q4 14 8 24t11 22 10 18q18 37 27 57t19 58.5 10 76.5q0 24-.5 39t-5 45-12 50-24 45-40 40.5-60 26-82.5 10.5q-26 0-45-19-20-20-34-50t-19.5-52-12.5-61q-9-42-13.5-60.5t-17.5-48.5-31-48q-33-33-101-120-49-64-101-121t-76-59q-25-2-43-20.5t-18-43.5v-641q0-26 19-44.5t45-19.5q35-1 158-44 77-26 120.5-39.5t121.5-29 144-15.5h129q133 2 197 78 58 69 49 181 39 37 54 94 17 61 0 117 46 61 43 137 0 32-15 76z" fill="#666"/></svg>
 <span>{postrow.displayed.switch_likes_active.switch_dislike_button.L_DISLIKE}</span>{postrow.displayed.switch_likes_active.switch_dislike_button.COUNT_VOTE_DISLIKE}
 </button>
 <!-- END switch_dislike_button -->
 </div>
 </div>
 </td>
 </tr>
 <!-- END switch_likes_active -->
          

        <!-- BEGIN first_post_br -->
        </table>

        <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
        <tr>
        <th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
        <th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
        </tr>
        <!-- END first_post_br -->
        <!-- END displayed -->
        <!-- END postrow -->
        <!-- BEGIN no_post -->
        <tr align="center">
        <td colspan="2"><span class="genmed">{no_post.L_NO_POST}</span></td>
        </tr>
        <!-- END no_post -->
        </table>
 
    <table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td>
    <!-- BEGIN topicpagination -->
      <td align="right" valign="top"><span class="gensmall">{PAGINATION}</span></td></tr>
    <!-- END topicpagination -->
    <!-- BEGIN switch_user_logged_in --><!-- BEGIN watchtopic -->
    <tr><td colspan="2" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td></tr><!-- END watchtopic --><!-- END switch_user_logged_in -->
      <tr><td valign="middle" colspan="2" align="right"><span class="navPOST" itemscope itemtype="http://data-vocabulary.org/Breadcrumb"><a class="nav" href="{U_INDEX}" itemprop="url"><span itemprop="title">{L_INDEX}</span></a><!--{NAV_SEP}<a class="nav" href="{U_ALBUM}" itemprop="url"><span itemprop="title">{L_ALBUM}</span></a>-->{NAV_CAT_DESC_SECOND} <a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#bottom">{L_GOTO_DOWN}</a></span></td></tr>
     </table>

    <!-- BEGIN switch_forum_rules -->
     <table id="forum_rules" width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr><td valign="top" colspan="2"><div class="cattitle">{L_FORUM_RULES}</div></td></tr>
     <tr>
     <td class="clearfix">
     <table>
     <tr>
     <!-- BEGIN switch_forum_rule_image -->
     <td class="logo"><img src="{RULE_IMG_URL}" /></td>
     <!-- END switch_forum_rule_image -->
     <td class="rules postbody">{RULE_MSG}</td>
     </tr>
     </table>
     </td>
     </tr>
    </table>
    <!-- END switch_forum_rules -->

    <form action="{S_JUMPBOX_ACTION}" method="get" name="jumpbox" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
    <table width="100%" style="margin-top:5px;" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr><td align="left" valign="middle" {WIDTH_GALLERY}><span class="nav"><!-- BEGIN switch_user_authpost --><a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}Newtopic" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a><!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a><!-- END switch_user_authreply --></span></td>
      <td align="right" nowrap="nowrap"><span class="gensmall">{L_JUMP_TO}: {S_JUMPBOX_SELECT} <input class="liteoption" type="submit" value="{L_GO}" /></span></td>

     <!-- BEGIN moderation_panel -->
     <td align="center"><span class="gensmall">{moderation_panel.U_YOUR_PERSONAL_MODERATE}</span></td>
     <td align="center" width="250"><span class="gensmall"> </span></td>
 <!-- END moderation_panel -->
     </tr>
    </table>
    </form>
 
    <!-- BEGIN viewtopic_bottom -->
     <table class="noprint" width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
     <tr><td colspan="2" align="right" valign="top" nowrap="nowrap"><span style="display:inline-block; vertical-align:middle;">{S_TOPIC_ADMIN}</span>
     <form name="action" method="get" action="{S_FORM_MOD_ACTION}" style="display:inline-block; vertical-align:middle;">
     <input type="hidden" name="t" value="{TOPIC_ID}" />
     <!-- <input type="hidden" name="sid" value="{S_SID}" /> -->
     <input type="hidden" name="{SECURE_ID_NAME}" value="{SECURE_ID_VALUE}" />
     <span class="gen">{S_SELECT_MOD}&nbsp;<input class="liteoption" type="submit" value="{L_GO}" /></span>
     </form>
     </td>
       </tr>
    </table>
    <!-- END viewtopic_bottom -->
 
     <table class="forumline noprint" align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
     <tr><td colspan="2" align="center" style="padding:0px;">
     <!-- BEGIN switch_user_logged_in --><a name="quickreply"></a>{QUICK_REPLY_FORM}<!-- END switch_user_logged_in -->
     </td></tr>
    </table>
 
 <script type="text/javascript">$( document ).ready(function() {$('a[href*="/u"] span').each(function(){var color = $(this).css("color"); $(this).closest('.grpPOST, label').css("background-color", color);});});</script>
    <!-- BEGIN switch_image_resize -->
    <script type="text/javascript">
    //<![CDATA[
    $(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
    //]]>
    </script>
    <!-- END switch_image_resize -->
    <script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>

Si quelqu'un pouvait m'aider à identifier le soucis, je lui en serais très reconnaissante
Merci d'avance !
Cassicorn

Cassicorn
Nouveau membre

Messages : 3
Inscrit(e) le : 14/05/2023

https://goodmorningny.forumactif.com
Cassicorn a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Soucis Messenger et Template modifié

Message par Toryudo Mar 3 Sep 2024 - 10:12

Soucis Messenger et Template modifié 4qhGdLE
Bienvenue sur le forum de support de Forumactif

Puisque vous êtes nouveau, voici quelques sujets susceptibles de vous intéresser :
N'hésitez pas à ouvrir un nouveau sujet si vous ne trouvez pas votre réponse.

Bonjour !

Pourriez-vous indiquer le lien vers votre forum de test ?
Je pense que le problème n'est pas sur https://goodmorningny.forumactif.com (en tout cas, je ne vois pas d'erreur ni aucun affichage du messenger sur ce forum-là).
Toryudo

Toryudo
Aidactif
Aidactif

Masculin
Messages : 1537
Inscrit(e) le : 31/03/2020

https://deus-academia.forumactif.com/
Toryudo a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Soucis Messenger et Template modifié

Message par Cassicorn Mer 4 Sep 2024 - 0:14

Bonjour Toryudo
Oui en effet le messenger n'est pas encore en place sur le forum, je voulais qu'il soit fonctionnel avant de le lancer
Voilà le forum test :
https://testcassicorn.forumactif.com
Cassicorn

Cassicorn
Nouveau membre

Messages : 3
Inscrit(e) le : 14/05/2023

https://goodmorningny.forumactif.com
Cassicorn a été remercié(e) par l'auteur de ce sujet.
  • 0

Résolu Re: Soucis Messenger et Template modifié

Message par Toryudo Mer 4 Sep 2024 - 19:08

Bonjour !

Bon ! Il y a beaucoup de problèmes à beaucoup d'endroits, ça va être long et compliqué de tout résoudre... donc on va le faire étape par étape, lentement mais sûrement. Et quand il faudra modifier des Templates, je vais avoir du mal à visualiser le résultat des modifications à l'avance (parce que ce seront des grosses modifications), on va essayer de ne pas tout casser.

Première modification, plutôt simple, dans le Template index_box.
Il va falloir modifier :
Code:
<div class="forumlink">
   <a href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</div>
En :
Code:
<div class="forumlink">
   <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</div>
Avec ça, on commence à avoir des choses qui s'affichent dans le messenger (mais pas beaucoup).
Toryudo

Toryudo
Aidactif
Aidactif

Masculin
Messages : 1537
Inscrit(e) le : 31/03/2020

https://deus-academia.forumactif.com/
Toryudo a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Soucis Messenger et Template modifié

Message par Cassicorn Jeu 5 Sep 2024 - 8:30

Merci pour le coup de main !
En effet à présent ça affiche les catégories !
Cassicorn

Cassicorn
Nouveau membre

Messages : 3
Inscrit(e) le : 14/05/2023

https://goodmorningny.forumactif.com
Cassicorn a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Soucis Messenger et Template modifié

Message par Toryudo Mar 10 Sep 2024 - 8:02

Bonjour !

Deux petites modifications suivantes, qui ne vont pas se voir pour l'instant, mais qui seront nécessaires pour la suite.
Ça se passe dans le Javascript que vous avez ajouté pour le messenger, au niveau des lignes suivantes :
Code:
  row_date : [
   '.row3Right .postdetails, .last_post_center span span', // phpbb2
   '.lastpost span:not(.lastpost-avatar)', // phpbb3
   '.tcr', // punbb
   '.lastaction, td:last-child > span:last-child', // invision
   '.forum-lastpost', // forumactif edge
   '.lastpost > span:not(.lastpost-avatar)', // modernbb
   '.forum-lastpost-inner > span, .posts-lastpost-inner > span' // awesomebb
  ][FAM.fVersion],

Code:
  post_date : [
   '.datePOST', // phpbb2
   '.author', // phpbb3
   '.posthead h2', // punbb
   '.author', // invision
   '.author', // forumactif edge
   '.topic-date', // modernbb
   '.post-date' // awesomebb
  ][FAM.fVersion],

C'est la ligne "phpbb2" que vous devez changer avec ces nouvelles valeurs.
La prochaine étape, ça va être de réparer le Template viewtopic_body qui est cassé, ce qui déforme tout votre forum et qui empêche le messenger de comprendre où se trouvent les messages pour les récupérer. Il faudra peut-être faire plusieurs tests, parce que les modifications risquent de changer visuellement votre forum.
Toryudo

Toryudo
Aidactif
Aidactif

Masculin
Messages : 1537
Inscrit(e) le : 31/03/2020

https://deus-academia.forumactif.com/
Toryudo a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Soucis Messenger et Template modifié

Message par Chacha Mer 11 Sep 2024 - 9:14

Soucis Messenger et Template modifié UmaslZ4Bonjour,

Attention, cela fait 6 jours que nous n'avons pas de nouvelles concernant votre demande, si vous ne voulez pas voir votre sujet déplacé à la corbeille, merci de poster dans les 24h qui suivent ce message.

Si votre sujet est résolu, merci d'éditer votre premier message et de cocher l'icône « résolu »
Chacha

Chacha
Modéractif
Modéractif

Masculin
Messages : 69827
Inscrit(e) le : 21/08/2010

https://forum.forumactif.com/
Chacha a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Soucis Messenger et Template modifié

Message par Chacha Jeu 12 Sep 2024 - 9:08

Soucis Messenger et Template modifié 8djze9qBonjour,

Nous n'avons plus de nouvelle de l'auteur de ce sujet depuis plus de 7 jours. Nous considérons donc ce problème comme résolu ou abandonné. La prochaine fois, merci de nous tenir au courant de l'évolution de votre problème, ou pensez à faire un UP régulièrement !

Ce sujet est archivé afin de ne pas perdre les réponses apportées.
Chacha

Chacha
Modéractif
Modéractif

Masculin
Messages : 69827
Inscrit(e) le : 21/08/2010

https://forum.forumactif.com/
Chacha a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum