<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Odd Problem With Smilies in Help.php]]></title>
		<link>https://punbb.informer.com/forums/topic/5851/odd-problem-with-smilies-in-helpphp/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/5851/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Odd Problem With Smilies in Help.php.]]></description>
		<lastBuildDate>Sat, 15 Jan 2005 19:43:28 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Odd Problem With Smilies in Help.php]]></title>
			<link>https://punbb.informer.com/forums/post/30915/#p30915</link>
			<description><![CDATA[<p>Yeah it does actually. Took me a few minutes to figure out that I had to replace that line with the one below it. Trac looks pretty cool.</p><p>Thanks Rickard.</p>]]></description>
			<author><![CDATA[null@example.com (Mako)]]></author>
			<pubDate>Sat, 15 Jan 2005 19:43:28 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/30915/#p30915</guid>
		</item>
		<item>
			<title><![CDATA[Re: Odd Problem With Smilies in Help.php]]></title>
			<link>https://punbb.informer.com/forums/post/30869/#p30869</link>
			<description><![CDATA[<p>Does <a href="http://dev.punbb.org/changeset/14">this</a> help?</p>]]></description>
			<author><![CDATA[null@example.com (Rickard)]]></author>
			<pubDate>Sat, 15 Jan 2005 11:45:26 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/30869/#p30869</guid>
		</item>
		<item>
			<title><![CDATA[Re: Odd Problem With Smilies in Help.php]]></title>
			<link>https://punbb.informer.com/forums/post/30862/#p30862</link>
			<description><![CDATA[<div class="quotebox"><cite>Benny wrote:</cite><blockquote><p>in my forum there are no problems</p></blockquote></div><p>you don&#039;t have any extra smilies so i assume you don&#039;t use the mod</p>]]></description>
			<author><![CDATA[null@example.com (Connorhd)]]></author>
			<pubDate>Sat, 15 Jan 2005 10:45:53 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/30862/#p30862</guid>
		</item>
		<item>
			<title><![CDATA[Re: Odd Problem With Smilies in Help.php]]></title>
			<link>https://punbb.informer.com/forums/post/30860/#p30860</link>
			<description><![CDATA[<p>in my forum there are no problems</p>]]></description>
			<author><![CDATA[null@example.com (Benny)]]></author>
			<pubDate>Sat, 15 Jan 2005 10:23:44 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/30860/#p30860</guid>
		</item>
		<item>
			<title><![CDATA[Odd Problem With Smilies in Help.php]]></title>
			<link>https://punbb.informer.com/forums/post/30853/#p30853</link>
			<description><![CDATA[<p><span class="postimg"><img src="http://img18.exs.cx/img18/8457/untitled6la.jpg" alt="http://img18.exs.cx/img18/8457/untitled6la.jpg" /></span><br />I am entering in a bunch of smilies (250 roughly) for my forum (using my Easy Smilies mod) and ran into this odd parse erorr in &quot;help.php&quot;. Line 144&#039;s area is:<br /></p><div class="codebox"><pre><code>// Display the smiley set
require PUN_ROOT.&#039;include/parser.php&#039;;

$num_smilies = count($smiley_text);
for ($i = 0; $i &lt; $num_smilies; ++$i)
{
    // Is there a smiley at the current index?
    if (!isset($smiley_text[$i]))
        continue;

    echo &quot;\t\t&quot;.&#039;    &#039;.$smiley_text[$i];

    // Save the current text and image
    $cur_img = $smiley_img[$i];
    $cur_text = $smiley_text[$i];

    // Loop through the rest of the array and see if there are any duplicate images
    // (more than one text representation for one image)
    for ($next = $i + 1; $next &lt; $num_smilies; ++$next)
    {
        // Did we find a dupe?
        if ($smiley_img[$i] == $smiley_img[$next])
        {
            echo &#039; &#039;.$lang_common[&#039;and&#039;].&#039; &#039;.$smiley_text[$next];

            // Remove the dupe so we won&#039;t display it twice
            unset($smiley_text[$next]);
            unset($smiley_img[$next]);
        }
    }

    echo &#039; &#039;.$lang_help[&#039;produces&#039;].&#039; &lt;img src=&quot;img/smilies/&#039;.$cur_img.&#039;&quot; alt=&quot;&#039;.$cur_text.&#039;&quot; /&gt;&lt;br /&gt;&#039;.&quot;\n&quot;;
}</code></pre></div><p>Line 144 is:<br /></p><div class="codebox"><pre><code>if ($smiley_img[$i] == $smiley_img[$next])</code></pre></div><p>Any idea as to what is cuasing this and why it 1) continues to display the smilies and 2) does not display 3dwhitesmile.gif when it is there in /img/smilies. Even the text is correct for it.</p><p>Any idea?</p>]]></description>
			<author><![CDATA[null@example.com (Mako)]]></author>
			<pubDate>Sat, 15 Jan 2005 08:47:18 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/30853/#p30853</guid>
		</item>
	</channel>
</rss>
