Ma demande
Bonjour,
J'aimerais grandement que vous m'aidiez a personnalisé l'apperçu d'un message. Personnellement, j'ai tenter à plusieurs reprise. Bien que je me débrouille en CSS et HTML, lorsqu'il est question de toucher au template, je bloque. Néanmoins, j'avais tenter de modifié par moi même, recommencant de zéro un template sur la zone toucher. Assurément, sur Dreamweaver cela fonctionne, mais lorsque je le met en place, il y a toujours des histoire de balise ouverte ou non... bref... après 6 mois a lire et relire le template j'abandonne :O et je me tourne vers vous
Schéma(s) et Eléments
Schémas : https://2img.net/r/ihimg/a/img540/8514/rfRU7Q.jpg
Tailles des éléments : Équivaut a environ.. 95% de l'espace disponible, le bodyline faisant 810px, cela vous donne approximativement les données adéquate.
Effets voulus : Aucun,
Version de votre forum : Phpbb2, éventuellement vers phpbb3
Ressources
Aucun.
Autres précisions ?
Assurément, les informations sous l'avatar font partie du "profil" et non de la feuille perso. Le contenu du message, soit l'image a son centre (muni d'un cadre etc) ne fait pas partie de la demande. C'est surtout la structure de base du visuel d'un message.
Puisque je disais avoir tenter, voici la parcelle que j'ai recréer et réintrégré les informations adéquate selon les variable utilisé par FA concordant avec la disposition (J'suis pas certaine d'être clair en faites)
- Code:
<table width="100%" cellspacing="2" class="forumline">
<tr>
<td colspan="2" class="sujet_titre"><h1 class="cattitle"> {TOPIC_TITLE}</h1></td>
</tr>
<tr>
<td class="profil_block" valign="top">
<div class="user_block"><span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span></div>
<div class="imgp_block">{postrow.displayed.POSTER_AVATAR}</div>
<div class="rank_block">{postrow.displayed.POSTER_RANK}</div>
<div class="detail_block"><span class="postdetails poster-profile">{postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}<!-- END profile_field -->
{postrow.displayed.POSTER_RPG}
</span></div>
</td>
<td class="mess_block" valign="top">
<table cellspacing="0" width="100%">
<tr class="top_line">
<td><span class="postdetails"><img src="{postrow.displayed.MINI_POST_IMG}" alt="{postrow.displayed.L_MINI_POST_ALT}" title="{postrow.displayed.L_MINI_POST_ALT}" border="0" />{L_POST_SUBJECT}: {postrow.displayed.POST_SUBJECT} <img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}</span></td>
<td align="top" nowrap="nowrap" class="post-options">{postrow.displayed.THANK_IMG} {postrow.displayed.MULTIQUOTE_IMG} {postrow.displayed.QUOTE_IMG} {postrow.displayed.EDIT_IMG} {postrow.displayed.DELETE_IMG} {postrow.displayed.IP_IMG} {postrow.displayed.REPORT_IMG}</td>
</tr>
<tr>
<td colspan="2" class="message_contenu" valign="top">
<!-- BEGIN switch_vote_active -->
<div class="vote gensmall">
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}">+</a></div>
<!-- END switch_vote -->
<!-- BEGIN switch_bar -->
<div class="vote-bar" title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}">
<!-- BEGIN switch_vote_plus -->
<div class="vote-bar-plus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_plus.HEIGHT_PLUS}px;"></div>
<!-- END switch_vote_plus -->
<!-- BEGIN switch_vote_minus -->
<div class="vote-bar-minus" style="height:{postrow.displayed.switch_vote_active.switch_bar.switch_vote_minus.HEIGHT_MINUS}px;"></div>
<!-- END switch_vote_minus -->
</div>
<!-- END switch_bar -->
<!-- BEGIN switch_no_bar -->
<div title="{postrow.displayed.switch_vote_active.L_VOTE_TITLE}" class="vote-no-bar">----</div>
<!-- END switch_no_bar -->
<!-- BEGIN switch_vote -->
<div class="vote-button"><a href="{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_MINUS}">-</a></div>
<!-- END switch_vote -->
</div>
<!-- END switch_vote_active -->
<div class="postbody">
<div>{postrow.displayed.MESSAGE}</div>
<!-- BEGIN switch_attachments -->
<dl class="attachbox">
<dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
<dd>
<!-- BEGIN switch_post_attachments -->
<dl class="file">
<dt>
<img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" alt="" />
<!-- BEGIN switch_dl_att -->
<a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
<!-- END switch_dl_att -->
<!-- BEGIN switch_no_dl_att -->
{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
<!-- END switch_no_dl_att -->
</dt>
<!-- BEGIN switch_no_comment -->
<dd>
<em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
</dd>
<!-- END switch_no_comment -->
<!-- BEGIN switch_no_dl_att -->
<dd>
<em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
</dd>
<!-- END switch_no_dl_att -->
<dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
</dl>
<!-- END switch_post_attachments -->
</dd>
</dl>
<!-- END switch_attachments -->
<div class="clear"></div>
<!-- BEGIN switch_signature -->
<div class="signature_div">
{postrow.displayed.SIGNATURE}
</div>
<!-- END switch_signature -->
</div>
<span class="gensmall">{postrow.displayed.EDITED_MESSAGE}</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
Et son CSS:
- Code:
.forumline {
background: #120c03;
border: 1px solid #000;
}
.sujet_titre{
background: #1b0b05;
border-bottom: 1px solid #000;
text-align:center;
color: #524431;
}
.profil_block {
background: #211708;
width: 180px;
padding: 0;
}
.user_block {
background: #140d03;
border: 1px solid #000;
text-align:center;
}
.imgp_block {
margin-top: -1px;
}
.rank_block {
background: #1b0b05;
border: 1px solid #000;
margin-top: -1px;
}
.detail_block {
background: #211708;
border: 1px solid #000;
}
.mess_block {
background: #1a1104;
border: 1px solid #000;
padding: 0;
}
.top_line {
background: #140d03;
border: 1px solid #000;
}
.message_contenu {
height: 300px;
border-top: 1px solid #000;
}
.signature_div {
background: #211708;
min-height: 250px;
}
Dernière édition par Kiowa le Lun 15 Juin 2015 - 3:21, édité 2 fois