Enlever la colonne derniers messages
2 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
Enlever la colonne derniers messages
Bonjour,
J'aimerais enlever la colonne "derniers messages" de mon forum (phpBB2), pour qu'il n'y ai plus qu'une colonne, avec le nom de la catégorie. Mais qu'il reste toujours le titre du dernier message, la date etc, juste que l'on ne voit plus la colonne.
Est-ce possible?
Que dois-je enlever et dans quel template s'il vous-plaît?
Merci d'avance.
J'aimerais enlever la colonne "derniers messages" de mon forum (phpBB2), pour qu'il n'y ai plus qu'une colonne, avec le nom de la catégorie. Mais qu'il reste toujours le titre du dernier message, la date etc, juste que l'on ne voit plus la colonne.
Est-ce possible?
Que dois-je enlever et dans quel template s'il vous-plaît?
Merci d'avance.
Re: Enlever la colonne derniers messages
Ce serait pas un problème de widget plutôt?
Je dis çà mais c'est des trucs que j'ai fait au pif pour le forum où je suis donc je crains de ne pouvoir être très utile. Je ne pense pas qu'on puisse modifier çà.
Je dis çà mais c'est des trucs que j'ai fait au pif pour le forum où je suis donc je crains de ne pouvoir être très utile. Je ne pense pas qu'on puisse modifier çà.
Re: Enlever la colonne derniers messages
non, je n'ai pas de widgets actifs, mais j'ai déjà vu un forum avec, ça, je sais plus lequel...
voilà ce que je voudrais:
Nom de la catégorie
_______________________________________________________________________________
Description, etc. titre du message, nom, date etc.
voilà, pas de colonne
voilà ce que je voudrais:
Nom de la catégorie
_______________________________________________________________________________
Description, etc. titre du message, nom, date etc.
voilà, pas de colonne
Re: Enlever la colonne derniers messages
Bonjour,
Vous cherchez à faire quelque chose comme ceci?
Si oui c'est le template index-box qu'il faut modifier. Vous avez le début des modifications à faire dans ce tutoriel:Suppression des colonnes Sujets et Messages . Ce qui concerne la colonne "derniers messages" est représenté par LASTPOST . Il faut appliquer le même principe que dans le tutoriel, supprimer la ligne de titre, puis intégrer le contenu de la colonne dans un tableau.
Cordialement.
Vous cherchez à faire quelque chose comme ceci?
Si oui c'est le template index-box qu'il faut modifier. Vous avez le début des modifications à faire dans ce tutoriel:Suppression des colonnes Sujets et Messages . Ce qui concerne la colonne "derniers messages" est représenté par LASTPOST . Il faut appliquer le même principe que dans le tutoriel, supprimer la ligne de titre, puis intégrer le contenu de la colonne dans un tableau.
Cordialement.
Invité- Invité
Re: Enlever la colonne derniers messages
Oui c'est exactement ça!! merci beaucoup!!
Bonne continuation à vous
Bonne continuation à vous
Re: Enlever la colonne derniers messages
Ah mince, je n'édite pas parce que je ne peux pas enlever le sinon
Je ne comprend pas ce que je dois rajouter, j'ai bien enlever ce qu'il fallait, mais après, je n'ai pas de grandes connaissances en template...
voilà mon code, que dois-je changer svp?
Je ne comprend pas ce que je dois rajouter, j'ai bien enlever ce qu'il fallait, mais après, je n'ai pas de grandes connaissances en template...
voilà mon code, que dois-je changer svp?
- 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="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">
<table width="100%"><tbody><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a></td></tr></tbody></table>
<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 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 -->
Re: Enlever la colonne derniers messages
désolé, elle s'était pas enlevée....
Re: Enlever la colonne derniers messages
Essayez avec ce template:
Cordialement.
- 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>
</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">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</span>
<span class="genmed"><table><tr><td style="width:750px;">{catrow.forumrow.FORUM_DESC}</td><td class="row3 over" valign="middle" height="50">
{catrow.forumrow.POSTS} messages, dans {catrow.forumrow.TOPICS} sujets.<br />
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td></tr></table></span>
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<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>
</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 -->
Cordialement.
Invité- Invité
Re: Enlever la colonne derniers messages
voilà ce que ça me donne, j'aimerais que l'espace entre le nom du forum et la description soit moins grande, enlever la colonne X messages dans X sujets (si j'essaies d'enlever une partie du code ça change tout le forum ) et que la partie droite ne soit pas en colonne, comme ça l'est ici....
Merci d'avance et merci aussi pour vous pencher sur mon problème.
Re: Enlever la colonne derniers messages
Bonjour,
J'ai modifié un peu le code, dites moi si c'est mieux comme ça:
C'est la partie ci-dessous qui agit sur la taille que prend la description, modifiez-la pour trouver les dimensions qui vous conviennent:
Cordialement.
J'ai modifié un peu le code, dites moi si c'est mieux comme ça:
- 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>
</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">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</span>
<span class="genmed"><table><tr><td style="width:450px;">{catrow.forumrow.FORUM_DESC}</td><td class="row3 over" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td></tr></table></span>
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<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>
</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 -->
C'est la partie ci-dessous qui agit sur la taille que prend la description, modifiez-la pour trouver les dimensions qui vous conviennent:
<span class="genmed"><table><tr><td style="width:450px;">{catrow.forumrow.FORUM_DESC}</td><td class="row3 over" valign="middle" height="50">
<span class="gensmall">{catrow.forumrow.LAST_POST}</span>
</td></tr></table></span>
Cordialement.
Invité- Invité
Re: Enlever la colonne derniers messages
Heureusement qu'il y en qui s'y connaisse ne templates, sinon je saurais pas quoi faire
C'était ce que je voulais, je vais essayer de l'étudier un peu pour comprendre, merci beaucoup et bonne continuation
:thanks:
C'était ce que je voulais, je vais essayer de l'étudier un peu pour comprendre, merci beaucoup et bonne continuation
:thanks:
Sujets similaires
» Enlever la colonne des derniers messages dans les sujets
» déplacer le nombre de messages et sujets dans la colonne "Derniers Messages"
» Modifier taille colonne "Sujets/Messages/Derniers messages"
» Enlever la partie: Forum, sujets, messages, derniers messages situés au dessus des rubriques
» Enlever/modifier la bar "forum,sujets,messages,derniers messages"
» déplacer le nombre de messages et sujets dans la colonne "Derniers Messages"
» Modifier taille colonne "Sujets/Messages/Derniers messages"
» Enlever la partie: Forum, sujets, messages, derniers messages situés au dessus des rubriques
» Enlever/modifier la bar "forum,sujets,messages,derniers messages"
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