1. IMPORTANT : Nouvelles mesures de sécurité - 2. Règles pour obtenir de l'aide dans les forums de support - 3. Restrictions des droits pour le groupe "Support suspendu"

Il est obligatoire de respecter les Règles de MyBB.fr : Version abrégée ou Version complète pour obtenir du support sur nos forums.

Les membres ayant un site/forum contrevenant aux règles de MyBB.support seront placés dans le groupe "Support suspendu" et ne bénéficieront plus du support du staff. Nous recommandons aux autres membres d'agir de même. Il ne s'agit pas d'un bannissement, le membre retrouvera son statut "normal" dès que sa situation sera conforme aux règles.

Nouveau : un Wiki en français : plus de détails.
Avant de soumettre votre problème, consultez-le, ainsi que la FAQ, sans oublier le moteur de recherche interne.


Note de ce sujet :
  • Moyenne : 0 (0 vote(s))
  • 1
  • 2
  • 3
  • 4
  • 5
Avatar
Mots-clés » avatar
04-09-2011, 11:16, (Modification du message : 04-09-2011, 19:32 par Gérald59.)
#1
Avatar
Bonjour,

Pourquoi mon avatar ne s'affiche pas sur la page principale quand je suis connecté, mais c'est celui de MyBB thème 1Compagny

Image premier forum: Thème Spacebleue
   

Image deuxième forum: Thème 1Compagny
   


Merci pour votre aide Big Grin


[Image: pompiers002.gif]
Répondre
09-09-2011, 15:47, (Modification du message : 09-09-2011, 15:55 par Gérald59.)
#2
RE: Avatar
Comment je peux faire pour que ce soit mon avatar qui s'affiche quand je suis connecté ainsi que les membres que ce soit leurs avatar et non le logo ?

Voici le header de l'autre forum, dite moi ce que je dois remplacer pour le deuxième par rapport au premier. MERCI

Header 1er forum:

Code :
<SCRIPT LANGUAGE="JavaScript"><!-- ;
// Setting
//- SPEED CAN BE CHANGED HERE -
var rate = 25; // Increase-Decrease amount ( Higher=Faster )
// - DO NOT ALTER BELOW -
// Main routine
if (document.getElementById)
window.onerror=new Function("return true")
var objActive;
var act = 0;
var elmH = 0;
var elmS = 128;
var elmV = 255;
var clrOrg;
var TimerID;
if (document.all) {
document.onmouseover = doRainbowAnchor;
document.onmouseout = stopRainbowAnchor;
}
else if (document.getElementById) {
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT);
document.onmouseover = Mozilla_doRainbowAnchor;
document.onmouseout = Mozilla_stopRainbowAnchor;
}
function doRainbow(obj)
{ if (act == 0) {
act = 1;
if (obj)
objActive = obj;
else
objActive = event.srcElement;
clrOrg = objActive.style.color;
TimerID = setInterval("ChangeColor()",100);
}
}
function stopRainbow()
{
if (act) {
objActive.style.color = clrOrg;
clearInterval(TimerID);
act = 0;
}
}
function doRainbowAnchor()
{
if (act == 0) {
var obj = event.srcElement;
while (obj.tagName != "A" && obj.tagName != "BODY") {
obj = obj.parentElement;
if (obj.tagName == "A" || obj.tagName == "BODY")
break;
}
if (obj.tagName == "A" && obj.href != "")
{ objActive = obj;
act = 1; clrOrg = objActive.style.color;
TimerID = setInterval("ChangeColor()",100);
}
}
}
function stopRainbowAnchor()
{
if (act) {
if (objActive.tagName == "A") {
objActive.style.color = clrOrg;
clearInterval(TimerID);
act = 0;
}
}
}
function Mozilla_doRainbowAnchor(e)
{
if (act == 0) {
obj = e.target;
while (obj.nodeName != "A" && obj.nodeName != "BODY") {
obj = obj.parentNode;
if (obj.nodeName == "A" || obj.nodeName == "BODY")
break;
}
if (obj.nodeName == "A" && obj.href != "") {
objActive = obj;
act = 1;
clrOrg = obj.style.color;
TimerID = setInterval("ChangeColor()",100);
}
}
}function Mozilla_stopRainbowAnchor(e)
{
if (act) {
if (objActive.nodeName == "A") {
objActive.style.color = clrOrg;
clearInterval(TimerID);
act = 0;
}
}
}
function ChangeColor()
{
objActive.style.color = makeColor();
}
function makeColor()
{
// HSVtoRGB
if (elmS == 0) { elmR = elmV; elmG = elmV; elmB = elmV;
}
else {
t1 = elmV;
t2 = (255 - elmS) * elmV / 255;
t3 = elmH % 60;
t3 = (t1 - t2) * t3 / 60;
if (elmH < 60) {
elmR = t1;
elmB = t2; elmG = t2 + t3;
}
else if (elmH < 120) { elmG = t1;
elmB = t2;
elmR = t1 - t3;
}
else if (elmH < 180) {
elmG = t1;
elmR = t2;
elmB = t2 + t3;
}
else if (elmH < 240) {
elmB = t1;
elmR = t2;
elmG = t1 - t3;
}
else if (elmH < 300) {
elmB = t1;
elmG = t2;
elmR = t2 + t3;
}
else if (elmH < 360) {
elmR = t1;
elmG = t2;
elmB = t1 - t3;
}
else { elmR = 0;
elmG = 0;
elmB = 0;
}
}
elmR = Math.floor(elmR).toString(16);
elmG = Math.floor(elmG).toString(16);
elmB = Math.floor(elmB).toString(16);
if (elmR.length == 1) elmR = "0" + elmR;
if (elmG.length == 1) elmG = "0" + elmG;
if (elmB.length == 1) elmB = "0" + elmB;
elmH = elmH + rate;
if (elmH >= 360) elmH = 0;
return "#" + elmR + elmG + elmB;
}
// end hide -->
</SCRIPT>
<div id="container">
<script src="jscripts/google.js"></script>
<a name="top" id="top"></a>
<div id="header">
<div class="logo"> <a href="{$mybb->settings['bburl']}/index.php"> <img src="http://www.bricolage-systeme-d.com/images/logo.gif" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a>
<br />
<div style="text-align:left;">Nombres de Visites depuis Novembre 2010<script type="text/javascript" src="http://compteur.websiteout.net/js/3/8/2800/1"></script></div></div>
<font size="4" face="Garamond" color="#0000FF"><strong><em>
<div style="text-align:center;<a href="http://fr-fr.facebook.com/Extincteur54" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title=></a><span style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; line-height: 16px; font-variant: normal; font-style: normal; font-weight: normal; color: #555555; text-decoration: none;">&nbsp;|&nbsp;</span><a href="http://fr-fr.facebook.com/badges/" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Créez votre propre badge !"></a><br/><a href="http://fr-fr.facebook.com/Extincteur54" target="_TOP" title=><img src="http://badge.facebook.com/badge/1487419224.2905.203265216.png" width="444" height="84" style="border: 0px;" /></a></strong> </font>
<div class="blue"><br />
    <div id="slatenav">
    <ul>
    <li><a href="#" title="Forums" class="current" >Forum</a></li>
    <li><a href="sitesinternet/index.php" >Forums et sites Internet</a></li>
    <li><a href="gbook/index.php" title="css menus">Livre d'Or</a></li
    </ul>
    </div>
    </div>


<table valign="top" border="0" width="100%">
<tr><td><navigation></td><td>
<br />
<if condition=$mybb->user['uid']> 0 <then>
<td class="trow" valign="top" nowrap="nowrap" width="80">
<img style="margin-top: 20px;" width="80" height="" src="{$mybb->user['avatar']} /">
</td>
<td class="trow3" valign="top" nowrap="nowrap" width="350">
<div class="smalltext2"><span style="color: #CC0000;">{$lang->welcome_back}</span><br />
<a href="{$mybb->settings['bburl']}/private.php"><span style="color: #CC0000;">{$lang->welcome_pms}</span></a>
<span style="color: #CC0000;">{$lang->welcome_pms_usage}</span><br />
<span style="color: #CC0000;">{$lang->welcome_current_time}</span><br />
<a href="{$mybb->settings['bburl']}/search.php?action=results&sid=d51d269b9dc0c48fac71ce6f77e865f7">
<span style="color: #CC0000;">Voir les messages non lus</span></a><br />
<a href="{$mybb->settings['bburl']}/search.php?action=finduser&uid={$mybb->user['uid']}"
<span style="color: #CC0000;">Voir mes messages</span></a><br />
<a href="search.php?action=finduserthreads&uid={$mybb->user['uid']}"><span style="color: #CC0000;">Voir mes Sujets</span></a>
<script type="text/javascript" src="http://www.lecalendrier.fr/lecalendrier.fr-datedujour.php"> </script>
</div>
</td>
<else />
<td class="trow1" nowrap="nowrap" style="padding:0px" width="300">

<!-- Formulaire de connexion -->

<form action="{$mybb->settings['bburl']}/member.php" method ="post">
<input type="hidden" name="action" value="do_login" />
<input type="hidden" name="url" value="{$mybb->settings['bburl']}" />
<input type="hidden" name="quick_login" value="1" />
<table border="0" cellpadding="0" cellspacing="3" class="trow1">
<tr>
<td class="smallText">{$lang->username}</td>
<td><input type="text" name="quick_username" size="8" title="{$lang->vbnavbar_username}" class ="textarea" value="{$lang->vbnavbar_username}" onfocus "this.value =''" tabindex = "1" /> </td>
<td class="smallText"> <label title="{$lang->remember_me_desc}"><input type ="checkbox " class="checkbox" name="quick_remember" value="oui" tabindex="3" checked="checked" />{$lang->remember_me}</label></td>
</tr>
<tr>
<td class="smallText">{$lang->password}</td>
<td><input type="password" name="quick_password" size="8" title="{$lang->password}" value="{$lang->password}" class="textarea" onfocus="this.value=''" tabindex="2" /></td>
<td><input type="submit" class="button" name="submit" style="font-weight:normal" value="{$lang->welcome_login}" tabindex="4" /> </td >
</tr>
</table>
</form>
<!--/ Formulaire de connexion -->

</td>

</if>

</tr>
</table>
<!-- / Fil d'Ariane, informations de connexion h, -->
</td>
</tr>
</table>

<br />

<!-- Breadcrumb, connexion info h, -->
<table class="tborder" cellpadding="$theme[tablespace]" cellspacing = "$theme[borderwidth]"
border="0" width="100%" align="center">
<tr>
<td class="trow1">

<table cellspacing="0" cellpadding="0" border="0">
<tr valign="bottom">
<td>&nbsp;</td></tr>
</table>
<!-- / Fil d'Ariane, informations de connexion h, -->

<table border="0" width="100%" cellspacing="0" cellpadding="5" class="tvbnav" align="center">
<tr>
<td align="center" class="tcat1">{$welcomeblock}</td>
<p style="text-align: center;"> <font size="3" face="Garamond" color="#0000FF">
<strong><em>---Un deuxième  forum est ouvert concernant la Sécurité Incendie et la Sûreté--- http://www.securite-ssiap-surete-secourisme.com/index.php ---
</em></strong></font>

<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_index.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/portal.php"><strong>Portail</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_index.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/index.php"> <strong>Forum</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_search.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/search.php"><strong>{$lang->toplinks_search}</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_member.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/memberlist.php"><strong>{$lang->toplinks_memberlist}</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_calendar.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/calendar.php"><strong>{$lang->toplinks_calendar}</strong></a></td>
<td align="center"> <img class="tcat1" src="{$theme['imgdir']}/vbnb_help.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/misc.php?action=help"><strong>{$lang->toplinks_help}</strong></a></td>
<td class="tcat1" align="center"> <img src = "{$mybb->settings['bburl']}/bruno.png" alt = "" title = ""
class = "vbottom" /> <a href="http://www.securite-ssiap-surete-secourisme.com/index.php" target="_blanck"><strong> SSIAP-Incendie</strong></a></td>
<td class="tcat1" align="center"> <img src = "{$theme['imgdir']}/meteo.png" alt = "" title = "" class = "vbottom" />
<a href="{$mybb->settings['bburl']}/meteo.php "><strong>Météo</strong></a></td>
<td class="tcat1" align="center"><img src="{$theme['imgdir']}/toplinks/googlemap.gif" alt="" title="" class="vbottom" />
<a href = "/usermap.php"><strong>{$lang->toplinks_googlemap}</strong></a></td>
<td class="tcat1" align="center"><img src="{$theme['imgdir']}/toplinks/facebook.png" alt="" title="" class="vbottom" />
<a href = "http://www.facebook.com/" TARGET=popup onclick= "window.open ('',' popup ',' width = 1280, height = 1024, left = 0, top = 0, scrollbars = 1')"><strong>{$lang->toplinks_facebook}</strong></a></td>
<td class="tcat1" align="center"><img src="{$theme['imgdir']}/toplinks/msn.gif" alt="" title="" class="vbottom" />
<a href = "http://fr.msn.com/" TARGET=popup onclick= "window.open ('',' popup ',' width = 1280, height = 1024, left = 0, top = 0, scrollbars = 1')"><strong> {$lang->toplinks_msn}</strong></a></td>
<td class="tcat1" align="center"><img src="{$theme['imgdir']}/toplinks/chat.gif" alt="" title="" class="vbottom" /> <a href="http://www.bricolage-systeme-d.com/chat/" TARGET=popup onclick= "window.open ('',' popup ',' width = 800, height = 600, left = 0, top = 0, scrollbars = 1')"><strong> {$lang->toplinks_chat}</strong></a></td>

{$admincplink}
{$modcplink}
<if condition=$mybb->user['uid']> 0 <then>
<td class="tcat1" align="center"><a href="{$mybb->settings['bburl']}/member.php?action=logout&logoutkey={$mybb->user['logoutkey']}"><strong>{$lang->welcome_logout}</strong></a></td>
<else /> </if>
</tr> </table>

<table border="0" width="100%">
<tr>
<td> <FORM method=GET action="http://www.google.fr/search">
<A HREF="http://www.google.fr">
<IMG SRC = "http://www.google.com/logos/Logo_40wht.gif" border = "0" ALT = "Google" align = "absmiddle"> </A>
<INPUT Type=text name=q size=31 maxlength=255 value="">
<INPUT type=hidden name=hl value=fr>
<INPUT TYPE=SUBMIT name=btnG VALUE="Recherche Google">
</form></td>
<td align="right">
<FORM METHOD="GET" action="http://fr.wikipedia.org/wiki/Special:Recherche">
<INPUT TYPE="text" name="search" size="31" maxlength="255" value="">
<INPUT TYPE="hidden" name="hl" value="fr">
<INPUT Type="submit" name="btnW" VALUE="Recherche Wikipédia"> </form>
</td>
</tr>
</table>


<p style="text-align: center;">
<!-- Début du code du Texte défilant d'Astwinds -->
<noscript> <a href="http://www.astwinds.com/"> Texte <br> défilant d'Astwinds </a> </noscript>
<font size="3" face="Garamond"><strong><em></em></strong> <font color="#008000"><strong>ICI, TOUS LES TUTORIELS POUR LES BRICOLEURS, APPRENEZ PAS A PAS, Toute l'équipe est la pour vous aidez.</em></strong></font></p>
<hr class="hidden" />
<br class="clear" />
<div id="content">
{$pm_notice}
{$bannedwarning}
{$bbclosedwarning}
{$unreadreports}
{$pending_joinrequests}
<div style="float: left;">
<img class="alignnone" src="http://www.bricolage-systeme-d.com/images/peaceblue/logo2.gif" alt = "" width = "150" height = "75" /> </div>
<div style="float: right;"></Div>
<br />
<style type="text/css">
.alert {
background: # FFE4C4;
border-top: 2px solid # FFD324;
border-bottom: 2px solid # FFD324;
text-align: center;
margin: auto 5px;
padding: 5px5px;
color: blue;
}

.notice {
background: # FFFFFF;
border-top: 2px solid # FFFFFF;
border-bottom: 2px solid # FFFFFF;
text-align: center;
margin: auto 10px;
padding: 20px 5px;
color: firebrick;
}

.notice2 {
background: # FFFFFF;
border-top: 2px solid # FFFFFF;
border-bottom: 2px solid # FFFFFF;
text-align: center;
margin: auto 10px;
padding: 20px 5px;
color: blue;
}
</style>


<p class="alert"><strong>Electricité-Menuiserie-Toiture-Peinture-Porte et Fenêtre-Plomberie-Maçonnerie-Isolation-Sol-Carrelage-Chauffage & Climatisation-Gaz-Energie Renouvelable-Etanchéité-Serrurerie-Téléphonie
TNT et ADSL-Détecteurs de Fumée-Jardinage</strong></p>

Header 2ème forum:

Code :
<a name="top" id="top"></a><div id="container">
        <div id="header">
            <div id="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
            <div id="panel">
                {$welcomeblock}
            </div>
            {$pm_notice}
        </div>
                <div class="menu">
                <ul>
                    <li><a href="{$mybb->settings['homeurl']}">{$mybb->settings['homename']}</a></li>
                    <li><a href="{$mybb->settings['bburl']}/index.php">Forums</a></li>
                    <li><a href="{$mybb->settings['bburl']}/portal.php">Portail</a></li>
                    <li><a href="{$mybb->settings['bburl']}/search.php">{$lang->toplinks_search}</a></li>
                    <li><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></li>
                    <li><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></li>
                    <li><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></li>
                                        <td class="tcat1" align="center"> <img src = "{$theme['imgdir']}/meteo.png" alt = "" title = "" class = "vbottom" />
<a href="{$mybb->settings['bburl']}/meteo.php "><strong>Météo</strong></a></td>

                </ul>
            </div>
        <div id="container_inside">
        <div id="content">
            <navigation>
            {$bannedwarning}
            {$bbclosedwarning}
            {$unreadreports}<SCRIPT LANGUAGE="JavaScript">


<!-- Begin
var CurrentMsg = '{$mybb->settings['fmstatus']}';
function update(msg) {
var pad_str="";                          
n = msg.length;
if(n<72) {
pad = (73-n)/2;
for(var i=0; i<pad; i++) {
pad_str+=" ";                        
   }                        
}                          
CurrentMsg = pad_str + msg;                          
document.getElementById("field").value = CurrentMsg;
clearTimeout(timer);                          
timer = setTimeout("idleMsg()",2500);        
}
function MakeArray(n) {                          
this.length=n;                          
for(var i = 1; i<= n; i++) {                                  
this[i] = "";                
}                          
return(this);        
}              
var index = 1;          
var notice_num = 9;                  
var notices = new MakeArray(notice_num);        
notices[1] = "{$mybb->settings['fm1']}";
notices[2] = "{$mybb->settings['fm2']}";
notices[3] = "{$mybb->settings['fm3']}";        
notices[4] = "{$mybb->settings['fm4']}";
notices[5] = "{$mybb->settings['fm5']}";
notices[6] = "{$mybb->settings['fm6']}";
notices[7] = "{$mybb->settings['fm7']}";      
notices[8] = "{$mybb->settings['fm8']}";                    
var timer = setTimeout('idleMsg()',1500);                  
function nochange() {
document.getElementById("field").value = CurrentMsg;
}                  
function idleMsg() {                          
update(notices[index++]);                          
if(index>notice_num) {
index=1;
   }  
}
// End -->                  
</SCRIPT><fieldset><legend>{$mybb->settings['fmtitle']}</legend><CENTER>
<FORM name="messages" onSubmit="return false">
<input type="text" id="field" name="field" size=73 value="{$mybb->settings['fmstatus']}" onFocus="self.status='{$mybb->settings['fmstatus']}'; return true" onChange="nochange()">
</FORM>
</CENTER></fieldset>
            {$pending_joinrequests}
            <br />
<table border="0" width="100%">
<tr>


<td> <FORM method=GET action="http://www.google.fr/search">
<A HREF="http://www.google.fr">
<IMG SRC = "http://www.google.com/logos/Logo_40wht.gif" border = "0" ALT = "Google" align = "absmiddle"> </A>
<INPUT Type=text name=q size=31 maxlength=255 value="">
<INPUT type=hidden name=hl value=fr>
<INPUT TYPE=SUBMIT name=btnG VALUE="Recherche Google">
</form></td>
<td align="right">
<FORM METHOD="GET" action="http://fr.wikipedia.org/wiki/Special:Recherche">
<INPUT TYPE="text" name="search" size="31" maxlength="255" value="">
<INPUT TYPE="hidden" name="hl" value="fr">
<INPUT Type="submit" name="btnW" VALUE="Recherche Wikipédia"> </form>
</td>
</tr>
</table>

<script type="text/javascript" src="http://www.lecalendrier.fr/lecalendrier.fr-datedujour.php"> </script>
<style type="text/css">
.alert {
background: #FFE4C4;
border-top: 2px solid # FFD324;
border-bottom: 2px solid # FFD324;
text-align: center;
margin: auto 5px;
padding: 5px5px;
color: blue;
}

.notice {
background: # FFFFFF;
border-top: 2px solid # FFFFFF;
border-bottom: 2px solid # FFFFFF;
text-align: center;
margin: auto 10px;
padding: 20px 5px;
color: firebrick;
}

.notice2 {
background: # FFFFFF;
border-top: 2px solid # FFFFFF;
border-bottom: 2px solid # FFFFFF;
text-align: center;
margin: auto 10px;
padding: 20px 5px;
color: blue;
}
</style>

<style type="text/css">
.alert {
    background: ##FFF6BF;
    border-top: 2px solid #FFD324;
    border-bottom: 2px solid #FFD324;
    text-align: center;
    margin: 10px auto;
    padding: 5px 20px;
}

.notice {
    background: #ADCBE7;
    border-top: 2px solid #0F5C8E;
    border-bottom: 2px solid #0F5C8E;
    text-align: center;
    margin: 10px auto;
    padding: 5px 20px;
}

.notice2 {
    background: #FFA07A;
    border-top: 2px solid #8DC93E;
    border-bottom: 2px solid #8DC93E;
    text-align: center;
    margin: 10px auto;
    padding: 5px 20px;
}
</style>



<p class="notice2"><strong>Sécurité-ssiap-sûreté-secourisme:</strong> ICI <a href="http://www.securite-ssiap-surete-secourisme.com/showthread.php?tid=4/">Les règles du forum</a> Administrateur59.</p>

<p class="notice2"><strong>Agent de Sécurité Incendie:</strong> ICI <a href="http://www.securite-ssiap-surete-secourisme.com/showthread.php?tid=47/">Votre Fonction</a> A lire Impérativement.</p>




<script>
<!-- Codigo creado por Edson Ordaz -->
var Edson="Détection Incendie-Alarme Incendie-Réseaux Sprinkleurs-RIA-Extincteurs-Portes Coupe-feu-Désenfumage-Clapets Coupe-Feu-Volets de Désenfumage."
var size="3"
if (document.all||document.getElementById){
document.write('<span id="highlight"><p class="newsbar"><font size="' +size+ '"><b>' + Edson + '</b></font></p></span>')
var storetext=document.getElementById? document.getElementById("highlight") : document.all.highlight
}
else
document.write(Edson)
var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r=1
var g=1
var b=1
var seq=1
function changetext(){
rainbow="#"+hex[r]+hex[g]+hex[b]
storetext.style.color=rainbow
}
function change(){
if (seq==6){
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq==3){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.all||document.getElementById)
flash=setInterval("change()",80)
}
starteffect()
</script>

<script>
<!-- Codigo creado por Edson Ordaz -->
var Edson="TOUTES LES FORMATIONS COMPLÈTES SUR CE FORUM:  SSIAP 1-2-3 ---SST---HOBO et CQP."
var size="3"
if (document.all||document.getElementById){
document.write('<span id="highlight"><p class="newsbar"><font size="' +size+ '"><b>' + Edson + '</b></font></p></span>')
var storetext=document.getElementById? document.getElementById("highlight") : document.all.highlight
}
else
document.write(Edson)
var hex=new Array("00","14","28","3C","50","64","78","8C","A0","B4","C8","DC","F0")
var r=1
var g=1
var b=1
var seq=1
function changetext(){
rainbow="#"+hex[r]+hex[g]+hex[b]
storetext.style.color=rainbow
}
function change(){
if (seq==6){
b--
if (b==0)
seq=1
}
if (seq==5){
r++
if (r==12)
seq=6
}
if (seq==4){
g--
if (g==0)
seq=5
}
if (seq==3){
b++
if (b==12)
seq=4
}
if (seq==2){
r--
if (r==0)
seq=3
}
if (seq==1){
g++
if (g==12)
seq=2
}
changetext()
}
function starteffect(){
if (document.all||document.getElementById)
flash=setInterval("change()",80)
}
starteffect()
</script>

[Image: pompiers002.gif]
Répondre
09-09-2011, 16:26,
#3
RE: Avatar
Je crois que la réponse serait plutôt dans le template "header_welcomeblock_member". Alors il nous faudrait ces deux templates pour comparer...

Administrateur de MyBBCodes.com
Cool " Ce n'est pas ce que vous savez qui est important, c'est ce que vous faites ou ne faites pas!"
Obtenez plus de 175 plugins pour MyBB ici...
~~ AUCUNE AIDE Par MP, MAIL OU MSN !!!~~
Répondre
09-09-2011, 16:30, (Modification du message : 09-09-2011, 16:33 par Gérald59.)
#4
RE: Avatar
Attend je te mets ça de suite
1er template du premier forum:

Code :
<img src="{$theme['imgdir']}/vbnb_usercp.png" alt="" title="" class="vbottom" /><a href="{$mybb->settings['bburl']}/usercp.php" id="usercp" onclick="return openMenu(this)" class="popup_button"><strong><font color="#FFF">Profil</font></strong><img src="images/vbnb_popdown.gif" border="0" /></a>

<!-- user cp tools menu -->
<div class="menupop" id="usercp-popup">
<table cellpadding="4" cellspacing="1" border="0" class="tvbnavcp">

<tr><td class="tcat"><strong>{$lang->vbnavbar_quick_links}</strong></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/vbnb_newposts.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/search.php?action=getnew" title="{$lang->welcome_newposts}"><font color="black">{$lang->welcome_newposts}</font></a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/vbnb_daily.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/search.php?action=getdaily" title="{$lang->welcome_todaysposts}"><font color="black">{$lang->welcome_todaysposts}</font></a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/vbnb_all.png" alt="" title="" class="vbottom" /> <a href="misc.php?action=markread&my_post_key={$mybb->post_code}"><font color="black">Marquer tous les forums comme lus</font></a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/vbnb_buddy.png" alt="" title="" class="vbottom" /> <a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);" title="{$lang->welcome_open_buddy_list}"><font color="black">{$lang->welcome_open_buddy_list}</font></a></td></tr>

<tr><td class="tcat"><a href="{$mybb->settings['bburl']}/usercp.php" title="{$lang->vbnavbar_user_cp_full}"><strong>{$lang->vbnavbar_user_cp_full}</strong></a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/vbnb_sig.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/usercp.php?action=editsig" title="{$lang->vbnavbar_edit_sig}"><font color="black">{$lang->vbnavbar_edit_sig}</a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/vbnb_avatar.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/usercp.php?action=avatar" title="{$lang->vbnavbar_change_avatar}"><font color="black">{$lang->vbnavbar_change_avatar}</font></a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/usercp/profile.gif" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/usercp.php?action=profile" title="{$lang->vbnavbar_edit_profile}"><font color="black">{$lang->vbnavbar_edit_profile}</font></a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/usercp/options.gif" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/usercp.php?action=options" title="{$lang->vbnavbar_edit_options}"><font color="black">{$lang->vbnavbar_edit_options}</font></a></td></tr>

<tr><td class="tcat"><strong>{$lang->vbnavbar_misc}</strong></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/vbnb_pm.png" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/private.php" title="{$lang->vbnavbar_view}"><font color="black">{$lang->welcome_pms}</font></a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/usercp/subscriptions.gif" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/usercp.php?action=subscriptions" title="{$lang->vbnavbar_view}{$lang->vbnavbar_sub_threads}"><font color="black">{$lang->vbnavbar_sub_threads}</font></a></td></tr>
<tr><td class="menu_row"><img src="{$theme['imgdir']}/usercp/viewprofile.gif" alt="" title="" class="vbottom" /> <a href="{$mybb->settings['bburl']}/member.php?action=profile&amp;uid={$mybb->user['uid']}" title="{$lang->vbnavbar_view}{$lang->vbnavbar_profile}"><font color="black">{$lang->vbnavbar_view}{$lang->vbnavbar_profile}</font></a></td></tr>

</table>
</div>

2ème template du second forum:

Code :
<script type="text/javascript">
var timeout         = 500;
var closetimer        = 0;
var ddmenuitem      = 0;

function dropoptions_open()
{    dropoptions_canceltimer();
    dropoptions_close();
    ddmenuitem = jQuery(this).find('ul').eq(0).css('visibility', 'visible');}

function dropoptions_close()
{    if(ddmenuitem) ddmenuitem.css('visibility', 'hidden');}

function dropoptions_timer()
{    closetimer = window.setTimeout(dropoptions_close, timeout);}

function dropoptions_canceltimer()
{    if(closetimer)
    {    window.clearTimeout(closetimer);
        closetimer = null;}}

jQuery(document).ready(function($)
{    $('#dropoptions > li').bind('mouseover', dropoptions_open);
    $('#dropoptions > li').bind('mouseout',  dropoptions_timer);});

document.onclick = dropoptions_close;
</script>

<div id="welcomeback">Welcome back, {$mybb->user['username']}</div>
<div id="welcomeblock">{$lang->welcome_current_time}
<br /><a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
<br /><span class="smalltext">Please select an option...</span>
</div>
<div id="welcomeoptions">
<ul id="dropoptions">
    <li><a href="usercp.php" class="memberoptions"><font color="#909090">Member Options</font></a>
        <ul>
            <li><a href="{$mybb->settings['bburl']}/usercp.php"><font color="#909090">{$lang->welcome_usercp}</font></a></li>
            {$modcplink}{$admincplink}
            <li><a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/misc.php?action=buddypopup', 'buddyList', 350, 350);"><font color="#909090">{$lang->welcome_open_buddy_list}</font></a></li>
            <li><a href="{$mybb->settings['bburl']}/search.php?action=getnew"><font color="#909090">{$lang->welcome_newposts}</font></a></li>
            <li><a href="{$mybb->settings['bburl']}/search.php?action=getdaily"><font color="#909090">{$lang->welcome_todaysposts}</font></a></li>
            <li><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}"><font color="#8c3030">{$lang->welcome_logout}</font></a></li>
        </ul>
    </li>
</ul>

<div id="searchbox" style="margin-top:10px;">
                    <form method="post" action="{$mybb->settings['bburl']}/search.php">
                        <input type="hidden" name="action" value="do_search" /><input type="hidden" name="postthread" value="1" /><input type="hidden" name="forums" value="all" /><input type="hidden" name="showresults" value="threads" />
                        <div class="align"><input type="submit" class="go" value="" /></div>
                        <div class="align"><input type="text" name="keywords" value="Search..." onfocus="if(this.value == 'Search...') { this.value = ''; }" onblur="if(this.value=='') { this.value='Search...'; }" class="input" size="25" /></div>
                    </form>
                </div></div>

[Image: pompiers002.gif]
Répondre
09-09-2011, 16:49,
#5
RE: Avatar
La réponse simple est que ce thème a une image de fond fixe et ne permet pas normalement l'affichage de l'avatar à cet endroit.

Voir l'image de fond ici :
http://www.securite-ssiap-surete-secourisme.com/images/1company/panel.png

Administrateur de MyBBCodes.com
Cool " Ce n'est pas ce que vous savez qui est important, c'est ce que vous faites ou ne faites pas!"
Obtenez plus de 175 plugins pour MyBB ici...
~~ AUCUNE AIDE Par MP, MAIL OU MSN !!!~~
Répondre
09-09-2011, 16:59,
#6
RE: Avatar
Je peux la supprimée ou non si oui ou je dois aller car c'est moche

[Image: pompiers002.gif]
Répondre
09-09-2011, 17:11,
#7
RE: Avatar
J'aimerais signalé à ce point, que même si nous sommes un groupe de support bénévole pour MyBB, il n'est pas dans notre tâche actuelle d'aider à la conception d'un thème personnel complet. Je laisserai donc les autres membres de ce forum, prendre la relève! Wink

Je me contenterai donc de répondre qu'il faut supprimer l'image de fond actuelle ici :
Code PHP :
#panel {
    
backgroundurl(../../../images/1company/panel.pngno-repeat;
...
...


Pour le reste il faudra se débrouiller... Wink

Administrateur de MyBBCodes.com
Cool " Ce n'est pas ce que vous savez qui est important, c'est ce que vous faites ou ne faites pas!"
Obtenez plus de 175 plugins pour MyBB ici...
~~ AUCUNE AIDE Par MP, MAIL OU MSN !!!~~
Répondre
09-09-2011, 17:24,
#8
RE: Avatar
Merci, c'est déjà beaucoup Big Grin

[Image: pompiers002.gif]
Répondre




Utilisateur(s) parcourant ce sujet :

Contact | MyBB.support | Retourner en haut | Retourner au contenu | Version bas-débit (Archivé) | Syndication RSS
 Utilitaire de traduction fourni par Regentronique