Affichage du QEEL sur toutes les pages
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
Affichage du QEEL sur toutes les pages
Détails techniques
Version du forum : phpBB2
Poste occupé : Fondateur
Navigateur(s) concerné(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari
Capture d'écran du problème :
- Voir l'image:
Personnes concernées par le problème : Tous les utilisateurs
Lien du forum : http://untestuntheme.forumactif.com/
Description du problème
Bonjour,Je travaille sur mon forum de test dans le but de réaliser un nouveau design. Je suis quelque peu embêtée par un petit souci.
Ce que je souhaite :
Afficher le QEEL sur toutes les pages du forum, y comprit les messages, forums, sous-forums. Bref, PARTOUT !
Ce qui a été modifié :
Un peu tout... CSS, index_body et overall_footer_begin.
- css:
- Code:
.footer-hnk
{
width: 1000px;
height: 520px
background-color: #FAFAFA;
}
.footer-hnk-partenaires
{
float: right;
width: 488px;
height: 440px;
padding: 5px;
}
.footer-hnk-qeel
{
float: left;
width: 488px;
height: 440px;
padding: 5px;
}
.footer-hnk-welcomeBlock
{
width: 100%;
height: 260px;
padding: 5px;
margin-top: 8px;
margin-bottom: 8px;
background-image: url('https://img1.lght.pics/2CtB.png');
}
.footer-hnk-block
{
background-color: #fff;
opacity: 0.9;
border-radius: 5px;
padding: 5px;
font-size: 14px;
font-family: 'Courgette';
width: 478px;
height: 250px;
}
.footer-hnk-button
{
width: 100%;
height: 100px;
}
#button1:hover, #button2:hover
{
cursor: pointer;
}
.footer-hnk-hidden24, .footer-hnk-hiddenNow, .footer-hnk-hiddenOrigin
{
visibility: hidden;
}
.footer-hnk h3
{
margin-bottom: 3px;
color: #E55D51;
font-family: 'Open Sans Condensed';
text-align: center;
text-transform: uppercase;
}
#q_co_online
{
font-family: 'Dosis', sans-serif;
font-size: 15px;
}
table#q_co_mber a, #q_co_mber .row1
{
font-family: 'Dosis', sans-serif;
font-size: 15px;
background-color: transparent;
}
.footer-hnk-titre-qeel
{
background-color: #FDF6D8;
background-image: url('https://img1.lght.pics/2CON.png');
width: 100%;
height: 35px;
border-radius: 10px;
box-shadow: 3px 3px 3px lightgrey;
text-align: center;
text-transform: uppercase;
font-size: 25px;
color: #68695D;
font-weight: bold;
font-family: 'Open Sans Condensed';
}
.gen a, .gen
{
font-size: 9px;
color: green;
margin-top: 5px;
}
.gen a[href^="/admin"] {
display: none;
}
.footer-hnk-credits
{
width: 100%;
height: 15px;
font-size: 12px;
text-align: right;
font-family: 'Open Sans Condensed';
padding-top: 5px;
padding-bottom: 5px;
}
.footer-hnk-credits a
{
font-size: 12px;
font-family: 'Open Sans Condensed';
}
- index_body:
- Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="#msg_et" 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="#msg_et" 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'" scope="{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_header -->
<div class="chatbox-config">{CHATBOX_TOP}</div>
{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></span>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_delete_cookies -->
<br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
<!-- END switch_delete_cookies -->
</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 -->
<br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{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'" scope="{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 -->
{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>
FB.init({
appId : {switch_fb_index_login.FACEBOOK_APP_ID},
cookie : true,
xfbml : true,
oauth : true,
version : 'v2.3'
});
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->
- overall_footer_begin:
- Code:
<!-- BEGIN html_validation -->
<div>
<div>
<table>
<tbody>
<tr>
<td>
<!-- END html_validation -->
</td>
<td valign="top" width="{C3SIZE}">
<div id="{ID_RIGHT}">
<!-- BEGIN giefmod_index2 -->
{giefmod_index2.MODVAR}
<!-- BEGIN saut -->
<div style="height: {SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index2 -->
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- close div id="page-body" -->
<div id="page-footer">
<div class="footer-hnk">
<div class="footer-hnk-partenaires">
<div class="footer-hnk-titre-qeel">
Nos fidèles <span style="color: #E55D51;">amitiés</span> !
</div>
<iframe style="width: 100%; height: 430px;" scrolling="no" frameborder="0" src="http://himitsu-no-kii.forumsactifs.com/h2-footer"></iframe>
</div>
<!-- BEGIN disable_viewonline -->
<div class="footer-hnk-qeel">
<div class="footer-hnk-titre-qeel">
Bienvenue, <span id="q_nouveau_user">{NEWEST_USER}</span> !
<script type="text/javascript">document.getElementById('q_nouveau_user').innerHTML=document.getElementById('q_nouveau_user').innerHTML.replace(/L'utilisateur enregistré le plus récent est/,"");</script>
</div>
<div class="footer-hnk-welcomeBlock">
<div class="footer-hnk-block"></div>
</div>
<div class="footer-hnk-button">
<img id="button1" src="https://img1.lght.pics/2Ctl.png"/>
<img id="button2" src="https://img1.lght.pics/2CtC.png"/>
</div>
<div class="footer-hnk-hidden24">
<h3>En ligne ces dernières 24h (◐ω◑ )</h3>
<table id="q_co_mber">{L_CONNECTED_MEMBERS}</table>
<script type="text/javascript">jQuery('#q_co_mber span.gensmall').html(jQuery('#q_co_mber span.gensmall').html().replace(/Membres connectés au cours des 24 dernières heures :/,''));</script>
</div>
<div class="footer-hnk-hiddenNow">
<h3>En ligne actuellement (*≧∀≦*)</h3>
<span id="q_co_online">{LOGGED_IN_USER_LIST}</span>
<script type="text/javascript">document.getElementById('q_co_online').innerHTML=document.getElementById('q_co_online').innerHTML.replace(/Utilisateurs enregistrés :/,"");</script>
</div>
<div class="footer-hnk-hiddenOrigin">
<center>Hey, tu le savais ? Nous sommes <span id="mb_inscrits">{TOTAL_USERS}</span> sur cette île et nous avons déjà raconté <span id="nb_messages">{TOTAL_POSTS}</span>. <br/><br/>
Himitsu no Kii a (r)ouvert ses portes le 16 août 2014 avec une V.1 compliquée. Depuis, se sont 4 ans de RP qui se sont écoulés sans encombre :)
Les nouveaux comme les anciens aiment venir se détendre ici, papoter, flooder.<br/><br/>
Pas de bataille, nous sommes tous barges o/ Si tu ne l'as pas déjà fait, pourquoi ne pas nous rejoindre ?</center>
<script type="text/javascript">document.getElementById('nb_messages').innerHTML=document.getElementById('nb_messages').innerHTML.replace(/Nos membres ont posté un total de/,"").replace(/messages/,"histoires").replace(/message/,"histoire");</script>
<script type="text/javascript">document.getElementById('mb_inscrits').innerHTML=document.getElementById('mb_inscrits').innerHTML.replace(/Nous avons/,"").replace(/membres enregistrés/,"fous").replace(/membre enregistré/,"fou");</script>
</div>
</div>
<!-- END disable_viewonline -->
<div style="clear: both;"></div>
<div class="footer-hnk-credits">
<a href="/admin" target="_blank">Royaume des Admins</a> |
<a href="https://discord.gg/NbahNQb" target="_blank">Rejoins-nous sur discord !</a> |
<a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a> |
<a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> |
<a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>
<br/>
(C) - Himitsu no Kii v3.6. Design par Jess L. Nyström. Merci à <a href="http://www.never-utopia.com/">Never-Utopia</a> pour certains tutoriels. HnK est une oeuvre originale. Toute reproduction, même partielle, est interdite. Design optimisé pour Chrome.
</div>
<div class="footer-hnk-liensfa">
<div align="center">
<div class="gen">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
</div>
</div>
<!-- END html_validation -->
Mes recherches :
Je suis tombée sur de nombreux sujets, pas forcément tous récents, où on indiquait surtout de cocher l'option "Toujours" pour la ligne "Afficher le module "Qui est en ligne" du forum". Or, cette option est déjà cochée chez moi et cela ne fonctionne pas pour autant.
Toute piste, tout lien, toute réponse est la bienvenue
En espérant que ça soit possible, bien sûr !
A défaut, je souhaiterai savoir comment modifier le footer en fonction de la page, s'il vous plaît. Pour éviter le gros trou que ça fait sur les sujets par exemple
Merci d'avance,
#Nileeda
Re: Affichage du QEEL sur toutes les pages
Hello !
J'ai trouvé le moyen de "contourner" le problème en attendant une éventuelle réponse.
Je passe par le JavaScript et j'applique une nouvelle class à ma div "footer-hnk-partenaires" afin qu'elle occupe toute la place.
Pour les curieux :
Toutefois, si quelqu'un a quand même une solution à mon problème de base, je suis preneuse ! ^-^
Bonne journée,
J'ai trouvé le moyen de "contourner" le problème en attendant une éventuelle réponse.
Je passe par le JavaScript et j'applique une nouvelle class à ma div "footer-hnk-partenaires" afin qu'elle occupe toute la place.
Pour les curieux :
- JS:
- Code:
if (window.location.href != "http://untestuntheme.forumactif.com/")
{
$('.footer-hnk-partenaires').addClass('footer-hnk-partenaires-sujets');
}
- CSS:
- Code:
.footer-hnk-partenaires
{
float: right;
width: 488px;
height: 440px;
padding: 5px;
}
.footer-hnk-partenaires-sujets
{
float: left;
width: 976px;
height: 240px;
padding: 5px;
}
- Résultat Avant/Après:
Toutefois, si quelqu'un a quand même une solution à mon problème de base, je suis preneuse ! ^-^
Bonne journée,
Re: Affichage du QEEL sur toutes les pages
Hello Nileeda,
il faut déposer ce qeel dans le template index_body :
Ensuite mettre une div dans le template overall_footer_begin:
Puis ce script sur toutes les pages:
Il faudra peut être peaufiner un peu la css .
a++
il faut déposer ce qeel dans le template index_body :
- Code:
{JAVASCRIPT}
<!-- BEGIN message_admin_index -->
<table class="#msg_et" 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="#msg_et" 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'" scope="{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_header -->
<div class="chatbox-config">{CHATBOX_TOP}</div>
{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></span>
<!-- END switch_user_logged_in -->
<!-- BEGIN switch_delete_cookies -->
<br /><span class="gensmall"><a href="{switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{switch_delete_cookies.L_DELETE_COOKIES}</a></span>
<!-- END switch_delete_cookies -->
</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 -->
<br /><a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}" class="gensmall" rel="nofollow">{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'" scope="{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 -->
<div class="footer-hnk">
<div class="footer-hnk-partenaires">
<div class="footer-hnk-titre-qeel">
Nos fidèles <span style="color: #E55D51;">amitiés</span> !
</div>
<iframe style="width: 100%; height: 430px;" scrolling="no" frameborder="0" src="http://himitsu-no-kii.forumsactifs.com/h2-footer"></iframe>
</div>
<!-- BEGIN disable_viewonline -->
<div class="footer-hnk-qeel">
<div class="footer-hnk-titre-qeel">
Bienvenue, <span id="q_nouveau_user">{NEWEST_USER}</span> !
<script type="text/javascript">document.getElementById('q_nouveau_user').innerHTML=document.getElementById('q_nouveau_user').innerHTML.replace(/L'utilisateur enregistré le plus récent est/,"");</script>
</div>
<div class="footer-hnk-welcomeBlock">
<div class="footer-hnk-block"></div>
</div>
<div class="footer-hnk-button">
<img id="button1" src="https://img1.lght.pics/2Ctl.png"/>
<img id="button2" src="https://img1.lght.pics/2CtC.png"/>
</div>
<div class="footer-hnk-hidden24">
<h3>En ligne ces dernières 24h (◐ω◑ )</h3>
<table id="q_co_mber">{L_CONNECTED_MEMBERS}</table>
<script type="text/javascript">jQuery('#q_co_mber span.gensmall').html(jQuery('#q_co_mber span.gensmall').html().replace(/Membres connectés au cours des 24 dernières heures :/,''));</script>
</div>
<div class="footer-hnk-hiddenNow">
<h3>En ligne actuellement (*≧∀≦*)</h3>
<span id="q_co_online">{LOGGED_IN_USER_LIST}</span>
<script type="text/javascript">document.getElementById('q_co_online').innerHTML=document.getElementById('q_co_online').innerHTML.replace(/Utilisateurs enregistrés :/,"");</script>
</div>
<div class="footer-hnk-hiddenOrigin">
<center>Hey, tu le savais ? Nous sommes <span id="mb_inscrits">{TOTAL_USERS}</span> sur cette île et nous avons déjà raconté <span id="nb_messages">{TOTAL_POSTS}</span>. <br/><br/>
Himitsu no Kii a (r)ouvert ses portes le 16 août 2014 avec une V.1 compliquée. Depuis, se sont 4 ans de RP qui se sont écoulés sans encombre :)
Les nouveaux comme les anciens aiment venir se détendre ici, papoter, flooder.<br/><br/>
Pas de bataille, nous sommes tous barges o/ Si tu ne l'as pas déjà fait, pourquoi ne pas nous rejoindre ?</center>
<script type="text/javascript">document.getElementById('nb_messages').innerHTML=document.getElementById('nb_messages').innerHTML.replace(/Nos membres ont posté un total de/,"").replace(/messages/,"histoires").replace(/message/,"histoire");</script>
<script type="text/javascript">document.getElementById('mb_inscrits').innerHTML=document.getElementById('mb_inscrits').innerHTML.replace(/Nous avons/,"").replace(/membres enregistrés/,"fous").replace(/membre enregistré/,"fou");</script>
</div>
</div>
<!-- END disable_viewonline -->
<div style="clear: both;"></div>
<div class="footer-hnk-credits">
<a href="/admin" target="_blank">Royaume des Admins</a> |
<a href="https://discord.gg/NbahNQb" target="_blank">Rejoins-nous sur discord !</a> |
<a href="{U_MARK_READ}" class="gensmall">{L_MARK_FORUMS_READ}</a> |
<a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> |
<a href="{U_TODAY_ACTIVE}" class="gensmall">{L_TODAY_ACTIVE}</a>
<br/>
(C) - Himitsu no Kii v3.6. Design par Jess L. Nyström. Merci à <a href="http://www.never-utopia.com/">Never-Utopia</a> pour certains tutoriels. HnK est une oeuvre originale. Toute reproduction, même partielle, est interdite. Design optimisé pour Chrome.
</div>
{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>
FB.init({
appId : {switch_fb_index_login.FACEBOOK_APP_ID},
cookie : true,
xfbml : true,
oauth : true,
version : 'v2.3'
});
(function(d, s, id){
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<!-- END switch_fb_index_login -->
Ensuite mettre une div dans le template overall_footer_begin:
- Code:
<!-- BEGIN html_validation -->
<div>
<div>
<table>
<tbody>
<tr>
<td>
<!-- END html_validation -->
</td>
<td valign="top" width="{C3SIZE}">
<div id="{ID_RIGHT}">
<!-- BEGIN giefmod_index2 -->
{giefmod_index2.MODVAR}
<!-- BEGIN saut -->
<div style="height: {SPACE_ROW}px"></div>
<!-- END saut -->
<!-- END giefmod_index2 -->
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- close div id="page-body" -->
<div id="page-footer">
<div id="M14_load_Qeel"></div>
<div align="center">
<div class="gen">
<!-- BEGIN html_validation -->
</div>
</div>
</div>
<!-- END html_validation -->
Puis ce script sur toutes les pages:
- Code:
if(location.pathname != '/'){
$(function(){
$.get('/' , function(data){
var h= $(data).find('.footer-hnk').clone();
$('#M14_load_Qeel').html(h);
});});};
Il faudra peut être peaufiner un peu la css .
a++
Invité- Invité
Re: Affichage du QEEL sur toutes les pages
Merci Milouze14 !
ça s'affiche bien partout
ça s'affiche bien partout
Sujets similaires
» Bug de Forumactif avec l'affichage du Qui est en Ligne (QEEL) sur toutes les pages
» PA présente sur toutes les pages.
» Affichage sur toutes les pages
» Réactualisation de toutes les pages du forum toutes les 5 secondes
» ChatBox en bas de toutes les pages ?
» PA présente sur toutes les pages.
» Affichage sur toutes les pages
» Réactualisation de toutes les pages du forum toutes les 5 secondes
» ChatBox en bas de toutes les pages ?
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