Affichages de l'avatar du dernier posteur

2 participants

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

Résolu Affichages de l'avatar du dernier posteur

Message par Alrun Dim 20 Juil 2014 - 1:24

Bonsoir Smile

Comme indiqué dans le titre, j'aimerai que l'avatar du dernier posteur s'affiche à coté du cadre du dernier message, seulement sur les catégories. Dans mon cas, dans la zone verte là où il y a le rectangle rouge donc (https://2img.net/r/hpimg11/pics/460464Sanstitre1copie.jpg)

J'ai suivi le tutoriel via templates et CSS, ou encore l'activation via le panneau d'administration (Structure et Hiérarchie) toutefois l'avatar reste invisible ><
Sans doute que mes tripotages de templates ont causé quelques soucis TT^TT

La principale partie modifiée (template index box) est celle-ci :
Code:
<td style="text-align: center;float:right" class="gensmall">
                            <div class="messagesetposts_dernierpost">
                            <div class="messagesetposts">{catrow.forumrow.POSTS} messages & {catrow.forumrow.TOPICS} sujets</div>
                            <div class="dernierpost">{catrow.forumrow.LAST_POST}</div>
                              </div>
                            </td>

Auriez-vous une solution ?


Forum : http://duralas.forumgratuit.org/ en PhPBB2
CSS
Code:
/**************************************************************************Design du fond**************************************************************************/
body {
  background-repeat: no-repeat;
    background-position: 50% 50%;
background-attachment: fixed;
overflow-y:scroll !important;
overflow-x:hidden !important;

}
 
.site_description{
 padding-top:50px;
}

/*header*/
#i_bg {
  position: absolute;
  top: 0px;
  left:0px;
  right:0px;
  width:1000px;
}

/*logo*/
#i_logo {
  z-index: 900;
  position:relative; 
}

/*corps central*/
.bodylinewidth{
    box-shadow: 0px 0px 20px #000;
    background:url('http://img11.hostingpics.net/pics/9205632575.png');
  padding-bottom:0px;
  margin-top:-750px;
}

/*categories*/
.forumline{
  padding: 3px;
  border-radius: 10px;
  box-shadow: 0px 2px 10px black;
  border:3px solid #000;
}

/*barre de navigation*/
.navigation {
 background:#202B02;
  left:0px;
  right;0px;
  top:480px;
  position: absolute;
  z-index: 999;
  width: 100%;
  padding: 2px 0 4px 0;
  opacity: 0.8;
    filter: alpha(opacity=100);
  box-shadow :0px 0px 3px #000;
}

/*corps du post*/
.postbody {
  text-align : justify;
  padding :10px;
}

/*encadre dernier post*/
.dernierpost {
  border-left:5px solid #202B02;
  border-right:50px solid #202B02;
  border-top:1px solid #202B02;
  border-bottom:1px solid #202B02;
  margin-top:0px;
  margin-bottom:-30px;
  padding: 5px;
  padding-top:15px;
  height:50px;
  width:200px;
}

/*compteur messages et sujets*/
.messagesetposts {
color: #202B02
}

.messagesetposts_dernierpost {
  margin-top:-20px;
}

/*titre de categorie*/
.titre_categorie{
  margin-top:-45px;
}

/*liens de categories en dessous de descr*/
.liens_categories {
  width:580px;
}
 
/*zone description des categories*/
.descr {
  margin-top:-40px;
  padding-bottom:10px;
  height:80px;
  width :570px;
}


/*chatbox*/
body.chatbox {
background: #0B0F00;
  border:none;
}

/*intitule chatbox*/
#chatbox_header .cattitle:before { content: "Bienvenue dans La Taverne de Dùralas : La "; }


/************************************************************************Mise en page**************************************************************************/

/*liens*/
a {
  color:goldenrod;
text-decoration: none;
  -moz-transition:all 0.5s; /* Mozilla Firefox */
-webkit-transition:all 0.5s; /* Safari et Google Chrome */
-o-transition:all 0.5s; /* Opera */
transition:all 0.5s;
}

a:hover {
text-decoration: none !important;
text-transformation: none !important;
color:#FFF;
}

a:link {text-decoration: none;
-moz-transition:all 0.5s; /* Mozilla Firefox */
-webkit-transition:all 0.5s; /* Safari et Google Chrome */
-o-transition:all 0.5s; /* Opera */
transition:all 0.5s;}

a:link:hover {
text-decoration: none !important;
text-transformation: none !important;
color:#FFF;
}

url {
text-decoration: none;
text-transformation:none;
}

a.forumlink {
  margin-top:-25px;}


a.forumlink{
-moz-transition:all 0.5s; /* Mozilla Firefox */
-webkit-transition:all 0.5s; /* Safari et Google Chrome */
-o-transition:all 0.5s; /* Opera */
transition:all 0.5s;
}

a.forumlink:hover{
  color:#FFF;
}

/*barre de separation hr*/
hr {  border:1px solid #A4BC83; }

/*code*/
.code{
 border-radius: 0px 20px 20px 20px;
  color:#D9E3CC;
  padding:15px;
  background:url('http://img11.hostingpics.net/pics/4796325395.jpg');
}

/*selecion code*/
.selectCode {
  float:right;
  cursor:pointer;
  font-size:12px;
  margin-right:25px;
  color: #12150e;}
div.cont_code { clear: right; }

/*citations*/
.quote{
 border-radius: 0px 20px 20px 20px;
  color:#D9E3CC;
  padding:15px;
    background:url('http://img11.hostingpics.net/pics/4796325395.jpg');
}

Template 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="4" colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle">&nbsp;{catrow.tablehead.L_FORUM}&nbsp;</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">&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">
         <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">
                          <table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
                    <span class="forumlink">
                      <div class="titre_categorie"><a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></div>
       
                    </span>
                            </h{catrow.forumrow.LEVEL}></td><br /><br /><td style="text-align: center;float:right" class="gensmall">
                            <div class="messagesetposts_dernierpost">
                            <div class="messagesetposts">{catrow.forumrow.POSTS} messages & {catrow.forumrow.TOPICS} sujets</div>
                            <div class="dernierpost">{catrow.forumrow.LAST_POST}</div>
                              </div>
                            </td></tr></tbody></table>
                            <span class="genmed"><div class="descr">{catrow.forumrow.FORUM_DESC}</div></span>
         <span class="gensmall"><div class="liens_categories">
            <!-- 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}</div>
         </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 -->


Dernière édition par Alrun le Dim 20 Juil 2014 - 17:22, édité 1 fois
Alrun

Alrun
Nouveau membre

Messages : 24
Inscrit(e) le : 18/05/2014

http://sans-titre.forumactif.fr/
Alrun a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Affichages de l'avatar du dernier posteur

Message par Neptunia Dim 20 Juil 2014 - 2:07

Bonjour, et bienvenue sur le Forum des Forums Forumactif


Votre template n'est pas à jour !
Avant d'activer la fonction depuis le panneau admin, vous devez d'abord mettre à jour votre (ou vos) templates comme mentionné dans ce sujet
Right Avatar du membre ayant posté en dernier sur l'index du forum
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Affichages de l'avatar du dernier posteur

Message par Alrun Dim 20 Juil 2014 - 2:26

Bonsoir, et merci de votre accueil ^^

Dans le lien que vous m'avez indiqué, je ne vois pas de mention au sujet de la mise à jour des templates...
Serai-je passée à coté de l'information ? =/
Alrun

Alrun
Nouveau membre

Messages : 24
Inscrit(e) le : 18/05/2014

http://sans-titre.forumactif.fr/
Alrun a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Affichages de l'avatar du dernier posteur

Message par Neptunia Dim 20 Juil 2014 - 3:20

Alrun a écrit:
Dans le lien que vous m'avez indiqué, je ne vois pas de mention au sujet de la mise à jour des templates...
Serai-je passée à coté de l'information ? =/

Vous avez ceci dans le sujet indiqué.
Remarque importante: Pour information, les forums avec CSS et templates personnalisés, devront apporter les modifications suivantes pour afficher cette nouvelle option.
Le tout sur fond rouge ! A moins d'être daltonien, ça me semble assez difficile de passer à côté.
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Affichages de l'avatar du dernier posteur

Message par Alrun Dim 20 Juil 2014 - 4:19

"les modifications suivantes"

modifications que j'ai apportées, sans succès toutefois...
Alrun

Alrun
Nouveau membre

Messages : 24
Inscrit(e) le : 18/05/2014

http://sans-titre.forumactif.fr/
Alrun a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Affichages de l'avatar du dernier posteur

Message par Neptunia Dim 20 Juil 2014 - 4:45

Pourriez vous poster votre nouvel index_box après modifications ?
Neptunia

Neptunia
Membre actif

Féminin
Messages : 17853
Inscrit(e) le : 08/08/2010

https://www.galaxie-series.net/
Neptunia a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Affichages de l'avatar du dernier posteur

Message par Alrun Dim 20 Juil 2014 - 17:21

Problème résolu, une erreur dans le template rendait la visualisation impossible.

Merci pour votre aide toutefois
Alrun

Alrun
Nouveau membre

Messages : 24
Inscrit(e) le : 18/05/2014

http://sans-titre.forumactif.fr/
Alrun 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