Salutations,
je viens encore demander votre aide pour un problème de nouveau très ennuyant...
Lorsque je fais 2 sous-forums (et+) j'ai ce problème d'affichage.
Quel template dois-je modifier et où?
Merci d'avance ;-)
Il faut le URL du site pour vérification...
Il faudrait voir le contenu de ces 2 templates "Forum Bit Templates -> forumbit_depth1_cat_subforum" et "Affichage forum Templates -> forumdisplay_subforums"
Template <forumdisplay_subforums> du thème défaillant :
Code :
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%"> </td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />
Même template mais sans bugs d'affichage :
Code :
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="5" align="center"><strong>{$lang->sub_forums_in}</strong></td>
</tr>
<tr>
<td class="tcat" width="2%"> </td>
<td class="tcat" width="59%"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="15%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$forums}
</table>
<br />
forumbit_depth1_cat_subforum
Code :
<tr>
<td class="tcat" colspan="6"><strong>» <a href="{$forum_url}">{$forum['name']}</a></strong><br /><span class="smalltext">{$forum['description']}</span></td></tr>{$sub_forums}
Première constatation :
il n'y a que 3 colonnes définies quand la table s'attend à en afficher 5!
de plus le total en % ne donne que 76% au lieu de 90%
Il faudra donc remplacer le colspan="5" par colspan="3" et augmenter le % des colonnes appropriées pour obtenir un total de 90%.
P.S. Le soutien de MyBB.fr est pour les problèmes techniques et non pas la création ou la modification de thèmes non-fournis avec l'installation par défaut.
Et concernant forumbit?
Concernant l'aide, je n'en doute pas. Même si c'est de la modif, c'est un soucis technique (et le dernier avec le bloc BBCODE..)