<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=1239&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Webcam Bild, nur aktuelles anzeigen]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=1239</link>
		<description><![CDATA[Die aktuellsten Beiträge in Webcam Bild, nur aktuelles anzeigen.]]></description>
		<lastBuildDate>Tue, 05 Jun 2012 08:29:02 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=18948#p18948</link>
			<description><![CDATA[<p>Ich Doofmann.</p><p>Hatte die Verlinkung zum UDT gelöscht, bzw. beim Kopieren nicht mit kopiert.<br />Da waren die Stundenlange Suche eine gerechte Strafe für meine Dummheit.</p><p>Wie so oft, der Fehler sitzt vor dem Monitor ;-)</p><br /><br /><p>Gruß</p><p>Hmelk</p>]]></description>
			<author><![CDATA[dummy@example.com (Hmelk)]]></author>
			<pubDate>Tue, 05 Jun 2012 08:29:02 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=18948#p18948</guid>
		</item>
		<item>
			<title><![CDATA[Re: Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=18431#p18431</link>
			<description><![CDATA[<p>Gabs da ein Server-Update o.ä.?</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Thu, 10 May 2012 19:08:25 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=18431#p18431</guid>
		</item>
		<item>
			<title><![CDATA[Re: Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=18417#p18417</link>
			<description><![CDATA[<p>Hi.</p><p>Was nun sonderbar ist, seit ca. 3 Wochen werden die Bilder nicht mehr gelöscht.<br />Hat da wer eine Idee, woran das liegen kann?</p><p>Gruß</p><p>Hmelk</p>]]></description>
			<author><![CDATA[dummy@example.com (Hmelk)]]></author>
			<pubDate>Thu, 10 May 2012 08:01:52 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=18417#p18417</guid>
		</item>
		<item>
			<title><![CDATA[Re: Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10932#p10932</link>
			<description><![CDATA[<p>geht&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/big_smile.png" alt="big_smile" /> </p><p>THANKS</p><br /><p>Hmelk</p>]]></description>
			<author><![CDATA[dummy@example.com (Hmelk)]]></author>
			<pubDate>Mon, 05 Sep 2011 12:16:27 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10932#p10932</guid>
		</item>
		<item>
			<title><![CDATA[Re: Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10921#p10921</link>
			<description><![CDATA[<p>Ohne Gewähr, dass es funktioniert, das Skript sollte alle bis auf die neuesten fünf Dateien löschen:</p><div class="codebox"><pre><code>    $max = 5;
    $path = &#039;test&#039;;

    $files = new DirectoryIterator($path);
    $times = array();
    
    foreach($files as $file) {
        if($file-&gt;isDir())
            continue;
            
        $times[$file-&gt;getMTime()] = $file-&gt;getPathName();
    }
    
    ksort($times);
    $times = array_reverse($times);
    $count = count($times);
    
    for($i=$max; $i&lt;$count; $i++) {
        @unlink($times[$i]);
    }</code></pre></div><p>Das müsste man als UDT oder ähnliches abspeichern und die Variablen am Anfang entsprechend anpassen.</p>]]></description>
			<author><![CDATA[dummy@example.com (dc2)]]></author>
			<pubDate>Mon, 05 Sep 2011 09:49:11 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10921#p10921</guid>
		</item>
		<item>
			<title><![CDATA[Re: Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10919#p10919</link>
			<description><![CDATA[<p>Du könntest die Abfragen im Gallery-Template auch so ändern, dass nur die 5 jüngsten Bilder angezeigt werden.</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Mon, 05 Sep 2011 09:47:12 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10919#p10919</guid>
		</item>
		<item>
			<title><![CDATA[Re: Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10916#p10916</link>
			<description><![CDATA[<p>Hallo.</p><p>Das sind (meine) Foscam Kameras, da lässt sich der Name nicht nicht ändern. </p><p>Gruß</p><p>Hmelk</p>]]></description>
			<author><![CDATA[dummy@example.com (Hmelk)]]></author>
			<pubDate>Mon, 05 Sep 2011 09:32:16 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10916#p10916</guid>
		</item>
		<item>
			<title><![CDATA[Re: Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10915#p10915</link>
			<description><![CDATA[<p>Moin!</p><p>Sind das deine Kameras? Die lassen sich doch i.d.R. so konfigurieren, dass sie immer den selben Namen verwenden?</p><p>Servus,<br />Alex</p>]]></description>
			<author><![CDATA[dummy@example.com (faglork)]]></author>
			<pubDate>Mon, 05 Sep 2011 09:24:10 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10915#p10915</guid>
		</item>
		<item>
			<title><![CDATA[Webcam Bild, nur aktuelles anzeigen]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10912#p10912</link>
			<description><![CDATA[<p>Hallo.</p><p>Ich möchte auf meine Seite Bilder von Webcams/IPcams anzeigen lassen.</p><p>Lade sie per FTP in einen Unterordner der Gallery und binde sie auf der Seite ein, soweit alles O.K.<br />Leider geben die Kameras denn Bildern immer neue Namen, so dass auch alle alten Bilder angezeigt werden.<br />Ich suche nun eine Möglichkeit, dass alle alten Bilder automatisch gelöscht werden, wenn ein neues geladen wird.<br />Oder noch besser, dass die letzten 5 Bilder bleiben, die älteren werden gelöscht.</p><p>Hat da wer eine Idee?</p><p>Gruß</p><p>Hmelk</p>]]></description>
			<author><![CDATA[dummy@example.com (Hmelk)]]></author>
			<pubDate>Mon, 05 Sep 2011 09:02:39 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=10912#p10912</guid>
		</item>
	</channel>
</rss>
