Problème sur la page d'accueil [Résolu]

3 participants

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

Résolu Problème sur la page d'accueil [Résolu]

Message par Mystore Sam 10 Mar 2012 - 11:56

Bonjour,

Tout d'abord voici quelques informations utiles :

URL du forum - Mon Forum
Version du forum - Phpbb2
Statut sur le forum - Fondateur
Templates modifiés ? - index_body , index_box , memberlist_body , topic_list_box , viewforum_body , viewonline_body , viewtopic_body.
CSS personnalisé ? - Quelques éléments ont été ajoutés.
Navigateur - Google Chrome
Ensuite, je vous présente mon problème :

En fait, dans ma page d'accueil, voici un problème qui survient :

Spoiler:

Comme vous le voyez, les « mini-rubriques » sont toutes attachées :
" Voir les nouveaux messages depuis votre dernière visite.
Voir ses messages.
Voir les messages sans réponses. "

J'aimerais qu'elles apparaissent l'une au dessus de l'autre, exemple simple :

• Voir les nouveaux messages depuis votre dernière visite
• Voir les messages sans réponses
• Voir ses messages

Je ne sais pas trop comment faire pour avoir ce résultat qui est pourtant par défaut sur les Forums (Enfin, je pense.)

Je suppose que ce problème se situe dans le Template index_body, je vous le copie (Si ce n'est pas le cas, alors demandez moi le bon Template ^^)

Code:
    {JAVASCRIPT}
    <!-- BEGIN message_admin_index -->
    <table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
      <!-- BEGIN message_admin_titre -->
      <tr>
          <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
      </tr>
      <!-- END message_admin_titre -->
      <!-- BEGIN message_admin_txt -->
      <tr>
          <td class="row1" rowspan="3" align="center" valign="middle">
          <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
          </td>
      </tr>
      <!-- END message_admin_txt -->
    </table>
    <!-- END message_admin_index -->

    <!-- BEGIN switch_user_login_form_header -->
    <form action="{S_LOGIN_ACTION}" method="post" name="form_login">
      <!-- BEGIN switch_fb_connect_no -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
          <tr>
            <td class="row1" align="center">
                <table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                      <td><span class="genmed">{L_USERNAME}:</span> </td>
                      <td><input class="post" type="text" size="10" name="username"/> </td>
                      <td>
                        <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                        <span class="gensmall">{L_AUTO_LOGIN}</span>
                      </td>
                  </tr>

                  <tr>
                      <td><span class="genmed">{L_PASSWORD}:</span> </td>
                      <td><input class="post" type="password" size="10" name="password"/> </td>
                      <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                  </tr>
                </table>
            </td>
          </tr>
      </table>
      <!-- END switch_fb_connect_no -->

      <!-- BEGIN switch_fb_connect -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
          <tr>
            <td valign="top" width="100%" class="row1" align="center">
                <table width="100%">
                  <tr>
                      <td width="55%" valign="middle" align="right">
                        <table class="right">
                            <tr>
                              <td><span class="genmed">{L_USERNAME}:</span> </td>
                              <td><input class="post" type="text" size="10" name="username"/> </td>
                              <td>
                                  <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                                  <span class="gensmall">{L_AUTO_LOGIN}</span>
                              </td>
                            </tr>

                            <tr>
                              <td><span class="genmed">{L_PASSWORD}:</span> </td>
                              <td><input class="post" type="password" size="10" name="password"/> </td>
                              <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                            </tr>
                        </table>
                      </td>
                      <td width="10%" align="center" valign="middle">
                        <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                      </td>
                      <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
                  </tr>
                </table>
            </td>
          </tr>
      </table>
      <!-- END switch_fb_connect -->
    </form>
    <!-- END switch_user_login_form_header -->

    {CHATBOX_TOP}
    {BOARD_INDEX}
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
          <td width="50%" valign="top">
            <!-- BEGIN switch_user_logged_in -->
            <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
            <!-- END switch_user_logged_in -->
            <!-- BEGIN switch_delete_cookies -->
            <br /><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a>
            <!-- END switch_delete_cookies -->
            </span>
          </td>
          <td width="50%" align="right">
            <span class="gensmall">
                <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a><br />
                <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a><br />
                <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
                <!-- BEGIN switch_on_index -->
                  <!-- BEGIN switch_delete_cookies -->
                  <br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
                  <!-- END switch_delete_cookies -->
                <!-- END switch_on_index -->
            </span>
          </td>
      </tr>
    </table>

    <!-- BEGIN switch_user_login_form_footer -->
    <form action="{S_LOGIN_ACTION}" method="post" name="form_login">
      <!-- BEGIN switch_fb_connect_no -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
          <tr>
            <td class="row1" align="center">
                <table border="0" cellspacing="0" cellpadding="0">
                  <tr>
                      <td><span class="genmed">{L_USERNAME}:</span> </td>
                      <td><input class="post" type="text" size="10" name="username"/> </td>
                      <td>
                        <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                        <span class="gensmall">{L_AUTO_LOGIN}</span>
                      </td>
                  </tr>

                  <tr>
                      <td><span class="genmed">{L_PASSWORD}:</span> </td>
                      <td><input class="post" type="password" size="10" name="password"/> </td>
                      <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                  </tr>
                </table>
            </td>
          </tr>
      </table>
      <!-- END switch_fb_connect_no -->

      <!-- BEGIN switch_fb_connect -->
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
          <tr>
            <td valign="top" width="100%" class="row1" align="center">
                <table width="100%">
                  <tr>
                      <td width="55%" valign="middle">
                        <table class="right">
                            <tr>
                              <td><span class="genmed">{L_USERNAME}:</span> </td>
                              <td><input class="post" type="text" size="10" name="username"/> </td>
                              <td>
                                  <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                                  <span class="gensmall">{L_AUTO_LOGIN}</span>
                              </td>
                            </tr>

                            <tr>
                              <td><span class="genmed">{L_PASSWORD}:</span> </td>
                              <td><input class="post" type="password" size="10" name="password"/> </td>
                              <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                            </tr>
                        </table>
                      </td>
                      <td width="10%" align="center" valign="middle">
                        <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                      </td>
                      <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" scope="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
                  </tr>
                </table>
            </td>
          </tr>
      </table>
      <!-- END switch_fb_connect -->
    </form>
    <!-- END switch_user_login_form_footer -->

    <!-- BEGIN disable_viewonline -->
    <table width="100%"><tr><td colspan="3" width="100%"><center><span style="font-size: 50px"><font face="Gabrielle"><font color="burlywood">Who is online ?</font></font></span></center><br></br><br></br></td></tr>
      <tr>
      <td valign="top" width="33%">
    <font size="1,5"><div classe="partiegauche"><span style="font-size: 12px">{TOTAL_POSTS}<br />
    {TOTAL_USERS}<br />
    {NEWEST_USER}<br />
      {TOTAL_USERS_ONLINE}<br></br><br />
      {LOGGED_IN_USER_LIST}</span></div></font></td>
        <td valign="top" width="33%"> <center><span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g23-les-originaux"><font color="#CC8A43"><span style="font-size: 15px">Originaux</span></font>
          </a></span><br></br><br /><span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g3-nomades"><font color="#9976A6"><span style="font-size: 15px">Nomades</span></font>
        </a></span> <span style="font-size: 12px">  ||  </span> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g10-hybrides"><font color="#E983F2"><span style="font-size: 15px">Hybrides</span></font>
      </a></span> <span style="font-size: 12px">  ||  </span> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g17-humains"><font color="#9E9292"><span style="font-size: 15px">Humains</span></font><br />
          </a></span><br></br> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g11-sorciers"><font color="#E04873"><span style="font-size: 15px">Sorciers & Sorcières</span></font>
      </a></span> <span style="font-size: 12px">  ||  </span> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g12-modificateurs"><font color="#5898C9"><span style="font-size: 15px">Modificateurs</span></font><br />
          </a></span><br></br> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g16-famille-cullen"><font color="#27A380"><span style="font-size: 15px">Famille Cullen</span></font>
        </a></span> <span style="font-size: 12px">  ||  </span> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g14-loup-garou"><font color="#609645"><span style="font-size: 15px">Loup garou</span></font>
      </a></span> <span style="font-size: 12px">  ||  </span> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g15-les-volturi"><font color="#DB4F4F"><span style="font-size: 15px">Les Volturi</span></font><br />
          </a></span><br></br> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g18-chasseurs"><font color="#9DD12E"><span style="font-size: 15px">Chasseurs</span></font>
        </a></span> <span style="font-size: 12px">  ||  </span> <span class="groupesch">  <a href="http://fantasticstory.forumgratuit.org/g19-autre-clan"><font color="#A37D55"><span style="font-size: 15px">Autre clan</span></font>
          </a></span></center><br></br><br></br></td>
          <td valign="top" width="33%"><table><div class="scrollbar"><div style="scrollbar"><p style="font-style:normal">{L_CONNECTED_MEMBERS}</p></div></div></table></td>
    </tr></table>
    <!-- END disable_viewonline -->
    {CHATBOX_BOTTOM}
    <br clear="all" />
    <!-- BEGIN switch_legend -->
    <table border="0" cellspacing="3" cellpadding="0" align="center">
      <tr>
          <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
          <td><span class="gensmall">{L_NEW_POSTS}</span></td>
          <td></td>
          <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
          <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
          <td>  </td>
          <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
          <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
      </tr>
    </table>
    <!-- END switch_legend -->

    {AUTO_DST}

    <!-- BEGIN switch_fb_index_login -->
    <div id="fb-root"></div>
    <script type="text/javascript">
    //<![CDATA[
    FB.init({
      appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
        status: true,
        cookie: true,
        xfbml: true,
      oauth: true
    });
    //]]>
    </script>
    <!-- END switch_fb_index_login -->

Ce template a beaucoup été modifié (Je ne sais plus vraiment pour quoi, mais pour beaucoup de choses en tout cas.) Peut-être que j'ai fais une erreur par inadvertance.

Merci d'avance pour votre aide !
Cordialement.


Dernière édition par Mystore le Dim 11 Mar 2012 - 10:54, édité 1 fois
Mystore

Mystore
*

Masculin
Messages : 48
Inscrit(e) le : 22/02/2012

http://fantasticstory.forumgratuit.org/
Mystore a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème sur la page d'accueil [Résolu]

Message par Olivier-Design Sam 10 Mar 2012 - 15:21

Je crois que ce que vous cherchez se trouve plutôt dans le template index_box

voici le code par défaut de ce template

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="100%" class="secondarytitle"> {catrow.tablehead.L_FORUM} </th>
      <th nowrap="nowrap" width="50">{L_TOPICS}</th>
      <th nowrap="nowrap" width="50">{L_POSTS}</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.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 class="{catrow.forumrow.INC_CLASS}" align="center" valign="middle">
         <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
      </td>
      <td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
         <h{catrow.forumrow.LEVEL} class="hierarchy">
            <span class="forumlink">
               <a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
            </span>
         </h{catrow.forumrow.LEVEL}>
         <span class="genmed">{catrow.forumrow.FORUM_DESC}</span>
         <span class="gensmall">
            <!-- BEGIN switch_moderators_links -->
            {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
            <!-- END switch_moderators_links -->
            {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
         </span>
      </td>
      <td class="row3" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.TOPICS}</span>
      </td>
      <td class="row2" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.POSTS}</span>
      </td>
      <td class="row3 over" align="center" valign="middle" height="50">
         <span class="gensmall">{catrow.forumrow.LAST_POST}</span>
      </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 -->

Aller dans le vôtre et trouvez la section suivante

Code:
<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>

Ce qui nous intéresse c'est ça.

Pour régler votre problème, assurez vous d'avoir exactement ce code.

Code:
<br />
est la balise responsable des changements de ligne

Wink
avatar

Olivier-Design
***

Messages : 153
Inscrit(e) le : 10/02/2012

http://plaisirsgourmands.forumactif.com
Olivier-Design a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème sur la page d'accueil [Résolu]

Message par Niko Sam 10 Mar 2012 - 15:27

Salut

Essayez d'insérer ce code CSS
Code:
a.gen, a.genmed, a.gensmall {
color: #D1BCBC;
text-decoration: none;
margin: 2px;
}

bye bye Yes
Niko

Niko
****

Masculin
Messages : 243
Inscrit(e) le : 11/01/2012

https://www.fmcodes.net
Niko a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Problème sur la page d'accueil [Résolu]

Message par Mystore Dim 11 Mar 2012 - 10:54

Bonjour,

C'est parfait, ça fonctionne !

Merci beaucoup pour votre aide, j'identifie ce problème comme étant résolu .

Encore merci,
Cordialement.
Mystore

Mystore
*

Masculin
Messages : 48
Inscrit(e) le : 22/02/2012

http://fantasticstory.forumgratuit.org/
Mystore 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