<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[FluxBB.org Forums - In need of some assistance with a mod]]></title>
		<link>http://fluxbb.org/forums/topic/1823/in-need-of-some-assistance-with-a-mod/</link>
		<description><![CDATA[The most recent posts in In need of some assistance with a mod.]]></description>
		<lastBuildDate>Mon, 08 Sep 2008 02:19:30 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: In need of some assistance with a mod]]></title>
			<link>http://fluxbb.org/forums/post/14549/#p14549</link>
			<description><![CDATA[Thank you so much for this. It works like a charm. :)

Cheers!
Shedrock]]></description>
			<author><![CDATA[dummy@example.com (shedrock)]]></author>
			<pubDate>Mon, 08 Sep 2008 02:19:30 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14549/#p14549</guid>
		</item>
		<item>
			<title><![CDATA[Re: In need of some assistance with a mod]]></title>
			<link>http://fluxbb.org/forums/post/14547/#p14547</link>
			<description><![CDATA[untested
[code]$count = 0;
while (list(, $temp) = @each($icons_topic)) {
    if ($count == '8') {
        $count = '0';
        echo '<br />';
    }
        
    echo '<input type="radio" name="icon_topic" value="'.$temp.'" />&nbsp;<img src="img/icons/'.$temp.'.gif" title="'.$temp.'" alt="'.$temp.'" />&nbsp;';
    
    ++$count;
}
echo '<input type="radio" name="icon_topic" value="0" checked="checked" />&nbsp;None';[/code]]]></description>
			<author><![CDATA[dummy@example.com (Gizzmo)]]></author>
			<pubDate>Mon, 08 Sep 2008 02:00:11 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14547/#p14547</guid>
		</item>
		<item>
			<title><![CDATA[In need of some assistance with a mod]]></title>
			<link>http://fluxbb.org/forums/post/14546/#p14546</link>
			<description><![CDATA[I am trying to modify the code below so that my post_icons can be 8 per line. As it is now they are all displayed on one line and breaks the theme on some browsers. Can anyone help me out here.

[code]if ($fid): 
        $icons_topic = array();
        $d = dir(PUN_ROOT.'img/icons');
                echo '<div class="blockform">
             <div style="width: 650px;" class="inform">
                <fieldset id="post_icons" class="icon_topics">
                    <legend>Topic Icons</legend>';
        while (($entry = $d->read()) !== false)
        {
            if (substr($entry, strlen($entry)-4) == '.gif') $icons_topic[] = substr($entry, 0, strlen($entry)-4);
        }
        $d->close();
        if (count($icons_topic) > 1)
        {
            while (list(, $temp) = @each($icons_topic)) echo '<input type="radio" name="icon_topic" value="'.$temp.'" />&nbsp;<img src="img/icons/'.$temp.'.gif" title="'.$temp.'" alt="'.$temp.'" />&nbsp;';
            echo '<input type="radio" name="icon_topic" value="0" checked="checked" />&nbsp;None';
        }
?>    
                </fieldset>
            </div>
        </div>[/code]

Thanks
Shedrock]]></description>
			<author><![CDATA[dummy@example.com (shedrock)]]></author>
			<pubDate>Mon, 08 Sep 2008 00:31:13 +0000</pubDate>
			<guid>http://fluxbb.org/forums/post/14546/#p14546</guid>
		</item>
	</channel>
</rss>
