Séparer les forums dans les catégories
3 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1 • Partagez
Séparer les forums dans les catégories
Détails techniques
Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Google Chrome
Personnes concernées par le problème : Tous les utilisateurs
Lien du forum : http://dead-everyday.forums-actifs.com/
Description du problème
Bonjour,J'ai récemment séparé les catégories de mon forum en onglets et je rencontre un autre problème dans mes tentatives de codage.
Je précise d'avance : c'est bien séparer les forums que je cherche, et non séparer les catégories, et les seules réponses que j'ai trouvé en cherchant étaient celles consistant à modifier la hiérarchie du forum, ce qui n'est pas exactement ce que je cherche à faire.
En gros : j'ai fait un cadre autour du titre des forums, mais j'aimerais qu'ils soient séparés et chacun dans des cadres différents (comme on peut le faire d'ordinaire avec les catégories). Je sais que c'est possible car c'est le cas sur un forum ou je suis inscrite, mais je ne sais pas trop comment faire.
En clair, au lieu de ça :
Je cherche à faire ça :
Je prépare un nouveau thème pour un forum et ça fait déjà pas mal de temps que les membres attendent, donc je me résous à demander de l'aide parce que je suis visiblement incapable de le faire toute seule.
Bon je sais pas trop si c'est là que ça va, c'est une histoire de script mais ça concerne l'apparence du forum. Si c'est mal placé, je m'excuse ._.
Merci d'avance.
Dernière édition par IzumiRK le Mar 3 Mar 2015 - 0:42, édité 1 fois
Re: Séparer les forums dans les catégories
Coucou IzumiRK
Pourrais-t-on avoir le code de ton template index_box s'il te plait ?
Pourrais-t-on avoir le code de ton template index_box s'il te plait ?
Re: Séparer les forums dans les catégories
Bien sûr :
- Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="gensmall" align="right" valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<center><span class="gensmall">{LAST_VISIT_DATE} ▬ {CURRENT_TIME}
</span></center>
<center><a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> ▬ <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> ▬ <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></center>
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
<div id="conteneur_onglets_cate">
<div class="onglet_cate">↕Préambule</div>
<div class="onglet_cate">Gestion des personnages</div>
<div class="onglet_cate">Extérieur</div>
<div class="onglet_cate">Bâtiment principal</div>
<div class="onglet_cate">Bâtiments annexes↕</div><br/>
<div class="onglet_cate">↕Kochi</div>
<div class="onglet_cate">Périphérie et ailleurs</div>
<div class="onglet_cate">Hors RPG↕</div>
</div><br/><br/>
<div id="conteneur_categories">
<!-- BEGIN catrow --><!-- BEGIN tablehead -->
<div class="categorie"><table class="forumline" id="categories" width="100%" border="0" cellspacing="0" cellpadding="0" valign="top">
<tr>
<th colspan="{catrow.tablehead.INC_SPAN}" nowrap="nowrap" width="100%" class="secondarytitle"></th>
<th nowrap="nowrap" width="90"></th>
<th nowrap="nowrap" width="150"><div style="width:150px;"></div></th>
</tr>
<!-- END tablehead -->
<!-- BEGIN cathead -->
<tr>
<!-- BEGIN inc -->
<td class="{catrow.cathead.inc.INC_CLASS}" width="46" valign="top"><img src="{SPACER}" height="0" width="46" /></td>
<!-- END inc -->
<td class="{catrow.cathead.CLASS_CAT}" colspan="{catrow.cathead.INC_SPAN}" width="100%" valign="top">
<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="top">
</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>
</span>
<span class="gensmall" style="color:#71AFD1; float:right;">Messages : {catrow.forumrow.POSTS} || Sujets : {catrow.forumrow.TOPICS}</span><br />
</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 -->
</span>
</td>
<td class="row3" align="center" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>
</td>
<td class="row3 over" align="center" valign="middle" height="50">
<!-- BEGIN avatar -->
<div style="width: 200px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /><br/>
<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" /></div>
<!-- END tablefoot --><!-- END catrow -->
</div>
Re: Séparer les forums dans les catégories
Bonjour IzumiRK,
Remplacer votre template index_box par :
Remplacer votre template index_box par :
- Code:
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td class="gensmall" align="right" valign="bottom">
<!-- BEGIN switch_user_logged_in -->
<center><span class="gensmall">{LAST_VISIT_DATE} ▬ {CURRENT_TIME}
</span></center>
<center><a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> ▬ <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a> ▬ <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></center>
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
<div id="conteneur_onglets_cate">
<div class="onglet_cate">↕Préambule</div>
<div class="onglet_cate">Gestion des personnages</div>
<div class="onglet_cate">Extérieur</div>
<div class="onglet_cate">Bâtiment principal</div>
<div class="onglet_cate">Bâtiments annexes↕</div><br/>
<div class="onglet_cate">↕Kochi</div>
<div class="onglet_cate">Périphérie et ailleurs</div>
<div class="onglet_cate">Hors RPG↕</div>
</div><br/><br/>
<div id="conteneur_categories">
<!-- BEGIN catrow -->
<!-- BEGIN forumrow -->
<div class="categorie"><table class="forumline" id="categories" width="100%" border="0" cellspacing="0" cellpadding="0" valign="top">
<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="top">
</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>
</span>
<span class="gensmall" style="color:#71AFD1; float:right;">Messages : {catrow.forumrow.POSTS} || Sujets : {catrow.forumrow.TOPICS}</span><br />
</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 -->
</span>
</td>
<td class="row3" align="center" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</span>
</td>
<td class="row3 over" align="center" valign="middle" height="50">
<!-- BEGIN avatar -->
<div style="width: 200px;"></div>
<span class="lastpost-avatar">{catrow.forumrow.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /><br/>
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td>
</tr>
</table><img src="{SPACER}" alt="" height="5" width="1" /></div>
<!-- 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 -->
<!-- END tablefoot --><!-- END catrow -->
</div>
Re: Séparer les forums dans les catégories
Ça marche =) Merci beaucoup
Sujets similaires
» Séparer les forums dans les catégories (bis)
» catégories pour séparer ses forums
» je n'arrive pas a separer mes categories dans la construction de mon forum
» Les minis catégories et forums ne s'affichent plus dans l'affichage de mes catégories !
» Gif "nouveaux messages" dans les catégories & forums
» catégories pour séparer ses forums
» je n'arrive pas a separer mes categories dans la construction de mon forum
» Les minis catégories et forums ne s'affichent plus dans l'affichage de mes catégories !
» Gif "nouveaux messages" dans les catégories & forums
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Problème avec un script, un code :: Archives des problèmes avec un code
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum