Vous pouvez poster dans la section entraide pour vos forums sans être inscrit !


 
Le deal à ne pas rater :
Funko POP! Jumbo One Piece Kaido Dragon Form : où l’acheter ?
Voir le deal

Partagez
 

 Mettre le profil à droite sous phpBB2

KadmilosKadmilos Membre
Mettre le profil à droite sous phpBB2 EmptyDim 12 Mai - 16:08   

Bonjour,
Avec les forums PhpBB3, je crois que le profil est affiché à droite dans les messages, mais on peut modifier.
Si je ne me trompe pas, ce forum est sous PhpBB2, mais le profil est à droite dans les messages.
J'ai modifié les templates et m'y connais un minimum, et je voudrais savoir quelle partie il faut modifier pour afficher le profil à droite, et qu'est ce qu'il faut modifier.

Merci d'avance Very Happy


Dernière édition par Kadmilos le Lun 13 Mai - 16:08, édité 1 fois
Mr. DocteurMr. Docteur Expert en ForumActif
Mettre le profil à droite sous phpBB2 EmptyDim 12 Mai - 19:36   

Bonjour Kadmilos :face:

Ce forum n'est pas sous phpBB2, mais bien sous phpBB3.

Mais pourquoi donner la solution pour phpBB2 Wink

Dans ton template viewtopic_body, repère ce code:
Code:
<td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="150">
         <span class="name"><a name="{postrow.displayed.U_POST_ID}"></a><strong>{postrow.displayed.POSTER_NAME}</strong></span><br />
            <span class="postdetails poster-profile">
            {postrow.displayed.POSTER_RANK}<br />
            {postrow.displayed.RANK_IMAGE}{postrow.displayed.POSTER_AVATAR}<br /><br />
            <!-- BEGIN profile_field -->
            {postrow.displayed.profile_field.LABEL} {postrow.displayed.profile_field.CONTENT}{postrow.displayed.profile_field.SEPARATOR}
            <!-- END profile_field -->
            {postrow.displayed.POSTER_RPG}
         </span><br />
         <img src="http://2img.net/i/fa/empty.gif" alt="" style="width:150px;height:1px" />
      </td>

Puis ensuite repère aussi ce code:
Code:
<td class="{postrow.displayed.ROW_CLASS}"{postrow.displayed.THANK_BGCOLOR} valign="top" width="100%" height="28" colspan="2">
         <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
               <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}  &nbsp;<img src="{postrow.displayed.MINI_TIME_IMG}" alt="" border="0" />{postrow.displayed.POST_DATE}</span></td>
               <td valign="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="hr">
                  <hr />
               </td>
            </tr>
            <tr>
               <td colspan="2">
                  <!-- 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}" />

                                 <!-- 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>

Il te suffira seulement des inverser l'un à l'autre. Donc le deuxième code prend la place du premier, et le premier la place du deuxième.

Maintenant tu refais la même chose avec ce code:
Code:
<th class="thLeft" nowrap="nowrap" width="150px" height="26">{L_AUTHOR}</th>

Et celui-ci:
Code:
<th class="thRight" nowrap="nowrap" colspan="2">{L_MESSAGE}</th>

Maintenant il te reste plus qu'à enregistrer et valider ton template :cheers:

Titre du sujet édité Wink
KadmilosKadmilos Membre
Mettre le profil à droite sous phpBB2 EmptyLun 13 Mai - 16:08   

Merci beaucoup, ça marche ! Very Happy Je te remercie infiniment pour ta rapidité et la facilité avec laquelle j'ai pu changer ça grace à tes indications !!! Very Happy Merci, je coche résolu.
Mr. DocteurMr. Docteur Expert en ForumActif
Mettre le profil à droite sous phpBB2 EmptyMar 14 Mai - 2:10   

Cela fait plaisir Very Happy!

N'hésite pas pour d'autres questions Wink

Sujet résolu et verrouillé !
Contenu sponsorisé
Mettre le profil à droite sous phpBB2 Empty   

Page 1 sur 1

 Sujets similaires

-
» Mettre le rang et le pseudo sous l'avatar en Phpbb2
» Problème (barre bleue a droite du forum)
» [Tuto - phpBB2] Empecher les membres de se mettre en invisble
» [Tuto - phpBB2] Mettre une Horloge a la place de l'image Qui Est En Ligne
» Sondage sous le sujet et multi sondages

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Le forum d'entraide de Mr. Docteur :: Entraide pour vos forums :: Vous avez un autre problème ?-