Le Deal du moment :
Aliexpress : codes promo valables sur tout le site
Voir le deal

Réponses, Auteur, Vues, Derniers Messages qui ce rajoute

Réponses, Auteur, Vues, Derniers Messages qui ce rajoute Empty Sam 17 Juin - 1:16
Bonjour !

pour un forum j'ai voulus prendre un de vos codes (enfin plusieurs même) mais j'ai un soucis ...

Quand je poste un sujet en note ou annonce tout va bien, mais dès qu'on poste un sujet normale il ce passe un truc de bizarre ...

alors pour commencer c'est avec cette liste de sujet :
http://www.aht.li/2806041/PSBJ2.png

et voila le bug :


pour les templates :


et le CSS :



Voila !!! je vous remercie d'avance !
Revenir en haut Aller en bas
Réponses, Auteur, Vues, Derniers Messages qui ce rajoute Empty Sam 17 Juin - 2:05
Bonjour,

Remplacez l'intégralité du template topics_list_box par :

Code:
<!-- BEGIN topics_list_box --><!-- BEGIN row --><!-- BEGIN header_table --><!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
 var all_checked = true;
 for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
 if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
 all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
 }
 }
 document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
 for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
 if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
 document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
 }
 }
}
</script>
<!-- END multi_selection -->

<table class="forumline" width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
 <!-- END header_table --><!-- BEGIN header_row -->
<!-- END header_row -->

<!-- BEGIN topic -->
{topics_list_box.row.END_TABLE_STICKY}
 <tr>
 <td width="100%"><div class="blocSBJ">
 <!-- BEGIN single_selection -->
<div class="modSBJ" width="20"><input type="radio" name="{topics_list_box.FIELDNAME}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></div>
 <!-- END single_selection -->
 <div class="tleSBJ">{topics_list_box.row.NEWEST_POST_IMG}{topics_list_box.row.PARTICIPATE_POST_IMG}{topics_list_box.row.TOPIC_TYPE} <a href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a></div><img class="imgSBJ" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" /><div class="vuesSBJ">{topics_list_box.row.VIEWS}</div><div class="repSBJ">{topics_list_box.row.REPLIES}</div><br/>
 <!-- BEGIN switch_description --><div class="descSBJ">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</div><!-- END switch_description -->
 <div class="lmsgSBJ">{topics_list_box.row.LAST_POST_TIME} par {topics_list_box.row.LAST_POST_AUTHOR} {topics_list_box.row.LAST_POST_IMG}</div><div class="nameSBJ">rédigé par <strong>{topics_list_box.row.TOPIC_AUTHOR}</strong></div>
 <span class="gensmall">{topics_list_box.row.TOPIC_ANNOUNCES_DATES}{topics_list_box.row.TOPIC_CALENDAR_DATES}</span> 
<div class="gotoSBJ">{topics_list_box.row.GOTO_PAGE}<!-- BEGIN nav_tree -->{topics_list_box.row.TOPIC_NAV_TREE}<!-- END nav_tree --></div></div>
 </td>
 
<!-- BEGIN multi_selection -->
 <td align="center" valign="middle"><span class="postdetails"><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></span></td>
 <!-- END multi_selection -->
 </tr>
 <!-- END topic --><!-- BEGIN no_topics -->
 <tr>
 <td colspan="{topics_list_box.row.COLSPAN}" align="center" valign="middle" height="30"><span class="gen">{topics_list_box.row.L_NO_TOPICS}</span></td>
 </tr>
 <!-- END no_topics --><!-- BEGIN bottom -->
 <tr>
 <td colspan="{topics_list_box.row.COLSPAN}" valign="middle">
 <table width="100%" border="0" cellspacing="0" cellpadding="0">
 <tr>
 <td> <span class="gensmall">{PAGINATION}</span></td>
 <td align="right"><a href="#top">{L_BACK_TO_TOP}</a>&nbsp;</td>
 </tr>
 </table>
 </td>
 </tr>
<!-- END bottom --><!-- BEGIN footer_table -->
</table><!-- END footer_table --><!-- BEGIN spacer --><br class="gensmall" /><!-- END spacer --><!-- END row --><!-- END topics_list_box -->

Partie CSS :
Code:
/* PRESENTATION LISTE SUJETS */
.blocSBJ {
width:1000px; margin:5px auto 10px; text-align:center;
}
/* OUTIL MODERATION LISTE SUJETS */
.modSBJ {
position:absolute; z-index:3;
}
/* BLOC TITRE LISTE SUJETS */
.tleSBJ {
display:inline-block; vertical-align:top;
width:800px; height:35px; padding-top:15px; padding-right:50px; overflow:hidden;
background:#679C96; /* MODIFIABLE */
font-family:Oswald; text-align:left; text-transform:uppercase;
}
/* TITRE LISTE SUJETS */
.tleSBJ a { 
margin-left:25px;
color:#000000 !important; /* MODIFIABLE */
}
/* ICÔNES DES SUJETS */
.imgSBJ {
display:inline-block; vertical-align:top;
width:50px; height:50px;
}
/* VUES LISTE SUJETS */
.vuesSBJ {
display:inline-block; vertical-align:top;
width:50px; height:33px; padding-top:17px;
background:#4F2D48; color:#000000; /* MODIFIABLE */
font-size:11px; text-align:center;
}
/* REPONSES LISTE SUJETS */
.repSBJ {
display:inline-block; vertical-align:top;
width:50px; height:33px; padding-top:17px;
background:#A23465; color:#000000; /* MODIFIABLE */
font-size:11px; text-align:center;
}
/* DESCRIPTION LISTE SUJETS */
.descSBJ {
width:990px; padding:5px;
font-size:9px; text-align:justify;
background:#000; color:white; /* MODIFIABLE */
}
/* DERNIER MESSAGE LISTE SUJETS */
.lmsgSBJ {
display:inline-block; vertical-align:top;
width:655px; height:15px; padding:5px; overflow:hidden;
background:#A23465; color:#000000; /* MODIFIABLE */
font-size:11px;
}
/* AUTEUR LISTE SUJETS */
.nameSBJ {
display:inline-block; vertical-align:top;
width:325px; height:15px; padding:5px; overflow:hidden;
background:#55B5B1; color:#000000; /* MODIFIABLE */
font-size:11px;
}
/* NUMEROS PAGES LISTE SUJETS */
.gotoSBJ {
margin-top:-25px; padding-right:5px;
text-align:right; font-size:9px;
}
Revenir en haut Aller en bas
Réponses, Auteur, Vues, Derniers Messages qui ce rajoute Empty Sam 17 Juin - 2:21
Non toujours pas ... T.T

Revenir en haut Aller en bas
Réponses, Auteur, Vues, Derniers Messages qui ce rajoute Empty Sam 17 Juin - 15:39
Salutations !

bon j'ai voulus tester un autre style de liste de sujet, et j'ai pris dans vos plus récente, et ...

voila ce que ça donne:
Spoiler:

je pense donc que le "bug" qui fait que Réponses, Auteur, Vues, Derniers Messages ce mettent en plein milieu viens de vos plus anciens :o

car sur les autres bah ça ce met tout en bas...
Je vais faire avec pour le moment c'est pas très très gênant, mais si vous pouvais donner un coup de baguette magique et faire disparaitre ça à tout jamais ça serais vraiment super :D

Merci beaucoup pour ce que vous faite, le temps que ça vous prend, et surtout devoir répondre à des gens comme moi qui sont totalement incapable de faire quoi que ce soir sans un soutient T.T
Revenir en haut Aller en bas
Réponses, Auteur, Vues, Derniers Messages qui ce rajoute Empty Sam 17 Juin - 17:20
Panneau d'administration > Général > Messages et Emails > Configuration :
Réponses, Auteur, Vues, Derniers Messages qui ce rajoute LSBJ

Si cela échoue, le lien de votre forum me sera nécessaire.
Revenir en haut Aller en bas
Réponses, Auteur, Vues, Derniers Messages qui ce rajoute Empty Sam 17 Juin - 21:32
Mon dieu que je peux être con parfois ... désolée de cette perte de temps pour vous alors que c'était si simple T.T

merci encore et mille fois désolée !
Revenir en haut Aller en bas
Revenir en haut Aller en bas
Vous ne pouvez pas répondre aux sujets dans ce forum