<?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 - MyCode]]></title>
		<link>https://mybb.fr/</link>
		<description><![CDATA[MyBB.support, le portail francophone de MyBB - https://mybb.fr]]></description>
		<pubDate>Wed, 15 Apr 2026 11:35:29 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[Market]]></title>
			<link>https://mybb.fr/thread-7944.html</link>
			<pubDate>Fri, 23 Sep 2022 13:43:31 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7944.html</guid>
			<description><![CDATA[Bonjour, <br />
<br />
je voudrais savoir, si il est possible d'ajouter un SHOP ou Market avec Mybb forum svp ?]]></description>
			<content:encoded><![CDATA[Bonjour, <br />
<br />
je voudrais savoir, si il est possible d'ajouter un SHOP ou Market avec Mybb forum svp ?]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Balises BBcode]]></title>
			<link>https://mybb.fr/thread-7798.html</link>
			<pubDate>Mon, 29 Jan 2018 12:34:52 -0500</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7798.html</guid>
			<description><![CDATA[<br />
<span style="font-weight: bold;">VERSION_MyBB</span> : 1.8.14<br />
Bonjour, cela concerne tous les forums, pas seulement moi.<br />
J'ai remarqué qu'il n'était pas possible d'utiliser certaines balises, qui me sont plutôt utiles...<br />
<br />
En voici quelques une avec un exemple :<br />
<br />
[background=#ffffff]BLABLA[/background]<br />
[box=#000000]BLABLA[/box]<br />
<br />
Pour le moment, je n'ai remarqué seulement ces balises.<br />
<br />
Cordialement, John.]]></description>
			<content:encoded><![CDATA[<br />
<span style="font-weight: bold;">VERSION_MyBB</span> : 1.8.14<br />
Bonjour, cela concerne tous les forums, pas seulement moi.<br />
J'ai remarqué qu'il n'était pas possible d'utiliser certaines balises, qui me sont plutôt utiles...<br />
<br />
En voici quelques une avec un exemple :<br />
<br />
[background=#ffffff]BLABLA[/background]<br />
[box=#000000]BLABLA[/box]<br />
<br />
Pour le moment, je n'ai remarqué seulement ces balises.<br />
<br />
Cordialement, John.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[cherche add prefixe]]></title>
			<link>https://mybb.fr/thread-7459.html</link>
			<pubDate>Sat, 31 Oct 2015 09:05:47 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7459.html</guid>
			<description><![CDATA[bonjour,<br />
<br />
je recherche le mod de préfixe <br />
<br />
car je souhaiterais ajoute un préfixe sur certain forum <br />
<br />
comme vous dans le titre du sujet ou l'on peut choisir un préfixe  <img src="https://mybb.fr/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /> <br />
<br />
en vous remerciant]]></description>
			<content:encoded><![CDATA[bonjour,<br />
<br />
je recherche le mod de préfixe <br />
<br />
car je souhaiterais ajoute un préfixe sur certain forum <br />
<br />
comme vous dans le titre du sujet ou l'on peut choisir un préfixe  <img src="https://mybb.fr/images/smilies/smile.gif" alt="Smile" title="Smile" class="smilie smilie_1" /> <br />
<br />
en vous remerciant]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[mycode HTML]]></title>
			<link>https://mybb.fr/thread-7393.html</link>
			<pubDate>Wed, 26 Aug 2015 11:33:16 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7393.html</guid>
			<description><![CDATA[Bonjour / bonsoir <br />
<br />
je sais que d'office le HTML peut être ajouter au forum sans passer par les MYCODE mais si je souhaites crée un mycode pour avoir els balise [html] [/html] lequel serait-il ? <br />
<br />
Merci]]></description>
			<content:encoded><![CDATA[Bonjour / bonsoir <br />
<br />
je sais que d'office le HTML peut être ajouter au forum sans passer par les MYCODE mais si je souhaites crée un mycode pour avoir els balise [html] [/html] lequel serait-il ? <br />
<br />
Merci]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MyCode système d'onglets dans les messages]]></title>
			<link>https://mybb.fr/thread-7365.html</link>
			<pubDate>Thu, 30 Jul 2015 10:45:15 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7365.html</guid>
			<description><![CDATA[<div style="text-align: center;"><span style="font-size: medium;"><span style="font-weight: bold;">MyCode onglets dans les messages</span></span></div>
<br />
<br />
<span style="font-weight: bold;">1.</span> Aller dans: AdminCP &gt;&gt; &gt;&gt; &gt;&gt; Templates (votre thème), Templates dissociés &gt;&gt; headerinclude et Ajoutez le code suivant:<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;script type="text/javascript" src="{&#36;mybb-&gt;settings['bburl']}/jscripts/tabs_js/tabber.js"&gt;&lt;/script&gt;<br />
&lt;link rel="stylesheet" href="{&#36;mybb-&gt;settings['bburl']}/jscripts/tabs_js/tabber.css" type="text/css" media="screen"&gt;<br />
<br />
&lt;script type="text/javascript"&gt;<br />
document.write('&lt;style type="text/css"&gt;.tabber{display:none;}&lt;&#92;/style&gt;');<br />
&lt;/script&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Sauveragrdez votre templates</span><br />
<br />
<span style="font-weight: bold;">2.</span> Maintenant allez dans: AdminCP &gt;&gt; Configuration &gt;&gt; MyCode &gt;&gt; ajouter un MyCode<br />
<br />
<span style="font-weight: bold;">2.1 Tabs</span>:<br />
<br />
<span style="font-weight: bold;">Titre *</span>: tabs<br />
<span style="font-weight: bold;">Courte Description</span>: MyCode onglets pour MyBB<br />
<span style="font-weight: bold;">Expression régulière *</span>:<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[tabs&#92;](.*?)&#92;[/tabs&#92;]</code></div></div>
<br />
<span style="font-weight: bold;">Remplacement *</span>:<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="tabber"&gt;&#36;1&lt;/div&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Activé? *</span>: Oui<br />
<span style="font-weight: bold;">Enregistrer MyCode.</span><br />
<br />
<span style="font-weight: bold;">2.2 Tab</span>:<br />
<br />
<span style="font-weight: bold;">Titre *</span>: tab<br />
<span style="font-weight: bold;">Courte Description</span>: MyCode onglet MyBB<br />
<span style="font-weight: bold;">Expression Régulière *</span>: <br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[tab=(.*?)&#92;](.*?)&#92;[/tab&#92;]</code></div></div>
<br />
<span style="font-weight: bold;">Remplacement *</span>: <br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="tabbertab"&gt;<br />
  &lt;h2&gt;&#36;1&lt;/h2&gt;<br />
  &lt;p&gt;&#36;2&lt;/p&gt;<br />
&lt;/div&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Activé? *</span>: Oui<br />
<span style="font-weight: bold;">Enregistrer MyCode.</span><br />
<br />
<span style="font-weight: bold;">3.</span> Téléchargez la pièce jointe, dézipez et uploadez le dossier tabs_js dans jscripts<br />
<span style="font-weight: bold;">4.</span> Testez<br />
<br />
<span style="font-weight: bold;">Ex:</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>[tabs][tab=Onglet test 1]<br />
Contenu de l'onglet 1<br />
[/tab]<br />
[tab=Onglet test 2]<br />
Contenu de l'onglet 2<br />
[/tab]<br />
[/tabs]</code></div></div>
<br />
<img src="http://image.noelshack.com/fichiers/2015/31/1438267862-tabs-onglet.png" border="0" alt="[Image: 1438267862-tabs-onglet.png]" /><br />
<br />
Source: MyBB.com <br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/rar.gif" title="" border="0" alt=".rar" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1577" target="_blank" title="">tabs_js.rar</a> (Taille : 7.61 Ko / Téléchargements : 1)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<div style="text-align: center;"><span style="font-size: medium;"><span style="font-weight: bold;">MyCode onglets dans les messages</span></span></div>
<br />
<br />
<span style="font-weight: bold;">1.</span> Aller dans: AdminCP &gt;&gt; &gt;&gt; &gt;&gt; Templates (votre thème), Templates dissociés &gt;&gt; headerinclude et Ajoutez le code suivant:<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;script type="text/javascript" src="{&#36;mybb-&gt;settings['bburl']}/jscripts/tabs_js/tabber.js"&gt;&lt;/script&gt;<br />
&lt;link rel="stylesheet" href="{&#36;mybb-&gt;settings['bburl']}/jscripts/tabs_js/tabber.css" type="text/css" media="screen"&gt;<br />
<br />
&lt;script type="text/javascript"&gt;<br />
document.write('&lt;style type="text/css"&gt;.tabber{display:none;}&lt;&#92;/style&gt;');<br />
&lt;/script&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Sauveragrdez votre templates</span><br />
<br />
<span style="font-weight: bold;">2.</span> Maintenant allez dans: AdminCP &gt;&gt; Configuration &gt;&gt; MyCode &gt;&gt; ajouter un MyCode<br />
<br />
<span style="font-weight: bold;">2.1 Tabs</span>:<br />
<br />
<span style="font-weight: bold;">Titre *</span>: tabs<br />
<span style="font-weight: bold;">Courte Description</span>: MyCode onglets pour MyBB<br />
<span style="font-weight: bold;">Expression régulière *</span>:<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[tabs&#92;](.*?)&#92;[/tabs&#92;]</code></div></div>
<br />
<span style="font-weight: bold;">Remplacement *</span>:<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="tabber"&gt;&#36;1&lt;/div&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Activé? *</span>: Oui<br />
<span style="font-weight: bold;">Enregistrer MyCode.</span><br />
<br />
<span style="font-weight: bold;">2.2 Tab</span>:<br />
<br />
<span style="font-weight: bold;">Titre *</span>: tab<br />
<span style="font-weight: bold;">Courte Description</span>: MyCode onglet MyBB<br />
<span style="font-weight: bold;">Expression Régulière *</span>: <br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[tab=(.*?)&#92;](.*?)&#92;[/tab&#92;]</code></div></div>
<br />
<span style="font-weight: bold;">Remplacement *</span>: <br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div class="tabbertab"&gt;<br />
  &lt;h2&gt;&#36;1&lt;/h2&gt;<br />
  &lt;p&gt;&#36;2&lt;/p&gt;<br />
&lt;/div&gt;</code></div></div>
<br />
<span style="font-weight: bold;">Activé? *</span>: Oui<br />
<span style="font-weight: bold;">Enregistrer MyCode.</span><br />
<br />
<span style="font-weight: bold;">3.</span> Téléchargez la pièce jointe, dézipez et uploadez le dossier tabs_js dans jscripts<br />
<span style="font-weight: bold;">4.</span> Testez<br />
<br />
<span style="font-weight: bold;">Ex:</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>[tabs][tab=Onglet test 1]<br />
Contenu de l'onglet 1<br />
[/tab]<br />
[tab=Onglet test 2]<br />
Contenu de l'onglet 2<br />
[/tab]<br />
[/tabs]</code></div></div>
<br />
<img src="http://image.noelshack.com/fichiers/2015/31/1438267862-tabs-onglet.png" border="0" alt="[Image: 1438267862-tabs-onglet.png]" /><br />
<br />
Source: MyBB.com <br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="images/attachtypes/rar.gif" title="" border="0" alt=".rar" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=1577" target="_blank" title="">tabs_js.rar</a> (Taille : 7.61 Ko / Téléchargements : 1)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Boutons d'intégration spécifiques aux images pièces jointes]]></title>
			<link>https://mybb.fr/thread-7322.html</link>
			<pubDate>Mon, 11 May 2015 22:10:49 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7322.html</guid>
			<description><![CDATA[<span style="color: #ff3333;"><span style="font-weight: bold;">.<br />
<span style="font-size: small;">Avertissement : Les modifications mentionnées ci-dessous n'ont aucunement été validé par le staff de Mybb, en effectuant ces changements, vous vous exposez à de possible faille de sécurité et dysfonctionement. Cela est livré en l'état et vous seul serez responsable des répercussions.</span></span><br />
</span><br />
Bonjour,<br />
<br />
J'avais déjà fait un ti truc sur MyBB1.6, cf le bas de ce topic : <a href="http://mybb.fr/thread-3306.html" target="_blank">http://mybb.fr/thread-3306.html</a><br />
Mais donc au passage en 1.8 il est temps d'améliorer un peu tout ça ^^<br />
<br />
Qu'est ce que cela va permettre :<br />
- d'avoir des boutons spécifiques pour intégrer des images dans vos posts, un bouton pour la miniature et un bouton d'intégration en taille réelle. Voilà les boutons que vous obtiendrez :<br />
<span style="font-style: italic;">(oui, il y a une faute dans un des boutons ^^" saleté de double frappe non prise en compte)</span><br />
<br />
<img src="http://mybb.fr/attachment.php?aid=1569" border="0" alt="[Image: attachment.php?aid=1569]" /><br />
<br />
Pour cela, dans le fichier <span style="font-weight: bold;">editpost.php</span>, <br />
<br />
<span style="font-weight: bold;">Trouver</span> :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#36;templatelist = "editpost,previewpost,changeuserbox,codebuttons,smilieinsert,smilieinsert_getmore&#8203;,smilieinsert_smilie,smilieinsert_smilie_empty,post_attachments_attachment_posti&#8203;nsert,post_attachments_attachment_mod_unapprove,postbit_attachments_thumbnails"</code></div></div>
<br />
<span style="font-weight: bold;">Remplacer par</span> :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#36;templatelist = "editpost,previewpost,changeuserbox,codebuttons,smilieinsert,smilieinsert_getmore&#8203;,smilieinsert_smilie,smilieinsert_smilie_empty,post_attachments_attachment_posti&#8203;nsert,post_attachments_attachment_img_postinsert,post_attachments_attachment_mod&#8203;_unapprove,postbit_attachments_thumbnails";</code></div></div>
<br />
Raison : Ajout de l'appel au template "post_attachments_attachment_img_postinsert".<br />
<br />
Et aussi, <span style="font-weight: bold;">trouver</span> :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>if(&#36;mybb-&gt;settings['bbcodeinserter'] != 0 &amp;&amp; &#36;forum['allowmycode'] != 0 &amp;&amp; &#36;mybb-&gt;user['showcodebuttons'] != 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval("&#92;&#36;postinsert = &#92;"".&#36;templates-&gt;get("post_attachments_attachment_postinsert")."&#92;";");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
<br />
<span style="font-weight: bold;">Remplacer par</span> :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#36;attachtypes = array('image/png', 'image/jpg', 'image/gif', 'image/jpeg', 'image/jpe');<br />
&#36;ext = &#36;attachment['filetype'];<br />
<br />
if(&#36;mybb-&gt;settings['bbcodeinserter'] != 0 &amp;&amp; &#36;forum['allowmycode'] != 0 &amp;&amp; &#36;mybb-&gt;user['showcodebuttons'] != 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(in_array(strtolower(&#36;ext), &#36;attachtypes))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval("&#92;&#36;postinsert = &#92;"".&#36;templates-&gt;get("post_attachments_attachment_img_postinsert")."&#92;";");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval("&#92;&#36;postinsert = &#92;"".&#36;templates-&gt;get("post_attachments_attachment_postinsert")."&#92;";");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
<br />
Il faut <span style="font-weight: bold;">faire de même pour</span> <span style="font-weight: bold;">newreply.php</span> et <span style="font-weight: bold;">newthread.php</span>, les lignes peuvent être un peu différente mais vous devriez trouver où effectuer le même genre de modif. (Je peux ajouter ces quelques remplacements ici si c'est jugé nécessaire.)<br />
<br />
Maintenant, on <span style="font-weight: bold;">crée</span> le <span style="font-weight: bold;">template "post_attachments_attachment_img_postinsert</span>" et dedans on met :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;input type="button" class="button" name="insert" value="Insérer miniature" onclick="MyBBEditor.insertText('[attachment={&#36;attachment['aid']}]');" /&gt;<br />
&lt;input type="button" class="button" name="insert" value="Insérer taille réelle" onclick="MyBBEditor.insertText('[url=http://www.domain.tld/forum/attachment.php?aid={&#36;attachment['aid']}][img]http://www.domain.tld/forum/attachment.php?aid={&#36;attachment['aid']}[/img][/url]');" /&gt;</code></div></div>
<br />
Pensez à <span style="font-weight: bold;">modifier l'url selon votre configuration</span>.<br />
<br />
Afin d'éviter tout soucis de déformation ou d'image trop grande, vous pouvez appliquer une taille max dans les posts comme suggéré par JWH Smith dans le topic cité au début.<br />
Dans <span style="font-weight: bold;">global.css</span>, on peut ajouter : <br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>#posts .scaleimages img {<br />
<br />
    max-width: 600px;<br />
}</code></div></div>
<br />
<br />
Et voilà, normalement c'est tout bon. Je n'ai pas noté de soucis pour le moment.<br />
Si vous voyez un problème ou quelque chose qu'il faudrait que je change merci de le signaler que j'essaie d'améliorer cela.<br />
<br />
Bien entendu, il est possible d'adapter cela pour d'autres types de fichiers comme bon vous semble.<br />
<br />
A vos boutons o//<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=1569" target="_blank" title="">Boutons_images.png</a> (Taille : 12.38 Ko / Téléchargements : 51)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[<span style="color: #ff3333;"><span style="font-weight: bold;">.<br />
<span style="font-size: small;">Avertissement : Les modifications mentionnées ci-dessous n'ont aucunement été validé par le staff de Mybb, en effectuant ces changements, vous vous exposez à de possible faille de sécurité et dysfonctionement. Cela est livré en l'état et vous seul serez responsable des répercussions.</span></span><br />
</span><br />
Bonjour,<br />
<br />
J'avais déjà fait un ti truc sur MyBB1.6, cf le bas de ce topic : <a href="http://mybb.fr/thread-3306.html" target="_blank">http://mybb.fr/thread-3306.html</a><br />
Mais donc au passage en 1.8 il est temps d'améliorer un peu tout ça ^^<br />
<br />
Qu'est ce que cela va permettre :<br />
- d'avoir des boutons spécifiques pour intégrer des images dans vos posts, un bouton pour la miniature et un bouton d'intégration en taille réelle. Voilà les boutons que vous obtiendrez :<br />
<span style="font-style: italic;">(oui, il y a une faute dans un des boutons ^^" saleté de double frappe non prise en compte)</span><br />
<br />
<img src="http://mybb.fr/attachment.php?aid=1569" border="0" alt="[Image: attachment.php?aid=1569]" /><br />
<br />
Pour cela, dans le fichier <span style="font-weight: bold;">editpost.php</span>, <br />
<br />
<span style="font-weight: bold;">Trouver</span> :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#36;templatelist = "editpost,previewpost,changeuserbox,codebuttons,smilieinsert,smilieinsert_getmore&#8203;,smilieinsert_smilie,smilieinsert_smilie_empty,post_attachments_attachment_posti&#8203;nsert,post_attachments_attachment_mod_unapprove,postbit_attachments_thumbnails"</code></div></div>
<br />
<span style="font-weight: bold;">Remplacer par</span> :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#36;templatelist = "editpost,previewpost,changeuserbox,codebuttons,smilieinsert,smilieinsert_getmore&#8203;,smilieinsert_smilie,smilieinsert_smilie_empty,post_attachments_attachment_posti&#8203;nsert,post_attachments_attachment_img_postinsert,post_attachments_attachment_mod&#8203;_unapprove,postbit_attachments_thumbnails";</code></div></div>
<br />
Raison : Ajout de l'appel au template "post_attachments_attachment_img_postinsert".<br />
<br />
Et aussi, <span style="font-weight: bold;">trouver</span> :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>if(&#36;mybb-&gt;settings['bbcodeinserter'] != 0 &amp;&amp; &#36;forum['allowmycode'] != 0 &amp;&amp; &#36;mybb-&gt;user['showcodebuttons'] != 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval("&#92;&#36;postinsert = &#92;"".&#36;templates-&gt;get("post_attachments_attachment_postinsert")."&#92;";");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
<br />
<span style="font-weight: bold;">Remplacer par</span> :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#36;attachtypes = array('image/png', 'image/jpg', 'image/gif', 'image/jpeg', 'image/jpe');<br />
&#36;ext = &#36;attachment['filetype'];<br />
<br />
if(&#36;mybb-&gt;settings['bbcodeinserter'] != 0 &amp;&amp; &#36;forum['allowmycode'] != 0 &amp;&amp; &#36;mybb-&gt;user['showcodebuttons'] != 0)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(in_array(strtolower(&#36;ext), &#36;attachtypes))<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval("&#92;&#36;postinsert = &#92;"".&#36;templates-&gt;get("post_attachments_attachment_img_postinsert")."&#92;";");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;else<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;eval("&#92;&#36;postinsert = &#92;"".&#36;templates-&gt;get("post_attachments_attachment_postinsert")."&#92;";");<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</code></div></div>
<br />
Il faut <span style="font-weight: bold;">faire de même pour</span> <span style="font-weight: bold;">newreply.php</span> et <span style="font-weight: bold;">newthread.php</span>, les lignes peuvent être un peu différente mais vous devriez trouver où effectuer le même genre de modif. (Je peux ajouter ces quelques remplacements ici si c'est jugé nécessaire.)<br />
<br />
Maintenant, on <span style="font-weight: bold;">crée</span> le <span style="font-weight: bold;">template "post_attachments_attachment_img_postinsert</span>" et dedans on met :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;input type="button" class="button" name="insert" value="Insérer miniature" onclick="MyBBEditor.insertText('[attachment={&#36;attachment['aid']}]');" /&gt;<br />
&lt;input type="button" class="button" name="insert" value="Insérer taille réelle" onclick="MyBBEditor.insertText('[url=http://www.domain.tld/forum/attachment.php?aid={&#36;attachment['aid']}][img]http://www.domain.tld/forum/attachment.php?aid={&#36;attachment['aid']}[/img][/url]');" /&gt;</code></div></div>
<br />
Pensez à <span style="font-weight: bold;">modifier l'url selon votre configuration</span>.<br />
<br />
Afin d'éviter tout soucis de déformation ou d'image trop grande, vous pouvez appliquer une taille max dans les posts comme suggéré par JWH Smith dans le topic cité au début.<br />
Dans <span style="font-weight: bold;">global.css</span>, on peut ajouter : <br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>#posts .scaleimages img {<br />
<br />
    max-width: 600px;<br />
}</code></div></div>
<br />
<br />
Et voilà, normalement c'est tout bon. Je n'ai pas noté de soucis pour le moment.<br />
Si vous voyez un problème ou quelque chose qu'il faudrait que je change merci de le signaler que j'essaie d'améliorer cela.<br />
<br />
Bien entendu, il est possible d'adapter cela pour d'autres types de fichiers comme bon vous semble.<br />
<br />
A vos boutons o//<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=1569" target="_blank" title="">Boutons_images.png</a> (Taille : 12.38 Ko / Téléchargements : 51)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Table avec lignes alternées]]></title>
			<link>https://mybb.fr/thread-7313.html</link>
			<pubDate>Mon, 06 Apr 2015 11:51:55 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7313.html</guid>
			<description><![CDATA[Voici un petit ensemble de MyCode qui permet de créer une table avec des lignes alternées, en utilisant les classes du thème.<br />
<br />
Ca nécessite 4 entrées MyCode et une modification du global.css:<br />
<br />
<span style="font-weight: bold;">--- MyCode ---</span><br />
<br />
<span style="text-decoration: underline;">Table</span><br />
<br />
Expression régulière :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[table&#92;](.*?)&#92;[/table&#92;]</code></div></div>
Remplacement :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;table class="clear" cellspacing="0" cellpadding="5"&nbsp;&nbsp;style="border:0; radius:0;"&gt;&#36;1&lt;/table&gt;</code></div></div>
<br />
<span style="text-decoration: underline;">Lignes</span><br />
<br />
Expression régulière :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[tr&#92;](.*?)&#92;[/tr&#92;]</code></div></div>
Remplacement :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;tr class="trowaltern"&gt;&#36;1&lt;/tr&gt;</code></div></div>
<br />
<span style="text-decoration: underline;">Entêtes</span><br />
<br />
Expression régulière :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[th&#92;](.*?)&#92;[/th&#92;]</code></div></div>
Remplacement :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;th class="thead" valign="middle" style="text-align:center; border-radius:0;"&gt;&lt;strong&gt;&#36;1&lt;/strong&gt;&lt;/th&gt;</code></div></div>
<br />
<span style="text-decoration: underline;">Contenu</span><br />
<br />
Expression régulière :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[td&#92;](.*?)&#92;[/td&#92;]</code></div></div>
Remplacement :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td valign="top"&gt;&#36;1&lt;/td&gt;</code></div></div>
<br />
<span style="font-weight: bold;">--- CSS ---</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>/* global values for table data */<br />
.trowaltern &gt; td {<br />
 border: 1px solid;<br />
 border-color: #fff #ddd #ddd #fff;<br />
}<br />
/* even row background */<br />
.trowaltern:nth-child(even) { background: #f5f5f5; }<br />
/* odd row background */<br />
.trowaltern:nth-child(odd) { background: #efefef; }</code></div></div>
]]></description>
			<content:encoded><![CDATA[Voici un petit ensemble de MyCode qui permet de créer une table avec des lignes alternées, en utilisant les classes du thème.<br />
<br />
Ca nécessite 4 entrées MyCode et une modification du global.css:<br />
<br />
<span style="font-weight: bold;">--- MyCode ---</span><br />
<br />
<span style="text-decoration: underline;">Table</span><br />
<br />
Expression régulière :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[table&#92;](.*?)&#92;[/table&#92;]</code></div></div>
Remplacement :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;table class="clear" cellspacing="0" cellpadding="5"&nbsp;&nbsp;style="border:0; radius:0;"&gt;&#36;1&lt;/table&gt;</code></div></div>
<br />
<span style="text-decoration: underline;">Lignes</span><br />
<br />
Expression régulière :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[tr&#92;](.*?)&#92;[/tr&#92;]</code></div></div>
Remplacement :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;tr class="trowaltern"&gt;&#36;1&lt;/tr&gt;</code></div></div>
<br />
<span style="text-decoration: underline;">Entêtes</span><br />
<br />
Expression régulière :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[th&#92;](.*?)&#92;[/th&#92;]</code></div></div>
Remplacement :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;th class="thead" valign="middle" style="text-align:center; border-radius:0;"&gt;&lt;strong&gt;&#36;1&lt;/strong&gt;&lt;/th&gt;</code></div></div>
<br />
<span style="text-decoration: underline;">Contenu</span><br />
<br />
Expression régulière :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[td&#92;](.*?)&#92;[/td&#92;]</code></div></div>
Remplacement :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;td valign="top"&gt;&#36;1&lt;/td&gt;</code></div></div>
<br />
<span style="font-weight: bold;">--- CSS ---</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>/* global values for table data */<br />
.trowaltern &gt; td {<br />
 border: 1px solid;<br />
 border-color: #fff #ddd #ddd #fff;<br />
}<br />
/* even row background */<br />
.trowaltern:nth-child(even) { background: #f5f5f5; }<br />
/* odd row background */<br />
.trowaltern:nth-child(odd) { background: #efefef; }</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mode vip/premium ou shoutbox]]></title>
			<link>https://mybb.fr/thread-7165.html</link>
			<pubDate>Mon, 10 Nov 2014 17:02:19 -0500</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7165.html</guid>
			<description><![CDATA[-Qui aurait un plugin Vip / Premium pour achat en ligne du mode + rang intégrée automatiquement.<br />
-Ou un plugin shoutbox<br />
<br />
Ou qui pour crée un forum de jeux vidéos , ou autres ?<br />
<br />
Envoyez vos skypes <br />
Cordialement ,]]></description>
			<content:encoded><![CDATA[-Qui aurait un plugin Vip / Premium pour achat en ligne du mode + rang intégrée automatiquement.<br />
-Ou un plugin shoutbox<br />
<br />
Ou qui pour crée un forum de jeux vidéos , ou autres ?<br />
<br />
Envoyez vos skypes <br />
Cordialement ,]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Adapter les principales fonctions de Bootstrap pour votre forum]]></title>
			<link>https://mybb.fr/thread-7154.html</link>
			<pubDate>Fri, 07 Nov 2014 12:28:29 -0500</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7154.html</guid>
			<description><![CDATA[Bonjour à tous et à toutes, <br />
<br />
Aujourd'hui je vous propose une adaptation des principales fonctions (CSS) de Bootstrap pour vos forums MyBB.<br />
<br />
Avant de commencer à adapter les fonctions de Bootstrap, vous devez l'ajouter à votre site, pour que ça ressemble à quelque chose à la finale...<br />
<br />
Allez dans votre template "headerinclude" et ajoutez-y le css de bootstrap, je vous conseil le lien CDN :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;!-- Latest compiled and minified CSS --&gt;<br />
&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css"&gt;</code></div></div>
<br />
Avec ceci dans votre template, vous aurez tout ce qu'il faut pour continuer. Si vous voulez l'installer d'une autre manière, vous pouvez toujours visiter le "<a href="http://getbootstrap.com/getting-started/" target="_blank">Getting started</a>".<br />
<br />
<span style="font-size: x-large;">Nous commençons !</span><br />
<hr />
<br />
Première chose que nous allons ajouter, les boutons de bootstrap.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[b_style=(.*?)\](.*?)\[/b_style\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;button type="button" class="btn btn-&#36;1"&gt;&#36;2&lt;/button&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [b_style=style du bouton]texte dans le bouton[/b_style]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/css/#buttons" target="_blank">http://getbootstrap.com/css/#buttons</a><br />
<br />
<hr />
<br />
Ensuite, nous attaquons les labels de bootstrap.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[label=(.*?)\](.*?)\[/label\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;span class="label label-&#36;1"&gt;&#36;2&lt;/span&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [label=style du label]texte dans le label[/label]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/components/#labels" target="_blank">http://getbootstrap.com/components/#labels</a><br />
<br />
<hr />
<br />
Nous continuons avec les badges.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[badge\](.*?)\[/badge\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;span class="badge"&gt;&#36;1&lt;/span&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [badge]texte dans le badge[/badge]<br />
Pour le rendu (un seul style disponible) : <a href="http://getbootstrap.com/components/#badges" target="_blank">http://getbootstrap.com/components/#badges</a><br />
<br />
<hr />
<br />
Voilà le MyCode pour intégrer les panels : <br />
<span style="font-weight: bold;">Expression régulière :</span> \[panel_(.*?)=(.*?)\](.*?)\[/panel\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;div class="panel panel-&#36;1"&gt;<br />
  &lt;div class="panel-heading"&gt;<br />
    &lt;h3 class="panel-title"&gt;&#36;2&lt;/h3&gt;<br />
  &lt;/div&gt;<br />
  &lt;div class="panel-body"&gt;<br />
    &#36;3<br />
  &lt;/div&gt;<br />
&lt;/div&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [panel_<span style="font-style: italic;">style du panel</span>=<span style="font-style: italic;">titre du panel</span>]<span style="font-style: italic;">contenu du panel</span>[/panel]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/components/#panels" target="_blank">http://getbootstrap.com/components/#panels</a><br />
<br />
<hr />
<br />
Nous poursuivons avec les alerts.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[alert=(.*?)\](.*?)\[/alert\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;div class="alert alert-&#36;1" role="alert"&gt;&#36;2&lt;/div&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [alert=style de l'alert]texte dans l'alert[/alert]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/components/#alerts" target="_blank">http://getbootstrap.com/components/#alerts</a><br />
<br />
<hr />
<br />
Maintenant nous passons aux progressbar.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[progress=(.*?)\](.*?)\[/progress]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;div class="progress"&gt;<br />
&lt;div class="progress-bar progress-bar-&#36;1" role="progressbar" aria-valuenow="&#36;2" aria-valuemin="0" aria-valuemax="100" style="width: &#36;2%"&gt;<br />
    &lt;span class="sr-only"&gt;Avancé : &#36;2 %&lt;/span&gt;<br />
  &lt;/div&gt;<br />
&lt;/div&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [progress=<span style="font-style: italic;">style de la barre</span>]<span style="font-style: italic;">% (ex : 40), sans écrire le %</span>[/progress]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/components/#progress" target="_blank">http://getbootstrap.com/components/#progress</a>]]></description>
			<content:encoded><![CDATA[Bonjour à tous et à toutes, <br />
<br />
Aujourd'hui je vous propose une adaptation des principales fonctions (CSS) de Bootstrap pour vos forums MyBB.<br />
<br />
Avant de commencer à adapter les fonctions de Bootstrap, vous devez l'ajouter à votre site, pour que ça ressemble à quelque chose à la finale...<br />
<br />
Allez dans votre template "headerinclude" et ajoutez-y le css de bootstrap, je vous conseil le lien CDN :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;!-- Latest compiled and minified CSS --&gt;<br />
&lt;link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css"&gt;</code></div></div>
<br />
Avec ceci dans votre template, vous aurez tout ce qu'il faut pour continuer. Si vous voulez l'installer d'une autre manière, vous pouvez toujours visiter le "<a href="http://getbootstrap.com/getting-started/" target="_blank">Getting started</a>".<br />
<br />
<span style="font-size: x-large;">Nous commençons !</span><br />
<hr />
<br />
Première chose que nous allons ajouter, les boutons de bootstrap.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[b_style=(.*?)\](.*?)\[/b_style\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;button type="button" class="btn btn-&#36;1"&gt;&#36;2&lt;/button&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [b_style=style du bouton]texte dans le bouton[/b_style]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/css/#buttons" target="_blank">http://getbootstrap.com/css/#buttons</a><br />
<br />
<hr />
<br />
Ensuite, nous attaquons les labels de bootstrap.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[label=(.*?)\](.*?)\[/label\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;span class="label label-&#36;1"&gt;&#36;2&lt;/span&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [label=style du label]texte dans le label[/label]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/components/#labels" target="_blank">http://getbootstrap.com/components/#labels</a><br />
<br />
<hr />
<br />
Nous continuons avec les badges.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[badge\](.*?)\[/badge\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;span class="badge"&gt;&#36;1&lt;/span&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [badge]texte dans le badge[/badge]<br />
Pour le rendu (un seul style disponible) : <a href="http://getbootstrap.com/components/#badges" target="_blank">http://getbootstrap.com/components/#badges</a><br />
<br />
<hr />
<br />
Voilà le MyCode pour intégrer les panels : <br />
<span style="font-weight: bold;">Expression régulière :</span> \[panel_(.*?)=(.*?)\](.*?)\[/panel\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;div class="panel panel-&#36;1"&gt;<br />
  &lt;div class="panel-heading"&gt;<br />
    &lt;h3 class="panel-title"&gt;&#36;2&lt;/h3&gt;<br />
  &lt;/div&gt;<br />
  &lt;div class="panel-body"&gt;<br />
    &#36;3<br />
  &lt;/div&gt;<br />
&lt;/div&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [panel_<span style="font-style: italic;">style du panel</span>=<span style="font-style: italic;">titre du panel</span>]<span style="font-style: italic;">contenu du panel</span>[/panel]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/components/#panels" target="_blank">http://getbootstrap.com/components/#panels</a><br />
<br />
<hr />
<br />
Nous poursuivons avec les alerts.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[alert=(.*?)\](.*?)\[/alert\]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;div class="alert alert-&#36;1" role="alert"&gt;&#36;2&lt;/div&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [alert=style de l'alert]texte dans l'alert[/alert]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/components/#alerts" target="_blank">http://getbootstrap.com/components/#alerts</a><br />
<br />
<hr />
<br />
Maintenant nous passons aux progressbar.<br />
<span style="font-weight: bold;">Expression régulière :</span> \[progress=(.*?)\](.*?)\[/progress]<br />
<span style="font-weight: bold;">Remplacement :</span> &lt;div class="progress"&gt;<br />
&lt;div class="progress-bar progress-bar-&#36;1" role="progressbar" aria-valuenow="&#36;2" aria-valuemin="0" aria-valuemax="100" style="width: &#36;2%"&gt;<br />
    &lt;span class="sr-only"&gt;Avancé : &#36;2 %&lt;/span&gt;<br />
  &lt;/div&gt;<br />
&lt;/div&gt;<br />
<span style="font-weight: bold;">Utilisation :</span> [progress=<span style="font-style: italic;">style de la barre</span>]<span style="font-style: italic;">% (ex : 40), sans écrire le %</span>[/progress]<br />
Pour le rendu et les styles disponibles : <a href="http://getbootstrap.com/components/#progress" target="_blank">http://getbootstrap.com/components/#progress</a>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Afficher un bouton skype]]></title>
			<link>https://mybb.fr/thread-7113.html</link>
			<pubDate>Sat, 11 Oct 2014 13:10:11 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7113.html</guid>
			<description><![CDATA[En relisant le tutoriel de <a href="http://mybb.fr/user-7335.html" target="_blank">Brfrance</a> sur la façon d'afficher un bouton skype dans le postbit d'un utilisateur, j'ai pensé qu'un MyCode ayant pour fonction de reproduire le résultat de ce tutoriel serait peut-être utile à certaines personnes.<br />
<span style="text-decoration: underline;">Par précaution, je me suis quand même fourni l'autorisation de l'auteur du tutoriel.</span><br />
<br />
Nous allons donc commencer par ajouter à notre template "<span style="font-weight: bold;">headerinclude</span>" le script suivant :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;script src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js" type="text/javascript"&gt;<br />
&lt;/script&gt;</code></div></div>
<br />
Ensuite, nous devons créer un nouveau MyCode et le remplir de cette façon :<br />
<span style="font-weight: bold;">Expression régulière :</span> <div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[skype=(.*?)&#92;]</code></div></div>
<span style="font-weight: bold;">Remplacement :</span> <div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;a href="skype:&#36;1?call" onclick="return skypeCheck();"&gt;&lt;img alt src="http://mystatus.skype.com/smallclassic/&#36;1"/&gt;&lt;/a&gt;</code></div></div>
<br />
Vos utilisateurs peuvent désormais afficher un bouton skype n'importe où dans leurs messages.]]></description>
			<content:encoded><![CDATA[En relisant le tutoriel de <a href="http://mybb.fr/user-7335.html" target="_blank">Brfrance</a> sur la façon d'afficher un bouton skype dans le postbit d'un utilisateur, j'ai pensé qu'un MyCode ayant pour fonction de reproduire le résultat de ce tutoriel serait peut-être utile à certaines personnes.<br />
<span style="text-decoration: underline;">Par précaution, je me suis quand même fourni l'autorisation de l'auteur du tutoriel.</span><br />
<br />
Nous allons donc commencer par ajouter à notre template "<span style="font-weight: bold;">headerinclude</span>" le script suivant :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;script src="http://download.skype.com/share/skypebuttons/js/skypeCheck.js" type="text/javascript"&gt;<br />
&lt;/script&gt;</code></div></div>
<br />
Ensuite, nous devons créer un nouveau MyCode et le remplir de cette façon :<br />
<span style="font-weight: bold;">Expression régulière :</span> <div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[skype=(.*?)&#92;]</code></div></div>
<span style="font-weight: bold;">Remplacement :</span> <div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;a href="skype:&#36;1?call" onclick="return skypeCheck();"&gt;&lt;img alt src="http://mystatus.skype.com/smallclassic/&#36;1"/&gt;&lt;/a&gt;</code></div></div>
<br />
Vos utilisateurs peuvent désormais afficher un bouton skype n'importe où dans leurs messages.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Trois boutons (gris, vert, rouge)]]></title>
			<link>https://mybb.fr/thread-7076.html</link>
			<pubDate>Fri, 26 Sep 2014 15:49:23 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7076.html</guid>
			<description><![CDATA[Coucou, je viens vous partager trois boutons que je me suis amusé à faire avec le site <a href="http://www.cssbuttongenerator.com/" target="_blank">http://www.cssbuttongenerator.com/</a> !<br />
<br />
Alors, voilà l'aperçu des boutons : <a href="http://jsfiddle.net/julesam2/ch6gehbk/" target="_blank">http://jsfiddle.net/julesam2/ch6gehbk/</a><br />
<br />
Maintenant, insérez dans votre template "global.css" (<span style="font-weight: bold;">Administration &gt; Templates &amp; Style &gt; Thèmes &gt; Votre thème &gt; Global.css &gt; Éditer en mode avancé</span>) :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>.bouton_vert {<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-box-shadow:inset 0px 1px 0px 1px #caefab;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-box-shadow:inset 0px 1px 0px 1px #caefab;<br />
&nbsp;&nbsp;&nbsp;&nbsp;box-shadow:inset 0px 1px 0px 1px #caefab;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77d42a), color-stop(1, #5cb811) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #77d42a 5%, #5cb811 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77d42a', endColorstr='#5cb811');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#77d42a;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topleft:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topright:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomright:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomleft:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-indent:10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border:1px solid #268a16;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display:inline-block;<br />
&nbsp;&nbsp;&nbsp;&nbsp;color:#306108;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-family:Trebuchet MS;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-size:15px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-style:normal;<br />
&nbsp;&nbsp;&nbsp;&nbsp;height:40px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;line-height:40px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width:200px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-decoration:none;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-align:center;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-shadow:1px 1px 0px #aade7c;<br />
}<br />
.bouton_vert:hover {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5cb811), color-stop(1, #77d42a) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #5cb811 5%, #77d42a 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5cb811', endColorstr='#77d42a');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#5cb811;<br />
}.bouton_vert:active {<br />
&nbsp;&nbsp;&nbsp;&nbsp;position:relative;<br />
&nbsp;&nbsp;&nbsp;&nbsp;top:1px;<br />
}<br />
<br />
.bouton_rouge {<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-box-shadow:inset 0px 1px 0px 1px #f29c93;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-box-shadow:inset 0px 1px 0px 1px #f29c93;<br />
&nbsp;&nbsp;&nbsp;&nbsp;box-shadow:inset 0px 1px 0px 1px #f29c93;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#ce0100');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#fe1a00;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topleft:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topright:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomright:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomleft:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-indent:10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border:1px solid #d83526;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display:inline-block;<br />
&nbsp;&nbsp;&nbsp;&nbsp;color:#ffffff;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-family:Trebuchet MS;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-size:15px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-style:normal;<br />
&nbsp;&nbsp;&nbsp;&nbsp;height:40px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;line-height:40px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width:200px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-decoration:none;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-align:center;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-shadow:1px 1px 0px #b23e35;<br />
}<br />
.bouton_rouge:hover {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#fe1a00');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#ce0100;<br />
}.bouton_rouge:active {<br />
&nbsp;&nbsp;&nbsp;&nbsp;position:relative;<br />
&nbsp;&nbsp;&nbsp;&nbsp;top:1px;<br />
}<br />
<br />
.defaut {<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;<br />
&nbsp;&nbsp;&nbsp;&nbsp;box-shadow:inset 0px 1px 0px 0px #ffffff;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#ededed;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-left-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topleft:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-left-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-right-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topright:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-right-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-right-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomright:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-right-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-left-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomleft:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-left-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-indent:0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border:1px solid #dcdcdc;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display:inline-block;<br />
&nbsp;&nbsp;&nbsp;&nbsp;color:#777777;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-family:arial;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-size:15px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-style:normal;<br />
&nbsp;&nbsp;&nbsp;&nbsp;height:50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;line-height:50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width:auto;<br />
margin: 10px;<br />
padding: 10px;<br />
min-width: 100px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-decoration:none;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-align:center;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-shadow:1px 1px 0px #ffffff;<br />
}<br />
.defaut:hover {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#dfdfdf;<br />
}.defaut:active {<br />
&nbsp;&nbsp;&nbsp;&nbsp;position:relative;<br />
&nbsp;&nbsp;&nbsp;&nbsp;top:1px;<br />
}</code></div></div>
<br />
Et ensuite, allez dans votre <span style="font-weight: bold;">administration, configuration, mycode</span> et ajouter les mycodes avec les options suivantes :<br />
<br />
Bouton vert:<br />
Expression : \[bouton1="(.*?)"\](.*?)\[/bouton1\]<br />
Remplacement : &lt;a href="&#36;1" class="bouton_vert"&gt;&#36;2&lt;/a&gt;<br />
<br />
Bouton rouge:<br />
Expression : \[bouton2="(.*?)"\](.*?)\[/bouton2\]<br />
Remplacement : &lt;a href="&#36;1" class="bouton_rouge"&gt;&#36;2&lt;/a&gt;<br />
<br />
Bouton gris:<br />
Expression : \[boutond="(.*?)"\](.*?)\[/boutond\]<br />
Remplacement : &lt;a href="&#36;1" class="defaut"&gt;&#36;2&lt;/a&gt;<br />
<br />
Pour l'utilisation :<br />
- Bouton vert : [bouton1="lien"]Texte[/bouton1]<br />
- Bouton rouge : [bouton2="lien"]Texte[/bouton2]<br />
- Bouton gris : [boutond="lien"]Texte[/boutond]]]></description>
			<content:encoded><![CDATA[Coucou, je viens vous partager trois boutons que je me suis amusé à faire avec le site <a href="http://www.cssbuttongenerator.com/" target="_blank">http://www.cssbuttongenerator.com/</a> !<br />
<br />
Alors, voilà l'aperçu des boutons : <a href="http://jsfiddle.net/julesam2/ch6gehbk/" target="_blank">http://jsfiddle.net/julesam2/ch6gehbk/</a><br />
<br />
Maintenant, insérez dans votre template "global.css" (<span style="font-weight: bold;">Administration &gt; Templates &amp; Style &gt; Thèmes &gt; Votre thème &gt; Global.css &gt; Éditer en mode avancé</span>) :<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>.bouton_vert {<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-box-shadow:inset 0px 1px 0px 1px #caefab;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-box-shadow:inset 0px 1px 0px 1px #caefab;<br />
&nbsp;&nbsp;&nbsp;&nbsp;box-shadow:inset 0px 1px 0px 1px #caefab;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #77d42a), color-stop(1, #5cb811) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #77d42a 5%, #5cb811 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#77d42a', endColorstr='#5cb811');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#77d42a;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topleft:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topright:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomright:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomleft:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-indent:10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border:1px solid #268a16;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display:inline-block;<br />
&nbsp;&nbsp;&nbsp;&nbsp;color:#306108;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-family:Trebuchet MS;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-size:15px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-style:normal;<br />
&nbsp;&nbsp;&nbsp;&nbsp;height:40px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;line-height:40px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width:200px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-decoration:none;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-align:center;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-shadow:1px 1px 0px #aade7c;<br />
}<br />
.bouton_vert:hover {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #5cb811), color-stop(1, #77d42a) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #5cb811 5%, #77d42a 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5cb811', endColorstr='#77d42a');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#5cb811;<br />
}.bouton_vert:active {<br />
&nbsp;&nbsp;&nbsp;&nbsp;position:relative;<br />
&nbsp;&nbsp;&nbsp;&nbsp;top:1px;<br />
}<br />
<br />
.bouton_rouge {<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-box-shadow:inset 0px 1px 0px 1px #f29c93;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-box-shadow:inset 0px 1px 0px 1px #f29c93;<br />
&nbsp;&nbsp;&nbsp;&nbsp;box-shadow:inset 0px 1px 0px 1px #f29c93;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fe1a00), color-stop(1, #ce0100) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #fe1a00 5%, #ce0100 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fe1a00', endColorstr='#ce0100');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#fe1a00;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topleft:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topright:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomright:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-right-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomleft:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-left-radius:42px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-indent:10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border:1px solid #d83526;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display:inline-block;<br />
&nbsp;&nbsp;&nbsp;&nbsp;color:#ffffff;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-family:Trebuchet MS;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-size:15px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-style:normal;<br />
&nbsp;&nbsp;&nbsp;&nbsp;height:40px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;line-height:40px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width:200px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-decoration:none;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-align:center;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-shadow:1px 1px 0px #b23e35;<br />
}<br />
.bouton_rouge:hover {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ce0100), color-stop(1, #fe1a00) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #ce0100 5%, #fe1a00 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ce0100', endColorstr='#fe1a00');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#ce0100;<br />
}.bouton_rouge:active {<br />
&nbsp;&nbsp;&nbsp;&nbsp;position:relative;<br />
&nbsp;&nbsp;&nbsp;&nbsp;top:1px;<br />
}<br />
<br />
.defaut {<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;<br />
&nbsp;&nbsp;&nbsp;&nbsp;box-shadow:inset 0px 1px 0px 0px #ffffff;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #ededed 5%, #dfdfdf 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#ededed;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-left-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topleft:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-left-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-top-right-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-topright:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-top-right-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-right-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomright:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-right-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-bottom-left-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius-bottomleft:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-bottom-left-radius:6px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-indent:0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border:1px solid #dcdcdc;<br />
&nbsp;&nbsp;&nbsp;&nbsp;display:inline-block;<br />
&nbsp;&nbsp;&nbsp;&nbsp;color:#777777;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-family:arial;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-size:15px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-weight:bold;<br />
&nbsp;&nbsp;&nbsp;&nbsp;font-style:normal;<br />
&nbsp;&nbsp;&nbsp;&nbsp;height:50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;line-height:50px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;width:auto;<br />
margin: 10px;<br />
padding: 10px;<br />
min-width: 100px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-decoration:none;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-align:center;<br />
&nbsp;&nbsp;&nbsp;&nbsp;text-shadow:1px 1px 0px #ffffff;<br />
}<br />
.defaut:hover {<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed) );<br />
&nbsp;&nbsp;&nbsp;&nbsp;background:-moz-linear-gradient( center top, #dfdfdf 5%, #ededed 100% );<br />
&nbsp;&nbsp;&nbsp;&nbsp;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed');<br />
&nbsp;&nbsp;&nbsp;&nbsp;background-color:#dfdfdf;<br />
}.defaut:active {<br />
&nbsp;&nbsp;&nbsp;&nbsp;position:relative;<br />
&nbsp;&nbsp;&nbsp;&nbsp;top:1px;<br />
}</code></div></div>
<br />
Et ensuite, allez dans votre <span style="font-weight: bold;">administration, configuration, mycode</span> et ajouter les mycodes avec les options suivantes :<br />
<br />
Bouton vert:<br />
Expression : \[bouton1="(.*?)"\](.*?)\[/bouton1\]<br />
Remplacement : &lt;a href="&#36;1" class="bouton_vert"&gt;&#36;2&lt;/a&gt;<br />
<br />
Bouton rouge:<br />
Expression : \[bouton2="(.*?)"\](.*?)\[/bouton2\]<br />
Remplacement : &lt;a href="&#36;1" class="bouton_rouge"&gt;&#36;2&lt;/a&gt;<br />
<br />
Bouton gris:<br />
Expression : \[boutond="(.*?)"\](.*?)\[/boutond\]<br />
Remplacement : &lt;a href="&#36;1" class="defaut"&gt;&#36;2&lt;/a&gt;<br />
<br />
Pour l'utilisation :<br />
- Bouton vert : [bouton1="lien"]Texte[/bouton1]<br />
- Bouton rouge : [bouton2="lien"]Texte[/bouton2]<br />
- Bouton gris : [boutond="lien"]Texte[/boutond]]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Modifier les MyCode par défaut [img] [video] (pour lightbox system)]]></title>
			<link>https://mybb.fr/thread-7067.html</link>
			<pubDate>Tue, 23 Sep 2014 11:11:16 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7067.html</guid>
			<description><![CDATA[Bonjour,<br />
<br />
Pour un premier teste, j'ai ajouté ce MyCode pour les images, avec un simple paramètre de taille :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[img size=(.*?)&#92;](.*?)&#92;[/img&#92;]<br />
&lt;a href="&#36;2"&gt;&lt;img src="&#36;2" style="width:&#36;1;"/&gt;&lt;/a&gt;</code></div></div>
<br />
Résultat : fonctionne à première vu, mais lors de l'édition de message, il ne reste que la balise [img] sans le paramètre size=(...) ; il ne vaut donc mieux pas vouloir éditer un message au risque de perdre la mise en forme !<br />
<br />
Je souhaite donc savoir comment modifier ce MyCode ; soit dit en passant, je trouve d'ailleurs assez bête que les MyCode par défaut ne soient pas présent dans le panneau de config... <img src="https://mybb.fr/images/smilies/undecided.gif" alt="Undecided" title="Undecided" class="smilie smilie_17" /><br />
<span style="font-style: italic;">Question posée ici, sans réponse : <a href="http://community.mybb.com/thread-154848.html" target="_blank">http://community.mybb.com/thread-154848.html</a></span><br />
<br />
J'aimerais pouvoir le modifier pour y intégrer un système de <a href="http://lokeshdhakar.com/projects/lightbox2/" target="_blank">lightbox</a>.<br />
Je précise que je ne souhaite pas créer des MyCode sous d'autres noms, puisqu'il ne devrait pas y avoir le choix !<br />
<br />
Merci bien !]]></description>
			<content:encoded><![CDATA[Bonjour,<br />
<br />
Pour un premier teste, j'ai ajouté ce MyCode pour les images, avec un simple paramètre de taille :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[img size=(.*?)&#92;](.*?)&#92;[/img&#92;]<br />
&lt;a href="&#36;2"&gt;&lt;img src="&#36;2" style="width:&#36;1;"/&gt;&lt;/a&gt;</code></div></div>
<br />
Résultat : fonctionne à première vu, mais lors de l'édition de message, il ne reste que la balise [img] sans le paramètre size=(...) ; il ne vaut donc mieux pas vouloir éditer un message au risque de perdre la mise en forme !<br />
<br />
Je souhaite donc savoir comment modifier ce MyCode ; soit dit en passant, je trouve d'ailleurs assez bête que les MyCode par défaut ne soient pas présent dans le panneau de config... <img src="https://mybb.fr/images/smilies/undecided.gif" alt="Undecided" title="Undecided" class="smilie smilie_17" /><br />
<span style="font-style: italic;">Question posée ici, sans réponse : <a href="http://community.mybb.com/thread-154848.html" target="_blank">http://community.mybb.com/thread-154848.html</a></span><br />
<br />
J'aimerais pouvoir le modifier pour y intégrer un système de <a href="http://lokeshdhakar.com/projects/lightbox2/" target="_blank">lightbox</a>.<br />
Je précise que je ne souhaite pas créer des MyCode sous d'autres noms, puisqu'il ne devrait pas y avoir le choix !<br />
<br />
Merci bien !]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MyCode Menu en onglets]]></title>
			<link>https://mybb.fr/thread-7045.html</link>
			<pubDate>Sun, 14 Sep 2014 16:38:15 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7045.html</guid>
			<description><![CDATA[Bonjour,<br />
<br />
Simple petite question : pensez-vous qu'il soit "facile" d'intégrer des MyCodes <span style="text-decoration: underline;">imbriqués</span> pour créer des menus organisés en onglets dans un post ? Avec jQueryUI ?<br />
<br />
Genre ça :<br />
<br />
[tabs]<br />
 [tab=<span style="font-style: italic;">titre</span>]<span style="font-style: italic;">contenu</span>[/tab]<br />
 [tab=<span style="font-style: italic;">titre</span>]<span style="font-style: italic;">contenu</span>[/tab]<br />
 [tab=<span style="font-style: italic;">titre</span>]<span style="font-style: italic;">contenu</span>[/tab]<br />
[/tabs]<br />
<br />
Qui donnerait donc un truc comme ça : <a href="http://jqueryui.com/tabs/" target="_blank">http://jqueryui.com/tabs/</a><br />
<br />
Je n'ai trouvé aucun plugin valide pour MyBB (ex: MyTabs)... <img src="https://mybb.fr/images/smilies/sad.gif" alt="Sad" title="Sad" class="smilie smilie_8" /><br />
<br />
Merci.]]></description>
			<content:encoded><![CDATA[Bonjour,<br />
<br />
Simple petite question : pensez-vous qu'il soit "facile" d'intégrer des MyCodes <span style="text-decoration: underline;">imbriqués</span> pour créer des menus organisés en onglets dans un post ? Avec jQueryUI ?<br />
<br />
Genre ça :<br />
<br />
[tabs]<br />
 [tab=<span style="font-style: italic;">titre</span>]<span style="font-style: italic;">contenu</span>[/tab]<br />
 [tab=<span style="font-style: italic;">titre</span>]<span style="font-style: italic;">contenu</span>[/tab]<br />
 [tab=<span style="font-style: italic;">titre</span>]<span style="font-style: italic;">contenu</span>[/tab]<br />
[/tabs]<br />
<br />
Qui donnerait donc un truc comme ça : <a href="http://jqueryui.com/tabs/" target="_blank">http://jqueryui.com/tabs/</a><br />
<br />
Je n'ai trouvé aucun plugin valide pour MyBB (ex: MyTabs)... <img src="https://mybb.fr/images/smilies/sad.gif" alt="Sad" title="Sad" class="smilie smilie_8" /><br />
<br />
Merci.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[MyCode appelant une classe dans CSS]]></title>
			<link>https://mybb.fr/thread-7044.html</link>
			<pubDate>Sun, 14 Sep 2014 09:54:58 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-7044.html</guid>
			<description><![CDATA[Bonjour,<br />
<br />
Je souhaite créer une série de shortcodes appelant chacun une classe dans un fichier CSS spécifique, mais à vrai dire ça fait bien longtemps que je ne me suis pas tâté au code, donc je m'y perds un peu et je tourne en rond depuis déjà une bonne heure, sans résultat probant bien sûr... <img src="https://mybb.fr/images/smilies/undecided.gif" alt="Undecided" title="Undecided" class="smilie smilie_17" /> J'en appelle donc à votre expertise pour m'aider dans cette tâche ! <img src="https://mybb.fr/images/smilies/tongue.gif" alt="Tongue" title="Tongue" class="smilie smilie_5" /><br />
<br />
MyCode : <br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[note-success&#92;](.*?)&#92;[/note-success&#92;]</code></div></div>
<br />
<br />
Codes de remplacement testés :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div style="styles/notes.css" class="note-success"&gt;&#36;1&lt;/div&gt;<br />
&lt;div style="admin/styles/notes.css" class="note-success"&gt;&#36;1&lt;/div&gt;</code></div></div>
<br />
<br />
Classe (notes.css) :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>.note-success {<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin: 1.5em 0 1.5em 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding: 1em;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-width: 1px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-style: solid;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-radius: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-radius: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-color: #468847;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background: #DEFFD9;<br />
&nbsp;&nbsp;&nbsp;&nbsp;color: #468847;</code></div></div>
<br />
<br />
Résultat souhaité :<br />
<br />
<img src="http://i.imgur.com/ZrSIMSb.jpg" border="0" alt="[Image: ZrSIMSb.jpg]" /><br />
<br />
<br />
Pourriez-vous me dire ce qui ne va pas ?<br />
Merci d'avance ! <img src="https://mybb.fr/images/smilies/rolleyes.gif" alt="Rolleyes" title="Rolleyes" class="smilie smilie_6" />]]></description>
			<content:encoded><![CDATA[Bonjour,<br />
<br />
Je souhaite créer une série de shortcodes appelant chacun une classe dans un fichier CSS spécifique, mais à vrai dire ça fait bien longtemps que je ne me suis pas tâté au code, donc je m'y perds un peu et je tourne en rond depuis déjà une bonne heure, sans résultat probant bien sûr... <img src="https://mybb.fr/images/smilies/undecided.gif" alt="Undecided" title="Undecided" class="smilie smilie_17" /> J'en appelle donc à votre expertise pour m'aider dans cette tâche ! <img src="https://mybb.fr/images/smilies/tongue.gif" alt="Tongue" title="Tongue" class="smilie smilie_5" /><br />
<br />
MyCode : <br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[note-success&#92;](.*?)&#92;[/note-success&#92;]</code></div></div>
<br />
<br />
Codes de remplacement testés :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;div style="styles/notes.css" class="note-success"&gt;&#36;1&lt;/div&gt;<br />
&lt;div style="admin/styles/notes.css" class="note-success"&gt;&#36;1&lt;/div&gt;</code></div></div>
<br />
<br />
Classe (notes.css) :<br />
<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>.note-success {<br />
&nbsp;&nbsp;&nbsp;&nbsp;margin: 1.5em 0 1.5em 0;<br />
&nbsp;&nbsp;&nbsp;&nbsp;padding: 1em;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-width: 1px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-style: solid;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-webkit-border-radius: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;-moz-border-radius: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-radius: 10px;<br />
&nbsp;&nbsp;&nbsp;&nbsp;border-color: #468847;<br />
&nbsp;&nbsp;&nbsp;&nbsp;background: #DEFFD9;<br />
&nbsp;&nbsp;&nbsp;&nbsp;color: #468847;</code></div></div>
<br />
<br />
Résultat souhaité :<br />
<br />
<img src="http://i.imgur.com/ZrSIMSb.jpg" border="0" alt="[Image: ZrSIMSb.jpg]" /><br />
<br />
<br />
Pourriez-vous me dire ce qui ne va pas ?<br />
Merci d'avance ! <img src="https://mybb.fr/images/smilies/rolleyes.gif" alt="Rolleyes" title="Rolleyes" class="smilie smilie_6" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Récapitulatif Mycode]]></title>
			<link>https://mybb.fr/thread-6688.html</link>
			<pubDate>Mon, 28 Oct 2013 06:40:42 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-6688.html</guid>
			<description><![CDATA[Bonjour, j'aurais aimé savoir si il était possible de permettre à l'utilisateur de voir tout les Mycode utilisable sur le forum? Genre une petite Pop-up lors de l'écriture des messages etc..<br />
<br />
Merci.]]></description>
			<content:encoded><![CDATA[Bonjour, j'aurais aimé savoir si il était possible de permettre à l'utilisateur de voir tout les Mycode utilisable sur le forum? Genre une petite Pop-up lors de l'écriture des messages etc..<br />
<br />
Merci.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[probleme avec le plaguin Related Threads]]></title>
			<link>https://mybb.fr/thread-6397.html</link>
			<pubDate>Thu, 11 Apr 2013 09:47:24 -0400</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-6397.html</guid>
			<description><![CDATA[j'ai instaler un theme s'appel Block &amp; Blue <a href="http://mods.mybb.com/view/block-blue" target="_blank">http://mods.mybb.com/view/block-blue</a>.<br />
d'abord le plaguin fonctionne tres bien mai appre l'instalation du theme tous et dans le bordel .<br />
merci de m'aider le plus vite possible.]]></description>
			<content:encoded><![CDATA[j'ai instaler un theme s'appel Block &amp; Blue <a href="http://mods.mybb.com/view/block-blue" target="_blank">http://mods.mybb.com/view/block-blue</a>.<br />
d'abord le plaguin fonctionne tres bien mai appre l'instalation du theme tous et dans le bordel .<br />
merci de m'aider le plus vite possible.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Boutons de partage bookmark]]></title>
			<link>https://mybb.fr/thread-6335.html</link>
			<pubDate>Thu, 07 Mar 2013 11:14:21 -0500</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-6335.html</guid>
			<description><![CDATA[<span style="font-weight: bold;">Titre</span> <span style="color: #FF0000;">*</span><br />
Boutons de partage bookmark<br />
<br />
<span style="font-weight: bold;">Courte description</span><br />
Boutons de partage bookmark<br />
<br />
<span style="font-weight: bold;">Expression régulière</span> <span style="color: #FF0000;">*</span><br />
\[bm\]\[/bm\]<br />
<br />
<span style="font-weight: bold;">Remplacement</span> <span style="color: #FF0000;">*</span><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">div&nbsp;id</span><span style="color: #007700">=</span><span style="color: #DD0000">"bookmarker_33998"</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">script&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text/javascript"&nbsp;</span><span style="color: #0000BB">src</span><span style="color: #007700">=</span><span style="color: #DD0000">"http://services.supportduweb.com/bookmarker/2-33998.js"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">&lt;/script&gt;</span>&nbsp;<br /></code></div></div></div>
<br />
<span style="font-weight: bold;">Activé ?</span> <span style="color: #FF0000;">*</span><br />
Oui<br />
---<br />
Après il vous d'ajouter le <span style="font-weight: bold;">MyCode</span> '[bm][/bm]'.<br />
<br />
<img src="http://puu.sh/2dBC3" border="0" alt="[Image: 2dBC3]" />]]></description>
			<content:encoded><![CDATA[<span style="font-weight: bold;">Titre</span> <span style="color: #FF0000;">*</span><br />
Boutons de partage bookmark<br />
<br />
<span style="font-weight: bold;">Courte description</span><br />
Boutons de partage bookmark<br />
<br />
<span style="font-weight: bold;">Expression régulière</span> <span style="color: #FF0000;">*</span><br />
\[bm\]\[/bm\]<br />
<br />
<span style="font-weight: bold;">Remplacement</span> <span style="color: #FF0000;">*</span><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">div&nbsp;id</span><span style="color: #007700">=</span><span style="color: #DD0000">"bookmarker_33998"</span><span style="color: #007700">&gt;&lt;/</span><span style="color: #0000BB">div</span><span style="color: #007700">&gt;&lt;</span><span style="color: #0000BB">script&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text/javascript"&nbsp;</span><span style="color: #0000BB">src</span><span style="color: #007700">=</span><span style="color: #DD0000">"http://services.supportduweb.com/bookmarker/2-33998.js"</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">&lt;/script&gt;</span>&nbsp;<br /></code></div></div></div>
<br />
<span style="font-weight: bold;">Activé ?</span> <span style="color: #FF0000;">*</span><br />
Oui<br />
---<br />
Après il vous d'ajouter le <span style="font-weight: bold;">MyCode</span> '[bm][/bm]'.<br />
<br />
<img src="http://puu.sh/2dBC3" border="0" alt="[Image: 2dBC3]" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[[MC] Redimensionner auto d'image [Sans plugin]]]></title>
			<link>https://mybb.fr/thread-6301.html</link>
			<pubDate>Sun, 17 Feb 2013 11:12:10 -0500</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-6301.html</guid>
			<description><![CDATA[Voici un petit MyCode qui permet d'éviter les images qui dépasse du forum afin d'avoir un sujet plus compréhensible et plus joli.<br />
Donc il faut intégrer un code dans le CSS.<br />
<br />
<span style="font-weight: bold;">Theme Style /Global.css/Mode avancée</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>.maximage <br />
{<br />
max-width: 255px;<br />
}</code></div></div>
<br />
<span style="font-weight: bold;"><span style="font-size: large;">Après ajouter le MyCode:</span></span><br />
<span style="font-weight: bold;">Titre: </span>maximage<br />
<span style="font-weight: bold;">Courte description:</span> Mybb Max İmage No Plugin<br />
<span style="font-weight: bold;">Expression régulière:</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[img&#92;](.*?)&#92;[/img&#92;]</code></div></div>
<span style="font-weight: bold;">Replacement:</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;img onclick="javascript:window.location='&#36;1';" src="&#36;1" alt="İmage" class="maximage" title="Clique sur l'image pour l'agrandir"&gt;</code></div></div>
<br />
Merci mybb.com <img src="https://mybb.fr/images/smilies/tongue.gif" alt="Tongue" title="Tongue" class="smilie smilie_5" />]]></description>
			<content:encoded><![CDATA[Voici un petit MyCode qui permet d'éviter les images qui dépasse du forum afin d'avoir un sujet plus compréhensible et plus joli.<br />
Donc il faut intégrer un code dans le CSS.<br />
<br />
<span style="font-weight: bold;">Theme Style /Global.css/Mode avancée</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>.maximage <br />
{<br />
max-width: 255px;<br />
}</code></div></div>
<br />
<span style="font-weight: bold;"><span style="font-size: large;">Après ajouter le MyCode:</span></span><br />
<span style="font-weight: bold;">Titre: </span>maximage<br />
<span style="font-weight: bold;">Courte description:</span> Mybb Max İmage No Plugin<br />
<span style="font-weight: bold;">Expression régulière:</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[img&#92;](.*?)&#92;[/img&#92;]</code></div></div>
<span style="font-weight: bold;">Replacement:</span><br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;img onclick="javascript:window.location='&#36;1';" src="&#36;1" alt="İmage" class="maximage" title="Clique sur l'image pour l'agrandir"&gt;</code></div></div>
<br />
Merci mybb.com <img src="https://mybb.fr/images/smilies/tongue.gif" alt="Tongue" title="Tongue" class="smilie smilie_5" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Carte joueurs xBox]]></title>
			<link>https://mybb.fr/thread-6299.html</link>
			<pubDate>Sat, 16 Feb 2013 17:35:40 -0500</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-6299.html</guid>
			<description><![CDATA[Voici un petit MyCode qui permet d'afficher votre carte de joueur xBox live.<br />
<img src="http://i.imgur.com/Lt5Tq.png" border="0" alt="[Image: Lt5Tq.png]" /><br />
<br />
Expression régulière:<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[xbl&#92;](.*?)&#92;[/xbl&#92;]</code></div></div>
<br />
Remplacement:<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;span class='ft'&gt;&lt;a href="https://live.xbox.com/en-US/Messages?gamertag=&#36;1" target="_blank"&gt;<br />
&lt;img src="http://www.xboxgamercard.org/gamercard/xbl_image.php?gamertag=&#36;1" border=0&nbsp;&nbsp;width=300&gt;<br />
&lt;/a&gt;&lt;/span&gt;</code></div></div>
]]></description>
			<content:encoded><![CDATA[Voici un petit MyCode qui permet d'afficher votre carte de joueur xBox live.<br />
<img src="http://i.imgur.com/Lt5Tq.png" border="0" alt="[Image: Lt5Tq.png]" /><br />
<br />
Expression régulière:<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&#92;[xbl&#92;](.*?)&#92;[/xbl&#92;]</code></div></div>
<br />
Remplacement:<br />
<div class="codeblock">
<div class="title">Code :<br />
</div><div class="body" dir="ltr"><code>&lt;span class='ft'&gt;&lt;a href="https://live.xbox.com/en-US/Messages?gamertag=&#36;1" target="_blank"&gt;<br />
&lt;img src="http://www.xboxgamercard.org/gamercard/xbl_image.php?gamertag=&#36;1" border=0&nbsp;&nbsp;width=300&gt;<br />
&lt;/a&gt;&lt;/span&gt;</code></div></div>
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[Mycode balise Hide]]></title>
			<link>https://mybb.fr/thread-6245.html</link>
			<pubDate>Tue, 15 Jan 2013 09:57:45 -0500</pubDate>
			<guid isPermaLink="false">https://mybb.fr/thread-6245.html</guid>
			<description><![CDATA[Bonjour je suis à la recherche d'un Mycode pour avoir la balise hide<br />
je pourrai cacher une partie d'un sujet et les membres devront répondre pour voir la partie cacher, merci de votre aide sa fait quelque jour que je cherche mais je trouve pas.]]></description>
			<content:encoded><![CDATA[Bonjour je suis à la recherche d'un Mycode pour avoir la balise hide<br />
je pourrai cacher une partie d'un sujet et les membres devront répondre pour voir la partie cacher, merci de votre aide sa fait quelque jour que je cherche mais je trouve pas.]]></content:encoded>
		</item>
	</channel>
</rss>