Centrer l'image d'un champ de profil
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
Centrer l'image d'un champ de profil
Détails techniques
Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Google Chrome
Capture d'écran du problème :
- Voir l'image:
Personnes concernées par le problème : Tous les utilisateurs
Lien du forum : (lien masqué, vous devez poster pour le voir)
Description du problème
Bonjour à tous !Encore et toujours attelée à l'apparence générale de mon forum en construction, je cherche aujourd'hui à centrer un élément se trouvant dans le profil des membres (au niveau des messages). Tous les champs de mon profil sont sous forme de texte avec un alignement "justify". Par contre, le premier champ est intitulé "logo" et son contenant est une image. Or, je ne sais pas comment m'y prendre pour qu'il soit centré dans le cadre réservé aux champs. Je souhaiterais également insérer une barre de séparation en-dessous de la dite image avec des pointillés ou des tirets.
Voici mon template viewtopic_body :
- Code:
<script type="text/javascript">
//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
if(typeof(_atc) == "undefined") {
_atc = { };
}
});
var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
showHiddenMessage = function(id)
{
try
{
var regId = parseInt(id, 10);
if( isNaN(regId) ) { regId = 0; }
if( regId > 0)
{
$('.post--' + id).toggle(0, function()
{
if( $(this).is(":visible") )
{
$('#hidden-title--' + id).html(hiddenMsgLabel.visible);
}
else
{
$('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
}
});
}
}
catch(e) { }
return false;
};
//]]>
</script>
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr><td align="left" colspan="2" {WIDTH_GALLERY}>
<div class="navSCD"><span id="NCT">{NAV_CAT_DESC_SECOND}</span>
<script type="text/javascript">document.getElementById('NCT').innerHTML=document.getElementById('NCT').innerHTML.replace(/::/,"");</script>
<script type="text/javascript">document.getElementById('NCT').innerHTML=document.getElementById('NCT').innerHTML.replace(/::/,"♢");</script>
<script type="text/javascript">document.getElementById('NCT').innerHTML=document.getElementById('NCT').innerHTML.replace(/::/,"♢");</script></div>
<div class="boxFRDESC">
<div style="color: #F7F5FF; font-family: Oswald; font-size: 15px; font-weight: lighter!important; letter-spacing: 5px; text-shadow: 1px 0 1px #B6B9C1; text-transform: uppercase; margin-bottom:5px;">Hoofbeats</div>
<span class="nav" style="display:inline-block; vertical-align:middle;">
<!-- BEGIN switch_user_authpost -->
<div class="newpostFRM"><a href="{U_POST_NEW_TOPIC}" rel="nofollow">Poster un nouveau sujet</a></div>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<div class="replyFRM"><a href="{U_POST_REPLY_TOPIC}">Poster une réponse</a></div>
<!-- END switch_user_authreply -->
</span>
</div></td></tr>
<tr><td colspan="3">
<div style="opacity:.5;"><div id="tlePOST"><h1 class="cattitle" style="font-family: quicksand !important;">{TOPIC_TITLE}<span class="pagPOST">{PAGINATION}</span></h1></div></div>
</td></tr>
</table>
<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
{POLL_DISPLAY}
<!-- BEGIN postrow -->
<!-- BEGIN hidden -->
<tr>
<td class="postdetails {postrow.hidden.ROW_CLASS}" colspan="3" align="center">{postrow.hidden.MESSAGE}</td>
</tr>
<!-- END hidden -->
<!-- BEGIN displayed -->
<tr class="post post--{postrow.displayed.U_POST_ID}" id="p{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
<td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
<span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a></span>
<!-- 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 style="height:5px;"></div>
</td></tr>
<tr>
<td valign="top">
<div style="opacity:.5;"><div class="boxPOST">
<div class="avaPOST">{postrow.displayed.POSTER_AVATAR}</div><img src="http://i.imgur.com/VXiy8RR.png" class="avafltrPOST" />
<div class="blocNRPOST"><div class="toolsPOST verif_online">{postrow.displayed.ONLINE_IMG}</div>
<div class="namePOST">{postrow.displayed.POSTER_NAME}</div><div class="rankPOST">{postrow.displayed.POSTER_RANK}</div>
<div class="ktactPOST">{postrow.displayed.PM_IMG}{postrow.displayed.PROFILE_IMG}{postrow.displayed.EMAIL_IMG}</div>
<div onClick="a=this.nextSibling.style;a.display=(a.display==''?'none':'')" class="profilPOST">Statistiques</div>
<div class="abtPOST" style="display: none"><!-- BEGIN profile_field --><div><span id="PDPFL">{postrow.displayed.profile_field.LABEL}</span>{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div>
<script type="text/javascript">document.getElementById('PDPFL').innerHTML=document.getElementById('PDPFL').innerHTML.replace(/Logo :/,"");</script><!-- END profile_field --></div></div>
</div>
</div></td>
<td {postrow.displayed.THANK_BGCOLOR} valign="top" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div style="opacity:.5;"><div class="postbody">
<div class="tktPOST"><div class="datePOST">{postrow.displayed.POST_DATE}</div>
{postrow.displayed.IP_IMG}{postrow.displayed.DELETE_IMG}{postrow.displayed.QUOTE_IMG}{postrow.displayed.EDIT_IMG}</div>
<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>
</div>
<!-- BEGIN switch_signature -->
<div class="signPOST">
{postrow.displayed.SIGNATURE}
</div>
<!-- END switch_signature -->
<div style="margin-top:5px;"></div></div>
</td>
</tr>
</table>
</td>
</tr>
<tr><td colspan="3">
<div style="opacity:.3;"><div id="tlePOST"><h1 class="cattitle" style="font-family: quicksand !important;">{TOPIC_TITLE}</h1></div></div>
</td></tr>
<!-- BEGIN first_post_br -->
</table>
<hr />
<table class="forumline" width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
</tr>
<!-- END first_post_br -->
<!-- END displayed -->
<!-- END postrow -->
<!-- BEGIN no_post -->
<tr align="center">
<td colspan="3" height="28">
<span class="genmed">{no_post.L_NO_POST}</span>
</td>
</tr>
<!-- END no_post -->
</table>
<!-- BEGIN switch_forum_rules -->
<table id="forum_rules" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 1px 0px 1px 0px">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<div class="cattitle"> {L_FORUM_RULES}</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="clearfix">
<table>
<tr>
<!-- BEGIN switch_forum_rule_image -->
<td class="logo">
<img src="{RULE_IMG_URL}" alt="" />
</td>
<!-- END switch_forum_rule_image -->
<td class="rules postbody">
{RULE_MSG}
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<!-- END switch_forum_rules -->
<table class="noprint" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" align="center" style="padding:0px">
<!-- BEGIN switch_user_logged_in -->
<a name="quickreply"></a>
{QUICK_REPLY_FORM}<br />
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<div style="margin-top:-20px;"></div>
<div class="boxFRDESC">
<div style="color: #F7F5FF; font-family: Oswald; font-size: 15px; font-weight: lighter!important; letter-spacing: 5px; text-shadow: 1px 0 1px #B6B9C1; text-transform: uppercase; margin-bottom:5px;">Hoofbeats</div>
<span class="nav" style="display:inline-block; vertical-align:middle;">
<!-- BEGIN switch_user_authpost -->
<div class="newpostFRM"><a href="{U_POST_NEW_TOPIC}" rel="nofollow">Poster un nouveau sujet</a></div>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<div class="replyFRM"><a href="{U_POST_REPLY_TOPIC}">Poster une réponse</a></div>
<!-- END switch_user_authreply -->
</span>
</div>
<div class="wtchTOPIC">{S_WATCH_TOPIC}</div>
</tr>
</table>
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
Et le CSS concerné :
- Code:
/* BLOC INFORMATIONS */
.abtPFIL {
background: #F4F2FE!important;
border-left: thick double #E4DFF2;
border-right: thick double #E4DFF2;
box-shadow: 0 0 20px #E3DFF3 inset;
color: #605882;
display: inline-block;
font-family: Arimo;
font-size: 10px;
line-height: 125%;
margin-bottom: 5px;
margin-left: 5px;
overflow: hidden;
padding: 5px 10px;
text-align: center;
vertical-align: top;display: inline-block;
height:120px;
width:210px;
}
.abtPFIL:hover{
overflow:auto;
}
/* INTITULES INFORMATIONS PROFIL */
.abtPFIL div span {
color:#605882; /* MODIFIABLE */
font-family: Quicksand;
font-size: 11px;
font-weight: 400!important;
letter-spacing: -1px;
}
.abtPFIL .field_uneditable {
display:inline-block;
}
Merci à ceux/celles qui se pencheront sur mon questionnement
Edit : Autre petit problème d'affichage que je viens de remarquer... J'ai supprimé l'intitulé du champ en question "Logo" pour qu'il n'y ait seulement que l'image qui s'affiche dans les messages. Or, je crois que mon code JavaScript n'est pas suffisant car l'intitulé du champ n'est enlevé que dans le premier message des sujets de mon forum :/
Dernière édition par pinke le Mer 19 Avr 2017 - 17:02, édité 1 fois
Re: Centrer l'image d'un champ de profil
Bonjour,
Voici les modification proposées:
Pour centrer votre image, ajouter à la fin du template
et à votre css
Pour le champ «logo» au profil
Le code précédent est présent à l'intérieur du bloc «<!-- BEGIN profile_field --> / <!-- END profile_field -->» qui est inclus dans le bloc «<!-- BEGIN postrow --> / <!-- END postrow -->».
Le «begin/end profile_fields» est exécuté pour chacun des champs du profil alors que le «begin/end postrow» est exécuté pour chaque message du sujet.
J'ai testé sur un sujet de deux messages et 4 champs pour le profil. Résultat le code «<span id "PDPFL... et son scripT» ont été générés 8 fois dans le code HTML. Le «id» étant unique doit être remplacé par un «class».
1) remplacer «id="PDPFL"» par «class="PDPFL"».
2) Déplacer votre script à la fin et corriger le traitement par «id» par un traitement par «class».
Voici les modification proposées:
Pour centrer votre image, ajouter à la fin du template
- Code:
<script type="text/javascript">
$("img.avafltrPOST").wrap("<div class='avafltrPOST'></div>");
</script>
et à votre css
- Code:
div.avafltrPOST { text-align: center }
Pour le champ «logo» au profil
- Code:
<div class="abtPOST" style="display: none"><!-- BEGIN profile_field --><div><span id="PDPFL">{postrow.displayed.profile_field.LABEL}</span>{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div>
<script type="text/javascript">document.getElementById('PDPFL').innerHTML=document.getElementById('PDPFL').innerHTML.replace(/Logo :/,"");</script><!-- END profile_field --></div></div>
Le code précédent est présent à l'intérieur du bloc «<!-- BEGIN profile_field --> / <!-- END profile_field -->» qui est inclus dans le bloc «<!-- BEGIN postrow --> / <!-- END postrow -->».
Le «begin/end profile_fields» est exécuté pour chacun des champs du profil alors que le «begin/end postrow» est exécuté pour chaque message du sujet.
J'ai testé sur un sujet de deux messages et 4 champs pour le profil. Résultat le code «<span id "PDPFL... et son scripT» ont été générés 8 fois dans le code HTML. Le «id» étant unique doit être remplacé par un «class».
1) remplacer «id="PDPFL"» par «class="PDPFL"».
2) Déplacer votre script à la fin et corriger le traitement par «id» par un traitement par «class».
Re: Centrer l'image d'un champ de profil
Bonjour, avant toute chose, merci de vous être penché sur mon cas
L'effet que vous me proposez en premier lieu n'est pas celui attendu, la classe avafltrPOST permettant en réalité d'apposer un filtre de couleur aux avatars dans les messages. Ce que je cherche à centrer est le contenant (l'image verte avec une tête de cheval ici) du champ "logo" dans le profil.
D'ailleurs, j'ai suivi ce que vous m'avez dit pour ce qui est du traitement "class" plutôt que par "id" et rien ne se passe, l'intitulé "logo" est toujours présent dans mes messages (même dans le tout premier d'un sujet). Voici mon template modifié :
L'effet que vous me proposez en premier lieu n'est pas celui attendu, la classe avafltrPOST permettant en réalité d'apposer un filtre de couleur aux avatars dans les messages. Ce que je cherche à centrer est le contenant (l'image verte avec une tête de cheval ici) du champ "logo" dans le profil.
D'ailleurs, j'ai suivi ce que vous m'avez dit pour ce qui est du traitement "class" plutôt que par "id" et rien ne se passe, l'intitulé "logo" est toujours présent dans mes messages (même dans le tout premier d'un sujet). Voici mon template modifié :
- Code:
<script type="text/javascript">
//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
if(typeof(_atc) == "undefined") {
_atc = { };
}
});
var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
showHiddenMessage = function(id)
{
try
{
var regId = parseInt(id, 10);
if( isNaN(regId) ) { regId = 0; }
if( regId > 0)
{
$('.post--' + id).toggle(0, function()
{
if( $(this).is(":visible") )
{
$('#hidden-title--' + id).html(hiddenMsgLabel.visible);
}
else
{
$('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
}
});
}
}
catch(e) { }
return false;
};
//]]>
</script>
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr><td align="left" colspan="2" {WIDTH_GALLERY}>
<div class="navSCD"><span id="NCT">{NAV_CAT_DESC_SECOND}</span>
<script type="text/javascript">document.getElementById('NCT').innerHTML=document.getElementById('NCT').innerHTML.replace(/::/,"");</script>
<script type="text/javascript">document.getElementById('NCT').innerHTML=document.getElementById('NCT').innerHTML.replace(/::/,"♢");</script>
<script type="text/javascript">document.getElementById('NCT').innerHTML=document.getElementById('NCT').innerHTML.replace(/::/,"♢");</script></div>
<div class="boxFRDESC">
<div style="color: #F7F5FF; font-family: Oswald; font-size: 15px; font-weight: lighter!important; letter-spacing: 5px; text-shadow: 1px 0 1px #B6B9C1; text-transform: uppercase; margin-bottom:5px;">Hoofbeats</div>
<span class="nav" style="display:inline-block; vertical-align:middle;">
<!-- BEGIN switch_user_authpost -->
<div class="newpostFRM"><a href="{U_POST_NEW_TOPIC}" rel="nofollow">Poster un nouveau sujet</a></div>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<div class="replyFRM"><a href="{U_POST_REPLY_TOPIC}">Poster une réponse</a></div>
<!-- END switch_user_authreply -->
</span>
</div></td></tr>
<tr><td colspan="3">
<div style="opacity:.5;"><div id="tlePOST"><h1 class="cattitle" style="font-family: quicksand !important;">{TOPIC_TITLE}<span class="pagPOST">{PAGINATION}</span></h1></div></div>
</td></tr>
</table>
<table align="center" width="100%" border="0" cellspacing="0" cellpadding="0">
{POLL_DISPLAY}
<!-- BEGIN postrow -->
<!-- BEGIN hidden -->
<tr>
<td class="postdetails {postrow.hidden.ROW_CLASS}" colspan="3" align="center">{postrow.hidden.MESSAGE}</td>
</tr>
<!-- END hidden -->
<!-- BEGIN displayed -->
<tr class="post post--{postrow.displayed.U_POST_ID}" id="p{postrow.displayed.U_POST_ID}" style="{postrow.displayed.DISPLAYABLE_STATE}">
<td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
<span class="name"><a name="{postrow.displayed.U_POST_ID}" style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></a></span>
<!-- 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 style="height:5px;"></div>
</td></tr>
<tr>
<td valign="top">
<div style="opacity:.5;"><div class="boxPOST">
<div class="avaPOST">{postrow.displayed.POSTER_AVATAR}</div><img src="http://i.imgur.com/VXiy8RR.png" class="avafltrPOST" />
<div class="blocNRPOST"><div class="toolsPOST verif_online">{postrow.displayed.ONLINE_IMG}</div>
<div class="namePOST">{postrow.displayed.POSTER_NAME}</div><div class="rankPOST">{postrow.displayed.POSTER_RANK}</div>
<div class="ktactPOST">{postrow.displayed.PM_IMG}{postrow.displayed.PROFILE_IMG}{postrow.displayed.EMAIL_IMG}</div>
<div onClick="a=this.nextSibling.style;a.display=(a.display==''?'none':'')" class="profilPOST">Statistiques</div>
<div class="abtPOST" style="display: none"><!-- BEGIN profile_field --><div><span class="PDPFL">{postrow.displayed.profile_field.LABEL}</span>{postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}</div>
<!-- END profile_field --></div></div>
</div>
</div></td>
<td {postrow.displayed.THANK_BGCOLOR} valign="top" width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div style="opacity:.5;"><div class="postbody">
<div class="tktPOST"><div class="datePOST">{postrow.displayed.POST_DATE}</div>
{postrow.displayed.IP_IMG}{postrow.displayed.DELETE_IMG}{postrow.displayed.QUOTE_IMG}{postrow.displayed.EDIT_IMG}</div>
<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>
</div>
<!-- BEGIN switch_signature -->
<div class="signPOST">
{postrow.displayed.SIGNATURE}
</div>
<!-- END switch_signature -->
<div style="margin-top:5px;"></div></div>
</td>
</tr>
</table>
</td>
</tr>
<tr><td colspan="3">
<div style="opacity:.3;"><div id="tlePOST"><h1 class="cattitle" style="font-family: quicksand !important;">{TOPIC_TITLE}</h1></div></div>
</td></tr>
<!-- BEGIN first_post_br -->
</table>
<hr />
<table class="forumline" width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>
<th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>
</tr>
<!-- END first_post_br -->
<!-- END displayed -->
<!-- END postrow -->
<!-- BEGIN no_post -->
<tr align="center">
<td colspan="3" height="28">
<span class="genmed">{no_post.L_NO_POST}</span>
</td>
</tr>
<!-- END no_post -->
</table>
<!-- BEGIN switch_forum_rules -->
<table id="forum_rules" width="100%" border="0" cellspacing="0" cellpadding="0" style="margin: 1px 0px 1px 0px">
<tbody>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">
<div class="cattitle"> {L_FORUM_RULES}</div>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
<tr>
<td class="clearfix">
<table>
<tr>
<!-- BEGIN switch_forum_rule_image -->
<td class="logo">
<img src="{RULE_IMG_URL}" alt="" />
</td>
<!-- END switch_forum_rule_image -->
<td class="rules postbody">
{RULE_MSG}
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<!-- END switch_forum_rules -->
<table class="noprint" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2" align="center" style="padding:0px">
<!-- BEGIN switch_user_logged_in -->
<a name="quickreply"></a>
{QUICK_REPLY_FORM}<br />
<!-- END switch_user_logged_in -->
</td>
</tr>
</table>
<table class="noprint" width="100%" border="0" cellspacing="2" cellpadding="0" align="center">
<tr>
<div style="margin-top:-20px;"></div>
<div class="boxFRDESC">
<div style="color: #F7F5FF; font-family: Oswald; font-size: 15px; font-weight: lighter!important; letter-spacing: 5px; text-shadow: 1px 0 1px #B6B9C1; text-transform: uppercase; margin-bottom:5px;">Hoofbeats</div>
<span class="nav" style="display:inline-block; vertical-align:middle;">
<!-- BEGIN switch_user_authpost -->
<div class="newpostFRM"><a href="{U_POST_NEW_TOPIC}" rel="nofollow">Poster un nouveau sujet</a></div>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<div class="replyFRM"><a href="{U_POST_REPLY_TOPIC}">Poster une réponse</a></div>
<!-- END switch_user_authreply -->
</span>
</div>
<div class="wtchTOPIC">{S_WATCH_TOPIC}</div>
</tr>
</table>
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.postbody', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
<script type="text/javascript">document.getElementByClass('PDPFL').innerHTML=document.getElementByClass('PDPFL').innerHTML.replace(/Logo :/,"");</script>
Re: Centrer l'image d'un champ de profil
Personne ?
Re: Centrer l'image d'un champ de profil
Possible d'avoir un lien (pour invité) où l'on peut visualiser le tout.
Re: Centrer l'image d'un champ de profil
L'ensemble du forum est accessible aux invités et il est désormais possible pour vous de visualiser les champs du profil
Re: Centrer l'image d'un champ de profil
Voici la vue en mode invité
Ajuster les permissions pour que les champs de profil soient visible aux invités.
Ajuster les permissions pour que les champs de profil soient visible aux invités.
Re: Centrer l'image d'un champ de profil
Il faut cliquer sur "Statistiques"
Re: Centrer l'image d'un champ de profil
Finalement, j'abandonne mon idée et je vais faire autrement. Je mets le sujet en résolu.
Sujets similaires
» Champ de profil: masquer le titre d'un champ
» supprimer un champ dans "champ du Profil"
» Problème Champ Profil
» Récupérer/séparer champ du profil (profil avancé)
» Champ de profil
» supprimer un champ dans "champ du Profil"
» Problème Champ Profil
» Récupérer/séparer champ du profil (profil avancé)
» Champ de profil
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