<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.llaumgui.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Le blog de llaumgui - Balise - XPerience-Fr</title>
  <link>http://www.llaumgui.com/</link>
  <atom:link href="http://www.llaumgui.com/feed/tag/XPerience-Fr/rss2" rel="self" type="application/rss+xml"/>
  <description>Linux en général, Fedora en particulier...</description>
  <language>fr</language>
  <pubDate>Wed, 03 Dec 2008 15:54:44 +0100</pubDate>
  <copyright>http://creativecommons.org/licenses/by-nc-nd/2.5/</copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Nouvelle version du blog sous DotClear 2.0</title>
    <link>http://www.llaumgui.com/post/Nouvelle-version-du-blog-sous-DotClear-20</link>
    <guid isPermaLink="false">urn:md5:5d413f6c1bfb1c43287bd3ea3d6dd153</guid>
    <pubDate>Fri, 18 Aug 2006 19:48:00 +0200</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Geek Attitude</category>
        <category>Dotclear</category><category>Geek</category><category>llaumgui.com</category><category>XPerience-Fr</category>    
    <description>&lt;p&gt;C'est de retour d'un périple sur les côtes Espagnoles (&lt;a href=&quot;http://maps.google.com/maps?f=q&amp;amp;hl=fr&amp;amp;q=el+campello,+spain&amp;amp;ie=UTF8&amp;amp;ll=38.428984,-0.397911&amp;amp;spn=0.091847,0.210285&amp;amp;t=h&amp;amp;om=1&quot;&gt;El Campello&lt;/a&gt;/&lt;a href=&quot;http://maps.google.com/maps?f=q&amp;amp;hl=fr&amp;amp;q=alicante,+spain&amp;amp;ie=UTF8&amp;amp;t=h&amp;amp;om=1&quot;&gt;Alicante&lt;/a&gt;, &lt;a href=&quot;http://maps.google.com/maps?f=q&amp;amp;hl=fr&amp;amp;q=Benidorm,+Spain&amp;amp;ie=UTF8&amp;amp;t=h&amp;amp;om=1&quot;&gt;Benidorme&lt;/a&gt;, &lt;a href=&quot;http://maps.google.com/maps?f=q&amp;amp;hl=fr&amp;amp;q=calp,+Spain&amp;amp;ie=UTF8&amp;amp;ll=38.636182,0.031757&amp;amp;spn=0.091583,0.210285&amp;amp;t=h&amp;amp;om=1&quot;&gt;Calpe&lt;/a&gt;, &lt;a href=&quot;http://maps.google.com/maps?f=q&amp;amp;hl=fr&amp;amp;q=tossa,+Spain&amp;amp;ie=UTF8&amp;amp;t=h&amp;amp;om=1&quot;&gt;Tossa&lt;/a&gt;) que je vous fais part de la nouvelle version de mon blog. Cette mouture était en préparation depuis quelque temps, la principale nouveauté étant le passage sous la version bêta mais parfaitement stable de &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.dotclear.net/&quot;&gt;DotClear&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Afin de mettre les choses au point, on va faire l'inventaire de ce qui est fait et ce qui reste à faire.&lt;/p&gt;    &lt;h2&gt;Ce qui est fait :&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;Mise à jour de &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.dotclear.net/&quot;&gt;DotClear 1&lt;/a&gt; vers &lt;a hreflang=&quot;fr&quot; href=&quot;http://preview.dotclear.net/&quot;&gt;DotClear 2.0&lt;/a&gt; bêta 2.&lt;/li&gt;
&lt;li&gt;Mise en place des &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.llaumgui.com/tags&quot;&gt;tags&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;del&gt;Mise à jour&lt;/del&gt; refonte de la skin.&lt;/li&gt;
&lt;li&gt;URL rewriting. &lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Ce qui reste à faire :&lt;/h2&gt;
&lt;ul&gt;&lt;li&gt;&lt;del&gt;URL rewriting pour les anciennes urls&lt;/del&gt;.&lt;/li&gt;
&lt;li&gt;&lt;del&gt;Refonte de la skin que je trouve hideuse (&lt;em&gt;j'attends vos commentaires&lt;/em&gt;)&lt;/del&gt;.&lt;/li&gt;
&lt;li&gt;Mise en place de divers plugins de personnalisations.&lt;/li&gt;
&lt;li&gt;Finalisation.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Je profite aussi de cette nouvelle version pour rediriger &lt;a hreflang=&quot;fr&quot; href=&quot;http://www.xperience-fr.net&quot;&gt;XPerience-Fr&lt;/a&gt; vers mon blog, voila, &lt;strong&gt;XPerience-Fr n'est plus&lt;/strong&gt;.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/Nouvelle-version-du-blog-sous-DotClear-20#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/Nouvelle-version-du-blog-sous-DotClear-20#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/atom/comments/81</wfw:commentRss>
      </item>
    
  <item>
    <title>La fin d'XPerience-Fr ?</title>
    <link>http://www.llaumgui.com/post/la-fin-d-xperience-fr</link>
    <guid isPermaLink="false">urn:md5:d8cbaa00a5bbd7c413a75a342f6e2774</guid>
    <pubDate>Fri, 21 Jul 2006 13:56:00 +0000</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Geek Attitude</category>
        <category>Geek</category><category>référencement</category><category>XPerience-Fr</category>    
    <description>&lt;p&gt;Alors que &lt;a href=&quot;http://www.xperience-fr.net&quot; hreflang=&quot;fr&quot;&gt;celui qui fût mon plus gros site&lt;/a&gt; s'apprête à fêter ses 4 ans d'existence, je sens qu'il est temps que l'aventure s'arrête.&lt;/p&gt;    &lt;p&gt;Les raisons sont simples et multiples :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Manque de &lt;strong&gt;temps&lt;/strong&gt; (je ne suis plus étudiant et j'ai d'autres projets, voir plus bas).&lt;/li&gt;
&lt;li&gt;Manque de &lt;strong&gt;news&lt;/strong&gt; et de &lt;strong&gt;newser&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Site trop encré dans l'univers &lt;strong&gt;Windows&lt;/strong&gt; alors que moi, je suis devenu entre temps un &lt;strong&gt;Linuxien&lt;/strong&gt; convaincu.&lt;br /&gt;
Je n'ai donc plus le temps ni l'envi de newser sur des logiciels que je n'utilise plus.&lt;/li&gt;
&lt;li&gt;Manque de &lt;strong&gt;motivation&lt;/strong&gt;, pour les mêmes raisons que le point ci-dessus.&lt;/li&gt;
&lt;li&gt;Baisse d'&lt;strong&gt;audience&lt;/strong&gt; (33 à 50%).&lt;/li&gt;
&lt;li&gt;Echec pour insuffler un souffle &lt;strong&gt;libre/GNU/Linux&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;En 4 ans, XP-Fr est passé de mon plus gros site à mon plus petit. Bien qu'il jouisse encore de pas mal de visite et d'un bon référencement, force est de constater que la participation et de plus en plus réduite.&lt;/p&gt;
&lt;h2&gt;Concrètement, que va t'il se passer ?&lt;/h2&gt;
&lt;p&gt;D'ici le mois de septembre mes adresses mail @xperience-fr devraient être transférées sur le domaine &lt;a href=&quot;http://www.llaumgui.com&quot; hreflang=&quot;fr&quot;&gt;llaumgui.com&lt;/a&gt;.&lt;br /&gt;
Ensuite &lt;a href=&quot;http://www.xperience-fr.net&quot; hreflang=&quot;fr&quot;&gt;XPerience-Fr&lt;/a&gt; sera mis en lecture seule puis déplacé sur un sous domaine de &lt;a href=&quot;http://www.llaumgui.com&quot; hreflang=&quot;fr&quot;&gt;LLaumgui.com&lt;/a&gt; ou il rempliera le rôle de musée. Le domaine &lt;a href=&quot;http://www.xperience-fr.net&quot; hreflang=&quot;fr&quot;&gt;Xperience-Fr&lt;/a&gt; pointera alors vers &lt;a href=&quot;http://www.llaumgui.com&quot; hreflang=&quot;fr&quot;&gt;LLaumgui.com&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Vais-je disparaître du net ?&lt;/h2&gt;
&lt;p&gt;Non, j'assurerais toujours le maintient de mon portail pour &lt;a href=&quot;http://www.scenario-paintball.com&quot; hreflang=&quot;fr&quot;&gt;Scénario-PaintBall&lt;/a&gt; et &lt;a href=&quot;http://www.meta-contact.net&quot; hreflang=&quot;fr&quot;&gt;Meta-contact&lt;/a&gt;.&lt;br /&gt;
De même ma participation auprès de &lt;a href=&quot;http://www.fedora-fr.org&quot; hreflang=&quot;fr&quot;&gt;Fedora-Fr&lt;/a&gt; et du &lt;a href=&quot;http://fedoraproject.org&quot; hreflang=&quot;en&quot;&gt;Projet Fedora&lt;/a&gt; devrait prendre le temps que je consacré à XP-Fr.&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/la-fin-d-xperience-fr#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/la-fin-d-xperience-fr#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/atom/comments/80</wfw:commentRss>
      </item>
    
  <item>
    <title>HTML Logic et système d'onglet</title>
    <link>http://www.llaumgui.com/post/html-logic-et-systeme-d-onglet</link>
    <guid isPermaLink="false">urn:md5:7f622eea391aa33427d00c7301edd4b9</guid>
    <pubDate>Sun, 28 Aug 2005 16:59:00 +0000</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Développement web</category>
        <category>HTML Logic</category><category>IPB</category><category>thème</category><category>XPerience-Fr</category>    
    <description>&lt;p&gt;L'un des point les plus important dans la conception d'un site, c'est de faciliter la navigation par un système simple. Pour la future version d'&lt;a href=&quot;http://www.xperience-fr.net&quot; hreflang=&quot;fr&quot; title=&quot;XPerience-Fr&quot;&gt;XPErience-Fr&lt;/a&gt;, la cinquième du nom, j'ai concu un système d'onglet utilisant l'HTML Logic pour appliquer une classe CSS différente sur l'onglet courant.&lt;/p&gt;    &lt;p&gt;Pour rappel, l'HTML logique est une implémentation d'IPB 2.0 qui permet d'utiliser de test de condition ( &amp;lt;if &amp;gt;&amp;lt;/if&amp;gt;) à l'interieur des template HTML. L'HTML logique a accès à toutes les variables d'$ibforums.&lt;/p&gt;


&lt;code class=&quot;html4strict&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/div.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;div&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;submenu&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;{ipb.vars['home_url']}&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Accueil&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #ddbb00;&quot;&gt;&amp;amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;if=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ipb.input['act']=='idx' || (ipb.input['act']!='Help' &amp;amp;&amp;amp; ipb.input['act']!='Search' &amp;amp;&amp;amp; ipb.input['act']!='Members' &amp;amp;&amp;amp; ipb.input['act']!='calendar')&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/span.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;span&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;current&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Forums&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/if&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;else&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;{ipb.script_url}&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Forums&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/else&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;{ipb.vars['home_url']}/tutorial.php&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Tutoriaux&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;{ipb.vars['home_url']}/logitheque.php&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Logithèque&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;javascript:rules_pop();&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;Règlement&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #ddbb00;&quot;&gt;&amp;amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;if=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ipb.input['act']=='Help'&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/span.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;span&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;current&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;{ipb.lang['tb_help']}&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/if&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;else&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;{ipb.script_url}act=Help&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;{ipb.lang['tb_help']}&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/else&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ddbb00;&quot;&gt;&amp;amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;if=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ipb.input['act']=='Search'&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/span.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;span&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;current&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;{ipb.lang['tb_search']}&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/if&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;else&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;{ipb.script_url}act=Search&amp;amp;amp;f={ipb.input['f']}&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;{ipb.lang['tb_search']}&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/else&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ddbb00;&quot;&gt;&amp;amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;if=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ipb.input['act']=='Members'&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/span.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;span&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;current&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;{ipb.lang['tb_mlist']}&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/if&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;else&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;{ipb.script_url}act=Members&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;{ipb.lang['tb_mlist']}&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/else&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ddbb00;&quot;&gt;&amp;amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;if=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;ipb.input['act']=='calendar'&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/span.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;span&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;id&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;current&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;{ipb.lang['tb_calendar']}&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/span&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/if&amp;gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #009900;&quot;&gt;&amp;lt;else&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;a href=&quot;http://december.com/html/4/element/a.html&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;a&lt;/span&gt;&lt;/a&gt; &lt;span style=&quot;color: #000066;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;{ipb.script_url}act=calendar&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;{ipb.lang['tb_calendar']}&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/a&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;&lt;/span&gt;/else&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #009900;&quot;&gt;&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;lt;/div&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/html-logic-et-systeme-d-onglet#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/html-logic-et-systeme-d-onglet#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/atom/comments/40</wfw:commentRss>
      </item>
    
  <item>
    <title>Messages et sujets sous modération (queued)</title>
    <link>http://www.llaumgui.com/post/messages-et-sujets-sous-moderation-queued</link>
    <guid isPermaLink="false">urn:md5:fd5a813d3578dcb05e04829c3a544d0b</guid>
    <pubDate>Thu, 30 Jun 2005 12:00:00 +0000</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Développement web</category>
        <category>IPB</category><category>IPBSDK</category><category>mods</category><category>php</category><category>XPerience-Fr</category>    
    <description>&lt;p&gt;Lors de l'un de mes rares passages sur l'index de mes forums (&lt;a href=&quot;http://forums.xperience-fr.net&quot; hreflang=&quot;fr&quot;&gt;XPerience-Fr&lt;/a&gt;), je me suis rendu compte d'un message en attente de modération (état invisible) depuis plus d'une semaine.
La constatation est simple, un portail et la fonction &amp;quot;Voir les nouveaux messages&amp;quot; fait que nous ne passons presque plus sur l'index des forums.&lt;/p&gt;    &lt;p&gt;Après &lt;a href=&quot;http://ipb2.ipbr-fr.com/index.php?showtopic=1316&quot; hreflang=&quot;fr&quot;&gt;une discutions chez les copain d'IPBR-Fr&lt;/a&gt;, la solution la plus simple me parait d'afficher un message dans la boite membre comme cela :&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://www.llaumgui.com/public/images/show_queued.png&quot; alt=&quot;show_queued.png&quot; style=&quot;display:block; margin:0 auto;&quot; /&gt;&lt;/p&gt;


&lt;p&gt;Pour cela j'utilise une fonction dans la classe MySDK (&lt;a href=&quot;http://www.llaumgui.com/post/heritage-du-ipbsdk-1-theorie&quot; hreflang=&quot;fr&quot;&gt;Petit rappel&lt;/a&gt;) que je vous livre :&lt;/p&gt;

&lt;code class=&quot;php&quot;&gt;**&lt;br /&gt;
* Retourne le nombre de message et de topics en attente de validation.&lt;br /&gt;
* @author Guillaume Kulakowski &amp;lt;guillaume_AT_llaumgui_DOT_com&amp;gt;&lt;br /&gt;
* @&lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array&lt;/span&gt;&lt;/a&gt; topics et posts en attente de validation&lt;br /&gt;
*/&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;function&lt;/span&gt; get_queued&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; !&lt;a href=&quot;http://www.php.net/empty&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;empty&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$GLOBALS&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'ibforums'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;cache&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'forum_cache'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &amp;amp;&amp;amp; &lt;a href=&quot;http://www.php.net/is_array&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;is_array&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$GLOBALS&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'ibforums'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;cache&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'forum_cache'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0000ff;&quot;&gt;$queued_topics&lt;/span&gt; &amp;nbsp;= &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0000ff;&quot;&gt;$queued_posts&lt;/span&gt; = &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;foreach&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$GLOBALS&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'ibforums'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;cache&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'forum_cache'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;as&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$id&lt;/span&gt; =&amp;gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$value&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0000ff;&quot;&gt;$queued_topics&lt;/span&gt; &amp;nbsp;+= &lt;span style=&quot;color: #0000ff;&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'queued_topics'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0000ff;&quot;&gt;$queued_posts&lt;/span&gt; &amp;nbsp;+= &lt;span style=&quot;color: #0000ff;&quot;&gt;$value&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'queued_posts'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;a href=&quot;http://www.php.net/array&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;array&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$queued_topics&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$queued_posts&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;false&lt;/span&gt;; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/code&gt;


&lt;p&gt;Cette nouvelle fonction gère le retour d'information, il suffit alors de modifier la fonction d'affichage.
Le nouveau message affiché renvoi vers la liste des messages sous modérations, pour cela, j'utilise l'auto-module &amp;quot;Show queued&amp;quot; bientôt disponible chez IPBR-Fr.&lt;/p&gt;


&lt;p&gt;&lt;em&gt;Petit rappel sur ce qu'est un auto-module: C'est un mod pour IPB ne nécessitant aucune modification de fichier et utilisant le lanceur auto-module d'IPB.&lt;/em&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://www.llaumgui.com/post/messages-et-sujets-sous-moderation-queued#comment-form</comments>
      <wfw:comment>http://www.llaumgui.com/post/messages-et-sujets-sous-moderation-queued#comment-form</wfw:comment>
      <wfw:commentRss>http://www.llaumgui.com/feed/atom/comments/30</wfw:commentRss>
      </item>
    
  <item>
    <title>IPB-SDK, les guests et le cache</title>
    <link>http://www.llaumgui.com/post/ipb-sdk-les-guests-et-le-cache</link>
    <guid isPermaLink="false">urn:md5:f64765ff10c4e0f42c26dc25ab0fde02</guid>
    <pubDate>Tue, 31 May 2005 19:44:00 +0000</pubDate>
    <dc:creator>llaumgui</dc:creator>
        <category>Développement web</category>
        <category>cache</category><category>IPB</category><category>IPBSDK</category><category>optimisation</category><category>php</category><category>XPerience-Fr</category>    
    <description>&lt;p&gt;Ayant recodé le système de débug pour mon site, j'ai analysé les requêtes MySQL. J'ai effectué l'analyse logué en membre et délogué comme simple invité. La logique voudrait qu'un membre demande plus de requête du fait qu'il interroge sa boite de message privé, récupère ses infos, etc. Hors sous IPB-SDK c'est l'inverse.&lt;/p&gt;    &lt;p&gt;Le listing des requêtes faite ressortir une requête identique qui se répète plusieurs fois (5 fois dans mon cas) :&lt;/p&gt;

&lt;code class=&quot;sql&quot;&gt;&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;SELECT&lt;/span&gt; m.*, me.signature, me.avatar_size, me.avatar_location, me.avatar_type, me.vdirs,&lt;br /&gt;
me.location, me.msnname, me.interests, me.yahoo, me.website, me.aim_name, me.icq_number,&lt;br /&gt;
g.*, cf.*&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;FROM&lt;/span&gt; ibf_members m&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LEFT&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt; ibf_groups g &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;m.mgroup=g.g_id&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LEFT&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt; ibf_pfields_content cf &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;cf.member_id=m.id&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;LEFT&lt;/span&gt; &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;JOIN&lt;/span&gt; ibf_member_extra me &lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;ON&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;me.id=m.id&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #993333; font-weight: bold;&quot;&gt;WHERE&lt;/span&gt; m.id=&lt;span style=&quot;color: #ff0000;&quot;&gt;'0'&lt;/span&gt;&lt;/code&gt;


&lt;p&gt;Le constat est rapide. Il n'y a pas de membre à l'id = 0. La requête retourne rien donc alimente le cache avec rien. De ce fait une interrogation du cache ne retourne rien et ré-effectue la requête.
La fonction concernée par ce problème et la fonction &lt;strong&gt;get_advinfo()&lt;/strong&gt; que j'ai redéfinie pour qu'elle tienne compte des invités.&lt;/p&gt;

&lt;code class=&quot;php&quot;&gt;&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;/**&lt;br /&gt;
* Grabs detailed information on a member.&lt;br /&gt;
* Modification : Gestion des guest.&lt;br /&gt;
* @author Guillaume Kulakowski &amp;lt;guillaume_AT_llaumgui_DOT_com&amp;gt;&lt;br /&gt;
* @author Pita (conversion to 2.0) &amp;lt;peter@randomnity.com&amp;gt;&lt;br /&gt;
* @author Cow &amp;lt;khlo@global-centre.com&amp;gt;&lt;br /&gt;
* @param integer $memberid&lt;br /&gt;
* @return array Member Information, or FALSE on failure&lt;br /&gt;
* @see get_info(),get_avatar(),get_raw_sig(),get_photo(),get_member_pips(),get_member_icon(),get_num_new_posts(),get_skin_id()&lt;br /&gt;
*/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;function&lt;/span&gt; get_advinfo&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$memberid&lt;/span&gt; = &lt;span style=&quot;color: #ff0000;&quot;&gt;''&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;!&lt;span style=&quot;color: #0000ff;&quot;&gt;$memberid&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$memberid&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$GLOBALS&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'ibforums'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;member&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#91;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'id'&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#93;&lt;/span&gt;; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #808080; font-style: italic;&quot;&gt;// Gestion des guests non présentes de base ! :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt; &lt;a href=&quot;http://www.php.net/empty&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;empty&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$memberid&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; || &lt;span style=&quot;color: #0000ff;&quot;&gt;$memberid&lt;/span&gt; == &lt;span style=&quot;color: #cc66cc;&quot;&gt;0&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;false&lt;/span&gt;; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$cache&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;get_cache&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'get_advinfo'&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$memberid&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$cache&lt;/span&gt;; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;DB&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;query&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;SELECT m.*, me.signature, me.avatar_size, me.avatar_location, me.avatar_type, me.vdirs,&lt;br /&gt;
me.location, me.msnname, me.interests, me.yahoo,&lt;br /&gt;
me.website, me.aim_name, me.icq_number,&lt;br /&gt;
g.*, cf.*&lt;br /&gt;
FROM ibf_members m&lt;br /&gt;
LEFT JOIN ibf_groups g ON (m.mgroup=g.g_id)&lt;br /&gt;
LEFT JOIN ibf_pfields_content cf ON (cf.member_id=m.id)&lt;br /&gt;
LEFT JOIN ibf_member_extra me ON (me.id=m.id)&lt;br /&gt;
WHERE m.id='&amp;quot;&lt;/span&gt; . &lt;a href=&quot;http://www.php.net/intval&quot;&gt;&lt;span style=&quot;color: #000066;&quot;&gt;intval&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$memberid&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt; . &lt;span style=&quot;color: #ff0000;&quot;&gt;&amp;quot;'&amp;quot;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;DB&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;get_num_rows&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt; = &lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;DB&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;fetch_row&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #0000ff;&quot;&gt;$this&lt;/span&gt;-&amp;gt;&lt;span style=&quot;color: #006600;&quot;&gt;save_cache&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span style=&quot;color: #ff0000;&quot;&gt;'get_advinfo'&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$memberid&lt;/span&gt;, &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#41;&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0000ff;&quot;&gt;$info&lt;/span&gt;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #b1b100;&quot;&gt;else&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#123;&lt;/span&gt; &lt;span style=&quot;color: #b1b100;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;FALSE&lt;/span&gt;; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #66cc66;&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/code&gt;


&lt;p&gt;Dans le cas d'&lt;a href=&quot;http://www.xperience-fr.net&quot; hreflang=&quot;fr&quot;&gt;XPerience-Fr&lt;/a&gt;, cette fonction étant utilisée plusieurs fois, j'économise ainsi 5 requêtes MySQL sur la page d'accueil. Vous pouvez en gagner plus ou moins selon votre code.&lt;/p&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>