AccueilDernières imagesRechercherS'enregistrerConnexion

Forum de graphisme, codage et game design proposant des tutoriels, astuces, libres services et commandes dans les domaines de l'infographie amateur, de l'intégration web (HTML et CSS essentiellement) ainsi que dans la conception de RPG sur forum.

Le Deal du moment :
Cdiscount : -30€ dès 300€ ...
Voir le deal
Le Deal du moment : -45%
WHIRLPOOL OWFC3C26X – Lave-vaisselle pose libre ...
Voir le deal
339 €

    [PROFIL & MESSAGE] [Alu] Affichage d'un sujet

    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Mar 21 Avr 2015 - 2:08

    Ma demande



    Bonjour,

    J'aimerais grandement que vous m'aidiez a personnalisé l'apperçu d'un message. Personnellement, j'ai tenter à plusieurs reprise. Bien que je me débrouille en CSS et HTML, lorsqu'il est question de toucher au template, je bloque. Néanmoins, j'avais tenter de modifié par moi même, recommencant de zéro un template sur la zone toucher. Assurément, sur Dreamweaver cela fonctionne, mais lorsque je le met en place, il y a toujours des histoire de balise ouverte ou non... bref... après 6 mois a lire et relire le template j'abandonne :O et je me tourne vers vous


    Schéma(s) et Eléments
    Schémas : https://2img.net/r/ihimg/a/img540/8514/rfRU7Q.jpg
    Tailles des éléments : Équivaut a environ.. 95% de l'espace disponible, le bodyline faisant 810px, cela vous donne approximativement les données adéquate.
    Effets voulus : Aucun,
    Version de votre forum : Phpbb2, éventuellement vers phpbb3


    Ressources
    Aucun.

    Autres précisions ?
    Assurément, les informations sous l'avatar font partie du "profil" et non de la feuille perso. Le contenu du message, soit l'image a son centre (muni d'un cadre etc) ne fait pas partie de la demande. C'est surtout la structure de base du visuel d'un message.

    Puisque je disais avoir tenter, voici la parcelle que j'ai recréer et réintrégré les informations adéquate selon les variable utilisé par FA concordant avec la disposition (J'suis pas certaine d'être clair en faites)

    Code:
    <table width="100%" cellspacing="2" class="forumline">
           <tr>
               <td colspan="2" class="sujet_titre"><h1 class="cattitle"> {TOPIC_TITLE}</h1></td>
            </tr>
            <tr>
               <td class="profil_block" valign="top">
                   <div class="user_block"><span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span></div>
                    <div class="imgp_block">{postrow.displayed.POSTER_AVATAR}</div>
                    <div class="rank_block">{postrow.displayed.POSTER_RANK}</div>
                    <div class="detail_block"><span class="postdetails poster-profile">{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}<!-- END profile_field -->
                {postrow.displayed.POSTER_RPG}
             </span></div>
                </td>
                <td class="mess_block" valign="top">
                   <table cellspacing="0" width="100%">
                       <tr  class="top_line">
                           <td><span class="postdetails"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" border="0" />{L_POST_SUBJECT}: {postrow.displayed.POST_SUBJECT}  &nbsp;<img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}</span></td>
                            <td align="top" nowrap="nowrap" class="post-options">{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}</td>
                       </tr>
                        <tr>
                           <td colspan="2" class="message_contenu" valign="top">
                               <!-- 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 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>
                         <!-- BEGIN switch_signature -->
                         <div class="signature_div">
                            {postrow.displayed.SIGNATURE}
                         </div>
                         <!-- END switch_signature -->

                      </div>
                      <span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>
                            </td>  
                       </tr>

                   </table>
                </td>
            </tr>
            <tr>
               <td></td>
            </tr>
       </table>
       
       Et son CSS:
       
       
    Code:
    .forumline {
      background: #120c03;
      border: 1px solid #000;
    }

    .sujet_titre{
       background: #1b0b05;
       border-bottom: 1px solid #000;
       text-align:center;
       color: #524431;
    }

    .profil_block {
       background: #211708;
       width: 180px;
       padding: 0;
    }

    .user_block {
       background: #140d03;
       border: 1px solid #000;
       text-align:center;
    }

    .imgp_block {
       margin-top: -1px;
    }

    .rank_block {
       background: #1b0b05;
       border: 1px solid #000;
       margin-top: -1px;
    }

    .detail_block {
       background: #211708;
       border: 1px solid #000;

    }

    .mess_block {
       background: #1a1104;
       border: 1px solid #000;
       padding: 0;
       }

    .top_line {
       background: #140d03;
       border: 1px solid #000;   
    }

    .message_contenu {
       height: 300px;
       border-top: 1px solid #000;
    }

    .signature_div {
       background: #211708;
       min-height: 250px;
    }



    Dernière édition par Kiowa le Lun 15 Juin 2015 - 3:21, édité 2 fois
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Jeu 23 Avr 2015 - 19:50

    Bonjour,

    Une petite relance, ma demande est toujours d'actualité. Merci
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Dim 26 Avr 2015 - 23:56

    Bonjour,

    un petit up. Toujours d'actualité!

    Merci!
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Mer 29 Avr 2015 - 13:56

    Bonjour,

    Petit Up. Merci!
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Sam 2 Mai 2015 - 19:21

    Bonjour,

    Toujours d'actualité. Merci!
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Mer 6 Mai 2015 - 2:54

    Bonjour,

    Petit UP, Merci!
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Sam 9 Mai 2015 - 3:49

    Bonjour,

    Personne pour me venir en aide. Svp?
    Alumine
    Alumine
    FémininAge : 26Messages : 487

    Sam 9 Mai 2015 - 11:22

    Salut (= Bon je ne sais pas si je vais avoir le temps de m'occuper de ça, mais pourrais-tu mettre le lien de ton forum où tu as commencé tes tests ? Ca aiderait beaucoup de voir ce que tu as déjà (=
    Ah et si je comprends bien la zone marron un peu plus clair en bas du message c'est une zone pour la signa ?



    Alumine
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Sam 9 Mai 2015 - 12:53

    Bonjour!

    Donc niveau aspect de des messages, Je n'ai rien "modifié" en soit, car le template refuse catégoriquement en disant une "erreur" de se validé. j'ai beau vérifié, et revérifié pour m'assurer que tout est nickel sans résultat.

    Donc le forum de teste: http://kiowatest.forum-pro.fr/

    Tu as bien trouvé c'est exactement pour la signature. Niveau profil, les informations ce sont des informations ajouter au "profil" général, puisque la fiche perso n'aide pas a ajouter suffisamment d'info.

    Merci!!!
    Alumine
    Alumine
    FémininAge : 26Messages : 487

    Dim 10 Mai 2015 - 12:22

    Hey (=
    Je viens de regarder ton template... On peut dire que tu as fait du ménage x)
    Un peu trop en fait ! C'est pour ça que ton template est "faux": tu as enlevé ces trucs-là
    Code:
    <!-- BEGIN switch_user_authreply -->
    Ils sont écrits comme des commentaires HTML, mais en fait ce sont des sortes de balises qui gèrent des boucles... Je m'explique: ce qui est entre
    Code:
    <!-- BEGIN switch_user_authpost --> et <!-- END switch_user_authpost -->
    par exemple, est repéré par l'ordinateur comme le bouton "nouveau sujet" et c'est encore plus important pour les messages; comme dans une page il y en a plusieurs, et que leur contenu est différent, mais que dans le template la structure n'est écrite qu'une fois, ce sont ces boucles qui gèrent la répétition des messages. Bon du coup tu as enlevé ce qui était le plus important !
    Ah, le javascript qui est au début du template est lui aussi important, sans être une experte je crois qu'il concerne plusieurs fonctionnalités des messages, entre autres la multi-citation, et le message caché.

    Bref, du coup la fonction "voir le template par défaut" en bas de la page va t'être utile (=
    On va remettre toutes ces boucles et pour le reste je pense que tu devrais t'en sortir, au vu de ce que tu as déjà fait !
    ...bon, on commence par le javascript du début, il faut le mettre tout en haut:
    Code:
    <script type="text/javascript">
    //<![CDATA[
    var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
    $(function(){
      if(typeof(_atc) == "undefined") {
      _atc = { };
        }   
        _atc.cwait = 0;
        $('.addthis_button').mouseup(function(){
            if ($('#at15s').css('display') == 'block') {
                addthis_close();
            }
        });
    });
    var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
    showHiddenMessage = function(id)
    {
        try
        {
            var regId = parseInt(id, 10);
            if( isNaN(regId) ) { regId = 0; }       
            if( regId > 0)
            {
                $('.post--' + id).toggle(0, function()
             {
                if( $(this).is(":visible") )
                {
                   $('#hidden-title--' + id).html(hiddenMsgLabel.visible);
                }
                else
                {
                   $('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
                }
             });
            }
        }
        catch(e) { }   
       return false;
    };
    //]]>
    </script>

    Ensuite il semblerait que tu aies totalement enlevé la partie où l'on trouve les boutons "nouveau sujet" et "répondre" (ce qui peut être embêtant...)
    C'est un tableau entier, celui-ci:
    Code:
    <table width="100%" border="0" cellspacing="2" cellpadding="0">
       <tr>
          <td align="left" valign="middle" nowrap="nowrap">
             <span class="nav">
             <!-- BEGIN switch_user_authpost -->
             <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" 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}" id="i_reply" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
             <!-- END switch_user_authreply -->
             </span>
          </td>      
          <td class="nav" valign="middle" width="100%">
             <span class="nav" 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}
                </span>
          </td>      
          <td align="right" valign="bottom" nowrap="nowrap" width="100%">
             <!-- BEGIN switch_twitter_btn -->
             <span id="twitter_btn" style="margin-left: 6px; ">
             <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
             <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
             </span>
             <!-- END switch_twitter_btn -->
             
             <!-- BEGIN switch_fb_likebtn -->         
             <script>(function(d, s, id) {
               var js, fjs = d.getElementsByTagName(s)[0];
               if (d.getElementById(id)) return;
               js = d.createElement(s); js.id = id;
               js.src = "//connect.facebook.net/{LANGUAGE}/all.js#xfbml=1";
               fjs.parentNode.insertBefore(js, fjs);
             }(document, 'script', 'facebook-jssdk'));</script>   
             <div class="fb-like" data-href="{FORUM_URL}{TOPIC_URL}" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
             <!-- END switch_fb_likebtn -->
             
             <span class="gensmall bold">
                <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a>
                <!-- BEGIN switch_plus_menu -->
                 | 
                <script type="text/javascript">//<![CDATA[
                   var url_favourite = '{U_FAVOURITE_JS_PLUS_MENU}';
                   var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
                   var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
                   var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
                   var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
                   var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
                   insert_plus_menu('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
                //]]>
                </script>
                <!-- END switch_plus_menu -->
             </span>
          </td>
       </tr>
    </table>

    Bon à ce que j'ai vu les boutons facebook et twitter ne t'intéressent pas, donc tu peux enlever ce qui est entre
    Code:
    <!-- BEGIN switch_twitter_btn -->et<!-- END switch_twitter_btn -->
    ainsi que ce qui est entre <!-- BEGIN switch_fb_likebtn --> et <!-- END switch_fb_likebtn -->
    D'ailleurs comme c'est une fonction que tu enlèves totalement, tu peux aussi enlever les boucles. Donc ton tableau devient ça:
    le truc qu'il y a après, entre balises
    Code:
    <!-- BEGIN switch_plus_menu -->
    c'est le petit menu "plus" qu'il y a en haut de la page des messages. Tu peux aussi l'enlever si tu ne penses pas t'en servir ! A ce moment-là enlève le "td" entier.

    Donc là on arrive à la fin du premier tableau, celui du haut de page (= C'est là que commence celui que tu as laissé dans le template que tu m'as filé.
    Tu as totalement enlevé ceci:
    Code:
       <!-- BEGIN topicpagination -->
       <tr>
          <td class="row1 pagination" colspan="2" align="right" valign="top"><span class="gensmall">{PAGINATION}</span></td>
       </tr>
       <!-- END topicpagination -->
    Il s'agit de la pagination donc "vous êtes à la page 1/2, aller à la page 1, 2..." Il faut remettre ça juste après la première rangée "tr", celle qui contient TOPIC_TITLE.
    Juste après, tu as aussi enlevé ça: {POLL_DISPLAY}
    C'est la variable qui affiche les sondages; il faut la mettre entre le précédent tr et le suivant.
    Ensuite on trouve ça, que tu as aussi enlevé:
    Code:
       <tr>
          <th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
          <th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
       </tr>
    C'est la rangée contenant la barre "auteur" et "message". Sur ton schéma tu n'en as pas besoin, pas la peine de la mettre.
    Donc pour l'instant le début de ton template, c'est ça:
    Code:
    <script type="text/javascript">
    //<![CDATA[
    var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
    $(function(){
      if(typeof(_atc) == "undefined") {
      _atc = { };
        }   
        _atc.cwait = 0;
        $('.addthis_button').mouseup(function(){
            if ($('#at15s').css('display') == 'block') {
                addthis_close();
            }
        });
    });
    var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
    showHiddenMessage = function(id)
    {
        try
        {
            var regId = parseInt(id, 10);
            if( isNaN(regId) ) { regId = 0; }       
            if( regId > 0)
            {
                $('.post--' + id).toggle(0, function()
             {
                if( $(this).is(":visible") )
                {
                   $('#hidden-title--' + id).html(hiddenMsgLabel.visible);
                }
                else
                {
                   $('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
                }
             });
            }
        }
        catch(e) { }   
       return false;
    };
    //]]>
    </script>
    <table width="100%" border="0" cellspacing="2" cellpadding="0">
       <tr>
          <td align="left" valign="middle" nowrap="nowrap">
             <span class="nav">
             <!-- BEGIN switch_user_authpost -->
             <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" 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}" id="i_reply" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
             <!-- END switch_user_authreply -->
             </span>
          </td>      
          <td class="nav" valign="middle" width="100%">
             <span class="nav" 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}
                </span>
          </td>      
          <td align="right" valign="bottom" nowrap="nowrap" width="100%">         
             <span class="gensmall bold">
                <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a>
                <!-- BEGIN switch_plus_menu -->
                 |&nbsp;
                <script type="text/javascript">//<![CDATA[
                   var url_favourite = '{U_FAVOURITE_JS_PLUS_MENU}';
                   var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
                   var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
                   var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
                   var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
                   var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
                   insert_plus_menu('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
                //]]>
                </script>
                <!-- END switch_plus_menu -->
             </span>
          </td>
       </tr>
    </table>

    <table width="100%" cellspacing="2" class="forumline">
          <tr>
            <td colspan="2" class="sujet_titre"><h1 class="cattitle"> {TOPIC_TITLE}</h1></td>
          </tr>
          <!-- BEGIN topicpagination -->
          <tr>
            <td class="row1 pagination" colspan="2" align="right" valign="top"><span class="gensmall">{PAGINATION}</span></td>
          </tr>
          <!-- END topicpagination -->
             {POLL_DISPLAY}

    Et là, dans le template par défaut, ça devient intéressant.On a ça:
    Code:
       <!-- BEGIN postrow -->
    C'est (enfin) le début de la rangée du message, celle qui contient le profil, la signa et tout et tout, donc la partie que tu as travaillée (=
    Juste après il y a ça, le message caché, il faut le remettre.
    Code:
       <!-- BEGIN hidden -->
       <tr>
          <td class="postdetails {postrow.hidden.ROW_CLASS}" colspan="3" align="center">{postrow.hidden.MESSAGE}</td>
       </tr>
       <!-- END hidden -->
    Ensuite tu as
    Code:
       <!-- BEGIN displayed -->
    donc le début de ce qui sera affiché du message.
    La première tr est celle du profil et du message, la tienne donc. Il faut juste lui remettre les classes que tu lui as enlevées, comme ceci:
    Code:
    <tr class="post post--{postrow.displayed.U_POST_ID}" id="p{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
    Ensuite rien à dire sur ton code de ce td, à part que autour de
    Code:
    {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
    tu as encore le
    Code:
    <!-- END profile_field --> mais pas le <!-- BEGIN profile_field -->
    Donc il faut le remettre...
    A partir du poll_display, on a ça:
    Code:
             {POLL_DISPLAY}
             <!-- BEGIN postrow -->
       <!-- BEGIN hidden -->
       <tr>
          <td class="postdetails {postrow.hidden.ROW_CLASS}" colspan="3" 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 class="profil_block" valign="top">
              <div class="user_block"><span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span></div>
              <div class="imgp_block">{postrow.displayed.POSTER_AVATAR}</div>
              <div class="rank_block">{postrow.displayed.POSTER_RANK}</div>
              <div class="detail_block"><span class="postdetails poster-profile"><!-- BEGIN profile_field -->{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}<!-- END profile_field -->
                {postrow.displayed.POSTER_RPG}</span>
              </div>
            </td>

    heuu du coup je vais manger >> la suite au prochain épisode !



    Alumine
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Dim 10 Mai 2015 - 16:54

    Bonjour,

    Alors histoire qu'on se comprenne ce que j'ai mit plus haut n'était pas le template mais seulement la partie que j'avais "modifier" pour tenter de modifier le templates. Toutefois j'suis contente que tu partes de ce que j,ai mise plus haut, cela m'aide grandement a tout comprendre le templates. Et surtout a voir les erreurs!

    Merci, j'attend donc la suite avec impatience!
    Alumine
    Alumine
    FémininAge : 26Messages : 487

    Dim 10 Mai 2015 - 21:14

    Donc si je comprends bien tu n'as modifié que la partie que tu as mise ? Ca m'arrange, ça ira plus vite (=
    (jme sens un peu idiote d'avoir tout pris depuis le début x) )

    Du coup, est-ce que je peux avoir tout ton template ? Ca facilitera le boulot !



    Alumine
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Lun 11 Mai 2015 - 13:00

    Ne te sens pas idiote! Loin de là, personnellement cela a quand même été utile.

    Je viens de me lever résultat, j'ai me souvient plus ou je tentais d'inséré mon code dans le template. Enfin, voici le template actuel , donc avec les modifications que tu as énuméré dans tes explications. Donc assurément, la modification arrête au même point ou tu en étais..

    Code:
    <script type="text/javascript">
    //<![CDATA[
    var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
    $(function(){
       _atc.cwait = 0;
       $('.addthis_button').mouseup(function(){
          if ($('#at15s').css('display') == 'block') {
             addthis_close();
          }
       });
    });

    var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
    showHiddenMessage = function(id)
    {
        try
        {
            var regId = parseInt(id, 10);
            if( isNaN(regId) ) { regId = 0; }
           
            if( regId > 0)
            {
                $('.post--' + id).toggle(0, function()
             {
                if( $(this).is(":visible") )
                {
                   $('#hidden-title--' + id).html(hiddenMsgLabel.visible);
                }
                else
                {
                   $('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
                }
             });
            }
        }
        catch(e) { }
       
       return false;
    };

    //]]>
    </script>

    <table width="100%" border="0" cellspacing="2" cellpadding="0">
       <tr>
          <td align="left" valign="middle" nowrap="nowrap">
             <span class="nav">
             <!-- BEGIN switch_user_authpost -->
             <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" 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}" id="i_reply" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a>
             <!-- END switch_user_authreply -->
             </span>
          </td>
          <td align="left" valign="middle" nowrap="nowrap">
             <!-- BEGIN switch_twitter_btn -->
             <span id="twitter_btn" style="margin-left: 6px; ">
             <a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a>
             <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
             </span>
             <!-- END switch_twitter_btn -->
             <!-- BEGIN switch_fb_likebtn -->
             <span id="fb_likebtn" style="margin-left: 6px; ">
                <iframe src="http://www.facebook.com/plugins/like.php?href={FORUM_URL}{TOPIC_URL}&layout=button_count&show_faces=false&width=100&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:21px;" allowTransparency="true"></iframe>
             </span>
             <!-- END switch_fb_likebtn -->
          </td>
          <td class="nav" valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
          <td align="right" valign="bottom" nowrap="nowrap" width="100%">
             <span class="gensmall bold">
                <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&pub=forumotion">{L_SHARE}</a>
                <!-- BEGIN switch_plus_menu -->
                 | .
                <script type="text/javascript">//<![CDATA[
                   var url_favourite = '{U_FAVOURITE_JS_PLUS_MENU}';
                   var url_newposts = '{U_NEWPOSTS_JS_PLUS_MENU}';
                   var url_egosearch = '{U_EGOSEARCH_JS_PLUS_MENU}';
                   var url_unanswered = '{U_UNANSWERED_JS_PLUS_MENU}';
                   var url_watchsearch = '{U_WATCHSEARCH_JS_PLUS_MENU}';
                   var url_tellfriend = '{U_TELLFRIEND_JS_PLUS_MENU}';
                   insert_plus_menu('f{FORUM_ID}&t={TOPIC_ID}','{JS_SESSION_ID}', {JS_AUTH_FAVOURITES});
                //]]>
                </script>
                <!-- END switch_plus_menu -->
             </span>
          </td>
       </tr>
    </table>

    <table width="100%" cellspacing="2" class="forumline">
          <tr>
            <td colspan="2" class="sujet_titre"><h1 class="cattitle"> {TOPIC_TITLE}</h1></td>
          </tr>
          <!-- BEGIN topicpagination -->
          <tr>
            <td class="row1 pagination" 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="3" 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 class="profil_block" valign="top">
              <div class="user_block"><span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span></div>
              <div class="imgp_block">{postrow.displayed.POSTER_AVATAR}</div>
              <div class="rank_block">{postrow.displayed.POSTER_RANK}</div>
              <div class="detail_block"><span class="postdetails poster-profile"><!-- BEGIN profile_field -->{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}<!-- END profile_field -->
                {postrow.displayed.POSTER_RPG}</span>
              </div>
            </td>
       
          <td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2">
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                   <td><span class="postdetails"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" border="0" /><a href="#{postrow.displayed.U_POST_ID}">{L_POST_SUBJECT}: {postrow.displayed.POST_SUBJECT}</a>   <img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}</span></td>
                   <td valign="top" nowrap="nowrap" class="post-options">
                      {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}
                   </td>
                </tr>
                <tr>
                   <td colspan="2" class="hr">
                      <hr />
                   </td>
                </tr>
                <tr>
                   <td colspan="2">
                      <!-- 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 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}" />

                                     <!-- 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>
                         <!-- BEGIN switch_signature -->
                         <div class="signature_div">
                            {postrow.displayed.SIGNATURE}
                         </div>
                         <!-- END switch_signature -->

                      </div>
                      <span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>
                   </td>
                </tr>
             </table>
          </td>
       </tr>
       <tr class="post--{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
          <td class="{postrow.displayed.ROW_CLASS} browse-arrows"{postrow.displayed.THANK_BGCOLOR} align="center" valign="middle" width="150">
             <a href="#top">{L_BACK_TO_TOP}</a> <a href="#bottom">{L_GOTO_DOWN}</a>
          </td>
          <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
             <table border="0" cellspacing="0" cellpadding="0">
                <tr>
                   <td valign="middle">
                      {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
                   </td>
                </tr>
             </table>
          </td>
       </tr>
       <!-- BEGIN first_post_br -->
    </table>
    <br />
    <table class="forumline" width="100%" border="0" cellspacing="1" 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 class="row1" colspan="3" height="28">
             <span class="genmed">{no_post.L_NO_POST}</span>
          </td>
       </tr>
       <!-- END no_post -->
       <tr align="right">
          <td class="catBottom" colspan="3" height="28">
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                   <td width="9%" class="noprint"> </td>
                   <td align="center" class="t-title"><a name="bottomtitle"></a><h1 class="cattitle">{TOPIC_TITLE}</h1></td>
                   <td align="right" nowrap="nowrap" width="9%" class="browse-arrows"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a> <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> <a href="#top">{L_BACK_TO_TOP}</a> </td>
                </tr>
             </table>
          </td>
       </tr>
    </table>
    <table class="forumline noprint" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: auto; border-top: 0px;">
       <tr>
          <td class="row2" valign="top" {COLSPAN_PAGINATION} width="150"><span class="gensmall">{PAGE_NUMBER}</span></td>
          <!-- BEGIN topicpagination -->
          <td class="row1" align="right" valign="top" ><span class="gensmall">{PAGINATION}</span></td>
          <!-- END topicpagination -->
       </tr>
       <!-- BEGIN switch_user_logged_in -->
       <!-- BEGIN watchtopic -->
       <tr>
              <td class="row2" colspan="2" align="right" valign="top"><span class="gensmall">{S_WATCH_TOPIC}</span></td>
       </tr>
       <!-- END watchtopic -->
       <!-- END switch_user_logged_in -->
    </table>

    <!-- BEGIN promot_trafic -->
    <table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_close" style="display:none;margin: 1px 0px 1px 0px">
       <tr>
          <td class="catBottom" height="28">
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                   <td valign="top"><h1 class="cattitle"> {PROMOT_TRAFIC_TITLE}</h1></td>
                   <td align="right" valign="middle" width="10"><span class="gensmall"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
                </tr>
             </table>
          </td>
       </tr>
    </table>

    <table class="forumline" width="100%" border="0" cellpadding="1" cellspacing="0" id="ptrafic_open" style="display:'';margin: 1px 0px 1px 0px">
       <tr>
          <td class="catBottom" height="28">
             <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                   <td valign="top"><h1 class="cattitle"> {PROMOT_TRAFIC_TITLE}</h1></td>
                   <td align="right" valign="middle" width="10"><span class="gensmall"><a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
                </tr>
             </table>
          </td>
       </tr>
       <tr>
          <td class="row2 postbody" valign="top">
             <!-- BEGIN link -->
             » <a style="text-decoration:none" href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}">{promot_trafic.link.TITLE}</a><br />
             <!-- END link -->
          </td>
       </tr>
    </table>
    <!-- END promot_trafic -->

    <!-- BEGIN switch_forum_rules -->
    <table id="forum_rules" class="forumline" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 1px 0px 1px 0px">
       <tbody>
          <tr>
             <td class="catBottom">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                   <tbody>
                      <tr>
                         <td valign="top">
                            <h1 class="cattitle"> {L_FORUM_RULES}</h1>
                         </td>
                      </tr>
                   </tbody>
                </table>
             </td>
          </tr>
          <tr>
             <td class="row1 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>
       </tbody>
    </table>
    <!-- END switch_forum_rules -->

    <table class="forumline noprint" width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr>
          <td class="row2" colspan="2" align="center" style="padding:0px">
             <!-- BEGIN switch_user_logged_in -->
             <a name="quickreply"></a>
             {QUICK_REPLY_FORM}<br />
             <!-- END switch_user_logged_in -->
          </td>
       </tr>
       <tr>
          <td style="margin:0; padding: 0;" colspan="2">
             <table border="0" cellpadding="0" width="100%" cellspacing="0" id="info_open" style="display:''">
                <tbody>
          <!-- BEGIN show_permissions -->
          <tr>
             <td class="row2" valign="top" width="25%"><span class="gensmall">{L_TABS_PERMISSIONS}</span></td>
             <td class="row1" valign="top" width="75%"><span class="gensmall">{S_AUTH_LIST}</span></td>
          </tr>
          <!-- END show_permissions -->
          <tr>
             <td class="catBottom" colspan="2" height="28">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                   <tr>
                      <td valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
                      <!-- BEGIN show_permissions -->
                      <td align="right" valign="middle"><span class="gensmall"><a href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_LESS_IMG}" alt="-" align="middle" border="0" /></a></span></td>
                      <!-- END show_permissions -->
                   </tr>
                </table>
             </td>
          </tr>
       </tbody>
             </table>
          </td>
       </tr>
       <tr>
          <td style="margin:0; padding: 0;" colspan="2">
             <table border="0" cellpadding="0" cellspacing="0" width="100%" id="info_close" style="display:none;">
                <tbody>
          <tr>
             <td class="catBottom" colspan="2" height="28">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                   <tr>
                      <td valign="middle" width="100%"><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_SEP}<a class="nav" href="{U_ALBUM}">{L_ALBUM}</a>{NAV_CAT_DESC_SECOND}</span></td>
                      <td align="right" valign="middle"><span class="gensmall"><a href="javascript:ShowHideLayer('info_open','info_close');"><img src="{TABS_MORE_IMG}" alt="+" align="middle" border="0" /></a></span></td>
                   </tr>
                </table>
             </td>
          </tr>
       </tbody>
             </table>
          </td>
       </tr>
    </table>

    <form action="{S_JUMPBOX_ACTION}" method="get" name="jumpbox" onsubmit="if(document.jumpbox.f.value == -1){return false;}">
    <table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
       <tr>
          <td align="left" valign="middle" nowrap="nowrap" {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>

          <!-- BEGIN viewtopic_bottom -->
          <td align="right" nowrap="nowrap"><span class="gensmall">{L_JUMP_TO}: {S_JUMPBOX_SELECT} <input class="liteoption" type="submit" value="{L_GO}" /></span></td>
          <!-- END viewtopic_bottom -->

          <!-- 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="2" cellpadding="0" align="center">
       <tr>
          <td colspan="2" align="left" valign="top" nowrap="nowrap"><br />{S_TOPIC_ADMIN}<br />
             <form name="action" method="get" action="{S_FORM_MOD_ACTION}">
                <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">{L_MOD_TOOLS}<br />{S_SELECT_MOD}&nbsp;<input class="liteoption" type="submit" value="{L_GO}" /></span>
             </form>
          </td>
       </tr>
    </table>
    <!-- END viewtopic_bottom -->

    <!-- 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>
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Mar 19 Mai 2015 - 0:15

    Bonjour,

    Petit up Very Happy
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Mer 27 Mai 2015 - 14:32

    Bonjour Alumine,

    petit up, c'est toujours d'actualité. Merci !!
    Alumine
    Alumine
    FémininAge : 26Messages : 487

    Mer 27 Mai 2015 - 16:47

    Ok, c'est reparti !
    Je m'étais arrêtée juste après END profile field. La fin de cette td a l'air normale, et la td suivante aussi... Donc là ça y est le template ne doit plus contenir d'erreur je pense !
    Ok donc on va commencer comme ça... Je teste ton CSS
    Oh, je viens de comprendre un truc: tu veux séparer chaque message les uns des autres c'est ça ? Que ce soit une suite de cadres...
    Bon alors en gros la structure de l'affichage des messages, c'est un tableau; La première rangée contient le titre du sujet, la deuxième le premier message, la troisième le bas du premier message (c'est àdire la partie avec les petites flèches et les boutons profil, MP, en ligne, etc. ). Puis ça continue; la quatrième le deuxième message, la cinquième le bas du deuxième...
    Toi tu enlèves complètement les flèches haut/bas, et sur ton schéma les boutons sont DANS le même bloc que le message, donc ill va falloir changer ça.
    Concernant le template, je crois qu'on a modifié le principal, du coup je vais juste te dire où modifier quoi, au lieu de tout passer en revue !

    A la ligne 108 tu as la tr contenant le message et le profil qui commence.
    Code:
    <tr class="post post--{postrow.displayed.U_POST_ID}" id="p{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
    Tout de suite après la td du profil, profil_block. La td suivante est celle du message, il faut qu'on y intègre les boutons en bas ! Du coup je te propose de lui donner une class, par exemple msg_block. Donc tu as ça, ligne 118:
    Code:
    <td class="msg_block {postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2">

    A l'intérieur, le début d'une table. La première tr contient deux td qui contiennent l'en-tête du message, donc son titre, date, et les boutons citer-éditer-supprimer. Là ça devient intéressant (= sur ton schéma cette partie est d'une couleur particulière avec une bordure en bas !On va donc donner une class aussi à cette tr, je prends haut_msg
    Code:
          <td class="msg_block {postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr class="haut_msg">
                  <td><span class="postdetails"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" border="0" /><a href="#{postrow.displayed.U_POST_ID}">{L_POST_SUBJECT}: {postrow.displayed.POST_SUBJECT}</a>  <img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}</span></td>
                  <td valign="top" nowrap="nowrap" class="post-options">
                      {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}
                  </td>
                </tr>

    Ensuite, un petit tour du côté du CSS ! Comme on ne peut pas mettre de bordure à des tr, mais juste aux td, on va mettre les mêmes styles aux deux td qui sont dans notre haut_msg.
    Code:
    .haut_msg td{background-color:#140D03; border-bottom: 1px solid black;}

    Voilà ton en-tête ! Retour au template... Juste après, ligne 126, tu as ça:
    Code:
                <tr>
                  <td colspan="2" class="hr">
                      <hr />
                  </td>
                </tr>
    Une tr entière qui ne contient qu'une balise hr, c'est à dire une ligne. C'est celle qui est juste en-dessous de l'en-tête, et dont on n'a pas besoin, donc on peut enlever tout ça !
    La tr suivante est consacrée d'abord au module de vote (pas intéressant) puis ligne 156 on a enfin la div du message, postbody. Pas la peine d'utiliser du CSS, on peut régler sa couleur avec les outils de couleur du panneau d'admin !
    Ensuite tout ce qui est entre les balises BEGIN et END switch attachments c'est pour les pièces jointes, on ne l'utilise presque jamais sur les forums RPG. Tu peux même l'enlever si tu ne penses pas que ça te serve ! Je fais comme si tu l'enlevais pour les numéros de ligne ensuite (=

    Après la div du message, tu as une div du nom de clear. Pas la peine de s'en occuper, elle sert à éviter les éventuels bugs avec des float.
    Ensuite il y a signature_div. Du CSS suffira pour la personnaliser.
    Après ya ça:
    Code:
    <span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>
    La ligne de texte qui dit quand le message a été édité, combien de fois, etc. Pareil, tu peux éventuellement l'enlever, elle s'afficherait entre le bas de la signature et du message sinon.
    ET là, toutes les balises se ferment, c'est la fin de notre tr de message ! Il va falloir fusionner un bout de celle du dessous avec.
    Donc dans la tr suivante, la première td contient les flèches qui emmènent vers le haut; on peut l'enlever Il te reste ça de cette tr:
    Code:
      <tr class="post--{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
          <td class="{postrow.displayed.ROW_CLASS} messaging gensmall"{postrow.displayed.THANK_BGCOLOR} width="100%" height="28">
            <table border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td valign="middle">
                      {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
                  </td>
                </tr>
            </table>
          </td>
      </tr>
    Là on a pas mal de choses inutiles. Un seul td dans son tableau, c'est plus ou moins inutile ! Donc on va récupérer juste le contenu de la petite td du milieu, qui nous intéresse, et le déplacer...
    On prend juste ça:
    Code:
                <tr>
                  <td valign="middle">
                      {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
                  </td>
                </tr>
    on enlève ce qui reste autour, et on le place dans la grande tr du dessus, dans la table, et juste après la dernière petite tr. On lui donne une class aussi, enfin à la td qui est à l'intérieur, puisque c'est la seule et qu'elle est plus modifiable. Je mets bas_msg. Il faut aussi lui ajouter un colspan, puisque dans le même tableau certaines tr contiennent deux td et qu'ici il n'y en a qu'une (c'est le cas pour l'en-tête) A partir de la signa, ça fait ça:
    Code:
                        <!-- BEGIN switch_signature -->
                        <div class="signature_div">
                            {postrow.displayed.SIGNATURE}
                        </div>
                        <!-- END switch_signature -->

                      </div>
                  </td>
                </tr>           
              <tr>
                  <td class="bas_msg" colspan="2" valign="middle">
                      {postrow.displayed.PROFILE_IMG} {postrow.displayed.PM_IMG} {postrow.displayed.EMAIL_IMG}<!-- BEGIN contact_field --> {postrow.displayed.contact_field.CONTENT}<!-- END contact_field --> {postrow.displayed.ONLINE_IMG}
                  </td>
                </tr>
            </table>
          </td>
      </tr>
      <!-- BEGIN first_post_br -->

    Ensuite un peu de CSS pour le bas des messages:
    Code:
    .bas_msg{background-color:#140D03; border-top: 1px solid black;}




    Alumine
    Alumine
    Alumine
    FémininAge : 26Messages : 487

    Mer 27 Mai 2015 - 17:19

    ...La suite ! Pour espacer les "colonnes" des messages, à savoir les deux td, la meilleur solution et de changer le cellspacing (espacement des cellules) de la table mère. A la ligne 91 c'est le début de cette table, tu peux changer cellspacing="2" par 7, par exemple (ce sont des pixels)
    Code:
    <table width="100%" cellspacing="2" class="forumline">

    Il faut mettre une bordure aux td, aussi ! Tu en as déjà mis à quelques uns des blocs du profil; il va falloir les changer pour ne conserver que la bordure bas, puisque la bordure du côté est celle du profil_block et pour qu'aucune bordure ne soit en double
    CSS:
    dans profil_block ajoute border:1px solid #000;
    et dans user_block, rank_block, imgp_block et detail_block, change la bordure comme ça:
    Code:
    border-bottom: 1px solid #000;
    Tu peux aussi rajouter la bordure du bloc messages :
    Code:
    .msg_block{border:1px solid #000;}

    Voilà, là on s'approche de ce que tu veux !

    Maintenant la div de la signa, signature_div... je te conseille juste de lui ajouter une margin-top, pour qu'elle ne soit pas collée au texte.

    Il reste à ajouter les "liens utiles". Dans ta div "details_block", après END profile_field (la fin du profil ^^)
    tu peux rajouter tes liens.
    Donc ça te ferait:
    Code:
              <div class="detail_block"><span class="postdetails poster-profile"><!-- BEGIN profile_field -->{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}<!-- END profile_field -->
    Liens utiles: <div align="center"> <a href="ADRESSE DU LIEN">Manuel</a><br /><a href="ADRESSE DU LIEN">Règlement</a><br /><a href="ADRESSE DU LIEN">FAQ</a></div><hr />
                {postrow.displayed.POSTER_RPG}</span>
              </div>

    (l'adresse par défaut de la FAQ du forum est /FAQ) Le hr après c'est la ligne; tu peux personnaliser les lignes du profil_block comme ça:
    .profil_block hr{ border-color:#XXXXXX;}

    Voilà, le principal est fait ! Est-ce que tu as encore besoin d'aide pour la suite ? (=



    Alumine
    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Jeu 28 Mai 2015 - 13:47

    Bonjour!

    Déjà merci de ton aide!!! Dans l'ensemble, la suite, je crois êtres en mesure de me débrouiller. Je regarderai demain voir si tout va bien pour la finition. Merci encore pour ton aide c'est très apprécier!!!
    Onyx
    Onyx
    FémininAge : 30Messages : 3350

    Mar 9 Juin 2015 - 3:39

    Salut, je viens aux nouvelles, tu as réussi à faire ce que tu voulais? Merci de donner de tes nouvelles Wink



    Kiowa
    Kiowa
    FémininAge : 35Messages : 220

    Lun 15 Juin 2015 - 3:20

    Bonjour!

    Oui, justement j'suis parvenu a finalisé le tout.

    Comme j'ai cru comprendre que ceci peut se retrouver comme tutoriel ou autre, je donne l'astuce du petit pépin que j'avais au final, soit une espace se créait dans le haut et le bas de message.

    Code:
    .forumline .row1, .forumline .row2, .forumline .row3, .forumline .row3Right {padding: 0;}

    Règle tout le problème. Bref, officiellement, tout est nickel. Je remerci grandement Alumine de son aide et sa patience!!!

    Contenu sponsorisé


      La date/heure actuelle est Dim 28 Avr 2024 - 19:40