catégories du forum+structure
2 participants
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1 • Partagez
catégories du forum+structure
bonjour à tous
j'essaie de parvenir à ce résultat pour mon forum
http://sd-g1.archive-host.com/membres/up/d14974ceb4236f77fd54ee845b2faa3425583c23/Design_forum.pdf
néanmoins je ne trouve pas les codes qui le permette... malgré des heures de recherches sur la toile...
Pourriez-vous m'aider?
merci
j'essaie de parvenir à ce résultat pour mon forum
http://sd-g1.archive-host.com/membres/up/d14974ceb4236f77fd54ee845b2faa3425583c23/Design_forum.pdf
néanmoins je ne trouve pas les codes qui le permette... malgré des heures de recherches sur la toile...
Pourriez-vous m'aider?
merci
Rhin- Nouveau membre
- Messages : 26
Inscrit(e) le : 17/08/2010
Re: catégories du forum+structure
Bonjour,
Vous avez mal cherché alors. Surtout qu'il existe plusieurs tutos et des tonnes de sujets "similaires".
• https://forum.forumactif.com/t261562-suppression-des-colonnes-sujets-et-messages#2348647
• https://forum.forumactif.com/t346456-phpbb2-mettre-un-cadre-dans-les-derniers-messages#2957958
• https://forum.forumactif.com/t346457-phpbb2-retirer-l-intitule-derniers-messages#2957961
etc ..
Bien sûr ces tutos ne donnent pas le "code final", mais cela s'en approche. Vous devriez commencer à les lire, faire d'autres recherches (surtout dans cette section) et nous fournir les résultats obtenus.
Cordialement.
Vous avez mal cherché alors. Surtout qu'il existe plusieurs tutos et des tonnes de sujets "similaires".
• https://forum.forumactif.com/t261562-suppression-des-colonnes-sujets-et-messages#2348647
• https://forum.forumactif.com/t346456-phpbb2-mettre-un-cadre-dans-les-derniers-messages#2957958
• https://forum.forumactif.com/t346457-phpbb2-retirer-l-intitule-derniers-messages#2957961
etc ..
Bien sûr ces tutos ne donnent pas le "code final", mais cela s'en approche. Vous devriez commencer à les lire, faire d'autres recherches (surtout dans cette section) et nous fournir les résultats obtenus.
Cordialement.
Re: catégories du forum+structure
merci beaucoup, vos liens m'ont été très utiles! j'avais en effet du mal regarder,
par contre, je sollicite à nouveau votre aide, excusez-moi, sauriez vous comment faire pour obtenir les deux cadres ici, en rouge (le premier, comment mettre l'image 'nouveaux message' au dessus du pseudo et du titre du sujet, le second, comment mettre les sous forums là?)
https://i.servimg.com/u/f81/14/78/37/27/design10.png
merci
par contre, je sollicite à nouveau votre aide, excusez-moi, sauriez vous comment faire pour obtenir les deux cadres ici, en rouge (le premier, comment mettre l'image 'nouveaux message' au dessus du pseudo et du titre du sujet, le second, comment mettre les sous forums là?)
https://i.servimg.com/u/f81/14/78/37/27/design10.png
merci
Rhin- Nouveau membre
- Messages : 26
Inscrit(e) le : 17/08/2010
Re: catégories du forum+structure
C'est cette ligne:
qui gère l'affichage de l'image.
Donc il suffit de la mettre dans le td qui contient les derniers messages:
Vous devez repérer cette variable:
Donc dans votre template, vous aurez en gros:
Pour avoir les deux cadres, je l'explique dans le tuto. Il y a une div autour du code qui permet d'afficher l'image et une autre autour des deux éléments.
Pour placer les sous forums à cet endroit, il faut imaginer votre schéma sous forme de tableau.
Donc dans le tr qui contient l'image new/no new/lock + derniers messages + intitulé du forum/description + sous forums, on aura:
Vous arrivez à suivre ?
Cordialement.
- Code:
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
qui gère l'affichage de l'image.
Donc il suffit de la mettre dans le td qui contient les derniers messages:
Vous devez repérer cette variable:
- Code:
{catrow.forumrow.LAST_POST}
Donc dans votre template, vous aurez en gros:
- Code:
<td><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
<br />
{catrow.forumrow.LAST_POST}</td>
Pour avoir les deux cadres, je l'explique dans le tuto. Il y a une div autour du code qui permet d'afficher l'image et une autre autour des deux éléments.
Pour placer les sous forums à cet endroit, il faut imaginer votre schéma sous forme de tableau.
Donc dans le tr qui contient l'image new/no new/lock + derniers messages + intitulé du forum/description + sous forums, on aura:
- Code:
<tr><td>CONTENU 1: image no new etc</td><td>contenu 2 forum + description</td><td>les sous forums</td></tr>
Vous arrivez à suivre ?
Cordialement.
Re: catégories du forum+structure
merci pour votre réponse,
j'ai appliqué ceci
et j'obtiens ceci: https://i.servimg.com/u/f81/14/78/37/27/forumt10.png
voici ma template
pour ceci:
où dois-je mettre le code que vous m'avez donné?
je suis un peu perdue excusez-moi
merci
j'ai appliqué ceci
Anzu a écrit:C'est cette ligne:
- Code:
<img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
qui gère l'affichage de l'image.
Donc il suffit de la mettre dans le td qui contient les derniers messages:
Vous devez repérer cette variable:
- Code:
{catrow.forumrow.LAST_POST}
Donc dans votre template, vous aurez en gros:
- Code:
<td><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
<br />
{catrow.forumrow.LAST_POST}</td>
et j'obtiens ceci: https://i.servimg.com/u/f81/14/78/37/27/forumt10.png
voici ma template
- Spoiler:
- 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" 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">
<td><img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
<br />
{catrow.forumrow.LAST_POST}</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>
</span>
</h{catrow.forumrow.LEVEL}></td><td style="padding-left: 40px; text-align: right;" class="gensmall"></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 style="min-width: 150px;" align="center" valign="middle" height="50">
<div class="cadre1">{catrow.forumrow.POSTS} messages dans {catrow.forumrow.TOPICS} sujets.
<br /><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div></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 -->
pour ceci:
Anzu a écrit:
Pour avoir les deux cadres, je l'explique dans le tuto. Il y a une div autour du code qui permet d'afficher l'image et une autre autour des deux éléments.
Pour placer les sous forums à cet endroit, il faut imaginer votre schéma sous forme de tableau.
Donc dans le tr qui contient l'image new/no new/lock + derniers messages + intitulé du forum/description + sous forums, on aura:
- Code:
<tr><td>CONTENU 1: image no new etc</td><td>contenu 2 forum + description</td><td>les sous forums</td></tr>
Vous arrivez à suivre ?
Cordialement.
où dois-je mettre le code que vous m'avez donné?
je suis un peu perdue excusez-moi
merci
Rhin- Nouveau membre
- Messages : 26
Inscrit(e) le : 17/08/2010
Re: catégories du forum+structure
Bonjour,
Par contre, il fallait retirer l'autre variable, elle était en double ..
Ce que j'ai expliqué pour les sous forums:
Ici:
C'est le code en double, et vu que c'est le troisième td, c'est là où se trouvent les sous forums.
Donc:
Le template:
Il y avait juste une petite erreur au début, deux td qui s'ouvrent à la suite, ce n'est pas possible
Cordialement
Par contre, il fallait retirer l'autre variable, elle était en double ..
Ce que j'ai expliqué pour les sous forums:
Ici:
- Code:
<td style="min-width: 150px;" align="center" valign="middle" height="50">
<div class="cadre1">{catrow.forumrow.POSTS} messages dans {catrow.forumrow.TOPICS} sujets.
<br /><span class="gensmall">{catrow.forumrow.LAST_POST}</span></div></td>
C'est le code en double, et vu que c'est le troisième td, c'est là où se trouvent les sous forums.
Donc:
- Code:
<td style="min-width: 150px;" align="center" valign="middle" height="50">
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</td>
Le template:
- 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" 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>
<td style="min-width: 150px;" class="{catrow.forumrow.INC_CLASS}" align="center">
<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>
<td class="row1 over" colspan="{catrow.forumrow.INC_SPAN}" valign="top" width="100%" height="50">
<table width="100%"><tr><td><h{catrow.forumrow.LEVEL} class="hierarchy">
<span class="forumlink">
<a class="forumlink" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a>
</span>
</h{catrow.forumrow.LEVEL}></td><td style="padding-left: 40px; text-align: right;" class="gensmall"></td></tr></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 -->
</span>
</td>
<td style="min-width: 150px;" align="center" valign="middle" height="50">
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</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 -->
Il y avait juste une petite erreur au début, deux td qui s'ouvrent à la suite, ce n'est pas possible
Cordialement
Sujets similaires
» Changer la structure des catégories et sous-forums de mon forum !
» Copier la structure (catégories et forums) d'un forum vers un autre
» Structure des catégories
» Structure - catégories
» Structure de mes catégories
» Copier la structure (catégories et forums) d'un forum vers un autre
» Structure des catégories
» Structure - catégories
» Structure de mes catégories
Forum gratuit : Le forum des forums actifs :: Entraide & Support... :: Gérer l'apparence de son forum :: Archives des problèmes avec l'apparence du forum
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum