Jeu 21 Juil - 16:22 | Coucou ! Je suis désolée si je n'ai pas posté au bon endroit, je ne savais pas où exposer mon problème :/ En fait, ici : https://crushcrushcrush.actifforum.com/t156-5-profil j'ai remarqué que le codage du 3ème profil ne s'affiche pas. On voit bien le CSS mais pas le code qui va avec pour installer ce profil. Je ne sais pas si je suis la seule à l'avoir remarqué, mais peux-tu y remédier Skaemp ? :3 Merci beaucoup et bonne journée ! |
|
Ven 22 Juil - 11:28 | Bonjour,
Le template correspondant n'était effectivement présent :- Spoiler:
- Code:
-
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0" align="center"> <div class="PFIL"><div class="avPFIL">{AVATAR_IMG}</div><div class="boxPFIL"><div id="namePFIL"><div class="namePFIL">{L_ABOUT_USER}</div><div id="ktactPFIL"><!-- BEGIN contact_field --><div class="ktactPFIL">{contact_field.CONTENT}</div><!-- END contact_field --></div><div id="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><!-- INFORMATIONS --><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><!-- END profile_field --></div> <!-- BEGIN switch_rpg --><div id="boxRPG"><div class="tleRPG">{L_VIEWING_RPG}</div><div class="boxRPG"><div style="float:left; margin:10px;">{RPG_IMAGE}</div> <!-- BEGIN rpg_fields --> <span class="gen">{switch_rpg.rpg_fields.F_NAME} : </span> {switch_rpg.rpg_fields.F_VALUE_NEW}<br/> <!-- END rpg_fields --> {U_ADMIN_RPG}</div></div><!-- END switch_rpg --></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> </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> Vous remerciant grandement de votre signalement. |
|