| [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte | |
|
+24Splash JasRhodes jayssame silas88 One. Chocolatine petit coq Kaeyla fascicularia delayster Girly Gypsy Water. damieng59 K-Surf Flaura Fantastik Eczema Help patriciadpt30 Mr.Paste Arya carpenter ThunderTB tastet.roger Vayl Milouze14 28 participants |
Auteur | Message |
---|
Milouze14
Fondateur

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Lun 10 Nov 2014 - 10:52 | |
|  , actuellement vous avez des boutons représentés par une image pour répondre ou poster un nouveau sujet. Je vais vous donner l'astuce afin de supprimer l'image et déposer un texte de votre choix  . On déposera un script ensuite pour afficher un texte lorsque le forum ou le message sera verrouillé . Modules/ HTML JAVASCRIPT/ Gestion des codes Javascript/ Créer un nouveau JavascriptMettre un titre explicite. Cocher sur les sous forums et les sujets. Collez ceci: - Code:
-
// LES SUJETS VERROUILLES $(document).ready(function(){ $('a#M14_i_reply[alt="Ce sujet est verrouillé, vous ne pouvez pas éditer les messages ou faire de réponses."]').attr('id','M14_ver_post').html('Verrouillé'); $('a#M14_i_reply_bis[alt="Ce sujet est verrouillé, vous ne pouvez pas éditer les messages ou faire de réponses."]').attr('id','M14_ver_post').html('Verrouillé'); }); //UN FORUM VERROUILLE $(document).ready(function(){ $('a#M14_News_Post[alt="Ce forum est verrouillé, vous ne pouvez pas poster, ni répondre, ni éditer les sujets."]').attr('id','M14_ver_forum').html('Verrouillé'); });
Vous pouvez changer le texte "Verrouillé" par le texte de votre choix en prenant soin de laisser les apostrophes ici: - Code:
-
.html('Verrouillé') Pensez a cliquer sur le bouton Dans la feuille de style: Affichage/ Images et Couleurs/ Couleurs/ Feuille de styleCollez ceci: - Code:
-
/*Boutons Nouveau sujet*/ #M14_News_Post {color:green;text-decoration:none !important;} /*Boutons repondre en haut de page ouis le bas de page*/ #M14_i_reply , #M14_i_reply_bis{color:darkgreen;text-decoration:none !important;} /*Bouton des sujets verrouilles*/ #M14_ver_post {color:red !important;text-decoration:none !important;} /*Bouton d un forum verrouille*/ #M14_ver_forum {color:red !important;text-decoration:none !important;}
La couleur verte et rouge seront donc a changer selon votre désign Pensez à valider les modifications en cliquant sur le bouton On va passer aux modifications dans deux templates. Dans le template viewforum_body: Affichage/ Templates/ Général/ viewforum_bodyRecherchez ceci ligne 6 environ : - Code:
-
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"> <img src="{POST_IMG}" id="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" border="0" /></a>
Supprimez et remplacez par: - Code:
-
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"id="M14_News_Post"alt="{L_POST_NEW_TOPIC}"title="{L_POST_NEW_TOPIC}">Nouveau</a>
Remplacez le texte "Nouveau" par votre souhait. Plus bas recherchez ceci ligne 85 environ: - Code:
-
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"> <img src="{POST_IMG}" id="{POST_IMG_ID}1" alt="{L_POST_NEW_TOPIC}" border="0" /> </a>
Supprimez et remplacez par: - Code:
-
<a href="{U_POST_NEW_TOPIC}" rel="nofollow"id="M14_News_Post"alt="{L_POST_NEW_TOPIC}"title="{L_POST_NEW_TOPIC}"> Nouveau</a>
Pensez à enregistrer puis à valider en cliquant respectivement sur  puis Dans le template viewtopic_body: Affichage/ Templates/ Général/ viewtopic_bodyRecherchez ceci ligne 52 environ: - Code:
-
<span class="nav"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}one" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" id="i_reply" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a> <!-- END switch_user_authreply --> </span>
Supprimez et remplacez par: - Code:
-
<span class="nav"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"id="M14_News_Post"alt="{L_POST_NEW_TOPIC}"title="{L_POST_NEW_TOPIC}"> Nouveau</a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"id="M14_i_reply"alt="{L_POST_REPLY_TOPIC}"title="{L_POST_REPLY_TOPIC}">Répondre</a> <!-- END switch_user_authreply --> </span>
Plus bas recherchez ceci ligne 439 environ: - Code:
-
<span class="nav"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"><img src="{POST_IMG}" id="{POST_IMG_ID}Newtopic" alt="{L_POST_NEW_TOPIC}" align="middle" border="0" /></a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" alt="{L_POST_REPLY_TOPIC}" align="middle" border="0" /></a> <!-- END switch_user_authreply --> </span>
Supprimez et remplacez par: - Code:
-
<span class="nav"> <!-- BEGIN switch_user_authpost --> <a href="{U_POST_NEW_TOPIC}" rel="nofollow"id="M14_News_Post"alt="{L_POST_NEW_TOPIC}"title="{L_POST_NEW_TOPIC}">Nouveau</a> <!-- END switch_user_authpost --> <!-- BEGIN switch_user_authreply --> <a href="{U_POST_REPLY_TOPIC}"id="M14_i_reply_bis"alt="{L_POST_REPLY_TOPIC}"title="{L_POST_REPLY_TOPIC}">Répondre</a> <!-- END switch_user_authreply --> </span>
Changez le texte "Nouveau " et "Répondre par le texte de votre choix Penses à enregistrer puis à valider en cliquant respectivement sur  puis
Dernière édition par Milouze14 le Lun 29 Nov 2021 - 7:20, édité 3 fois | |
|
 | |
Vayl
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Sam 29 Nov 2014 - 10:41 | |
| | |
|
 | |
tastet.roger
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Lun 1 Déc 2014 - 8:29 | |
| | |
|
 | |
Invité Invité

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Dim 7 Déc 2014 - 18:30 | |
| |
|
 | |
ThunderTB
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Lun 15 Déc 2014 - 21:29 | |
| | |
|
 | |
Invité Invité

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Ven 26 Déc 2014 - 20:57 | |
| |
|
 | |
Arya carpenter
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mar 30 Déc 2014 - 18:51 | |
| | |
|
 | |
Invité Invité

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Dim 4 Jan 2015 - 14:56 | |
| |
|
 | |
Mr.Paste
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Sam 10 Jan 2015 - 19:40 | |
| | |
|
 | |
patriciadpt30
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Dim 22 Fév 2015 - 10:01 | |
| | |
|
 | |
Eczema Help
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mer 25 Fév 2015 - 13:29 | |
| | |
|
 | |
Fantastik
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mer 15 Avr 2015 - 9:53 | |
| | |
|
 | |
Flaura
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Lun 27 Avr 2015 - 20:02 | |
| | |
|
 | |
K-Surf
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Jeu 29 Oct 2015 - 19:00 | |
| | |
|
 | |
damieng59
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Ven 13 Nov 2015 - 23:47 | |
| | |
|
 | |
Gypsy Water.
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Sam 14 Nov 2015 - 1:18 | |
| | |
|
 | |
Girly
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Jeu 19 Nov 2015 - 18:41 | |
| | |
|
 | |
delayster
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mer 2 Déc 2015 - 14:32 | |
| | |
|
 | |
fascicularia
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Lun 18 Jan 2016 - 15:52 | |
| Fonctionne à merveille :tatatff:Philippe. Merci pour cette astuce . | |
|
 | |
Invité Invité

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Dim 1 Mai 2016 - 18:31 | |
| |
|
 | |
Kaeyla
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Dim 16 Avr 2017 - 7:42 | |
| | |
|
 | |
petit coq
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Sam 22 Avr 2017 - 10:32 | |
| | |
|
 | |
Chocolatine
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mer 31 Mai 2017 - 13:37 | |
| | |
|
 | |
Chocolatine
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mer 21 Juin 2017 - 19:47 | |
| | |
|
 | |
One.
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Sam 28 Oct 2017 - 8:57 | |
| | |
|
 | |
silas88
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mar 2 Jan 2018 - 22:14 | |
| | |
|
 | |
Kaeyla
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Jeu 15 Fév 2018 - 21:01 | |
| | |
|
 | |
jayssame
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mer 11 Juil 2018 - 20:17 | |
| | |
|
 | |
JasRhodes
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Lun 17 Déc 2018 - 21:32 | |
| | |
|
 | |
Splash
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Lun 17 Déc 2018 - 22:17 | |
| | |
|
 | |
Lilas
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mar 18 Déc 2018 - 5:10 | |
| Ah, ben zut, m'avait échappé celui-là ! Merci Milouze  Comme cette astuce est un peu longuette, je vais la mettre en place à un autre moment. 1) Possible de choisir une police pour personnaliser davantage 2) une petite icône devant le texte ? Ah, les femmes !!! ![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte 8uvxum11](https://i.servimg.com/u/f90/09/01/99/67/8uvxum11.gif) | |
|
 | |
Ambroise
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Lun 28 Jan 2019 - 18:37 | |
| | |
|
 | |
soleda
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mer 30 Jan 2019 - 18:20 | |
| | |
|
 | |
fred9545
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mar 5 Fév 2019 - 17:46 | |
| | |
|
 | |
Kaeyla
Milouzien

![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Mar 5 Fév 2019 - 18:46 | |
| | |
|
 | |
Contenu sponsorisé
![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | Sujet: Re: [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte ![[PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte Empty](https://2img.net/i/empty.gif) | |
| |
|
 | |
| [PHPBB2] Changer les boutons Nouveau,Repondre et Verrouillé par du texte | |
|