<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[MyBB.support, le portail francophone de MyBB - Tutoriels]]></title>
		<link>http://mybb.fr/</link>
		<description><![CDATA[MyBB.support, le portail francophone de MyBB - http://mybb.fr]]></description>
		<pubDate>Mon, 06 Apr 2026 07:55:10 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Cacher le contenu des sections à la première connexion]]></title>
			<link>http://mybb.fr/thread-7896.html</link>
			<pubDate>Thu, 14 Nov 2019 13:04:51 -0500</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7896.html</guid>
			<description><![CDATA[Bonjour<br />
Est-ce possible de cacher par défaut le contenu des sections ?<br />
(je n'ai rien trouvé dans l'administration de mon forum)<br />
<br />
Par exemple, un visiteur qui vient ici sur ce forum verrait ça :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1687" target="_blank" title="">cachesection.png</a> (Taille : 129.76 Ko / Téléchargements : 6)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Bonjour<br />
Est-ce possible de cacher par défaut le contenu des sections ?<br />
(je n'ai rien trouvé dans l'administration de mon forum)<br />
<br />
Par exemple, un visiteur qui vient ici sur ce forum verrait ça :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1687" target="_blank" title="">cachesection.png</a> (Taille : 129.76 Ko / Téléchargements : 6)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Cacher un sujet...]]></title>
			<link>http://mybb.fr/thread-7880.html</link>
			<pubDate>Fri, 26 Apr 2019 15:49:22 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7880.html</guid>
			<description><![CDATA[Bonjour<br />
<br />
Est-il possible de "cacher" un sujet aux utilisateurs (sauf aux admins si possible)<br />
c'est-à-dire ne pas le rendre visible dans la liste des sujets, mais qu'il soit possible de voir à partir d'un lien d'un autre sujet..?<br />
(un sujet, pas un (sous)forum...)]]></description>
			<content:encoded><![CDATA[Bonjour<br />
<br />
Est-il possible de "cacher" un sujet aux utilisateurs (sauf aux admins si possible)<br />
c'est-à-dire ne pas le rendre visible dans la liste des sujets, mais qu'il soit possible de voir à partir d'un lien d'un autre sujet..?<br />
(un sujet, pas un (sous)forum...)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Comment ne pas ouvrir un lien dans un nouvel onglet..?]]></title>
			<link>http://mybb.fr/thread-7877.html</link>
			<pubDate>Tue, 23 Apr 2019 14:18:41 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7877.html</guid>
			<description><![CDATA[Bonjour<br />
<br />
<br />
Tout est dans le titre...<br />
<br />
Est-il possible de choisir si un lien cliquable (dans un post d'un forum MyBB)<br />
s'ouvre dans un nouvel onglet ou pas..?<br />
<br />
ou existe-t-il un plug-in pour cela//.<br />
<br />
Par avance merci]]></description>
			<content:encoded><![CDATA[Bonjour<br />
<br />
<br />
Tout est dans le titre...<br />
<br />
Est-il possible de choisir si un lien cliquable (dans un post d'un forum MyBB)<br />
s'ouvre dans un nouvel onglet ou pas..?<br />
<br />
ou existe-t-il un plug-in pour cela//.<br />
<br />
Par avance merci]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[Demande Tuto]  Catégorie ou sujet "Archives"]]></title>
			<link>http://mybb.fr/thread-7842.html</link>
			<pubDate>Sun, 05 Aug 2018 12:28:04 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7842.html</guid>
			<description><![CDATA[Bonjour,<br />
Je n'ai pas vu si la question avait déjà été faite.Je vois sur le forum que vous avez une Catégorie ou sujet "Archives". Comment cela fonctionne<br />
Merci]]></description>
			<content:encoded><![CDATA[Bonjour,<br />
Je n'ai pas vu si la question avait déjà été faite.Je vois sur le forum que vous avez une Catégorie ou sujet "Archives". Comment cela fonctionne<br />
Merci]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Faire des boutons de rang]]></title>
			<link>http://mybb.fr/thread-7752.html</link>
			<pubDate>Sun, 06 Aug 2017 05:44:46 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7752.html</guid>
			<description><![CDATA[[attachment=1647][attachment=1647][attachment=1647]Bonjour,<br />
Sur mon nouveau forum, j'ai trouvé un générateur d'images pour faire les rangs des membres.<br />
Voici l'adresse de ce site gratuit:<br />
<br />
<a href="http://dabuttonfactory.com/" target="_blank">http://dabuttonfactory.com/</a><br />
<br />
en fichier joint, quelques exemples que j'ai réalisé sur ce site<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1648" target="_blank" title="">button_admin.png</a> (Taille : 2.33 Ko / Téléchargements : 8)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1649" target="_blank" title="">button_modo.png</a> (Taille : 2.35 Ko / Téléchargements : 10)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1650" target="_blank" title="">button_vip.png</a> (Taille : 1.19 Ko / Téléchargements : 5)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1651" target="_blank" title="">button_nouvo.png</a> (Taille : 1.9 Ko / Téléchargements : 10)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[[attachment=1647][attachment=1647][attachment=1647]Bonjour,<br />
Sur mon nouveau forum, j'ai trouvé un générateur d'images pour faire les rangs des membres.<br />
Voici l'adresse de ce site gratuit:<br />
<br />
<a href="http://dabuttonfactory.com/" target="_blank">http://dabuttonfactory.com/</a><br />
<br />
en fichier joint, quelques exemples que j'ai réalisé sur ce site<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1648" target="_blank" title="">button_admin.png</a> (Taille : 2.33 Ko / Téléchargements : 8)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1649" target="_blank" title="">button_modo.png</a> (Taille : 2.35 Ko / Téléchargements : 10)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1650" target="_blank" title="">button_vip.png</a> (Taille : 1.19 Ko / Téléchargements : 5)
<!-- end: postbit_attachments_attachment --><br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1651" target="_blank" title="">button_nouvo.png</a> (Taille : 1.9 Ko / Téléchargements : 10)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Fonction away]]></title>
			<link>http://mybb.fr/thread-7549.html</link>
			<pubDate>Sat, 23 Apr 2016 05:04:20 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7549.html</guid>
			<description><![CDATA[Bonjour,<br />
Je cherche désespérément comment ajouter un champs permettant de définir une date de début d'absence avant la date de fin dans le profil utilisateur<br />
Existe-t-il un plugin ou des lignes a ajouter pour faire ceci ?<br />
<br />
<img src="http://www.cl-offline.fr/Capture.PNG" border="0" alt="[Image: Capture.PNG]" />]]></description>
			<content:encoded><![CDATA[Bonjour,<br />
Je cherche désespérément comment ajouter un champs permettant de définir une date de début d'absence avant la date de fin dans le profil utilisateur<br />
Existe-t-il un plugin ou des lignes a ajouter pour faire ceci ?<br />
<br />
<img src="http://www.cl-offline.fr/Capture.PNG" border="0" alt="[Image: Capture.PNG]" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Un bonnet de Noël sur l'avatar]]></title>
			<link>http://mybb.fr/thread-7474.html</link>
			<pubDate>Mon, 30 Nov 2015 11:15:38 -0500</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7474.html</guid>
			<description><![CDATA[Comme Noël approche, j'ai fait une petite modification pour mettre un bonnet de Noël sur tous les avatars des posteurs (dans la vue des fils).<br />
<br />
C'est plutôt simple à faire, mais j'ai bien tâtonné pour trouver exactement quoi faire, alors je vous diffuse ce petit tuto ici.<br />
<br />
<span style="font-weight: bold;">template:</span><br />
Il faut modifier le template <span style="font-style: italic;">postbit_avatar</span> pour ajouter un span avec la classe <span style="font-style: italic;">helper</span>.<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="author_avatar"&gt;&lt;span class="helper"&gt;&lt;/span&gt;&lt;a href="{&#36;post['profilelink_plain']}"&gt;&lt;img src="{&#36;useravatar['image']}" alt="" {&#36;useravatar['width_height']} /&gt;&lt;/a&gt;&lt;/div&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Feuille de style:</span><br />
J'ai créé (depuis l'interface MyBB) une css que j'ai appelée xmas.css. Elle fait une petite modification de author_avatar et la mise en page du span helper, en mode "classique" et en mode "normal":<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>div.author_avatar {<br />
   position: relative;<br />
   margin-top: 10px;<br />
}<br />
div.post.classic .helper {<br />
   right: 40px;<br />
   left: auto;<br />
}<br />
div.post .helper {<br />
   background: url("images/small_sh.png") no-repeat transparent;<br />
   display: block;<br />
   left: 35px;<br />
   right: auto;<br />
   top: -10px;<br />
   position: absolute;<br />
   z-index: 5;<br />
   width: 50px;<br />
   height: 55px;<br />
}</code></div></div>
Cette feuille de style doit obligatoirement être dans les dernières, pour ne pas être écrasée par les CSS normales de MyBB.<br />
- Les valeurs (en px) des différents réglages right et left sont à ajuster en fonction de l'image que vous désirez afficher.<br />
- Les valeurs de width et height sont celles de l'image.<br />
<br />
Voici l'image que j'ai utilisée : <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1586" target="_blank" title="">small_sh.png</a> (Taille : 3.57 Ko / Téléchargements : 61)
<!-- end: postbit_attachments_attachment --><br />
<br />
Pour le rendu, vous pouvez le voir sur <a href="http://ab-plugin.cc/Santa-hat-on-avatar-corners-or-whatever-you-want-t-22.html" target="_blank">http://ab-plugin.cc/Santa-hat-on-avatar-corners-or-whatever-you-want-t-22.html</a>]]></description>
			<content:encoded><![CDATA[Comme Noël approche, j'ai fait une petite modification pour mettre un bonnet de Noël sur tous les avatars des posteurs (dans la vue des fils).<br />
<br />
C'est plutôt simple à faire, mais j'ai bien tâtonné pour trouver exactement quoi faire, alors je vous diffuse ce petit tuto ici.<br />
<br />
<span style="font-weight: bold;">template:</span><br />
Il faut modifier le template <span style="font-style: italic;">postbit_avatar</span> pour ajouter un span avec la classe <span style="font-style: italic;">helper</span>.<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="author_avatar"&gt;&lt;span class="helper"&gt;&lt;/span&gt;&lt;a href="{&#36;post['profilelink_plain']}"&gt;&lt;img src="{&#36;useravatar['image']}" alt="" {&#36;useravatar['width_height']} /&gt;&lt;/a&gt;&lt;/div&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Feuille de style:</span><br />
J'ai créé (depuis l'interface MyBB) une css que j'ai appelée xmas.css. Elle fait une petite modification de author_avatar et la mise en page du span helper, en mode "classique" et en mode "normal":<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>div.author_avatar {<br />
   position: relative;<br />
   margin-top: 10px;<br />
}<br />
div.post.classic .helper {<br />
   right: 40px;<br />
   left: auto;<br />
}<br />
div.post .helper {<br />
   background: url("images/small_sh.png") no-repeat transparent;<br />
   display: block;<br />
   left: 35px;<br />
   right: auto;<br />
   top: -10px;<br />
   position: absolute;<br />
   z-index: 5;<br />
   width: 50px;<br />
   height: 55px;<br />
}</code></div></div>
Cette feuille de style doit obligatoirement être dans les dernières, pour ne pas être écrasée par les CSS normales de MyBB.<br />
- Les valeurs (en px) des différents réglages right et left sont à ajuster en fonction de l'image que vous désirez afficher.<br />
- Les valeurs de width et height sont celles de l'image.<br />
<br />
Voici l'image que j'ai utilisée : <!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1586" target="_blank" title="">small_sh.png</a> (Taille : 3.57 Ko / Téléchargements : 61)
<!-- end: postbit_attachments_attachment --><br />
<br />
Pour le rendu, vous pouvez le voir sur <a href="http://ab-plugin.cc/Santa-hat-on-avatar-corners-or-whatever-you-want-t-22.html" target="_blank">http://ab-plugin.cc/Santa-hat-on-avatar-corners-or-whatever-you-want-t-22.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[demande d'url et compte administrateur comme ici]]></title>
			<link>http://mybb.fr/thread-7178.html</link>
			<pubDate>Sat, 15 Nov 2014 08:18:57 -0500</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7178.html</guid>
			<description><![CDATA[Bonjour,<br />
<br />
je m'excuse par avance si mon sujet n'est pas au bon endroit <br />
<br />
me serait il possible d'avoir la méthode ou vous imposer l'url du forum un compte administrateur avec mot de passe vous voyez ce que vous avais mis dans support ? <br />
<br />
j'aimerais l’intégré à mon forum.<br />
<br />
d'avance merci ]]></description>
			<content:encoded><![CDATA[Bonjour,<br />
<br />
je m'excuse par avance si mon sujet n'est pas au bon endroit <br />
<br />
me serait il possible d'avoir la méthode ou vous imposer l'url du forum un compte administrateur avec mot de passe vous voyez ce que vous avais mis dans support ? <br />
<br />
j'aimerais l’intégré à mon forum.<br />
<br />
d'avance merci ]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Permettre aux utilisateurs de personnaliser leurs postbit]]></title>
			<link>http://mybb.fr/thread-7108.html</link>
			<pubDate>Tue, 07 Oct 2014 11:57:31 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7108.html</guid>
			<description><![CDATA[<span style="font-size: large;"><span style="font-weight: bold;">Permettre aux utilisateurs de personnaliser leurs postbit</span></span><br />
Dans ce tutoriel, je vais vous donner une astuce pour donner le droit aux utilisateurs de personnaliser leurs postbit très simplement : avec un champ de profil personnalisé.<br />
<br />
Comme d'habitude, voilà le rendu :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1450" target="_blank" title="">posbit_MYBBFR.PNG</a> (Taille : 154.6 Ko / Téléchargements : 84)
<!-- end: postbit_attachments_attachment --> <br />
<br />
Que j'ai réalisé à partir de cette image :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="JPEG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1451" target="_blank" title="">green_background_2-wallpaper-1600x1200.jpg</a> (Taille : 217.99 Ko / Téléchargements : 73)
<!-- end: postbit_attachments_attachment --><br />
<br />
Donc le but du tutoriel est comme je le disais de personnaliser le postbit des utilisateurs en utilisant un champ de profil personnalisé, le principe est simple : l'utilisateur entre l'url d'une image dans le champ de profil personnaliser, ensuite nous le récupérons dans le template "postbit" et nous le mettons comme fond.<br />
<br />
Premièrement, nous allons faire ce nouveau champ, rendez-vous dans votre <span style="font-weight: bold;">administration</span>, puis <span style="font-weight: bold;">configuration</span> et cliquez sur "<span style="font-weight: bold;">Champs de profil personnalisés</span>" dans le menu de gauche.<br />
<br />
Ajouter un nouveau champ de profil, entrez le nom et la description comme vous le souhaitez, sachez juste qu'ils seront utilisés dans la configuration des utilisateurs pour présenter le champ, voir la pièce jointe ci-dessous :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1452" target="_blank" title="">champ_MYBBFR.PNG</a> (Taille : 22.17 Ko / Téléchargements : 58)
<!-- end: postbit_attachments_attachment --><br />
<br />
Dans "Type de champ", vous avez le choix entre "Boîte texte" ou "Zone texte", la seule différence est qu'une "Zone texte" est un large champ sur plusieurs lignes, voir ci-dessous :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1453" target="_blank" title="">zone_MYBBFR.PNG</a> (Taille : 6.59 Ko / Téléchargements : 40)
<!-- end: postbit_attachments_attachment --><br />
<br />
Pour le reste des options, je vous conseillerais de mettre les mêmes que moi (mais ce n'est absolument pas obligatoire) :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1454" target="_blank" title="">options_MYBBFR.PNG</a> (Taille : 82.45 Ko / Téléchargements : 51)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">Le champ se modifie dans l'onglet "modifier le profil" du panel de configuration des membres.</span><br />
<hr />
<br />
Deuxième partie, l'intégration dans les templates, beaucoup plus rapide : <br />
Une fois votre champ enregistré, passez la souris dessus ou cliquez sur "éditer le champ" et regardez bien l'url de la page :<br />
http://xxx/index.php?module=config-profile_fields&amp;action=edit&amp;<span style="font-weight: bold;">fid=4</span><br />
<br />
Retenez bien la valeur de "fid" (ici, 4).<br />
Maintenant, ouvrez votre template "<span style="font-weight: bold;">postbit</span>" et cherchez la partie suivante :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['useravatar']}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="author_information"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;strong&gt;&lt;span class="largetext"&gt;{&#36;post['profilelink']}&lt;/span&gt;&lt;/strong&gt; {&#36;post['onlinestatus']}&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span class="smalltext"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['usertitle']}&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['userstars']}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['groupimage']}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/span&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="author_statistics"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['user_details']}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&lt;/div&gt;</code></div></div>
<br />
Nous allons nous intéresser à cette ligne :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author"&gt;</code></div></div>
<br />
Remplacez la par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author" style="background: url({&#36;post['fid4']})"&gt;</code></div></div>
<br />
Le "4" est à remplacer par le numéro du champ de profil.<br />
<br />
Pour les utilisateurs de postbit à gauche (classique) : vous devez vous rendre dans le template "postbit_classic" et cherchez cette ligne :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author scaleimages"&gt;</code></div></div>
<br />
Remplacez la par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author scaleimages"&nbsp;&nbsp;style="background: url({&#36;post['fid4']})"&gt;</code></div></div>
]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;"><span style="font-weight: bold;">Permettre aux utilisateurs de personnaliser leurs postbit</span></span><br />
Dans ce tutoriel, je vais vous donner une astuce pour donner le droit aux utilisateurs de personnaliser leurs postbit très simplement : avec un champ de profil personnalisé.<br />
<br />
Comme d'habitude, voilà le rendu :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1450" target="_blank" title="">posbit_MYBBFR.PNG</a> (Taille : 154.6 Ko / Téléchargements : 84)
<!-- end: postbit_attachments_attachment --> <br />
<br />
Que j'ai réalisé à partir de cette image :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="JPEG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1451" target="_blank" title="">green_background_2-wallpaper-1600x1200.jpg</a> (Taille : 217.99 Ko / Téléchargements : 73)
<!-- end: postbit_attachments_attachment --><br />
<br />
Donc le but du tutoriel est comme je le disais de personnaliser le postbit des utilisateurs en utilisant un champ de profil personnalisé, le principe est simple : l'utilisateur entre l'url d'une image dans le champ de profil personnaliser, ensuite nous le récupérons dans le template "postbit" et nous le mettons comme fond.<br />
<br />
Premièrement, nous allons faire ce nouveau champ, rendez-vous dans votre <span style="font-weight: bold;">administration</span>, puis <span style="font-weight: bold;">configuration</span> et cliquez sur "<span style="font-weight: bold;">Champs de profil personnalisés</span>" dans le menu de gauche.<br />
<br />
Ajouter un nouveau champ de profil, entrez le nom et la description comme vous le souhaitez, sachez juste qu'ils seront utilisés dans la configuration des utilisateurs pour présenter le champ, voir la pièce jointe ci-dessous :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1452" target="_blank" title="">champ_MYBBFR.PNG</a> (Taille : 22.17 Ko / Téléchargements : 58)
<!-- end: postbit_attachments_attachment --><br />
<br />
Dans "Type de champ", vous avez le choix entre "Boîte texte" ou "Zone texte", la seule différence est qu'une "Zone texte" est un large champ sur plusieurs lignes, voir ci-dessous :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1453" target="_blank" title="">zone_MYBBFR.PNG</a> (Taille : 6.59 Ko / Téléchargements : 40)
<!-- end: postbit_attachments_attachment --><br />
<br />
Pour le reste des options, je vous conseillerais de mettre les mêmes que moi (mais ce n'est absolument pas obligatoire) :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1454" target="_blank" title="">options_MYBBFR.PNG</a> (Taille : 82.45 Ko / Téléchargements : 51)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">Le champ se modifie dans l'onglet "modifier le profil" du panel de configuration des membres.</span><br />
<hr />
<br />
Deuxième partie, l'intégration dans les templates, beaucoup plus rapide : <br />
Une fois votre champ enregistré, passez la souris dessus ou cliquez sur "éditer le champ" et regardez bien l'url de la page :<br />
http://xxx/index.php?module=config-profile_fields&amp;action=edit&amp;<span style="font-weight: bold;">fid=4</span><br />
<br />
Retenez bien la valeur de "fid" (ici, 4).<br />
Maintenant, ouvrez votre template "<span style="font-weight: bold;">postbit</span>" et cherchez la partie suivante :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['useravatar']}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="author_information"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;strong&gt;&lt;span class="largetext"&gt;{&#36;post['profilelink']}&lt;/span&gt;&lt;/strong&gt; {&#36;post['onlinestatus']}&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;span class="smalltext"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['usertitle']}&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['userstars']}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['groupimage']}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/span&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;div class="author_statistics"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;post['user_details']}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&lt;/div&gt;</code></div></div>
<br />
Nous allons nous intéresser à cette ligne :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author"&gt;</code></div></div>
<br />
Remplacez la par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author" style="background: url({&#36;post['fid4']})"&gt;</code></div></div>
<br />
Le "4" est à remplacer par le numéro du champ de profil.<br />
<br />
Pour les utilisateurs de postbit à gauche (classique) : vous devez vous rendre dans le template "postbit_classic" et cherchez cette ligne :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author scaleimages"&gt;</code></div></div>
<br />
Remplacez la par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="post_author scaleimages"&nbsp;&nbsp;style="background: url({&#36;post['fid4']})"&gt;</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Insérer des nouvelles pages à MyBB, sans plugin]]></title>
			<link>http://mybb.fr/thread-7106.html</link>
			<pubDate>Mon, 06 Oct 2014 15:56:39 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7106.html</guid>
			<description><![CDATA[<span style="font-size: large;"><span style="font-weight: bold;">Insérer des nouvelles pages à MyBB, sans plugin</span></span><br />
Tout d'abord, je tiens à préciser une chose :<br />
<span style="font-weight: bold;">Ce tutoriel n'est pas du tout exclusif, vous pouvez retrouver plusieurs "versions" de ce tutoriel sur la version anglophone de MyBB (MyBB.com)</span><br />
<br />
En ce qui concerne les versions françaises, je n'en est trouvé qu'une seule sur MyBB.fr, qui date de 2009, si vous voulez vous amuser à comparer les deux scripts, c'est ici : <a href="http://mybb.fr/thread-1782.html" target="_blank">http://mybb.fr/thread-1782.html</a><br />
<hr />
<br />
1. Nous commençons par créer une nouvelle page : <span style="font-weight: bold;">"ma_page</span><span style="color: #FF0000;"><span style="font-style: italic;">.php</span></span>"<br />
<br />
Dans cette page, insérez ce code :<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php&nbsp;<br />define</span><span style="color: #007700">(</span><span style="color: #DD0000">'IN_MYBB'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);&nbsp;require&nbsp;</span><span style="color: #DD0000">"./global.php"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">add_breadcrumb</span><span style="color: #007700">(</span><span style="color: #DD0000">"Titre&nbsp;de&nbsp;la&nbsp;page"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"ma_page.php"</span><span style="color: #007700">);&nbsp;<br />eval(</span><span style="color: #DD0000">"&#092;&#36;html&nbsp;=&nbsp;&#092;""</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;templates</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">"mon_template"</span><span style="color: #007700">).</span><span style="color: #DD0000">"&#092;";"</span><span style="color: #007700">);&nbsp;<br /></span><span style="color: #0000BB">output_page</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;html</span><span style="color: #007700">);&nbsp;<br /></span></code></div></div></div>
<br />
----- Description -----<br />
"./global.php" -&gt; Signifie que le fichier "ma_page.php" est dans le même dossier que "global.php"<br />
<br />
"Titre de la page", "ma_page.php" -&gt; à modifier selon comment vous souhaitez/avez nommé votre page<br />
<br />
&#36;templates-&gt;get("mon_template") -&gt; c'est le template qui sera utilisé (parti juste en dessous)<br />
<br />
<span style="font-weight: bold;">Maintenant que c'est fait</span>, allez sur votre forum et ouvrez votre panel d'administration, allez dans <span style="font-weight: bold;">templates et style / templates / votre_theme</span> et ajoutez un nouveau template.<br />
<br />
Moi, je dois nommer mon template "mon_template", à cause de mon script :<br />
 "<span style="font-weight: bold;">&#36;templates-&gt;get("mon_template")</span>"<br />
<br />
Remplissez le template, enregistrez le, ensuite ouvrez "ma_page.php" et voilà ! Votre nouvelle page est faite. <br />
<br />
<span style="font-style: italic;">Notez que par défaut, les nouveaux templates enregistrés sont inscrits dans "templates dissociés".</span><br />
<br />
- Édition du sujet : Pour que les éléments du forum sois visible sur la page, vous devez inclure les mêmes variables que les pages de MyBB, c'est à dire, dans votre template, vous devez utiliser cette structure :<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">&lt;</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">head</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">title</span><span style="color: #007700">&gt;{</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'bbname'</span><span style="color: #007700">]}&lt;/</span><span style="color: #0000BB">title</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;{</span><span style="color: #0000BB">&#36;headerinclude</span><span style="color: #007700">}<br />&lt;/</span><span style="color: #0000BB">head</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;{</span><span style="color: #0000BB">&#36;header</span><span style="color: #007700">}<br /></span><span style="color: #FF8000">/*&nbsp;Contenu&nbsp;de&nbsp;votre&nbsp;page&nbsp;ici&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{</span><span style="color: #0000BB">&#36;footer</span><span style="color: #007700">}<br />&lt;/</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;&nbsp;<br /></span></code></div></div></div>
<br />
Merci à <span style="font-weight: bold;">Nitrome</span> pour ce rappel.<br />
]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;"><span style="font-weight: bold;">Insérer des nouvelles pages à MyBB, sans plugin</span></span><br />
Tout d'abord, je tiens à préciser une chose :<br />
<span style="font-weight: bold;">Ce tutoriel n'est pas du tout exclusif, vous pouvez retrouver plusieurs "versions" de ce tutoriel sur la version anglophone de MyBB (MyBB.com)</span><br />
<br />
En ce qui concerne les versions françaises, je n'en est trouvé qu'une seule sur MyBB.fr, qui date de 2009, si vous voulez vous amuser à comparer les deux scripts, c'est ici : <a href="http://mybb.fr/thread-1782.html" target="_blank">http://mybb.fr/thread-1782.html</a><br />
<hr />
<br />
1. Nous commençons par créer une nouvelle page : <span style="font-weight: bold;">"ma_page</span><span style="color: #FF0000;"><span style="font-style: italic;">.php</span></span>"<br />
<br />
Dans cette page, insérez ce code :<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php&nbsp;<br />define</span><span style="color: #007700">(</span><span style="color: #DD0000">'IN_MYBB'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);&nbsp;require&nbsp;</span><span style="color: #DD0000">"./global.php"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">add_breadcrumb</span><span style="color: #007700">(</span><span style="color: #DD0000">"Titre&nbsp;de&nbsp;la&nbsp;page"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"ma_page.php"</span><span style="color: #007700">);&nbsp;<br />eval(</span><span style="color: #DD0000">"&#092;&#36;html&nbsp;=&nbsp;&#092;""</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;templates</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">"mon_template"</span><span style="color: #007700">).</span><span style="color: #DD0000">"&#092;";"</span><span style="color: #007700">);&nbsp;<br /></span><span style="color: #0000BB">output_page</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;html</span><span style="color: #007700">);&nbsp;<br /></span></code></div></div></div>
<br />
----- Description -----<br />
"./global.php" -&gt; Signifie que le fichier "ma_page.php" est dans le même dossier que "global.php"<br />
<br />
"Titre de la page", "ma_page.php" -&gt; à modifier selon comment vous souhaitez/avez nommé votre page<br />
<br />
&#36;templates-&gt;get("mon_template") -&gt; c'est le template qui sera utilisé (parti juste en dessous)<br />
<br />
<span style="font-weight: bold;">Maintenant que c'est fait</span>, allez sur votre forum et ouvrez votre panel d'administration, allez dans <span style="font-weight: bold;">templates et style / templates / votre_theme</span> et ajoutez un nouveau template.<br />
<br />
Moi, je dois nommer mon template "mon_template", à cause de mon script :<br />
 "<span style="font-weight: bold;">&#36;templates-&gt;get("mon_template")</span>"<br />
<br />
Remplissez le template, enregistrez le, ensuite ouvrez "ma_page.php" et voilà ! Votre nouvelle page est faite. <br />
<br />
<span style="font-style: italic;">Notez que par défaut, les nouveaux templates enregistrés sont inscrits dans "templates dissociés".</span><br />
<br />
- Édition du sujet : Pour que les éléments du forum sois visible sur la page, vous devez inclure les mêmes variables que les pages de MyBB, c'est à dire, dans votre template, vous devez utiliser cette structure :<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">&lt;</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">head</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">title</span><span style="color: #007700">&gt;{</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">settings</span><span style="color: #007700">[</span><span style="color: #DD0000">'bbname'</span><span style="color: #007700">]}&lt;/</span><span style="color: #0000BB">title</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;{</span><span style="color: #0000BB">&#36;headerinclude</span><span style="color: #007700">}<br />&lt;/</span><span style="color: #0000BB">head</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;{</span><span style="color: #0000BB">&#36;header</span><span style="color: #007700">}<br /></span><span style="color: #FF8000">/*&nbsp;Contenu&nbsp;de&nbsp;votre&nbsp;page&nbsp;ici&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">{</span><span style="color: #0000BB">&#36;footer</span><span style="color: #007700">}<br />&lt;/</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;&nbsp;<br /></span></code></div></div></div>
<br />
Merci à <span style="font-weight: bold;">Nitrome</span> pour ce rappel.<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Ajouter un message au dessus des sujets]]></title>
			<link>http://mybb.fr/thread-7095.html</link>
			<pubDate>Sun, 05 Oct 2014 05:20:51 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7095.html</guid>
			<description><![CDATA[<span style="font-weight: bold;"><span style="font-size: large;">Ajouter un message au dessus des sujets</span></span><br />
Salut à tous, aujourd'hui je vais vous apprendre à afficher un message au dessus d'un sujet, mais seulement pour les sujets que vous voulez. <br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1442" target="_blank" title="">s_1.PNG</a> (Taille : 46.03 Ko / Téléchargements : 58)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1443" target="_blank" title="">s_2.PNG</a> (Taille : 41.97 Ko / Téléchargements : 63)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">Un exemple d'utilisation :</span> Je présente un sujet important sur mon forum, ou je fait la démonstration d'un nouveau plugin : j'affiche un message au dessus (que vous présenterez comme vous le voulez).<br />
<br />
Tout d'abord, téléchargez ce plugin, c'est un plugin pour mettre du PHP simplifié dans les templates : <a href="http://mybbhacks.zingaburga.com/showthread.php?tid=260" target="_blank">http://mybbhacks.zingaburga.com/showthread.php?tid=260</a> (<span style="text-decoration: underline;">fonctionne avec la version 1.8 de MyBB</span>)<br />
<br />
Maintenant, ouvrez vos templates comme ça :<br />
<span style="font-weight: bold;">Templates et Style &gt; Templates &gt; Votre thème</span><br />
<br />
Cliquez en haut sur "Ajouter un groupe", nommez le comme vous le souhaitez. Personnellement je vais utiliser : <br />
<span style="font-weight: bold;">Préfixe du groupe de templates</span> : gmodes<br />
<span style="font-weight: bold;">Titre du groupe de templates</span> : thread_gmodes<br />
<br />
Ensuite, cherchez le template "<span style="font-weight: bold;">showthread</span>" et remplacez :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="float_right"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;newreply}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;{&#36;ratethread}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;table border="0" cellspacing="{&#36;theme['borderwidth']}" cellpadding="{&#36;theme['tablespace']}" class="tborder tfixed clear"&gt;</code></div></div>
<br />
Par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="float_right"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;newreply}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;{&#36;ratethread}<br />
&nbsp;&nbsp; &lt;template gmodes&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;table border="0" cellspacing="{&#36;theme['borderwidth']}" cellpadding="{&#36;theme['tablespace']}" class="tborder tfixed clear"&gt;</code></div></div>
<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">Attention :</span></span> <div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;template gmodes&gt;</code></div></div>
 est à changer si vous n'utilisez pas la même structure que moi.<br />
<br />
Maintenant, allez dans votre groupe de template que vous venez de créer et ajouter un template du même nom que votre préfixe. Souvenez-vous :<br />
<blockquote><cite>Citation :</cite><span style="font-weight: bold;">Préfixe du groupe de templates</span> : gmodes</blockquote>
<br />
Pour moi, ce sera gmodes, si c'est différent chez vous, vous devez remplacer dans showthread :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;template gmodes&gt;</code></div></div>
 <br />
par <div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;template nom du template&gt;</code></div></div>
<br />
Dans le template "gmodes", on va définir les messages à afficher pour quels sujets :<br />
Par exemple, pour le sujet avec l'id "11", nous allons faire comme ça :<br />
<span style="font-weight: bold;"><div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;if &#36;tid == 11 then&gt;&lt;template gmodes_message&gt;&lt;/if&gt;</code></div></div>
</span> (l'id se récupère avec l'url du sujet) : <span style="font-weight: bold;">showthread.php?tid=ID DU SUJET</span><br />
<br />
Donc maintenant, nous allons créer un template nommé "gmodes_message" (Gmodes = Votre préfixe). Ensuite, entrez ce que vous voulez (vous pouvez utiliser le HTML) et enregistrez. <br />
<br />
Voilà, c'est terminé !<br />
<br />
Pour le futur, si vous voulez personnaliser d'autres sujets, rien de plus simple, dans votre template qui correspond à gmodes pour moi ajoutez une ligne :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;if &#36;tid == ID SU SUJET then&gt;&lt;template VOTRE PREFIXE_TEMPLATE POUR CE SUJET&gt;&lt;/if&gt;</code></div></div>
<br />
Ensuite, faites un nouveau template : <span style="font-weight: bold;">prefixe</span>_<span style="font-style: italic;">NOM</span>.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;"><span style="font-size: large;">Ajouter un message au dessus des sujets</span></span><br />
Salut à tous, aujourd'hui je vais vous apprendre à afficher un message au dessus d'un sujet, mais seulement pour les sujets que vous voulez. <br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1442" target="_blank" title="">s_1.PNG</a> (Taille : 46.03 Ko / Téléchargements : 58)
<!-- end: postbit_attachments_attachment --><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1443" target="_blank" title="">s_2.PNG</a> (Taille : 41.97 Ko / Téléchargements : 63)
<!-- end: postbit_attachments_attachment --><br />
<br />
<span style="font-weight: bold;">Un exemple d'utilisation :</span> Je présente un sujet important sur mon forum, ou je fait la démonstration d'un nouveau plugin : j'affiche un message au dessus (que vous présenterez comme vous le voulez).<br />
<br />
Tout d'abord, téléchargez ce plugin, c'est un plugin pour mettre du PHP simplifié dans les templates : <a href="http://mybbhacks.zingaburga.com/showthread.php?tid=260" target="_blank">http://mybbhacks.zingaburga.com/showthread.php?tid=260</a> (<span style="text-decoration: underline;">fonctionne avec la version 1.8 de MyBB</span>)<br />
<br />
Maintenant, ouvrez vos templates comme ça :<br />
<span style="font-weight: bold;">Templates et Style &gt; Templates &gt; Votre thème</span><br />
<br />
Cliquez en haut sur "Ajouter un groupe", nommez le comme vous le souhaitez. Personnellement je vais utiliser : <br />
<span style="font-weight: bold;">Préfixe du groupe de templates</span> : gmodes<br />
<span style="font-weight: bold;">Titre du groupe de templates</span> : thread_gmodes<br />
<br />
Ensuite, cherchez le template "<span style="font-weight: bold;">showthread</span>" et remplacez :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="float_right"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;newreply}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;{&#36;ratethread}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;table border="0" cellspacing="{&#36;theme['borderwidth']}" cellpadding="{&#36;theme['tablespace']}" class="tborder tfixed clear"&gt;</code></div></div>
<br />
Par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="float_right"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&#36;newreply}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/div&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;{&#36;ratethread}<br />
&nbsp;&nbsp; &lt;template gmodes&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;table border="0" cellspacing="{&#36;theme['borderwidth']}" cellpadding="{&#36;theme['tablespace']}" class="tborder tfixed clear"&gt;</code></div></div>
<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">Attention :</span></span> <div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;template gmodes&gt;</code></div></div>
 est à changer si vous n'utilisez pas la même structure que moi.<br />
<br />
Maintenant, allez dans votre groupe de template que vous venez de créer et ajouter un template du même nom que votre préfixe. Souvenez-vous :<br />
<blockquote><cite>Citation :</cite><span style="font-weight: bold;">Préfixe du groupe de templates</span> : gmodes</blockquote>
<br />
Pour moi, ce sera gmodes, si c'est différent chez vous, vous devez remplacer dans showthread :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;template gmodes&gt;</code></div></div>
 <br />
par <div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;template nom du template&gt;</code></div></div>
<br />
Dans le template "gmodes", on va définir les messages à afficher pour quels sujets :<br />
Par exemple, pour le sujet avec l'id "11", nous allons faire comme ça :<br />
<span style="font-weight: bold;"><div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;if &#36;tid == 11 then&gt;&lt;template gmodes_message&gt;&lt;/if&gt;</code></div></div>
</span> (l'id se récupère avec l'url du sujet) : <span style="font-weight: bold;">showthread.php?tid=ID DU SUJET</span><br />
<br />
Donc maintenant, nous allons créer un template nommé "gmodes_message" (Gmodes = Votre préfixe). Ensuite, entrez ce que vous voulez (vous pouvez utiliser le HTML) et enregistrez. <br />
<br />
Voilà, c'est terminé !<br />
<br />
Pour le futur, si vous voulez personnaliser d'autres sujets, rien de plus simple, dans votre template qui correspond à gmodes pour moi ajoutez une ligne :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;if &#36;tid == ID SU SUJET then&gt;&lt;template VOTRE PREFIXE_TEMPLATE POUR CE SUJET&gt;&lt;/if&gt;</code></div></div>
<br />
Ensuite, faites un nouveau template : <span style="font-weight: bold;">prefixe</span>_<span style="font-style: italic;">NOM</span>.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Bouton des statuts différents pour chaque forum]]></title>
			<link>http://mybb.fr/thread-7090.html</link>
			<pubDate>Sat, 04 Oct 2014 03:16:01 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7090.html</guid>
			<description><![CDATA[<span style="font-size: large;">Bouton de statut des forums différente pour chaque forum</span><br />
Le titre est sûrement un peu flou, je m'en excuse je n'ai pas trouvé de titre qui résume ce que je vais dire en une petite phrase. Bref !<br />
<br />
Le résultat final, le voici :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1436" target="_blank" title="">section_img.PNG</a> (Taille : 11.15 Ko / Téléchargements : 82)
<!-- end: postbit_attachments_attachment --><br />
<br />
Le tutoriel vise à pouvoir mettre une image par section (comme pas mal de tutoriels existants), mais sans faire deux colonnes (pas très jolie) et sans complètement gâcher le plaisir de savoir où sont les nouveaux messages.<br />
<br />
C'est très simple : pour ça nous allons utiliser le même icône que les sous-forums, un icône "mini" à gauche des noms des forums.<br />
<br />
Ouvrez le template <span style="font-weight: bold;">forumbit_depth2_forum</span>, dans ce template vous avez ça normalement (thème par défaut) :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;tr&gt;<br />
&lt;td class="{&#36;bgcolor}" align="center" valign="top" width="1"&gt;&lt;span class="forum_status forum_{&#36;lightbulb['folder']} ajax_mark_read" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;/span&gt;&lt;/td&gt;<br />
&lt;td class="{&#36;bgcolor}" valign="top"&gt;<br />
&lt;strong&gt;&lt;a href="{&#36;forum_url}"&gt;{&#36;forum['name']}&lt;/a&gt;&lt;/strong&gt;{&#36;forum_viewers_text}&lt;div class="smalltext"&gt;{&#36;forum['description']}{&#36;modlist}{&#36;subforums}&lt;/div&gt;<br />
&lt;/td&gt;<br />
&lt;td class="{&#36;bgcolor}" valign="top" align="center" style="white-space: nowrap"&gt;{&#36;threads}{&#36;unapproved['unapproved_threads']}&lt;/td&gt;<br />
&lt;td class="{&#36;bgcolor}" valign="top" align="center" style="white-space: nowrap"&gt;{&#36;posts}{&#36;unapproved['unapproved_posts']}&lt;/td&gt;<br />
&lt;td class="{&#36;bgcolor}" valign="top" align="right" style="white-space: nowrap"&gt;{&#36;lastpost}&lt;/td&gt;<br />
&lt;/tr&gt;</code></div></div>
<br />
Cherchez : <br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td class="{&#36;bgcolor}" align="center" valign="top" width="1"&gt;&lt;span class="forum_status forum_{&#36;lightbulb['folder']} ajax_mark_read" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;/span&gt;&lt;/td&gt;</code></div></div>
<br />
Et remplacez par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td class="{&#36;bgcolor}" align="center" valign="top" width="1"&gt;&lt;img src="./images/categorie/c_{&#36;forum['fid']}.png"&gt;&lt;/td&gt;</code></div></div>
<br />
<span style="font-size: medium;">Pour ajouter une image à une catégorie, faites un dossier "<span style="font-weight: bold;">categorie</span>" dans le dossier "<span style="font-weight: bold;">images</span>", puis ajoutez les images comme ceci : <span style="font-weight: bold;">c_<span style="font-style: italic;">id catégorie</span>.png</span></span><br />
<br />
Ensuite, cherchez :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;strong&gt;&lt;a href="{&#36;forum_url}"&gt;{&#36;forum['name']}&lt;/a&gt;&lt;/strong&gt;</code></div></div>
<br />
Ajoutez juste devant le &lt;strong&gt; ce bout de code :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;span class="subforumicon subforum_mini{&#36;lightbulb['folder']} ajax_mark_read" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;/span&gt;</code></div></div>
<br />
Enregistrez, et c'est terminé !]]></description>
			<content:encoded><![CDATA[<span style="font-size: large;">Bouton de statut des forums différente pour chaque forum</span><br />
Le titre est sûrement un peu flou, je m'en excuse je n'ai pas trouvé de titre qui résume ce que je vais dire en une petite phrase. Bref !<br />
<br />
Le résultat final, le voici :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1436" target="_blank" title="">section_img.PNG</a> (Taille : 11.15 Ko / Téléchargements : 82)
<!-- end: postbit_attachments_attachment --><br />
<br />
Le tutoriel vise à pouvoir mettre une image par section (comme pas mal de tutoriels existants), mais sans faire deux colonnes (pas très jolie) et sans complètement gâcher le plaisir de savoir où sont les nouveaux messages.<br />
<br />
C'est très simple : pour ça nous allons utiliser le même icône que les sous-forums, un icône "mini" à gauche des noms des forums.<br />
<br />
Ouvrez le template <span style="font-weight: bold;">forumbit_depth2_forum</span>, dans ce template vous avez ça normalement (thème par défaut) :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;tr&gt;<br />
&lt;td class="{&#36;bgcolor}" align="center" valign="top" width="1"&gt;&lt;span class="forum_status forum_{&#36;lightbulb['folder']} ajax_mark_read" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;/span&gt;&lt;/td&gt;<br />
&lt;td class="{&#36;bgcolor}" valign="top"&gt;<br />
&lt;strong&gt;&lt;a href="{&#36;forum_url}"&gt;{&#36;forum['name']}&lt;/a&gt;&lt;/strong&gt;{&#36;forum_viewers_text}&lt;div class="smalltext"&gt;{&#36;forum['description']}{&#36;modlist}{&#36;subforums}&lt;/div&gt;<br />
&lt;/td&gt;<br />
&lt;td class="{&#36;bgcolor}" valign="top" align="center" style="white-space: nowrap"&gt;{&#36;threads}{&#36;unapproved['unapproved_threads']}&lt;/td&gt;<br />
&lt;td class="{&#36;bgcolor}" valign="top" align="center" style="white-space: nowrap"&gt;{&#36;posts}{&#36;unapproved['unapproved_posts']}&lt;/td&gt;<br />
&lt;td class="{&#36;bgcolor}" valign="top" align="right" style="white-space: nowrap"&gt;{&#36;lastpost}&lt;/td&gt;<br />
&lt;/tr&gt;</code></div></div>
<br />
Cherchez : <br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td class="{&#36;bgcolor}" align="center" valign="top" width="1"&gt;&lt;span class="forum_status forum_{&#36;lightbulb['folder']} ajax_mark_read" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;/span&gt;&lt;/td&gt;</code></div></div>
<br />
Et remplacez par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td class="{&#36;bgcolor}" align="center" valign="top" width="1"&gt;&lt;img src="./images/categorie/c_{&#36;forum['fid']}.png"&gt;&lt;/td&gt;</code></div></div>
<br />
<span style="font-size: medium;">Pour ajouter une image à une catégorie, faites un dossier "<span style="font-weight: bold;">categorie</span>" dans le dossier "<span style="font-weight: bold;">images</span>", puis ajoutez les images comme ceci : <span style="font-weight: bold;">c_<span style="font-style: italic;">id catégorie</span>.png</span></span><br />
<br />
Ensuite, cherchez :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;strong&gt;&lt;a href="{&#36;forum_url}"&gt;{&#36;forum['name']}&lt;/a&gt;&lt;/strong&gt;</code></div></div>
<br />
Ajoutez juste devant le &lt;strong&gt; ce bout de code :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;span class="subforumicon subforum_mini{&#36;lightbulb['folder']} ajax_mark_read" title="{&#36;lightbulb['altonoff']}" id="mark_read_{&#36;forum['fid']}"&gt;&lt;/span&gt;</code></div></div>
<br />
Enregistrez, et c'est terminé !]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mettre la date de votre forum en français]]></title>
			<link>http://mybb.fr/thread-7083.html</link>
			<pubDate>Mon, 29 Sep 2014 03:18:48 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7083.html</guid>
			<description><![CDATA[Bonjour / bonsoir <br />
<br />
si vous êtes comme moi et que vous chercher comment mettre la date de votre forum en français rassurez-vous je vous donne ici la solution. <br />
<br />
<br />
pour cela connectez-vous à votre serveur par ftp ou sftp au choix <img src="http://mybb.fr/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /> <br />
<br />
puis chercher le fichier global.php<br />
<br />
chercher le texte<br />
<br />
<blockquote><cite>Citation :</cite>&#36;datenow = my_date(&#36;mybb-&gt;settings['dateformat'], TIME_NOW, '', false); </blockquote>
<br />
remplacer le par <br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>//&#36;datenow = my_date(&#36;mybb-&gt;settings['dateformat'], TIME_NOW, '', false);<br />
&#36;wtage = array("Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche");<br />
&#36;wochentag = &#36;wtage[date("w", TIME_NOW)];<br />
&#36;datenow = &#36;wochentag.", ".my_date(&#36;mybb-&gt;settings['dateformat'], TIME_NOW, '', false);</code></div></div>
<br />
<br />
et ensuite rendez-vous dans votre panneau d'utilisateur &gt; option d'édition &gt; format de date mettre par défaut<br />
<br />
ensuite allez dans votre Panneau d'administration &gt; Configuration &gt; paramètre  &gt; Formats de date et d'heure<br />
<br />
format de la date <br />
<br />
j.F Y<br />
<br />
puis validez <br />
<br />
et voila si vous avez des question n'hésiter pas <br />
<br />
Merci à mattias pour cette aide ici <a href="http://community.mybb.com/thread-116450.html" target="_blank">http://community.mybb.com/thread-116450.html</a>]]></description>
			<content:encoded><![CDATA[Bonjour / bonsoir <br />
<br />
si vous êtes comme moi et que vous chercher comment mettre la date de votre forum en français rassurez-vous je vous donne ici la solution. <br />
<br />
<br />
pour cela connectez-vous à votre serveur par ftp ou sftp au choix <img src="http://mybb.fr/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /> <br />
<br />
puis chercher le fichier global.php<br />
<br />
chercher le texte<br />
<br />
<blockquote><cite>Citation :</cite>&#36;datenow = my_date(&#36;mybb-&gt;settings['dateformat'], TIME_NOW, '', false); </blockquote>
<br />
remplacer le par <br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>//&#36;datenow = my_date(&#36;mybb-&gt;settings['dateformat'], TIME_NOW, '', false);<br />
&#36;wtage = array("Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi","Dimanche");<br />
&#36;wochentag = &#36;wtage[date("w", TIME_NOW)];<br />
&#36;datenow = &#36;wochentag.", ".my_date(&#36;mybb-&gt;settings['dateformat'], TIME_NOW, '', false);</code></div></div>
<br />
<br />
et ensuite rendez-vous dans votre panneau d'utilisateur &gt; option d'édition &gt; format de date mettre par défaut<br />
<br />
ensuite allez dans votre Panneau d'administration &gt; Configuration &gt; paramètre  &gt; Formats de date et d'heure<br />
<br />
format de la date <br />
<br />
j.F Y<br />
<br />
puis validez <br />
<br />
et voila si vous avez des question n'hésiter pas <br />
<br />
Merci à mattias pour cette aide ici <a href="http://community.mybb.com/thread-116450.html" target="_blank">http://community.mybb.com/thread-116450.html</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Statistiques, barre de droite]]></title>
			<link>http://mybb.fr/thread-7082.html</link>
			<pubDate>Sun, 28 Sep 2014 14:29:47 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7082.html</guid>
			<description><![CDATA[<span style="font-weight: bold;"><span style="font-size: large;">Statistiques, barre de droite</span></span><br />
Vous voyez souvent dans les forums qui utilisent vBulletin ou IPB des barres de statistiques à droite ou en bas, regroupant le nombre de sujets, le nombre de messages, le dernier membre, ... C'est aussi possible sur MyBB ! <br />
Une capture d'écran pour le résultat final :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1425" target="_blank" title="">statistics.PNG</a> (Taille : 28.78 Ko / Téléchargements : 72)
<!-- end: postbit_attachments_attachment --><br />
<br />
C'est parti ! Sachez d'abord que dans ce tutoriel, nous utiliserons seulement des variables :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>{&#36;stats['numposts']} {&#36;stats['numthreads']} {&#36;stats['numusers']} {&#36;stats['lastusername']} {&#36;mostonline['numusers']}</code></div></div>
<br />
Allez sur le template de votre page d'acceuil : <span style="font-weight: bold;">index</span><br />
Cherchez cette variable : <br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>{&#36;forums}</code></div></div>
<br />
Remplacez {&#36;forums} par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;table width="100%" border="0" align="center"&gt;<br />
&lt;tr&gt;<br />
&lt;td valign="top" width="70%"&gt;<br />
{&#36;forums}<br />
&lt;/td&gt;<br />
&lt;td valign="top" width="30%"&gt;<br />
&nbsp;&nbsp;&lt;table border="0" cellspacing="0" cellpadding="5" class="tborder"&gt;<br />
&lt;tbody&gt;&lt;tr&gt;<br />
&lt;td class="thead"&gt;&lt;strong&gt;Statistiques du forum&lt;/strong&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&nbsp;&nbsp;&lt;td class="tcat"&gt;&lt;strong&gt;Statistiques du forum&lt;/strong&gt; &lt;/td&gt;<br />
&nbsp;&nbsp;&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&nbsp;&nbsp;&lt;td class="trow1"&gt;&lt;b&gt;Nombre de sujets :&lt;/b&gt;&lt;span style="float: right;"&gt;{&#36;stats['numthreads']}&lt;/span&gt;&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;b&gt;Nombre de messages :&lt;/b&gt; &lt;span style="float: right;"&gt;{&#36;stats['numposts']}&lt;/span&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&nbsp;&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&lt;td class="tcat"&gt;&lt;strong&gt;Statistiques des membres&lt;/strong&gt; &lt;/td&gt;<br />
&nbsp;&nbsp;&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&nbsp;&nbsp;&lt;td class="trow1"&gt;&lt;b&gt;Nombre de membres :&lt;/b&gt;&lt;span style="float: right;"&gt;{&#36;stats['numusers']}&lt;/span&gt;&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;b&gt;Record d'utilisateurs en ligne :&lt;/b&gt; &lt;span style="float: right;"&gt;{&#36;mostonline['numusers']}&lt;/span&gt;&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;b&gt;Dernier membre :&lt;/b&gt; &lt;span style="float: right;"&gt;{&#36;stats['lastusername']}&lt;/span&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/tbody&gt;&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;</code></div></div>
<br />
En bref : on va couper l'index en deux parties, une de 70% de la dimension totale, une autre de 30% de la dimension totale (donc 100%).<br />
<br />
Dans la partie de 70%, on va mettre {&#36;forums}<br />
Dans la partie de 30%, on va mettre notre menu de droite avec nos quatres variables, et normalement vous devriez avoir le même résultat que moi (j'utilise le thème par défaut).<br />
<br />
Bonne chance <img src="http://mybb.fr/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /> !]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;"><span style="font-size: large;">Statistiques, barre de droite</span></span><br />
Vous voyez souvent dans les forums qui utilisent vBulletin ou IPB des barres de statistiques à droite ou en bas, regroupant le nombre de sujets, le nombre de messages, le dernier membre, ... C'est aussi possible sur MyBB ! <br />
Une capture d'écran pour le résultat final :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1425" target="_blank" title="">statistics.PNG</a> (Taille : 28.78 Ko / Téléchargements : 72)
<!-- end: postbit_attachments_attachment --><br />
<br />
C'est parti ! Sachez d'abord que dans ce tutoriel, nous utiliserons seulement des variables :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>{&#36;stats['numposts']} {&#36;stats['numthreads']} {&#36;stats['numusers']} {&#36;stats['lastusername']} {&#36;mostonline['numusers']}</code></div></div>
<br />
Allez sur le template de votre page d'acceuil : <span style="font-weight: bold;">index</span><br />
Cherchez cette variable : <br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>{&#36;forums}</code></div></div>
<br />
Remplacez {&#36;forums} par :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;table width="100%" border="0" align="center"&gt;<br />
&lt;tr&gt;<br />
&lt;td valign="top" width="70%"&gt;<br />
{&#36;forums}<br />
&lt;/td&gt;<br />
&lt;td valign="top" width="30%"&gt;<br />
&nbsp;&nbsp;&lt;table border="0" cellspacing="0" cellpadding="5" class="tborder"&gt;<br />
&lt;tbody&gt;&lt;tr&gt;<br />
&lt;td class="thead"&gt;&lt;strong&gt;Statistiques du forum&lt;/strong&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&nbsp;&nbsp;&lt;td class="tcat"&gt;&lt;strong&gt;Statistiques du forum&lt;/strong&gt; &lt;/td&gt;<br />
&nbsp;&nbsp;&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&nbsp;&nbsp;&lt;td class="trow1"&gt;&lt;b&gt;Nombre de sujets :&lt;/b&gt;&lt;span style="float: right;"&gt;{&#36;stats['numthreads']}&lt;/span&gt;&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;b&gt;Nombre de messages :&lt;/b&gt; &lt;span style="float: right;"&gt;{&#36;stats['numposts']}&lt;/span&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&nbsp;&nbsp;&lt;tr&gt;<br />
&nbsp;&nbsp;&lt;td class="tcat"&gt;&lt;strong&gt;Statistiques des membres&lt;/strong&gt; &lt;/td&gt;<br />
&nbsp;&nbsp;&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&nbsp;&nbsp;&lt;td class="trow1"&gt;&lt;b&gt;Nombre de membres :&lt;/b&gt;&lt;span style="float: right;"&gt;{&#36;stats['numusers']}&lt;/span&gt;&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;b&gt;Record d'utilisateurs en ligne :&lt;/b&gt; &lt;span style="float: right;"&gt;{&#36;mostonline['numusers']}&lt;/span&gt;&lt;br /&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;b&gt;Dernier membre :&lt;/b&gt; &lt;span style="float: right;"&gt;{&#36;stats['lastusername']}&lt;/span&gt;&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/tbody&gt;&lt;/table&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;</code></div></div>
<br />
En bref : on va couper l'index en deux parties, une de 70% de la dimension totale, une autre de 30% de la dimension totale (donc 100%).<br />
<br />
Dans la partie de 70%, on va mettre {&#36;forums}<br />
Dans la partie de 30%, on va mettre notre menu de droite avec nos quatres variables, et normalement vous devriez avoir le même résultat que moi (j'utilise le thème par défaut).<br />
<br />
Bonne chance <img src="http://mybb.fr/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /> !]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Changer de style pour chaque section]]></title>
			<link>http://mybb.fr/thread-7081.html</link>
			<pubDate>Sun, 28 Sep 2014 11:00:02 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7081.html</guid>
			<description><![CDATA[<span style="font-weight: bold;"><span style="font-size: large;">Changer de style pour chaque section</span></span><br />
Le but de ce tutoriel est d'arriver à un résultat comme celui-ci :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1424" target="_blank" title="">capture_sections.PNG</a> (Taille : 19.43 Ko / Téléchargements : 65)
<!-- end: postbit_attachments_attachment --><br />
<br />
Comme vous pouvez le voir, le haut de chacune de mes sections est de couleur différente, en utilisant un système très simple, qui ne nécessite aucune connaissance particulière en PHP, ni même de plugins.<br />
En utilisant ce tutoriel, de la même façon, vous pourrez aussi modifier complètement le style de chaque section (par exemple avec une section ronde, grande de 10 pixels, toute verte et une autre carré ou ovale, grande de 940 pixels, toute bleue).<br />
<br />
1. Allez dans votre administration et cherchez le template "<span style="font-weight: bold;">forumbit_depth1_cat</span>".<br />
2. Maintenant, trouvez la ligne :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td class="thead{&#36;expthead}" colspan="5"&gt;</code></div></div>
<br />
Ajoutez <span style="font-weight: bold;">id="h_{&#36;forum['fid']}"</span> à la fin, comme ceci :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td class="thead{&#36;expthead}" colspan="5" id="h_{&#36;forum['fid']}"&gt;</code></div></div>
<br />
Maintenant, allez dans votre css et amusez-vous !<br />
Les deux seules consignes d'utilisation sont :<br />
- Pour personnaliser une section : vous devez créer une classe comme ceci dans votre css :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>td#h_ID DE LA SECTION {<br />
/* votre css<br />
votre css<br />
...<br />
*/<br />
}</code></div></div>
- Vous n'êtes pas obligé de mettre un style pour chaque section, si vous n'en mettez pas, la section utilisera le style par défaut de votre forum.]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;"><span style="font-size: large;">Changer de style pour chaque section</span></span><br />
Le but de ce tutoriel est d'arriver à un résultat comme celui-ci :<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1424" target="_blank" title="">capture_sections.PNG</a> (Taille : 19.43 Ko / Téléchargements : 65)
<!-- end: postbit_attachments_attachment --><br />
<br />
Comme vous pouvez le voir, le haut de chacune de mes sections est de couleur différente, en utilisant un système très simple, qui ne nécessite aucune connaissance particulière en PHP, ni même de plugins.<br />
En utilisant ce tutoriel, de la même façon, vous pourrez aussi modifier complètement le style de chaque section (par exemple avec une section ronde, grande de 10 pixels, toute verte et une autre carré ou ovale, grande de 940 pixels, toute bleue).<br />
<br />
1. Allez dans votre administration et cherchez le template "<span style="font-weight: bold;">forumbit_depth1_cat</span>".<br />
2. Maintenant, trouvez la ligne :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td class="thead{&#36;expthead}" colspan="5"&gt;</code></div></div>
<br />
Ajoutez <span style="font-weight: bold;">id="h_{&#36;forum['fid']}"</span> à la fin, comme ceci :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td class="thead{&#36;expthead}" colspan="5" id="h_{&#36;forum['fid']}"&gt;</code></div></div>
<br />
Maintenant, allez dans votre css et amusez-vous !<br />
Les deux seules consignes d'utilisation sont :<br />
- Pour personnaliser une section : vous devez créer une classe comme ceci dans votre css :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>td#h_ID DE LA SECTION {<br />
/* votre css<br />
votre css<br />
...<br />
*/<br />
}</code></div></div>
- Vous n'êtes pas obligé de mettre un style pour chaque section, si vous n'en mettez pas, la section utilisera le style par défaut de votre forum.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Avoir une balise de type arrondie ?]]></title>
			<link>http://mybb.fr/thread-7023.html</link>
			<pubDate>Mon, 25 Aug 2014 11:07:08 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7023.html</guid>
			<description><![CDATA[Salut à tous et à toutes,<br />
<br />
<br />
J'aimerais obtenir une balise comme ça:<br />
<br />
<a href="http://ms-rp.esy.es/forum/index.php?/topic/4-r%C3%A8glement-du-forum/" target="_blank">http://ms-rp.esy.es/forum/index.php?/topic/4-r%C3%A8glement-du-forum/</a><br />
<br />
arrondie donc,  sauf que quand j'y met le code: <br />
<br />
<br />
&lt;span class="ipsBadge" style="background:gold;"&gt;[Règlement]&lt;/span&gt;<br />
<br />
<br />
ça ne fonctionne pas et fait un rectangle tout orange moche et l'écriture est noir.<br />
<br />
<br />
J'aimerais obenir un peu d'aide s'il vous plaît,<br />
<br />
Bien ç vous]]></description>
			<content:encoded><![CDATA[Salut à tous et à toutes,<br />
<br />
<br />
J'aimerais obtenir une balise comme ça:<br />
<br />
<a href="http://ms-rp.esy.es/forum/index.php?/topic/4-r%C3%A8glement-du-forum/" target="_blank">http://ms-rp.esy.es/forum/index.php?/topic/4-r%C3%A8glement-du-forum/</a><br />
<br />
arrondie donc,  sauf que quand j'y met le code: <br />
<br />
<br />
&lt;span class="ipsBadge" style="background:gold;"&gt;[Règlement]&lt;/span&gt;<br />
<br />
<br />
ça ne fonctionne pas et fait un rectangle tout orange moche et l'écriture est noir.<br />
<br />
<br />
J'aimerais obenir un peu d'aide s'il vous plaît,<br />
<br />
Bien ç vous]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Un fade-in sur vos pages.]]></title>
			<link>http://mybb.fr/thread-7012.html</link>
			<pubDate>Sun, 17 Aug 2014 11:53:57 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-7012.html</guid>
			<description><![CDATA[Salut,<br />
je vous propose un tutoriel qui vous permettra de faire un fade-in sur vos pages de votre forum.<br />
<br />
On commence tout de suite par le template "<span style="font-weight: bold;">headerinclunde</span>"<br />
administration &gt; Templates &amp; Styles &gt; Templates (votre template) &gt; Templates dissociés &gt; headerinclude<br />
<br />
<span style="font-weight: bold;">Trouver :</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>{&#36;stylesheets}</code></div></div>
<br />
<span style="font-weight: bold;">Ajouter juste avant :</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt;</code></div></div>
<br />
Sauvegarder.<br />
<br />
Maintenant on va sur le template "<span style="font-weight: bold;">header</span>" (Entête template &gt; Header)<br />
<span style="font-weight: bold;">Ajoutez tout au début :</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;script type="text/javascript"&gt;<br />
jQuery.noConflict();<br />
jQuery(document).ready(function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;jQuery("#content").fadeIn(2000);<br />
});<br />
&lt;/script&gt;</code></div></div>
<br />
Dans le<span style="font-weight: bold;"> même template </span>trouvez :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div id="content"&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Remplacez par :</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div id="content" style="display:none;"&gt;</code></div></div>
<br />
Maintenant sauvegardez et admirez !<br />
(ps : en javascript "2000" est mesuré en millième de seconde)<br />
<br />
<span style="font-weight: bold;">Démo : <a href="http://heart-of-azeroth.net" target="_blank">http://heart-of-azeroth.net</a> </span>]]></description>
			<content:encoded><![CDATA[Salut,<br />
je vous propose un tutoriel qui vous permettra de faire un fade-in sur vos pages de votre forum.<br />
<br />
On commence tout de suite par le template "<span style="font-weight: bold;">headerinclunde</span>"<br />
administration &gt; Templates &amp; Styles &gt; Templates (votre template) &gt; Templates dissociés &gt; headerinclude<br />
<br />
<span style="font-weight: bold;">Trouver :</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>{&#36;stylesheets}</code></div></div>
<br />
<span style="font-weight: bold;">Ajouter juste avant :</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"&gt;&lt;/script&gt;</code></div></div>
<br />
Sauvegarder.<br />
<br />
Maintenant on va sur le template "<span style="font-weight: bold;">header</span>" (Entête template &gt; Header)<br />
<span style="font-weight: bold;">Ajoutez tout au début :</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;script type="text/javascript"&gt;<br />
jQuery.noConflict();<br />
jQuery(document).ready(function() {<br />
&nbsp;&nbsp;&nbsp;&nbsp;jQuery("#content").fadeIn(2000);<br />
});<br />
&lt;/script&gt;</code></div></div>
<br />
Dans le<span style="font-weight: bold;"> même template </span>trouvez :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div id="content"&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Remplacez par :</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div id="content" style="display:none;"&gt;</code></div></div>
<br />
Maintenant sauvegardez et admirez !<br />
(ps : en javascript "2000" est mesuré en millième de seconde)<br />
<br />
<span style="font-weight: bold;">Démo : <a href="http://heart-of-azeroth.net" target="_blank">http://heart-of-azeroth.net</a> </span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[demande d'aide pour bannière ]]></title>
			<link>http://mybb.fr/thread-6958.html</link>
			<pubDate>Sun, 20 Jul 2014 05:21:23 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-6958.html</guid>
			<description><![CDATA[bonjour a tous, j'aimerais changer la banniere de mon forum mais sur toute la longueur : lorsque je modifie logo.png cela fonctionne nickel mais ne modofie "qu'un seul petit rectangle "j'aimerais pouvoir changer tout le bandeau sur toute la longueur est ce possible? <br />
j'ai le theme apart1 d'installer et voici l'adresse : <a href="http://bretagne-airsoft.comxa.com/forum/index.php" target="_blank">http://bretagne-airsoft.comxa.com/forum/index.php</a><br />
<br />
merci d'avance !]]></description>
			<content:encoded><![CDATA[bonjour a tous, j'aimerais changer la banniere de mon forum mais sur toute la longueur : lorsque je modifie logo.png cela fonctionne nickel mais ne modofie "qu'un seul petit rectangle "j'aimerais pouvoir changer tout le bandeau sur toute la longueur est ce possible? <br />
j'ai le theme apart1 d'installer et voici l'adresse : <a href="http://bretagne-airsoft.comxa.com/forum/index.php" target="_blank">http://bretagne-airsoft.comxa.com/forum/index.php</a><br />
<br />
merci d'avance !]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Se connecter/déconnecter à partir d'une page web.]]></title>
			<link>http://mybb.fr/thread-6914.html</link>
			<pubDate>Thu, 05 Jun 2014 15:56:57 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-6914.html</guid>
			<description><![CDATA[Si vous avez un site et voulez avoir du contenu pour les membres connectés de votre forum ou seulement leur permettre de se connecter sur votre page principale, ce tutoriel est pour vous.<br />
<br />
<div style="text-align: center;"><span style="color: #FF0000;"><span style="font-weight: bold;">*** Important : Ce tutoriel ne fonctionnera pas avec plusieurs forums sur le même domaine ***</span></span></div>
<br />
Ce tutoriel est basé sur la situation suivante :<br />
<br />
Votre domaine sera pour ce tutoriel : <span style="font-weight: bold;">VotreDomaine.fr</span><br />
La page principale de votre site est : <span style="font-weight: bold;">index.php</span><br />
Le nom du script à inclure pour MyBB est : <span style="font-weight: bold;">mybb_include.php</span><br />
<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">/&nbsp;&lt;--&nbsp;</span><span style="color: #0000BB">votre&nbsp;site&nbsp;est&nbsp;situé&nbsp;ici&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">répertoire&nbsp;racine</span><span style="color: #007700">)<br />|</span><span style="color: #0000BB">_&nbsp;forum&nbsp;</span><span style="color: #007700">&lt;--&nbsp;</span><span style="color: #0000BB">votre&nbsp;forum&nbsp;est&nbsp;situé&nbsp;ici<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|</span><span style="color: #0000BB">_&nbsp;admin<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|</span><span style="color: #0000BB">_&nbsp;images<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|</span><span style="color: #0000BB">_&nbsp;inc<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|</span><span style="color: #0000BB">_&nbsp;</span><span style="color: #007700">...&nbsp;<br /></span></code></div></div></div>
<br />
Le fichier <span style="font-weight: bold;">mybb_include.php</span> est dans le répertoire <span style="font-weight: bold;">racine</span> ou le répertoire <span style="font-weight: bold;">forum</span>.<br />
<br />
Voici le contenu du fichier <span style="font-weight: bold;">mybb_include.php</span> :<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php<br />define</span><span style="color: #007700">(</span><span style="color: #DD0000">"IN_MYBB"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'THIS_SCRIPT'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'mybb_include.php'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">&#36;old_dir&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">getcwd</span><span style="color: #007700">();<br />@</span><span style="color: #0000BB">chdir</span><span style="color: #007700">(</span><span style="color: #DD0000">'forum'</span><span style="color: #007700">);<br />require_once&nbsp;</span><span style="color: #DD0000">"./global.php"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">"index"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">&#36;logoutlink&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;loginform&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />if(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">user</span><span style="color: #007700">[</span><span style="color: #DD0000">'uid'</span><span style="color: #007700">]&nbsp;!=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">){<br />&nbsp;&nbsp;eval(</span><span style="color: #DD0000">"&#092;&#36;logoutlink&nbsp;=&nbsp;&#092;""</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;templates</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">"index_logoutlink"</span><span style="color: #007700">).</span><span style="color: #DD0000">"&#092;";"</span><span style="color: #007700">);<br />}elseif(</span><span style="color: #0000BB">login_attempt_check</span><span style="color: #007700">(</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;!==&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">){<br />&nbsp;&nbsp;eval(</span><span style="color: #DD0000">"&#092;&#36;loginform&nbsp;=&nbsp;&#092;""</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;templates</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">"index_loginform"</span><span style="color: #007700">).</span><span style="color: #DD0000">"&#092;";"</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Pour&nbsp;utiliser&nbsp;le&nbsp;style&nbsp;local&nbsp;au&nbsp;lieu&nbsp;du&nbsp;style&nbsp;MyBB,&nbsp;dé-commentez&nbsp;toutes&nbsp;les&nbsp;lignes&nbsp;de&nbsp;style&nbsp;ici&nbsp;...<br />/*<br />echo&nbsp;'<br />&lt;style&gt;<br />#panel{<br />background-color:#f0f0f0;<br />padding:8px;<br />border:#d0d0d0&nbsp;solid&nbsp;1px;<br />font-family:Verdana,Arial,Sans-Serif;<br />font-size:11px;<br />line-height:15.4px;<br />}<br />&lt;/style&gt;';<br />*/<br /><br />//&nbsp;Pour&nbsp;utiliser&nbsp;le&nbsp;style&nbsp;MyBB&nbsp;au&nbsp;lieu&nbsp;du&nbsp;style&nbsp;local,&nbsp;dé-commentez&nbsp;les&nbsp;3&nbsp;lignes&nbsp;ici&nbsp;...<br />/*<br />echo&nbsp;'&lt;style&gt;';<br />include_once(&#36;theme['stylesheets']['global']['global'][0]);<br />echo&nbsp;'&lt;/style&gt;';<br />*/<br /><br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">'&lt;script&nbsp;type="text/javascript"&nbsp;src="jscripts/prototype.js?ver=1600"&gt;&lt;/script&gt;<br />&lt;script&nbsp;type="text/javascript"&nbsp;src="jscripts/general.js?ver=1600"&gt;&lt;/script&gt;<br />&lt;div&nbsp;id="container"&gt;&lt;div&nbsp;id="panel"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;welcomeblock</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;/div&gt;&lt;/div&gt;'</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">chdir</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;old_dir</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></code></div></div></div>
<br />
Vous n'avez maintenant qu'à ajouter ceci à l'endroit voulu dans le fichier <span style="font-weight: bold;">index.php</span> de votre site web pour voir le bandeau de votre forum MyBB :<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">require_once&nbsp;</span><span style="color: #DD0000">"forum/mybb_include.php"</span><span style="color: #007700">;&nbsp;<br /></span></code></div></div></div>
<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">Voici la configuration qui sera nécessaire pour vos cookies de MyBB :</span></span><br />
cookiedomain : <span style="font-weight: bold;">.VotreDomaine.fr</span><br />
cookiepath : <span style="font-weight: bold;">/</span><br />
cookieprefix : <span style="font-weight: bold;">forum</span><br />
<br />
Il faudra supprimer tous les cookies du navigateur et ensuite vérifier si les connexion/déconnexion se font bien.<br />
<br />
<span style="font-weight: bold;">P.S. Je n'ai pas encore testé avec tous les types de situation, mais tout devrait être opérationnel...</span> <img src="http://mybb.fr/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />]]></description>
			<content:encoded><![CDATA[Si vous avez un site et voulez avoir du contenu pour les membres connectés de votre forum ou seulement leur permettre de se connecter sur votre page principale, ce tutoriel est pour vous.<br />
<br />
<div style="text-align: center;"><span style="color: #FF0000;"><span style="font-weight: bold;">*** Important : Ce tutoriel ne fonctionnera pas avec plusieurs forums sur le même domaine ***</span></span></div>
<br />
Ce tutoriel est basé sur la situation suivante :<br />
<br />
Votre domaine sera pour ce tutoriel : <span style="font-weight: bold;">VotreDomaine.fr</span><br />
La page principale de votre site est : <span style="font-weight: bold;">index.php</span><br />
Le nom du script à inclure pour MyBB est : <span style="font-weight: bold;">mybb_include.php</span><br />
<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">/&nbsp;&lt;--&nbsp;</span><span style="color: #0000BB">votre&nbsp;site&nbsp;est&nbsp;situé&nbsp;ici&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">répertoire&nbsp;racine</span><span style="color: #007700">)<br />|</span><span style="color: #0000BB">_&nbsp;forum&nbsp;</span><span style="color: #007700">&lt;--&nbsp;</span><span style="color: #0000BB">votre&nbsp;forum&nbsp;est&nbsp;situé&nbsp;ici<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|</span><span style="color: #0000BB">_&nbsp;admin<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|</span><span style="color: #0000BB">_&nbsp;images<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|</span><span style="color: #0000BB">_&nbsp;inc<br />&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">|</span><span style="color: #0000BB">_&nbsp;</span><span style="color: #007700">...&nbsp;<br /></span></code></div></div></div>
<br />
Le fichier <span style="font-weight: bold;">mybb_include.php</span> est dans le répertoire <span style="font-weight: bold;">racine</span> ou le répertoire <span style="font-weight: bold;">forum</span>.<br />
<br />
Voici le contenu du fichier <span style="font-weight: bold;">mybb_include.php</span> :<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #0000BB">&lt;?php<br />define</span><span style="color: #007700">(</span><span style="color: #DD0000">"IN_MYBB"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'THIS_SCRIPT'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'mybb_include.php'</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">&#36;old_dir&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">getcwd</span><span style="color: #007700">();<br />@</span><span style="color: #0000BB">chdir</span><span style="color: #007700">(</span><span style="color: #DD0000">'forum'</span><span style="color: #007700">);<br />require_once&nbsp;</span><span style="color: #DD0000">"./global.php"</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">&#36;lang</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">load</span><span style="color: #007700">(</span><span style="color: #DD0000">"index"</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">&#36;logoutlink&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">&#36;loginform&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />if(</span><span style="color: #0000BB">&#36;mybb</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">user</span><span style="color: #007700">[</span><span style="color: #DD0000">'uid'</span><span style="color: #007700">]&nbsp;!=&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">){<br />&nbsp;&nbsp;eval(</span><span style="color: #DD0000">"&#092;&#36;logoutlink&nbsp;=&nbsp;&#092;""</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;templates</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">"index_logoutlink"</span><span style="color: #007700">).</span><span style="color: #DD0000">"&#092;";"</span><span style="color: #007700">);<br />}elseif(</span><span style="color: #0000BB">login_attempt_check</span><span style="color: #007700">(</span><span style="color: #0000BB">false</span><span style="color: #007700">)&nbsp;!==&nbsp;</span><span style="color: #0000BB">false</span><span style="color: #007700">){<br />&nbsp;&nbsp;eval(</span><span style="color: #DD0000">"&#092;&#36;loginform&nbsp;=&nbsp;&#092;""</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;templates</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">get</span><span style="color: #007700">(</span><span style="color: #DD0000">"index_loginform"</span><span style="color: #007700">).</span><span style="color: #DD0000">"&#092;";"</span><span style="color: #007700">);<br />}<br /><br /></span><span style="color: #FF8000">//&nbsp;Pour&nbsp;utiliser&nbsp;le&nbsp;style&nbsp;local&nbsp;au&nbsp;lieu&nbsp;du&nbsp;style&nbsp;MyBB,&nbsp;dé-commentez&nbsp;toutes&nbsp;les&nbsp;lignes&nbsp;de&nbsp;style&nbsp;ici&nbsp;...<br />/*<br />echo&nbsp;'<br />&lt;style&gt;<br />#panel{<br />background-color:#f0f0f0;<br />padding:8px;<br />border:#d0d0d0&nbsp;solid&nbsp;1px;<br />font-family:Verdana,Arial,Sans-Serif;<br />font-size:11px;<br />line-height:15.4px;<br />}<br />&lt;/style&gt;';<br />*/<br /><br />//&nbsp;Pour&nbsp;utiliser&nbsp;le&nbsp;style&nbsp;MyBB&nbsp;au&nbsp;lieu&nbsp;du&nbsp;style&nbsp;local,&nbsp;dé-commentez&nbsp;les&nbsp;3&nbsp;lignes&nbsp;ici&nbsp;...<br />/*<br />echo&nbsp;'&lt;style&gt;';<br />include_once(&#36;theme['stylesheets']['global']['global'][0]);<br />echo&nbsp;'&lt;/style&gt;';<br />*/<br /><br /></span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">'&lt;script&nbsp;type="text/javascript"&nbsp;src="jscripts/prototype.js?ver=1600"&gt;&lt;/script&gt;<br />&lt;script&nbsp;type="text/javascript"&nbsp;src="jscripts/general.js?ver=1600"&gt;&lt;/script&gt;<br />&lt;div&nbsp;id="container"&gt;&lt;div&nbsp;id="panel"&gt;'</span><span style="color: #007700">.</span><span style="color: #0000BB">&#36;welcomeblock</span><span style="color: #007700">.</span><span style="color: #DD0000">'&lt;/div&gt;&lt;/div&gt;'</span><span style="color: #007700">;<br /><br /></span><span style="color: #0000BB">chdir</span><span style="color: #007700">(</span><span style="color: #0000BB">&#36;old_dir</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">?&gt;</span></code></div></div></div>
<br />
Vous n'avez maintenant qu'à ajouter ceci à l'endroit voulu dans le fichier <span style="font-weight: bold;">index.php</span> de votre site web pour voir le bandeau de votre forum MyBB :<br />
<div class="codeblock phpcodeblock"><div class="title">Code PHP :<br />
</div><div class="body"><div dir="ltr"><code><span style="color: #007700">require_once&nbsp;</span><span style="color: #DD0000">"forum/mybb_include.php"</span><span style="color: #007700">;&nbsp;<br /></span></code></div></div></div>
<br />
<span style="color: #FF0000;"><span style="font-weight: bold;">Voici la configuration qui sera nécessaire pour vos cookies de MyBB :</span></span><br />
cookiedomain : <span style="font-weight: bold;">.VotreDomaine.fr</span><br />
cookiepath : <span style="font-weight: bold;">/</span><br />
cookieprefix : <span style="font-weight: bold;">forum</span><br />
<br />
Il faudra supprimer tous les cookies du navigateur et ensuite vérifier si les connexion/déconnexion se font bien.<br />
<br />
<span style="font-weight: bold;">P.S. Je n'ai pas encore testé avec tous les types de situation, mais tout devrait être opérationnel...</span> <img src="http://mybb.fr/images/smilies/wink.gif" alt="Wink" title="Wink" class="smilie smilie_2" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Demande de tuto]]></title>
			<link>http://mybb.fr/thread-6909.html</link>
			<pubDate>Wed, 04 Jun 2014 11:25:20 -0400</pubDate>
			<guid isPermaLink="false">http://mybb.fr/thread-6909.html</guid>
			<description><![CDATA[J'aimerais savoir comment changer le nom qui apparaît dans l'onglet tous en haut de son écran, Cordialement.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="" border="0" alt=".bmp" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1376" target="_blank" title="">Sans titre 1.bmp</a> (Taille : 375.83 Ko / Téléchargements : 6)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[J'aimerais savoir comment changer le nom qui apparaît dans l'onglet tous en haut de son écran, Cordialement.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/image.gif" title="" border="0" alt=".bmp" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1376" target="_blank" title="">Sans titre 1.bmp</a> (Taille : 375.83 Ko / Téléchargements : 6)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
	</channel>
</rss>