Image de fond QEEL

3 participants

Voir le sujet précédent Voir le sujet suivant Aller en bas

Résolu Image de fond QEEL

Message par Apek Mar 19 Avr 2011 - 19:56

Bonjour a tous !

J'ai décider de me lancer dans le PhBB2 alors que j'étais en 3 avant (question de personnalisation). Je n'ai jamais bidouiller les templates et ça reste un peu flou jusque ici. Le changement de version nécessite une grande mise a jour graphique sur l'ensemble du forum et découvrir les nouvelles fonctionnalités...

Mais bon rentrons dans le vif du sujet, j'aimerais avoir une image de fond dans mon QEEL, j'ai fait des recherche qui m'ont mener a effacer complètement le QEEL actuel, refaire un script pour rajouter juste une image (aie ...) n'aurais t'il pas un autre moyen d'ajouter mon petit dessin ? D'autant plus que mon expérience sur les templates reste quasi nul ... Rolling Eyes


Dernière édition par Apek le Jeu 21 Avr 2011 - 17:27, édité 1 fois
Apek

Apek
***

Masculin
Messages : 145
Inscrit(e) le : 15/07/2009

http://wingberryfilms.forumsactifs.com/index.htm
Apek a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par Scipion Mar 19 Avr 2011 - 20:35

Bonsoir !

Auriez-vous un exemple à donner svp, capture d'écran ou lien de forum?

Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par Apek Mar 19 Avr 2011 - 21:48

J'ai traficoter avec un code que j'ai trouver en cherchant, le problème c'est un cadre blanc qui apparait et coupe l'image en blanc, avec inscrit les membres connecter ces dernières 24H.



Image de fond QEEL Screen13

Template (index_body)


Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="forumline" width="100%" border="0" cellspacing="1" cellpadding="0">
   <!-- BEGIN message_admin_titre -->
   <tr>
      <td class="catHead" height="28"><span class="cattitle">{message_admin_index.message_admin_titre.MES_TITRE}</span></td>
   </tr>
   <!-- END message_admin_titre -->
   <!-- BEGIN message_admin_txt -->
   <tr>
      <td class="row1" rowspan="3" align="center" valign="middle">
      <div class="gensmall">{message_admin_index.message_admin_txt.MES_TXT}</div>
      </td>
   </tr>
   <!-- END message_admin_txt -->
</table>
<!-- END message_admin_index -->

<!-- BEGIN switch_user_login_form_header -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span> </td>
                  <td><input class="post" type="text" size="10" name="username"/> </td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span> 
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span> </td>
                  <td><input class="post" type="password" size="10" name="password"/> </td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%"  class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle" align="right">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span> </td>
                           <td><input class="post" type="text" size="10" name="username"/> </td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span> 
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span> </td>
                           <td><input class="post" type="password" size="10" name="password"/> </td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_header.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" perms="{switch_user_login_form_header.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_header.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_header -->

{CHATBOX_TOP}
{BOARD_INDEX}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
      <td width="50%" valign="top">
         <!-- BEGIN switch_user_logged_in -->
         <span class="gensmall"><a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a>
         <!-- END switch_user_logged_in -->
         <!-- BEGIN switch_delete_cookies -->
         
<a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_delete_cookies.L_DELETE_COOKIES}</a>
         <!-- END switch_delete_cookies -->
         </span>
      </td>
      <td width="50%" align="right">
         <span class="gensmall">
            <a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>

            <a href="{U_TODAY_POSTERS}" class="gensmall">{L_TODAY_POSTERS}</a>

            <a href="{U_OVERALL_POSTERS}" class="gensmall">{L_OVERALL_POSTERS}</a>
            <!-- BEGIN switch_on_index -->
               <!-- BEGIN switch_delete_cookies -->
               
<a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
               <!-- END switch_delete_cookies -->
            <!-- END switch_on_index -->
         </span>
      </td>
   </tr>
</table>

<!-- BEGIN switch_user_login_form_footer -->
<form action="{S_LOGIN_ACTION}" method="post" name="form_login">
   <!-- BEGIN switch_fb_connect_no -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td class="row1" align="center">
            <table border="0" cellspacing="0" cellpadding="0">
               <tr>
                  <td><span class="genmed">{L_USERNAME}:</span> </td>
                  <td><input class="post" type="text" size="10" name="username"/> </td>
                  <td>
                     <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                     <span class="gensmall">{L_AUTO_LOGIN}</span> 
                  </td>
               </tr>

               <tr>
                  <td><span class="genmed">{L_PASSWORD}:</span> </td>
                  <td><input class="post" type="password" size="10" name="password"/> </td>
                  <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect_no -->

   <!-- BEGIN switch_fb_connect -->
   <table width="100%" border="0" cellspacing="0" cellpadding="0" class="user_login_form forumline">
      <tr>
         <td valign="top" width="100%"  class="row1" align="center">
            <table width="100%">
               <tr>
                  <td width="55%" valign="middle">
                     <table class="right">
                        <tr>
                           <td><span class="genmed">{L_USERNAME}:</span> </td>
                           <td><input class="post" type="text" size="10" name="username"/> </td>
                           <td>
                              <input class="radio" type="checkbox" name="autologin" {AUTOLOGIN_CHECKED} />
                              <span class="gensmall">{L_AUTO_LOGIN}</span> 
                           </td>
                        </tr>

                        <tr>
                           <td><span class="genmed">{L_PASSWORD}:</span> </td>
                           <td><input class="post" type="password" size="10" name="password"/> </td>
                           <td>{S_HIDDEN_FIELDS}<input class="mainoption" type="submit" name="login" value="{L_LOGIN}" /></td>
                        </tr>
                     </table>
                  </td>
                  <td width="10%" align="center" valign="middle">
                     <span class="genmed fb_or">{switch_user_login_form_footer.switch_fb_connect.L_OR}</span>
                  </td>
                  <td width="35%" class="align_gauche"><fb:login-button size="large" onlogin="window.location='/facebook_connect.forum'" v="2" perms="{switch_user_login_form_footer.switch_fb_connect.L_FB_PERMISSIONS}">{switch_user_login_form_footer.switch_fb_connect.L_FB_LOGIN_BUTTON}</fb:login-button></td>
               </tr>
            </table>
         </td>
      </tr>
   </table>
   <!-- END switch_fb_connect -->
</form>
<!-- END switch_user_login_form_footer -->

 <!-- BEGIN disable_viewonline -->

<table cellspacing="2" cellpadding="2" width="900" height="300" border="0" class="statistiques" style="background-image:url(http://i23.servimg.com/u/f23/15/73/32/15/qeel11.png);background-repeat:no-repeat;">
  <tr>
<td rowspan="2" style="text-align:left;padding-left:210px;padding-top:25px;">
<span class="groupes">
</span><br><br>
<span class="gensmall">{TOTAL_POSTS}. {TOTAL_USERS}

{NEWEST_USER}<br><br>
{TOTAL_USERS_ONLINE}<br>
{LOGGED_IN_USER_LIST} <br>
{L_CONNECTED_MEMBERS}</center></span><br>

<!-- END disable_viewonline -->
{CHATBOX_BOTTOM}
<br clear="all" />
<!-- BEGIN switch_legend -->
<table border="0" cellspacing="3" cellpadding="0" align="center">
   <tr>
      <td align="center" width="20"><img src="{FORUM_NEW_IMG}" alt="{L_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NEW_POSTS}</span></td>
      <td></td>
      <td align="center" width="20"><img src="{FORUM_IMG}" alt="{L_NO_NEW_POSTS}" /></td>
      <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td>
      <td>  </td>
      <td align="center" width="20"><img src="{FORUM_LOCKED_IMG}" alt="{L_FORUM_LOCKED}" /></td>
      <td><span class="gensmall">{L_FORUM_LOCKED}</span></td>
   </tr>
</table>
<!-- END switch_legend -->

{AUTO_DST}

<!-- BEGIN switch_fb_index_login -->
<div id="fb-root"></div>
<script type="text/javascript">
//<![CDATA[
FB.init({
   appId: '{switch_fb_index_login.FACEBOOK_APP_ID}',
     status: true,
     cookie: true,
     xfbml: true
});
//]]>
</script>
<!-- END switch_fb_index_login -->


Dernière édition par Apek le Mer 20 Avr 2011 - 0:26, édité 1 fois
Apek

Apek
***

Masculin
Messages : 145
Inscrit(e) le : 15/07/2009

http://wingberryfilms.forumsactifs.com/index.htm
Apek a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par Scipion Mar 19 Avr 2011 - 22:38

Je n'ai pas encore bien compris ce que vous souhaitez faire, s"agit-il de rétablir le Qeel de base sur votre forum tel qu'il était avant?

Où alors vous voulez juste enlever le cadre gris clair qui apparaît dans votre capture?

Cordialement
Scipion

Scipion
Membre actif

Masculin
Messages : 8655
Inscrit(e) le : 03/02/2010

https://forum.forumactif.com/
Scipion a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par Apek Mer 20 Avr 2011 - 0:28

Pardonnez moi j'ai fait une erreur sur mon post précèdent... C'est juste retirer le cadre gris clair qui coupe l'image et de faire en sorte que le texte qui s'y trouve soit en dessous des autres, si vous voyez ce que je veux dire...
Apek

Apek
***

Masculin
Messages : 145
Inscrit(e) le : 15/07/2009

http://wingberryfilms.forumsactifs.com/index.htm
Apek a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par quierra Mer 20 Avr 2011 - 1:54

Coucou, comme ta table se nome "statistique", il suffirait de rajouter dans ton css :

.statistiques td, .statistiques .gensmall{
background: transparent;
border: none;
}

Si ça ne prend pas, tu rajoutes "!important".

.statistiques td, .statistiques .gensmall{
background: transparent !important;
border: none !important;
}

Ce devrait être suffisant.
quierra

quierra
****

Féminin
Messages : 278
Inscrit(e) le : 22/08/2007

http://themes-fa.com
quierra a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par Apek Mer 20 Avr 2011 - 7:25

Merci le carré blanc a disparut mais le texte reste a la même place, alors qu'il faudrait qu'il soit en dessous du reste.
Apek

Apek
***

Masculin
Messages : 145
Inscrit(e) le : 15/07/2009

http://wingberryfilms.forumsactifs.com/index.htm
Apek a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par Apek Jeu 21 Avr 2011 - 0:29

up
Apek

Apek
***

Masculin
Messages : 145
Inscrit(e) le : 15/07/2009

http://wingberryfilms.forumsactifs.com/index.htm
Apek a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par quierra Jeu 21 Avr 2011 - 3:09

Humm... Mais tu es une catastrophe Siffleur
Il manquait toutes les balises de fermeture "/td, /tr, /table", il y avait un "/center" mais aucun center d'ouverture etc....

Sache aussi que certaines variables, ont besoins d'être dans une table pour fonctionner.

Voilà, donc je te l'ai refais (en respectant ton choix des variables à afficher):

Code:
    <!-- BEGIN disable_viewonline -->       
<table cellspacing="2" cellpadding="2" width="900" height="300" border="0" class="statistiques" style="background-image:url(http://i23.servimg.com/u/f23/15/73/32/15/qeel11.png);    background-repeat:no-repeat;    ">             
      <tr>                       
        <td rowspan="2">                     
          <div style="text-align:left;   padding-left:210px;   padding-top:25px; " >                     
            <span class="groupes">                     
            </span>                     
            <br />                     
            <br />                     
            <span class="gensmall"> {TOTAL_POSTS}. {TOTAL_USERS}  {NEWEST_USER}
              <br />                         
              <br /> {TOTAL_USERS_ONLINE}
              <br /> {LOGGED_IN_USER_LIST}
          </span>
          </div>
      </td>           
    </tr>           
  <tr>
      <td>
        <div style="text-align:left;   padding-left:210px;   padding-top:25px; " >     
          <table> {L_CONNECTED_MEMBERS} </table>
        </div>
    </td>             
  </tr>             
</table>                                             
         
    <!-- END disable_viewonline -->

En début de code tu as :

Code:
            <span class="groupes">                     
            </span>

C'est un span vide, je l'ai laissé car je suppose que tu vas y mettre les groupes.

J'ai rajouté des divs pour bouger le contenu, ça ne se fait pas de bouger un td(cellule).

Si tu veux le centrer, il suffit de rajouter dans ton css :

.statistiques{
margin: 0 auto;
}
quierra

quierra
****

Féminin
Messages : 278
Inscrit(e) le : 22/08/2007

http://themes-fa.com
quierra a été remercié(e) par l'auteur de ce sujet.

Résolu Re: Image de fond QEEL

Message par Apek Jeu 21 Avr 2011 - 17:27

quierra a écrit:Humm... Mais tu es une catastrophe Siffleur

Image de fond QEEL 634586 Je sais je sais Image de fond QEEL 634586

Merci beaucoup Quierra ça marche parfaitement !
Apek

Apek
***

Masculin
Messages : 145
Inscrit(e) le : 15/07/2009

http://wingberryfilms.forumsactifs.com/index.htm
Apek a été remercié(e) par l'auteur de ce sujet.

Voir le sujet précédent Voir le sujet suivant Revenir en haut


Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum