icône "aucun/nouveau message" dans la section "derniers messages" ne s'affiche pas partout

2 participants

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

Résolu icône "aucun/nouveau message" dans la section "derniers messages" ne s'affiche pas partout

Message par watch.masnatch Sam 18 Juil 2015 - 0:00

Détails techniques


Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Google Chrome
Capture d'écran du problème :
Voir l'image:

Personnes concernées par le problème : Tous les utilisateurs
Problème apparu depuis : 17 Juillet 2015 à l'ajout du code.
Lien du forum : (lien masqué, vous devez poster pour le voir)

Description du problème

Bonjour, bonsoir! Smile

Alors, suite à des heures de travail (bon peut-être un peu moins) j'ai finalement réussi à mettre l'icône des nouveaux/aucuns nouveaux messages/verrouillés dans la section "derniers messages".

Toutefois, elle ne s'affiche pas partout. J'ai bien pris soin de mettre une icône pour les nouveaux/anciens/forums verrouillés, mais je ne comprends pas du tout pourquoi elle ne s'affiche que sur un ou deux forums. :/

Voici mon code index_box :

Code:
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center">
   <tr>
      <td valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall">{LAST_VISIT_DATE}<br />
         {CURRENT_TIME}<br />
         </span>
         <!-- END switch_user_logged_in -->
         <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div>
      </td>
      <td class="gensmall" align="right" valign="bottom">
         <!-- BEGIN switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br />
         <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br />
         <!-- END switch_user_logged_in -->
         <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a>
      </td>
   </tr>
</table>
<!-- BEGIN catrow --><!-- BEGIN tablehead --><table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <tr>
   
      <th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="90%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
      
      <th nowrap="nowrap" width="150"><div style="width:150px;">{L_LASTPOST}</div></th>
   </tr>
   <!-- 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.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
              <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
 
            </span>
        </h{catrow.forumrow.LEVEL}>
      </td>
      <td class="{catrow.cathead.CLASS_ROWPIC}" colspan="3" align="right">&nbsp;</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 class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
         
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
         <table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
              <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
 
            </span>
        </h{catrow.forumrow.LEVEL}></td></tr></tbody></table>
                  <div class="descrifo"><span class="genmed">{catrow.forumrow.FORUM_DESC}</span></div>
         <span class="gensmall">
            
            <div class="subforums"><span id="subforums">  {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span></div>
<script type="text/javascript">
  jQuery('#subforums').html(jQuery('#subforums').html().replace(/, /g,' <br />')).removeAttr('id');
                          </script>
                          <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
         </span>
      </td>
      
      <td class="row3 over" align="center" valign="middle" height="50">
                          <div class="lastmess">                           
                    <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                    <br />
                    <span class="gensmall">{catrow.forumrow.LAST_POST}</span></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 -->

J'ai suivi plusieurs tutoriels, sur celui d'ici je sais qu'on suggère de retirer ce colspan
Code:
<td class="row1 over" colspan="{catrow.cathead.INC_SPAN}" valign="top" width="100%" height="50">
mais lorsque je le fais, toute ma page se déforme, et sur d'autres on demande de modifier la valeur catrow.... mais là encore, tout se déforme.

Je ne comprends pas ce qui se passe, il me semble que si ça fonctionne pour deux forums, ça devrait marcher pour les autres, non? Question

Merci beaucoup d'avance pour votre aide! I love you
avatar

watch.masnatch
Nouveau membre

Messages : 5
Inscrit(e) le : 17/07/2015

http://snatchtest.creer-forum.eu/
watch.masnatch a été remercié(e) par l'auteur de ce sujet.

Résolu Re: icône "aucun/nouveau message" dans la section "derniers messages" ne s'affiche pas partout

Message par watch.masnatch Sam 18 Juil 2015 - 1:43

J'ai trouvé mon problème, et finalement ce n'en était pas un. J'avais simplement oublié d'ajouter les images dans la section "catégories" aussi. -_-'
avatar

watch.masnatch
Nouveau membre

Messages : 5
Inscrit(e) le : 17/07/2015

http://snatchtest.creer-forum.eu/
watch.masnatch a été remercié(e) par l'auteur de ce sujet.

Résolu Re: icône "aucun/nouveau message" dans la section "derniers messages" ne s'affiche pas partout

Message par Chacha Sam 18 Juil 2015 - 9:30

.icône "aucun/nouveau message" dans la section "derniers messages" ne s'affiche pas partout  HSbTQ6a.
Bonjour et Bienvenue
sur le Forum des Forums ForumActif
Vu que vous êtes nouveau, voici quelques sujets importants :
icône "aucun/nouveau message" dans la section "derniers messages" ne s'affiche pas partout  KoFs0PU Sécurité : mail de fondation - Ce qu'il ne faut pas faire
N'hésitez pas à ouvrir un nouveau sujet si vous ne trouvez pas votre réponse Wink
Chacha

Chacha
Modéractif
Modéractif

Masculin
Messages : 69301
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