Mer 13 Jan - 1:10 | Bonsoir Skaemp ! Je me permets une petite intrusion sur le forum en cette heure tardive pour d'abord vous poser une question : est-ce possible de modifier le profil d'un membre ? Celui qui s'affiche lorsqu'on clique sur le pseudonyme ? Je sais qu'il est possible d'appliquer quelques modifications... J'ai essayé avec le code #profil-advanced-details mais cela ne me permets pas le résultat que je souhaite. :-/ J'ai beau cherché les balises à retoucher, je ne trouve pas ! De plus il me semble que le template dédié au profil n'influence pas le profil lui même - j'ai essayé de le bidouiller pour voir si quelque chose se passait au niveau du profil mais rien... Bref, si effectivement c'est possible de modifier allègrement le profil avancé d'un membre... J'ose vous demander votre aide ! Voilà ce que j'ai actuellement : https://2img.net/h/oi65.tinypic.com/2ytwubd.jpgVoilà ce que, dans l'idéal, j'aimerais (il s'agit de la capture d'écran que j'ai retouché par photoshop) : https://2img.net/h/oi65.tinypic.com/xms80g.jpgLargeur maximale : Je l'estime, les deux blocs avec espaces compris, à 850px.Hauteur maximale : J'imagine dans les 600px ! Schéma : https://2img.net/h/oi65.tinypic.com/xms80g.jpg Éléments : Concernant les dénominations "Je vous ai rejoint le" "Sexe" et toute les autres, est-ce possible de les avoir en majuscules ? Et de garder les réponses en minuscules. o/ Images : Pas d'images particulière à mettre. Animations : ////Informations supplémentaires : Alors, comme vous le voyez, sur le profil retouché il n'y a plus les sections "statistiques" "contact" "profil", j'aimerais qu'elles disparaissent... Les contacts : MP et Email, se retrouveraient en dessous de l'avatar et les Stas, à savoir Sujets et Messages, seraient inclus dans le bloc à la suite des autres infos ! Les liens "ajouter à ma liste d'amis" "ajouter à ma liste d'ignorés" et le ":: Voir le profil :: Rose blabla"... j'aimerais les voir disparaître également, si possible et faisable évidement ! ^^
Les couleurs : #1A1A1A et #242424 pour les fonds de titres et les lignes de séparations... La police est Verdana. :)Je ne sais pas si ma demande peut être prise en compte (si c'est jouable niveau code) mais dans tous les cas, sachez que j'admire et respecte votre travail ! Cela ne changera pas. :) En vous souhaitant une bonne nuit ! |
|
Jeu 14 Jan - 7:07 | Remplacer l'intégralité du template profile_view_body par : Templates > Profil > profile_view_body- Spoiler:
- Code:
-
<table width="100%" border="0" cellspacing="2" cellpadding="0" align="center"> <tr> <td><span class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a></span></td> </tr> </table>
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" align="center"> <div class="PFIL"> <div id="abtPFIL"><div class="tlPFIL">{L_ABOUT_USER}</div><div class="abtPFIL"><!-- BEGIN profile_field --><div id="field_id{profile_field.ID}"><div><span class="gen">{profile_field.LABEL}</span> {profile_field.CONTENT}</div><!-- BEGIN profil_type_user_posts --><span class="genmed">- <a rel="nofollow" class="genmed" href="/sta/{PUSERNAME}">{L_TOPICS}</a> auxquels {PUSERNAME} a participé<br />- <a rel="nofollow" class="genmed" href="/spa/{PUSERNAME}">{L_POSTS}</a> auxquels {PUSERNAME} a participé</span><!-- END profil_type_user_posts --></div><div class="borderPFIL"></div><!-- END profile_field --></div><div class="adminPFIL"><div><span>{L_LAST_VISITED} :</span> {LAST_VISIT_TIME}</div><div><!-- BEGIN switch_auth_user --><span>{L_ADMINISTRATE_USER} :</span> {ADMINISTRATE_USER}{BAN_USER}<!-- END switch_auth_user --></div><div><!-- BEGIN switch_dhow_mp --><span>{L_PRIVATE_MSG} :</span> {PRIVATE_MSG}<!-- END switch_dhow_mp --></div></div></div> <div class="boxPFIL"><div class="namePFIL">{USERNAME}</div><div id="avPFIL"><div class="avPFIL">{AVATAR_IMG}</div><div id="ktactPFIL"><!-- BEGIN contact_field --><div class="ktactPFIL">{contact_field.CONTENT}</div><!-- END contact_field --></div></div></div> <!-- BEGIN switch_admin_user_comment_active --><span class="gen">{L_COMMENTS} :</span><br /><span class="gensmall">{L_MODS_AND_ADMINS}</span> {ADMIN_USER_COMMENT}<!-- END switch_admin_user_comment_active --> </div><br/>
<!-- BEGIN switch_rpg --> <tr><td colspan="2" class="tleRPG" align="center">{L_VIEWING_RPG}</td></tr> <tr><td colspan="2" height="10px"></td></tr> <tr class="boxRPG"><td align="left" valign="top">{RPG_IMAGE}<br /><br /></td> <td align="left" valign="top" style="padding:10px;"> <!-- BEGIN rpg_fields --> <span class="gen">{switch_rpg.rpg_fields.F_NAME} : </span> {switch_rpg.rpg_fields.F_VALUE_NEW}<br/> <!-- END rpg_fields --> </td> </tr> <tr> <td colspan="2" align="center" class="row1"> {U_ADMIN_RPG} </td> </tr> <!-- END switch_rpg --> </table> <br /> <script src="{JS_DIR}jquery/json/jquery.json-1.3.min.js" type="text/javascript"></script> <script type="text/javascript"> //<![CDATA[ $(document).ready(function(){ $('[id^=field_id]').each(function(){ if ( $(this).find('.field_editable').is('span, div') ) { $(this).hover(function() { if( $(this).find('.field_editable.invisible').is('span, div') ) { $(this).find('.field_editable').prev().addClass('ajax-profil_hover').parent().addClass('ajax-profil_parent').append('<div class="ajax-profil_edit"><img src="{AJAX_EDIT_IMG}" /></div>'); $(this).find('.ajax-profil_edit').attr({ alt: "{L_FIELD_EDIT_VALUE}", title: "{L_FIELD_EDIT_VALUE}" }).click(function(){ $(this).prev().prev().removeClass('ajax-profil_hover').addClass('invisible').next().removeClass('invisible').append('<img src="{AJAX_VALID_IMG}" class="ajax-profil_valid" />').find('input,select'); $(this).prev().find('.ajax-profil_valid').attr({ alt: "{L_VALIDATE}", title: "{L_VALIDATE}" }).click(function(){ var content = new Array(); $(this).parent().find('[name]').each(function(){ var type_special = $(this).is('input[type=radio],input[type=checkbox]'); if ( (type_special && $(this).is(':checked')) || !type_special ) { content.push(new Array($(this).attr('name'), $(this).attr('value'))); } }); var id_name = $(this).parents('[id^=field_id]').attr('id'); var id = id_name.substring(8, id_name.length); $.post( "{U_AJAX_PROFILE}", {id:id,user:"{CUR_USER_ID}",active:"{CUR_USER_ACTIVE}",content:$.toJSON(content),tid:"{TID}"}, function(data){ $.each(data, function(i, item){ $('[id=field_id' + i + ']').find('.field_uneditable').html(item).end().find('.ajax-profil_valid').remove().end().find('.field_editable').addClass('invisible').end().find('.field_uneditable').removeClass('invisible'); }); }, "json" ); }); $(this).remove(); }); } },function() { if( $(this).find('.field_editable.invisible').is('span, div') ) { $(this).find('.field_editable').prev().removeClass('ajax-profil_hover'); $(this).find('.ajax-profil_edit').remove(); } }); } }); }); //]]> </script> Partie CSS : - Code:
-
/* AFFICHAGE DU PROFIL */ .PFIL { margin:auto; width:900px; } /* BLOC A PROPOS PROFIL */ #abtPFIL { display:inline-block; margin-right:10px; width:620px; } /* TITRE A PROPOS PROFIL */ .tlPFIL { margin-bottom:10px; height:20px; padding:10px 0; text-transform:uppercase; text-align:center; background:#242424; color:#ccc; /* MODIFIABLE */ } /* BLOC GAUCHE A PROPOS */ .abtPFIL { display:inline-block; margin-right:10px; width:285px; height:385px; padding:10px; overflow:auto; font-size:11px; background:#1a1a1a; color:#ccc; /* MODIFIABLE */ } /* INTITULE CONTENU BLOC GAUCHE A PROPOS PROFIL */ .abtPFIL div span { text-transform:uppercase; color:#ccc; /* MODIFIABLE */ } /* CONTENU BLOC GAUCHE A PROPOS PROFIL */ .abtPFIL div{ padding:2px 0; } .abtPFIL .field_uneditable { display:inline-block; } /* BORDURE CONTENU BLOC GAUCHE A PROPOS PROFIL */ .borderPFIL { border-bottom:1px solid #ccc; /* MODIFIABLE */ } /* BLOC DROITE A PROPOS */ .adminPFIL { display:inline-block; vertical-align:top; width:285px; height:385px; padding:10px; overflow:auto; font-size:11px; background:#1a1a1a; color:#ccc; /* MODIFIABLE */ } /* CONTENU BLOC DROITE A PROPOS */ .adminPFIL div{ padding:5px 0; border-bottom:1px solid #ccc; /* MODIFIABLE */ } /* INTITULE CONTENU BLOC DROITE A PROPOS */ .adminPFIL div span { text-transform:uppercase; color:#ccc; /* MODIFIABLE */ } /* BLOC PSEUDONYME / AVATAR & CONTACT PROFIL */ .boxPFIL { display:inline-block; vertical-align:top; width:270px; } /* PSEUDONYME PROFIL */ .namePFIL { margin-bottom:10px; width:270px; height:20px; padding:10px 0; text-transform:uppercase; text-align:center; background:#242424; /* MODIFIABLE */ } /* BLOC AVATAR & CONTACT PROFIL */ #avPFIL { padding:10px; background:#1a1a1a; /* MODIFIABLE */ } /* AVATAR PROFIL */ .avPFIL img{ width:250px; height:350px; } /* BLOC IMAGES CONTACT PROFIL */ #ktactPFIL { margin-top:10px; height:25px; text-align:center; } /* IMAGES CONTACT PROFIL */ .ktactPFIL { display:inline-block; } /* TITRE FEUILLE DE PERSONNAGE PROFIL */ .tleRPG { padding:10px 0; text-transform:uppercase; background:#242424; color:#ccc; /* MODIFIABLE */ } /* CONTENU FEUILLE DE PERSONNAGE PROFIL */ .boxRPG { background:#1a1a1a; color:#ccc; /* MODIFIABLE */ } /* INTITULE CONTENU FEUILLE DE PERSONNAGE PROFIL */ .boxRPG span { text-transform:uppercase; color:#ccc; /* MODIFIABLE */ } Instructions : |
|
Jeu 14 Jan - 16:32 | Wooooooooooow Je suis bluffée ! C'est super, merci beaucoup pour votre travail rapide et efficace ! Je vous ai rajouté dans les crédits (et j'ai vu qu'une collègue admin a déjà eu recours à vos services en plus ahah) -> http://maleficarum.forumactif.org/t17-les-credits#40Bonne journée à vous et sans doute à tantôt ! :D |
|