|
|
| Author |
Message |
|
altair |
Posted: Thu 4 Oct 2007 - 00:49 Post subject: [Tuto] MP clignotant et persistant |
 |
|
Titre: MP clignotant et persistant
Version: 2.0
Auteur: altair
Contact Auteur: Messagerie privé
Source: Synthèse des autres Tuto
Description: Version améliorée de la notification de messages privés : alerte persistante jusqu'à lecture du message
(utile dans le cas des messages automatiques envoyés aux nouveaux inscrits, et dont la plupart ne sont pas consulter par inattention)
Avantages: Tant que le message n'a pas été lu, il continuera à clignoter
et cela même après rafraichissement ou reconnexion
il est possible de personnaliser chacun des messages de notification :
"Vous avez 1 nouveau message"
"Vous n'avez pas de nouveaux messages"
"Se connecter pour vérifier ses messages privés"
possibilité d'utiliser des images avec (ou à la place) du texte
Niveau d'installation: Facile
Temps d'installation: 5 min
Nombre de template(s) à modifier : 1 ou 2
Fonctionne sur les thèmes : Tous
Test(s) effectué(s) sur :Xooit, Phpbb,
Défaut(s) : à signaler
Exemple(s) :
Panneau d'administration
l'onglet Thème
Modifier les templates
/!\ Faire une sauvegarde de chaque fichier avant sa modification /!\
Si vous voulez placer le message en haut de toutes les pages
Ouvrez overall_header.tpl
Recherchez dans (ex: thème Olympus_Xooit)
- Code: Sélectionner - Agrandir
<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO} <img src="http://img8.xooimage.com/files/i/c/icon_mini_message-30d82.gif" width="12" height="13" alt="{PRIVATE_MESSAGE_INFO}" /></a>
</a>
Cherchez ceci
- Code: Sélectionner - Agrandir
{PRIVATE_MESSAGE_INFO}
Ou bien
Recherchez dans (sur d'autres thèmes)
- Code: Sélectionner - Agrandir
<a href="{U_PRIVATEMSGS}">{L_PRIVATEMSGS}</a>
Cherchez cela
- Code: Sélectionner - Agrandir
{L_PRIVATEMSGS}
Remplacez par
- Code: Sélectionner - Agrandir
<!-- IF PRIVATE_MESSAGE_INFO == "Vous avez 1 nouveau message" -->
<font color=red><b><blink>Vous avez un nouveau message</blink></b></font>
<!-- ELSEIF PRIVATE_MESSAGE_INFO == "Vous n’avez pas de nouveaux messages" -->
Vous n’avez aucun nouveau message
<!-- ELSEIF PRIVATE_MESSAGE_INFO == "Se connecter pour vérifier ses messages privés" -->
Consulter sa messagerie privée
<!-- ELSE -->
<font color=red><b><blink>Vous avez de nouveaux messages</blink></b></font>
<!-- ENDIF -->
Personnaliser les messages de notification
Remplacez dans le code précédent
- Code: Sélectionner - Agrandir
Vous avez un nouveau message
- Code: Sélectionner - Agrandir
Vous avez de nouveaux messages
- Code: Sélectionner - Agrandir
Vous n’avez aucun nouveau message
- Code: Sélectionner - Agrandir
Consulter sa messagerie privée
Par vos propres messages
Pour changer de couleur, remplacez "red" par la couleur voulue
- Code: Sélectionner - Agrandir
<font color=red>
Sauvegarder et fermez
Si vous voulez placer le message uniquement dans l'index du forum
Ouvrez index_body.tpl
Choisissez un emplacement en fonction de votre thème
par exemple Avant
- Code: Sélectionner - Agrandir
{CURRENT_TIME}<br />
ou bien Avant
- Code: Sélectionner - Agrandir
{LAST_VISIT_DATE}
Ajoutez
- Code: Sélectionner - Agrandir
<a href="{U_PRIVATEMSGS}">
<!-- IF PRIVATE_MESSAGE_INFO == "Vous avez 1 nouveau message" -->
<font color=red><b><blink>Vous avez un nouveau message</blink></b></font>
<!-- ELSEIF PRIVATE_MESSAGE_INFO == "Vous n’avez pas de nouveaux messages" -->
Vous n’avez aucun nouveau message
<!-- ELSEIF PRIVATE_MESSAGE_INFO == "Se connecter pour vérifier ses messages privés" -->
Consulter sa messagerie privée
<!-- ELSE -->
<font color=red><b><blink>Vous avez de nouveaux messages</blink></b></font>
<!-- ENDIF -->
</a>
Sauvegarder et fermez
pour faire clignoter le message sous Internet explorer
Ouvrez overall_header.tpl
Cherchez
- Code: Sélectionner - Agrandir
</head>
Ajoutez avant
- Code: Sélectionner - Agrandir
<script type="text/javascript">
<!--
/*
* Le code suivant va apprendre la balise blink à IE
*/
if ( document.all )
{
function blink_show()
{
blink_tags = document.all.tags('blink');
blink_count = blink_tags.length;
for ( i = 0; i < blink_count; i++ )
{
blink_tags[i].style.visibility = 'visible';
}
window.setTimeout( 'blink_hide()', 700 );
}
function blink_hide()
{
blink_tags = document.all.tags('blink');
blink_count = blink_tags.length;
for ( i = 0; i < blink_count; i++ )
{
blink_tags[i].style.visibility = 'hidden';
}
window.setTimeout( 'blink_show()', 250 );
}
window.onload = blink_show;
}
-->
</script>
Sauvegarder et fermez
Pour utiliser des images à la place du texte
Remplacez le code cité au début par celui la
- Code: Sélectionner - Agrandir
<a href="{U_PRIVATEMSGS}">{PRIVMSG_IMG}</a>
Puis allez dans Thème > Modifier les images.
Dans l’image pm_new_msg, mettez l’image qui s’affiche lorsque vous avez un nouveau message
Dans l’image pm_no_new_msg, mettez l’image qui s’affiche lorsque vous n’avez pas de nouveau message.
Fin du tuto _______________________

Last edited by altair on Sat 6 Oct 2007 - 19:30; edited 20 times in total
|
|
| Membre |

|
 Offline |
Joined: 14 Dec 2006
Posts: 344
Niveau: Point(s): 539 Moyenne: 1.57
|
 |
|
 |
|
Head |
Posted: Thu 4 Oct 2007 - 00:55 Post subject: [Tuto] MP clignotant et persistant |
 |
|
Merci c'est génial 
|
|
| Membre |

|
 Offline |
Joined: 18 Jan 2007
Posts: 82
Niveau: Point(s): 43 Moyenne: 0.52
|
 |
|
 |
|
biloute54 |
Posted: Thu 4 Oct 2007 - 13:12 Post subject: [Tuto] MP clignotant et persistant |
 |
|
super pro ce tuto, merci à toi, cela marche super bien. _______________________ ">
|
|
| Membre |

|
 Offline |
Joined: 03 Jun 2007
Posts: 102
Point(s): 87 Moyenne: 0.85
|
 |
|
 |
|
azzzaro |
Posted: Thu 4 Oct 2007 - 16:35 Post subject: [Tuto] MP clignotant et persistant |
 |
|
Bonjour, j'ai remplacé les phrases indiquées afin de mettre juste le mot Messagerie, mais ça ne change pas !
Merci de votre aide _______________________ www.fmlive-manager.com
|
|
| Membre |

|
 Offline |
Joined: 23 May 2007
Posts: 462
Niveau: Point(s): 314 Moyenne: 0.68
|
 |
|
 |
|
altair |
|
| Membre |

|
 Offline |
Joined: 14 Dec 2006
Posts: 344
Niveau: Point(s): 539 Moyenne: 1.57
|
 |
|
 |
|
azzzaro |
Posted: Thu 4 Oct 2007 - 17:20 Post subject: [Tuto] MP clignotant et persistant |
 |
|
- Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<meta name="verify-v1" content="9olrN8IzPdxZQ44ZsxffXLoA/7Ca/BNw3ocKLDOorN8=" />
<head> <script language="javascript">
function getFonc(mois,jour) {
var ar = new Array(12)
ar[0] = getFete01(jour)
ar[1] = getFete02(jour)
ar[2] = getFete03(jour)
ar[3] = getFete04(jour)
ar[4] = getFete05(jour)
ar[5] = getFete06(jour)
ar[6] = getFete07(jour)
ar[7] = getFete08(jour)
ar[8] = getFete09(jour)
ar[9] = getFete10(jour)
ar[10] = getFete11(jour)
ar[11] = getFete12(jour)
return ar[mois]
}
function getFete01(num)
{var fetes = new Array(
"Jour de l'An", "Basile", "Geneviève", "Odilon", "Edouard", "Melaine",
"Raymond", "Lucien", "Alix", "Guillaume", "Paulin", "Tatiana", "Yvette",
"Nina", "Rémi", "Marcel", "Roseline", "Prisca", "Marius", "Sébastien",
"Agnès", "Vincent", "Barnard", "François", "Paul", "Paule", "Angèle",
"Thomas", "Gildas", "Martine", "Marcelle","","","");
return fetes[num]}
function getFete02(num)
{var fetes = new Array(
"Ella", "Présention", "Blaise", "Véronique", "Agathe", "Gaston", "Eugènie", "Jacqueline",
"Apolline", "Arnaud", "ND Lourdes", "Félix", "Béatrice", "Valentin", "Claude",
"Julienne", "Alexis", "Bernadette", "Gabin", "Aimée", "Cendres", "Isabelle",
"Lazare", "Modeste", "Roméo", "Nestor", "Honorine", "Romain", "Auguste","","","","","");
return fetes[num]}
function getFete03(num)
{var fetes = new Array(
"Aubin", "Charles", "Guénolé", "Casimir", "Olive", "Colette", "Félicité", "Jean", "Françoise",
"Vivien", "Rosine", "Justine", "Rodrigue", "Mathilde", "Louise", "Bénédicte", "Patrice",
"Cyrille", "Joseph", "Herbert", "Clémence", "Léa", "Victorien", "Karine", "Ann.", "Larissa",
"Habib", "Gontran", "Gwladys", "Amédée", "Benjamin","","","");
return fetes[num]}
function getFete04(num)
{var fetes = new Array(
"Hugues", "Sandrine", "Richard", "Isidore", "Irène", "Marcellin", "JB.de la S", "Julie", "Gautier",
"Fulbert", "Stanislas", "Jules", "Ida", "Maxime", "Paterne", "Benoït", "Anicet", "Parfait",
"Emma", "Odette", "Anselme", "Alexandre", "Georges", "Fidèle", "Marc", "Alida", "Zita", "Valérie",
"Catherine", "Robert","","","");
return fetes[num]}
function getFete05(num)
{var fetes = new Array(
"Fête du travail", "Boris", "Philippe", "Sylvain", "Judith", "Prudence", "Gisèle", "Armistice 1945", "Pâcome", "Solange",
"Estelle", "Achille", "Rolande", "Matthias", "Denise", "Honoré", "Pascal", "Eric", "Yves",
"Bernardin", "Constantin", "Emile", "Didier", "Donatien", "Sophie", "Béranger", "Augustin",
"Germain", "Aymar", "Ferdinand", "Visitation","","","");
return fetes[num]}
function getFete06(num)
{var fetes = new Array(
"Justin", "Blandine", "Kévin", "Clotilde", "Igor", "Norbert", "Gilbert", "Médard", "Diane", "Landry",
"Yolande", "Guy", "Antoine", "Elisée", "Germaine", "J.F.Régis", "Hervé", "Léonce", "Romuald",
"Silvère", "Rodolphe", "Alban", "Audrey", "Baptiste", "Prosper", "Anthelme", "Fernand", "Irénée",
"Paul/Pierre", "Martial","","","");
return fetes[num]}
function getFete07(num)
{var fetes = new Array(
"Thierry", "Martinien", "Thomas", "Florent", "Antoine", "Mariette", "Raoul", "Thibaut", "Amandine", "Ulrich",
"Benoït", "Olivier", "Joël", "Camille", "Donald", "ND.Carmel", "Caroline", "Frédéric", "Arsène",
"Marina", "Victor", "Madeleine", "Brigitte", "Christine", "Jacques", "Anne", "Nathalie", "Samson",
"Marthe", "Juliette", "Ignace","","","");
return fetes[num]}
function getFete08(num)
{var fetes = new Array(
"Alphonse", "Julien", "Lydie", "Jean Marie", "Oswald", "Transf.", "Gaétan", "Dominique", "Amour", "Laurent",
"Claire", "Clarisse", "Hippolyte", "Evrard", "Alfred", "Armel", "Hyacinthe", "Hélène", "Jean",
"Bernard", "Christophe", "Fabrice", "Rose", "Barthélémy", "Louis", "Natacha", "Monique", "Augustin.",
"Sabine", "Fiacre", "Aristide","","","");
return fetes[num]}
function getFete09(num)
{var fetes = new Array(
"Gilles", "Ingrid", "Grégoire", "Rosalie", "Raïssa", "Bertrand", "Reine", "Nativité", "Alain", "Inés",
"Adelphe", "Apollinaire", "Aimé", "Ste-Croix", "Roland", "Edith", "Renaud", "Nadège", "Amélie",
"Davy", "Mathieu", "Maurice", "Constant", "Thècle", "Hermann", "Côme", "Vincent", "Venceslas",
"Gabriel", "Jérôme","","","");
return fetes[num]}
function getFete10(num)
{var fetes = new Array(
"Thérèse", "Léger", "Gérard", "François", "Fleur", "Bruno", "Serge", "Pélagie", "Denis", "Ghislain",
"Firmin", "Wilfried", "Géraud", "Juste", "Thérèse", "Edwige", "Baudoin", "Luc", "René", "Adeline",
"Céline", "Elodie", "Jean", "Florentin", "Enguerran", "Dimitri", "Emeline", "Simon", "Narcisse",
"Bienvenue", "Quentin","","","");
return fetes[num]}
function getFete11(num)
{var fetes = new Array(
"Toussaint", "Défunts", "Hubert", "Charles", "Sylvie", "Bertille", "Carine", "Geoffroy", "Théodore",
"Léon", "Martin", "Christian", "Brice", "Sidoine", "Albert", "Marguerite", "Elisabeth", "Aude", "Tanguy",
"Edmond", "Présentat.", "Cécile", "Clément", "Augusta", "Catherine", "Delphine", "Séverin", "Jacques",
"Saturnin", "André","","","");
return fetes[num]}
function getFete12(num)
{var fetes = new Array(
"Florence", "Viviane", "François", "Barbara", "Gérald", "Nicolas", "Ambroise", "Imm.Conc.", "Pierre",
"Romaric", "Daniel", "Chantal", "Lucie", "Odile", "Ninon", "Alice", "Gaël", "Gatien", "Urbain", "Abraham",
"Pierre", "Françoise", "Armand", "Adèle", "Noël", "Etienne", "Jean", "Innocents", "David", "Roger",
"Sylvestre","","","");
return fetes[num]}
</script>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img2.xooimage.com/files/6/9/e/xand-1c4951.css" type="text/css" -->
<style type="text/css">
<!--
/*
The original xand Theme for phpBB version 2+
Created by subBlue design
http://www.subBlue.com
NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
theme administration centre. When you have finalised your style you could cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.
*/
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
margin:0px; 0px; 0px; 0px;
background-color: #E5E5E5;
scrollbar-face-color: #DEE3E7;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #DEE3E7;
scrollbar-3dlight-color: #D1D7DC;
scrollbar-arrow-color: #006699;
scrollbar-track-color: #EFEFEF;
scrollbar-darkshadow-color: #98AAB1;
}
/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : #C62424; }
a:hover { text-decoration: underline; color : #DD6900; }
hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
/* This is the border line & background colour round the entire page */
.bodyline { background-color: #CCCCCC; border: 10px #FFFFFF solid; }
/* This is the outline round the main forum tables */
.forumline { background-color: #F5F5F5; border: 0px {T_TH_COLOR2} solid; }
/* Main table cell colours and backgrounds */
td.row1 { background-color: #EAEAEA; }
td.row2 { background-color: #FFFFFF; }
td.row3 { background-color: #FFFFFF; }
/*
This is for the table cell above the Topics, Post & Last posts on the index.php page
By default this is the fading out gradiated silver background.
However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
background-color: {T_TD_COLOR2};
background-image: url(http://img3.xooimage.com/files/7/f/c/cellpic2-1c494e.jpg);
background-repeat: repeat-y;
}
/* Header cells - the blue and silver gradient backgrounds */
th {
color: #FFFFFF; font-size: 12px; font-weight : bold;
background-color: #444444; height: 34px;
background-image: url(http://img7.xooimage.com/files/f/d/b/cellpic3-1c4949.jpg);
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url(http://img5.xooimage.com/files/8/0/2/cellpic1-1c4950.jpg);
background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}
/*
Setting additional nice inner borders for the main table cells.
The names indicate which sides the border will be on.
Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
height: 24px;
border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 24px;
}
td.row3Right,td.spaceRow {
background-color: #000000; border: {T_TH_COLOR3}; border-style: solid;
}
th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px 0px 0px 0px; }
th.thRight,td.catRight,td.row3Right { border-width: 0px 0px 0px 0px; }
th.thLeft,td.catLeft { border-width: 0px 0px 0px 0px; }
th.thBottom,td.catBottom { border-width: 0px 0px 0px 0px; }
th.thTop { border-width: 0px 0px 0px 0px; }
th.thCornerL { border-width: 0px 0px 0px 0px; }
th.thCornerR { border-width: 0px 0px 0px 0px; }
/* The largest text used in the index page title and toptic title etc. */
.maintitle {
font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}
/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: #C62424; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #C62424; text-decoration: bold; }
/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : 11px; color : #C62424 }
a.mainmenu { font-size: 11px;
color:#525252;
text-decoration:none;
font-weight:bold;
padding: 3px; }
a.mainmenu:hover{ color:#FFFFFF;
text-decoration:none;
background-color:#F82D2E;
padding: 3px; }
/* Forum category titles */
.cattitle { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : #444444}
a.cattitle { text-decoration: none; color : #444444; }
a.cattitle:hover{ text-decoration: bold; }
.cattitle2 { font-weight: bold; font-size: 13px ; letter-spacing: 1px; color : #fffafa; }
a.cattitle2 { text-decoration: none; color : #fffafa; }
a.cattitle2:hover{ text-decoration: bold; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: {T_FONTSIZE3}px; color : #444444; }
a.forumlink { text-decoration: none; color : #444444; }
a.forumlink:hover{ text-decoration: bold; color : #C62424; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav { text-decoration: none; color : #444444; }
a.nav:hover { text-decoration: bold; }
/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2 { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link { text-decoration: none; color : #444444; }
a.topictitle:visited { text-decoration: none; color : #5F5F5F; }
a.topictitle:hover { text-decoration: bold; color : #DD6900; }
/* custom added css */
[size=8]/* shaded table rows 4 has right border 5 none */
td.row4 { background-color: #F82D2E; background-image: url('http://img216.imageshack.us/img216/9727/cellulecx7.jpg'); background-position: top; background-repeat: repeat-x; border-right: 1px solid #333333; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; }
td.row5 { background-color: #EAEAEA; background-image: url(''); background-position: top; background-repeat: repeat-x; padding-bottom: 5px; padding-left: 5px; padding-right: 5px; padding-top: 5px; }[/size]
/* end of custom */
/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name { font-size : {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
/* Location, number of posts, post date etc */
.postdetails { font-size : 10px; color : #000000; }
.postdetails2 { font-size : 10px; color : #C62424; }
a.postdetails2 { font-size : 10px; color : #C62424; }
/* The content of the posts (body of text) */
.postbody { font-size : {T_FONTSIZE3}px; line-height: 18px}
a.postlink:link { text-decoration: none; color : #C62424}
a.postlink:visited { text-decoration: none; color : #EE9511; }
a.postlink:hover { text-decoration: bold; color : #000000}
/* Quote & Code blocks */
.code {
font-family: {T_FONTFACE3}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR2};
background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
.quote {
font-family: {T_FONTFACE1}; font-size: {T_FONTSIZE2}px; color: {T_FONTCOLOR1}; line-height: 125%;
background-color: {T_TD_COLOR1}; border: {T_TR_COLOR3}; border-style: solid;
border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}
dl.code {
background-color: #FAFAFA; border: 1px solid #D1D7DC; padding: 0; margin:0; width:700px;
}
dl.code dt {
border-bottom: 1px solid #D1D7DC; margin: 2px; padding: 0; display: block;
}
dl.code dt span.postbody {
text-transform:uppercase; font-weight:bold; font-size:10px; padding:0; margin:0;
}
dl.code dd {
margin:0; padding:0;
}
div.code {
font-size:11px; font-family: monospace, mono; color: #8b8b8b;
overflow:auto; display: block; height: auto; width:698px; max-height: 200px;
white-space: normal; padding:2px; margin:0;
}
/* Copyright and bottom info */
.copyright { font-size: {T_FONTSIZE1}px; font-family: {T_FONTFACE1}; color: {T_FONTCOLOR1}; letter-spacing: -1px;}
a.copyright { color: {T_FONTCOLOR1}; text-decoration: none;}
a.copyright:hover { color: {T_BODY_TEXT}; text-decoration: bold;}
/* Form elements */
input,textarea, select {
color : {T_BODY_TEXT};
font: normal {T_FONTSIZE2}px {T_FONTFACE1};
border-color : {T_BODY_TEXT};
}
/* The text input fields background colour */
input.post, textarea.post, select {
background-color : {T_TD_COLOR2};
}
input { text-indent : 2px; }
/* The buttons used for bbCode styling in message post */
input.button {
background-color : {T_TR_COLOR1};
color : {T_BODY_TEXT};
font-size: {T_FONTSIZE2}px; font-family: {T_FONTFACE1};
}
/* The main submit button option */
input.mainoption {
background-color : {T_TD_COLOR1};
font-weight : bold;
}
/* None-bold submit button */
input.liteoption {
background-color : {T_TD_COLOR1};
font-weight : normal;
}
/* This is the line in the posting page which shows the rollover
help line. This is actually a text box, but if set to be the same
colour as the background no one will know ;)
*/
.helpline { background-color: {T_TR_COLOR2}; border-style: none; }
/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("http://img10.xooimage.com/files/f/o/formie-30d7c.css");
-->
</style>
<!-- BEGIN switch_enable_pm_popup -->
<script language="Javascript" type="text/javascript">
<!--
if ( {PRIVATE_MESSAGE_NEW_FLAG} )
{
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');;
}
//-->
</script>
<!-- END switch_enable_pm_popup -->
<script type="text/javascript">
<!--
/*
* Le code suivant va apprendre la balise blink à IE
*/
if ( document.all )
{
function blink_show()
{
blink_tags = document.all.tags('blink');
blink_count = blink_tags.length;
for ( i = 0; i < blink_count; i++ )
{
blink_tags[i].style.visibility = 'visible';
}
window.setTimeout( 'blink_hide()', 700 );
}
function blink_hide()
{
blink_tags = document.all.tags('blink');
blink_count = blink_tags.length;
for ( i = 0; i < blink_count; i++ )
{
blink_tags[i].style.visibility = 'hidden';
}
window.setTimeout( 'blink_show()', 250 );
}
window.onload = blink_show;
}
-->
</script>
</head>
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="#444444" vlink="#5F5F5F">
<script type="text/javascript">
/* Modifiez 530 ici par la largeur maximum que vous voulez
*/
MAX_IMG_WIDTH = 720;
function resizedImgClick(event) {
event = (event || window.event);
var img = Event.element(event);
// L'image est dans un lien, on laisse le lien s'ouvrir
if (img.up('a')) return;
// L'image taille réelle est actuellement affichée, on la ferme
if (fullImg = $('img.resizedImgFull[src="'+img.src+'"]')[0]) {
fullImg.parentNode.removeChild(fullImg);
Event.stop(event);
return false;
}
// On peut afficher l'image taille réelle. Avant, on ferme toutes les images taille réelle
$('img.resizedImgFull').each(function(elem) {
elem.parentNode.removeChild(elem);
});
// On affiche l'image taille réelle
var elem = $cE('img');
elem.src=img.src;
elem.setStyle({
position:'absolute',top:document.body.scrollTop,left:document.body.scrollLeft,cursor:'pointer'
});
elem.addClassName('resizedImgFull');
elem.onclick=resizedImgClose;
document.body.appendChild(elem);
Event.stop(event);
return false;
}
function resizedImgClose(event) {
event = (event || window.event);
var img = Event.element(event);
img.parentNode.removeChild(img);
Event.stop(event);
return false;
}
function imgsize(maxwidth) {
$$('.postbody img').each(function(img) {
if (img.width <= maxwidth) return;
img.width=maxwidth;
img.style['cursor']='pointer';
img.onclick=resizedImgClick;
});
}
Event.observe(window,'load',function(){imgsize(MAX_IMG_WIDTH);});
</script>
<a name="top"></a>
<table width="780px" cellspacing="0" cellpadding="10" border="0" align="center">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" width="100%" valign="middle"><img src="http://img518.imageshack.us/img518/5103/futurbann2222ti7.jpg">
<table width="100%" border="0" cellpadding="2" cellspacing="0" background="http://img232.imageshack.us/img232/6886/barrexw1.jpg">
<tr>
<td height="34" align="center" valign="middle" nowrap="nowrap"><span class="mainmenu"> <a href="{U_FAQ}" class="mainmenu">{L_FAQ}</a> <a href="http://fmlive.xooit.fr/index.php"
class="mainmenu"><img src= width="12" height="13" border="0" alt="" />Index</a>
<a href="http://fmlive.xooit.fr/f81-Telechargements.htm?theme=test" class="mainmenu">Téléchargements</a>
<a href="{U_SEARCH}" class="mainmenu">{L_SEARCH}</a> <a href="{U_MEMBERLIST}" class="mainmenu">{L_MEMBERLIST}</a> <a href="{U_GROUP_CP}" class="mainmenu">{L_USERGROUPS}</a>
<a href="{U_PRIVATEMSGS}" class="mainmenu"><script language="javascript" type="text/javascript">if( {PRIVATE_MESSAGE_NEW_FLAG} ) { document.write("{PRIVATE_MESSAGE_INFO}"); } else { document.write("Messagerie"); }</script><noscript><font color=#ff0000>{PRIVATE_MESSAGE_INFO}</font></noscript></span></a>
<!-- BEGIN switch_user_logged_out -->
<a href="{U_REGISTER}" class="mainmenu">{L_REGISTER}</a>
<!-- END switch_user_logged_out -->
</span>
<td height="34" align="center" valign="middle" nowrap="nowrap"><span class="mainmenu"> <a href="{U_PROFILE}" class="mainmenu">{L_PROFILE}</a> <a href="{U_LOGIN_LOGOUT}" class="mainmenu">{L_LOGIN_LOGOUT}</a> </span></td>
</tr>
</table></td>
</tr>
</table>
<br />
Voilà Altair  _______________________ www.fmlive-manager.com
|
|
| Membre |

|
 Offline |
Joined: 23 May 2007
Posts: 462
Niveau: Point(s): 314 Moyenne: 0.68
|
 |
|
 |
|
altair |
|
| Membre |

|
 Offline |
Joined: 14 Dec 2006
Posts: 344
Niveau: Point(s): 539 Moyenne: 1.57
|
 |
|
 |
|
azzzaro |
Posted: Thu 4 Oct 2007 - 18:42 Post subject: [Tuto] MP clignotant et persistant |
 |
|
Désolé de répondre que maintenant !!!
Moi je voudrai mettre Messagerie à la place de tout les autres . _______________________ www.fmlive-manager.com
|
|
| Membre |

|
 Offline |
Joined: 23 May 2007
Posts: 462
Niveau: Point(s): 314 Moyenne: 0.68
|
 |
|
 |
|
azzzaro |
Posted: Thu 4 Oct 2007 - 18:51 Post subject: [Tuto] MP clignotant et persistant |
 |
|
Altair, je viens d'essayer et ça ne marche pas !
Moi je voudrai que ce soit marqué Messagerie tout le temps, et que ça clignote en rouge quand il y'a un nouveau message !!!
Voilà l'adresse de mon fofo : http://fmlive.xooit.fr _______________________ www.fmlive-manager.com
|
|
| Membre |

|
 Offline |
Joined: 23 May 2007
Posts: 462
Niveau: Point(s): 314 Moyenne: 0.68
|
 |
|
 |
|
altair |
Posted: Thu 4 Oct 2007 - 19:19 Post subject: [Tuto] MP clignotant et persistant |
 |
|
re bonsoir
je ne vois pas encore la modification sur ton forum : http://fmlive.xooit.fr
il y'a encore l'ancien code
/!\ faire une sauvegarde de overall_header.tpl avant /!\
tu remplaces ton template overall_header.tpl
par celui la
- Code: Sélectionner - Agrandir
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{S_CONTENT_DIRECTION}">
<meta name="verify-v1" content="9olrN8IzPdxZQ44ZsxffXLoA/7Ca/BNw3ocKLDOorN8=" />
<head> <script language="javascript">
function getFonc(mois,jour) {
var ar = new Array(12)
ar[0] = getFete01(jour)
ar[1] = getFete02(jour)
ar[2] = getFete03(jour)
ar[3] = getFete04(jour)
ar[4] = getFete05(jour)
ar[5] = getFete06(jour)
ar[6] = getFete07(jour)
ar[7] = getFete08(jour)
ar[8] = getFete09(jour)
ar[9] = getFete10(jour)
ar[10] = getFete11(jour)
ar[11] = getFete12(jour)
return ar[mois]
}
function getFete01(num)
{var fetes = new Array(
"Jour de l'An", "Basile", "Geneviève", "Odilon", "Edouard", "Melaine",
"Raymond", "Lucien", "Alix", "Guillaume", "Paulin", "Tatiana", "Yvette",
"Nina", "Rémi", "Marcel", "Roseline", "Prisca", "Marius", "Sébastien",
"Agnès", "Vincent", "Barnard", "François", "Paul", "Paule", "Angèle",
"Thomas", "Gildas", "Martine", "Marcelle","","","");
return fetes[num]}
function getFete02(num)
{var fetes = new Array(
"Ella", "Présention", "Blaise", "Véronique", "Agathe", "Gaston", "Eugènie", "Jacqueline",
"Apolline", "Arnaud", "ND Lourdes", "Félix", "Béatrice", "Valentin", "Claude",
"Julienne", "Alexis", "Bernadette", "Gabin", "Aimée", "Cendres", "Isabelle",
"Lazare", "Modeste", "Roméo", "Nestor", "Honorine", "Romain", "Auguste","","","","","");
return fetes[num]}
function getFete03(num)
{var fetes = new Array(
"Aubin", "Charles", "Guénolé", "Casimir", "Olive", "Colette", "Félicité", "Jean", "Françoise",
"Vivien", "Rosine", "Justine", "Rodrigue", "Mathilde", "Louise", "Bénédicte", "Patrice",
"Cyrille", "Joseph", "Herbert", "Clémence", "Léa", "Victorien", "Karine", "Ann.", "Larissa",
"Habib", "Gontran", "Gwladys", "Amédée", "Benjamin","","","");
return fetes[num]}
function getFete04(num)
{var fetes = new Array(
"Hugues", "Sandrine", "Richard", "Isidore", "Irène", "Marcellin", "JB.de la S", "Julie", "Gautier",
"Fulbert", "Stanislas", "Jules", "Ida", "Maxime", "Paterne", "Benoït", "Anicet", "Parfait",
"Emma", "Odette", "Anselme", "Alexandre", "Georges", "Fidèle", "Marc", "Alida", "Zita", "Valérie",
"Catherine", "Robert","","","");
return fetes[num]}
function getFete05(num)
{var fetes = new Array(
"Fête du travail", "Boris", "Philippe", "Sylvain", "Judith", "Prudence", "Gisèle", "Armistice 1945", "Pâcome", "Solange",
"Estelle", "Achille", "Rolande", "Matthias", "Denise", "Honoré", "Pascal", "Eric", "Yves",
"Bernardin", "Constantin", "Emile", "Didier", "Donatien", "Sophie", "Béranger", "Augustin",
"Germain", "Aymar", "Ferdinand", "Visitation","","","");
return fetes[num]}
function getFete06(num)
{var fetes = new Array(
"Justin", "Blandine", "Kévin", "Clotilde", "Igor", "Norbert", "Gilbert", "Médard", "Diane", "Landry",
"Yolande", "Guy", "Antoine", "Elisée", "Germaine", "J.F.Régis", "Hervé", "Léonce", "Romuald",
"Silvère", "Rodolphe", "Alban", "Audrey", "Baptiste", "Prosper", "Anthelme", "Fernand", "Irénée",
"Paul/Pierre", "Martial","","","");
return fetes[num]}
function getFete07(num)
{var fetes = new Array(
"Thierry", "Martinien", "Thomas", "Florent", "Antoine", "Mariette", "Raoul", "Thibaut", "Amandine", "Ulrich",
"Benoït", "Olivier", "Joël", "Camille", "Donald", "ND.Carmel", "Caroline", "Frédéric", "Arsène",
"Marina", "Victor", "Madeleine", "Brigitte", "Christine", "Jacques", "Anne", "Nathalie", "Samson",
"Marthe", "Juliette", "Ignace","","","");
return fetes[num]}
function getFete08(num)
{var fetes = new Array(
"Alphonse", "Julien", "Lydie", "Jean Marie", "Oswald", "Transf.", "Gaétan", "Dominique", "Amour", "Laurent",
"Claire", "Clarisse", "Hippolyte", "Evrard", "Alfred", "Armel", "Hyacinthe", "Hélène", "Jean",
"Bernard", "Christophe", "Fabrice", "Rose", "Barthélémy", "Louis", "Natacha", "Monique", "Augustin.",
"Sabine", "Fiacre", "Aristide","","","");
return fetes[num]}
function getFete09(num)
{var fetes = new Array(
"Gilles", "Ingrid", "Grégoire", "Rosalie", "Raïssa", "Bertrand", "Reine", "Nativité", "Alain", "Inés",
"Adelphe", "Apollinaire", "Aimé", "Ste-Croix", "Roland", "Edith", "Renaud", "Nadège", "Amélie",
"Davy", "Mathieu", "Maurice", "Constant", "Thècle", "Hermann", "Côme", "Vincent", "Venceslas",
"Gabriel", "Jérôme","","","");
return fetes[num]}
function getFete10(num)
{var fetes = new Array(
"Thérèse", "Léger", "Gérard", "François", "Fleur", "Bruno", "Serge", "Pélagie", "Denis", "Ghislain",
"Firmin", "Wilfried", "Géraud", "Juste", "Thérèse", "Edwige", "Baudoin", "Luc", "René", "Adeline",
"Céline", "Elodie", "Jean", "Florentin", "Enguerran", "Dimitri", "Emeline", "Simon", "Narcisse",
"Bienvenue", "Quentin","","","");
return fetes[num]}
function getFete11(num)
{var fetes = new Array(
"Toussaint", "Défunts", "Hubert", "Charles", "Sylvie", "Bertille", "Carine", "Geoffroy", "Théodore",
"Léon", "Martin", "Christian", "Brice", "Sidoine", "Albert", "Marguerite", "Elisabeth", "Aude", "Tanguy",
"Edmond", "Présentat.", "Cécile", "Clément", "Augusta", "Catherine", "Delphine", "Séverin", "Jacques",
"Saturnin", "André","","","");
return fetes[num]}
function getFete12(num)
{var fetes = new Array(
"Florence", "Viviane", "François", "Barbara", "Gérald", "Nicolas", "Ambroise", "Imm.Conc.", "Pierre",
"Romaric", "Daniel", "Chantal", "Lucie", "Odile", "Ninon", "Alice", "Gaël", "Gatien", "Urbain", "Abraham",
"Pierre", "Françoise", "Armand", "Adèle", "Noël", "Etienne", "Jean", "Innocents", "David", "Roger",
"Sylvestre","","","");
return fetes[num]}
</script>
<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}">
<meta http-equiv="Content-Style-Type" content="text/css">
{META}
{NAV_LINKS}
<title>{SITENAME} :: {PAGE_TITLE}</title>
<!-- link rel="stylesheet" href="http://img2.xooimage.com/files/6/9/e/xand-1c4951.css" type="text/css" -->
<style type="text/css">
<!--
/*
The original xand Theme for phpBB version 2+
Created by subBlue design
http://www.subBlue.com
NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
theme administration centre. When you have finalised your style you could cut the final CSS code
and place it in an external file, deleting this section to save bandwidth.
*/
/* General page style. The scroll bar colours only visible in IE5.5+ */
body {
margin:0px; 0px; 0px; 0px;
background-color: #E5E5E5;
scrollbar-face-color: #DEE3E7;
scrollbar-highlight-color: #FFFFFF;
scrollbar-shadow-color: #DEE3E7;
scrollbar-3dlight-color: #D1D7DC;
scrollbar-arrow-color: #006699;
scrollbar-track-color: #EFEFEF;
scrollbar-darkshadow-color: #98AAB1;
}
/* General font families for common tags */
font,th,td,p { font-family: {T_FONTFACE1} }
a:link,a:active,a:visited { color : #C62424; }
a:hover { text-decoration: underline; color : #DD6900; }
hr { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
/* This is the border line & background colour round the entire page */
.bodyline { background-color: #CCCCCC; border: 10px #FFFFFF solid; }
/* This is the outline round the main forum tables */
.forumline { background-color: #F5F5F5; border: 0px {T_TH_COLOR2} solid; }
/* Main table cell colours and backgrounds */
td.row1 { background-color: #EAEAEA; }
td.row2 { background-color: #FFFFFF; }
td.row3 { background-color: #FFFFFF; }
/*
This is for the table cell above the Topics, Post & Last posts on the index.php page
By default this is the fading out gradiated silver background.
However, you could replace this with a bitmap specific for each forum
*/
td.rowpic {
background-color: {T_TD_COLOR2};
background-image: url(http://img3.xooimage.com/files/7/f/c/cellpic2-1c494e.jpg);
background-repeat: repeat-y;
}
/* Header cells - the blue and silver gradient backgrounds */
th {
color: #FFFFFF; font-size: 12px; font-weight : bold;
background-color: #444444; height: 34px;
background-image: url(http://img7.xooimage.com/files/f/d/b/cellpic3-1c4949.jpg);
}
td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
background-image: url(http://img5.xooimage.com/files/8/0/2/cellpic1-1c4950.jpg);
background-color:{T_TR_COLOR3}; border: {T_TH_COLOR3}; border-style: solid; height: 28px;
}
/*
Setting additional nice inner borders for the main table cells.
The names indicate which sides the border will be on.
Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
height: 24px;
border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
font-weight: bold; border: {T_TD_COLOR2}; border-style: solid; height: 24px;
}
td.row3Right,td.spaceRow {
background-color: #000000; border: {T_TH_COLOR3}; border-style: solid;
}
th.thHead,td.catHead { font-size: {T_FONTSIZE3}px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow { border-width: 0px 0px 0px 0px; }
th.thRight,td.catRight,td.row3Right { border-width: 0px 0px 0px 0px; }
th.thLeft,td.catLeft { border-width: 0px 0px 0px 0px; }
th.thBottom,td.catBottom { border-width: 0px 0px 0px 0px; }
th.thTop { border-width: 0px 0px 0px 0px; }
th.thCornerL { border-width: 0px 0px 0px 0px; }
th.thCornerR { border-width: 0px 0px 0px 0px; }
/* The largest text used in the index page title and toptic title etc. */
.maintitle {
font-weight: bold; font-size: 22px; font-family: "{T_FONTFACE2}",{T_FONTFACE1};
text-decoration: none; line-height : 120%; color : {T_BODY_TEXT};
}
/* General text */
.gen { font-size : {T_FONTSIZE3}px; }
.genmed { font-size : {T_FONTSIZE2}px; }
.gensmall { font-size : {T_FONTSIZE1}px; }
.gen,.genmed,.gensmall { color : {T_BODY_TEXT}; }
a.gen,a.genmed,a.gensmall { color: #C62424; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover { color: #C62424; text-decoration: bold; }
/* The register, login, search etc links at the top of the page */
.mainmenu { font-size : 11px; color : #C62424 }
a.mainmenu { font-size: 11px;
color:#525252;
text-decoration:none;
font-weight:bold;
padding: 3px; }
a.mainmenu:hover{ color:#FFFFFF;
text-decoration:none;
background-color:#F82D2E;
padding: 3px; }
/* Forum category titles */
.cattitle { font-weight: bold; font-size: {T_FONTSIZE3}px ; letter-spacing: 1px; color : #444444}
a.cattitle { text-decoration: none; color : #444444; }
a.cattitle:hover{ text-decoration: bold; }
.cattitle2 { font-weight: bold; font-size: 13px ; letter-spacing: 1px; color : #fffafa; }
a.cattitle2 { text-decoration: none; color : #fffafa; }
a.cattitle2:hover{ text-decoration: bold; }
/* Forum title: Text and link to the forums used in: index.php */
.forumlink { font-weight: bold; font-size: {T_FONTSIZE3}px; color : #444444; }
a.forumlink { text-decoration: none; color : #444444; }
a.forumlink:hover{ text-decoration: bold; color : #C62424; }
/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT};}
a.nav { text-decoration: none; color : #444444; }
a.nav:hover { text-decoration: bold; }
/* titles for the topics: could specify viewed link colour too */
.topictitle,h1,h2 { font-weight: bold; font-size: {T_FONTSIZE2}px; color : {T_BODY_TEXT}; }
a.topictitle:link { text-decoration: none; color : #444444; }
a.topictitle:visited { text-decoration: none; color : #5F5F5F; }
a.topictitle:hover { text-decoration: bold; color : #DD6900; }
/* custom added css */
[size=8]/* sh
| |