<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Pligg CMS</title>
	<atom:link href="http://www.pligg.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pligg.com/blog</link>
	<description>Open Source Content Management System for Social Networking</description>
	<lastBuildDate>Wed, 24 Jun 2009 18:33:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>200,000+ Downloads, 1 New Template</title>
		<link>http://www.pligg.com/blog/515/200000-downloads-1-new-template/</link>
		<comments>http://www.pligg.com/blog/515/200000-downloads-1-new-template/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 18:33:31 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=515</guid>
		<description><![CDATA[Pligg hit the 200,000 tracked downloads mark last week, with a download rate of about 500 downloads each day since Pligg 1.0.0 was released 8 days ago. To celebrate this mile marker I have developed and released a Pligg template that features the new ability to vote both UP and DOWN on stories. The template [...]]]></description>
			<content:encoded><![CDATA[<p>Pligg hit the 200,000 tracked downloads mark last week, with a download rate of about 500 downloads each day since Pligg 1.0.0 was released 8 days ago. To celebrate this mile marker I have developed and released a Pligg template that features the new ability to vote both UP and DOWN on stories. The template is called &#8220;The Standard&#8221; and it is a free 2 column template for Pligg. </p>
<p>If you look under the hood of the template you will notice that it&#8217;s very much based on the default Pligg template &#8220;Wistie&#8221;. I performed many of the changes through editing the CSS file. I designed this template because I know that a lot of users don&#8217;t want to start designing a template from Wistie because it&#8217;s a 3 column template. It didn&#8217;t take much work to <a href="http://forums.pligg.com/modification-tutorials/18290-wistie-column-changes-tutorial.html" target="_blank" target="_blank">change Wistie to a 2 column template</a>. From there I just added some images and adjusted the width of a few template files to match the new 2 column format. Hopefully this template will be used to generate some free 2 column templates that others can contribute to the <a href="http://forums.pligg.com/pligg-templates/" target="_blank" target="_blank">Pligg Templates</a> forum. </p>
<p>The new template allows users to vote either up or down on stories, in some cases resulting in negative numbers appearing. A story still needs to reach a set positive number in order to become &#8220;published&#8221;, but once it is published it can go negative and remain on the homepage.  The Standard will be included as a second template with the next release of Pligg, but we cannot guarantee long term support for it. You can learn more about the template by viewing the <a href="http://forums.pligg.com/pligg-templates/18679-standard-template-yankidank.html#post81542" target="_blank" target="_blank">official The Standard template thread</a>.</p>
<div style="margin:0 auto;width:410px;padding:10px;background:#FFFBCC;border:2px solid #E6DB55;">
<p style="text-align:center"><a href="http://www.pligg.com/blog/wp-content/uploads/2009/06/standard-template.png" target="_blank" target="_blank"><img src="http://www.pligg.com/blog/wp-content/uploads/2009/06/standard-template-400x356.png" alt="The Standard Template" title="The Standard Template" width="400" height="356" class="aligncenter size-medium wp-image-516" /></a></p>
<div style="border-bottom:1px solid #E6DB55;padding:0 0 5px 0;">
<img src="http://www.pligg.com/blog/wp-content/uploads/2009/06/download.gif" alt="download" title="download" width="16" height="16" class="alignnone size-full wp-image-526" /> <a href="http://forums.pligg.com/pligg-templates/18679-standard-template-yankidank.html" target="_blank" target="_blank"> Download The Standard Template from the Pligg Forums</a></div>
<div style="padding: 5px 0 0 0;"><img src="http://www.pligg.com/blog/wp-content/uploads/2009/06/preview.gif" alt="preview" title="preview" width="16" height="16" class="alignnone size-full wp-image-527" /> <a href="http://www.pligg.com/demo/settemplate.php?template=thestandard" target="_blank" target="_blank"> Demo The Standard Template at pligg.com/demo/</a>
</div>
</div>
<p></p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/515/200000-downloads-1-new-template/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Pligg 1.0.0 Release</title>
		<link>http://www.pligg.com/blog/503/pligg-1-0-0-release/</link>
		<comments>http://www.pligg.com/blog/503/pligg-1-0-0-release/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 19:58:49 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=503</guid>
		<description><![CDATA[We&#8217;ve been busy over the past year and there&#8217;s a lot to show for it. The new version of Pligg is more stable, secure and feature packed and best of all it&#8217;s still FREE. We will continue to develop Pligg as usual, and starting with 1.0.0 we will be making fewer changes to template files [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve been busy over the past year and there&#8217;s <a href="http://twitter.com/pligg" target="_blank" target="_blank">a lot to show for it</a>. The <a href="http://forums.pligg.com/current-version/18579-pligg-content-management-system-1-0-0-a.html#post80996" target="_blank" target="_blank">new version of Pligg</a> is more stable, secure and feature packed and best of all it&#8217;s still FREE. We will continue to develop Pligg as usual, and starting with 1.0.0 we will be making fewer changes to template files (besides bug fixes) so that templates will continue to work as we release updates. We suggest that anyone running Beta 9.9.5 should upgrade to 1.0.0 to ensure that you are running the most secure version of Pligg. </p>
<p>The most exciting feature for Pligg 1.0.0 is that we are now supporting 3 languages. During the installation process you will be able to select from English, German and Thai languages. By selecting one of these languages it will change the language of your entire Pligg site and admin panel. If you are interested in translating Pligg to another language please join the <a href="http://www.pligg.com/blog/translate/" target="_blank" target="_blank">Pligg Translator Google Group</a>. </p>
<p style="text-align:center"><a href="http://forums.pligg.com/attachments/current-version/2032d1245171709-pligg-content-management-system-1-0-0-pligg-cms-1.0.0.zip" target="_blank" target="_blank"><img src="http://www.pligg.com/redo/images/download_1-0.gif" alt="Download Pligg" /></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/503/pligg-1-0-0-release/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Upcoming Site Downtime</title>
		<link>http://www.pligg.com/blog/500/upcoming-site-downtime/</link>
		<comments>http://www.pligg.com/blog/500/upcoming-site-downtime/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 09:25:24 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/500/upcoming-site-downtime/</guid>
		<description><![CDATA[We are spending some time over the next few days upgrading servers and transferring things over. During that time you may notice either a slowdown in page load times or even short periods of downtime. We may even lose a small amount of forum data during the changeover and I apologize ahead of time should [...]]]></description>
			<content:encoded><![CDATA[<p>We are spending some time over the next few days upgrading servers and transferring things over. During that time you may notice either a slowdown in page load times or even short periods of downtime. We may even lose a small amount of forum data during the changeover and I apologize ahead of time should we lose any of your posts during this transition. After the upgrade it would be appreciated if you would report any bugs that you might come across in the forums. I will write a follow up blog post with more information when I have something to share. </p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/500/upcoming-site-downtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Release Date for 1.0 Final</title>
		<link>http://www.pligg.com/blog/464/release-date-for-10-final/</link>
		<comments>http://www.pligg.com/blog/464/release-date-for-10-final/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 20:31:55 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=464</guid>
		<description><![CDATA[We are performing some final bug fixes and adding in one last feature before the big announcement. The last feature to be added in will be an altered vote method that will allow users to vote either up or down. Currently it&#8217;s possible to accomplish this through some clever templating, but the solution is more [...]]]></description>
			<content:encoded><![CDATA[<p>We are performing some final bug fixes and adding in one last feature before the big announcement. The last feature to be added in will be an altered vote method that will allow users to vote either up or down. Currently it&#8217;s possible to accomplish this through some clever templating, but the solution is more of a hacked patch than usable code. You can expect some new templates in <a href="http://www.pligg.com/pro/" target="_blank" target="_blank">Pligg Pro</a> to take advantage of the new up/down vote method that will be added into Pligg soon.</p>
<p>The release date for 1.0 Final will probably be <strong>Tuesday, June 16, 2009</strong>. I hoped to release mid next week, but I suddenly have to travel all of next week and I won&#8217;t be able to work my normal 12 hours a day. Unless something major happens between now and the 16th you can expect the 1.0 release to be out soon. Until then you can grab the latest SVN versions for the latest bug fixes and features.</p>
<p>We will be ending the donation drive, and stop making the <a href="http://www.pligg.com/blog/386/donation-drive-2009/" target="_blank" target="_blank">Magazeen template and Plingger module</a> available for donors after 1.0 is out. If you want to get your hands on the Magazeen template or Plingger module you must have your donation of $20 or more in before 1.0 final is released. I suggest that you take advantage of the offer because Magazeen is really great template that I&#8217;ve put a lot of time into and it&#8217;s a great deal for just $20.</p>
<p><strong>Update:</strong> <a href="http://forums.pligg.com/current-version/18579-pligg-content-management-system-1-0-0-a.html#post80996" target="_blank" target="_blank">Pligg 1.0.0 is out now and can be downloaded</a> from the forums. Release notes and a dedicated blog post will come soon. As you might expect we&#8217;re busy at work now.</p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/464/release-date-for-10-final/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>New Pligg Troubleshooter</title>
		<link>http://www.pligg.com/blog/459/new-pligg-troubleshooter/</link>
		<comments>http://www.pligg.com/blog/459/new-pligg-troubleshooter/#comments</comments>
		<pubDate>Thu, 28 May 2009 21:34:39 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=459</guid>
		<description><![CDATA[I spent some time today upgrading our troubleshooter page, which can be found as one of the navigation tabs at the top of the installation and upgrade pages. Previously the troubleshooter had a limited number of checks that it would run on your site to test for common problems. Now the troubleshooter will detect all [...]]]></description>
			<content:encoded><![CDATA[<p>I spent some time today upgrading our troubleshooter page, which can be found as one of the navigation tabs at the top of the installation and upgrade pages. Previously the troubleshooter had a limited number of checks that it would run on your site to test for common problems. Now the troubleshooter will detect all files and folders that need their CHMOD settings altered. I even caught a couple folders that I forgot to CHMOD myself when first running the new troubleshooter, darn avatars subfolders.</p>
<p style="text-align: center;"><a href="http://www.pligg.com/blog/wp-content/uploads/2009/05/new-troubleshooter.png" target="_blank" target="_blank"><img class="size-medium wp-image-460 aligncenter" title="New Pligg Troubleshooter" src="http://www.pligg.com/blog/wp-content/uploads/2009/05/new-troubleshooter-292x400.png" alt="New Pligg Troubleshooter" width="292" height="400" /></a></p>
<p>The page will also detect a few other problems such as PHP features that might not be turned on for your server, resulting in a broken Pligg. This will help you figure out if your server is compatible with Pligg, and even give you some instructions on fixing some problems. We aren&#8217;t asking for anything radical, just PHP 5 and MySQL 5 along with a few standard options like the GD Graphics Library and fopen. Even if you find your server setting off some red flags on the troubleshooter page your server will probably work. The red warnings only serve as a guideline for supported servers. You may find more errors on your server if it doesn&#8217;t come up all green.</p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/459/new-pligg-troubleshooter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pligg Job Board CAPTCHA</title>
		<link>http://www.pligg.com/blog/455/pligg-job-board-captcha/</link>
		<comments>http://www.pligg.com/blog/455/pligg-job-board-captcha/#comments</comments>
		<pubDate>Fri, 22 May 2009 01:16:15 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=455</guid>
		<description><![CDATA[There have been a number of spam emails being sent out from job board applicants over the past week so today I added ReCaptcha to the application form when applying to any job posts at http://www.pligg.com/employment. Now in order to post or apply to a job you must fill in a ReCaptcha field to prove [...]]]></description>
			<content:encoded><![CDATA[<p>There have been a number of spam emails being sent out from job board applicants over the past week so today I added ReCaptcha to the application form when applying to any job posts at <a href="http://www.pligg.com/employment/" target="_blank" target="_blank">http://www.pligg.com/employment</a>. Now in order to post or apply to a job you must fill in a ReCaptcha field to prove that you are human. This will dramatically reduce the amount of spam content that has been appearing in employer inboxes and ensure that only legitimate providers are posting to the <a href="http://www.pligg.com/employment/" target="_blank" target="_blank">Pligg Open Source CMS Job Board</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/455/pligg-job-board-captcha/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pligg 1.0 RC5</title>
		<link>http://www.pligg.com/blog/449/pligg-10-rc5/</link>
		<comments>http://www.pligg.com/blog/449/pligg-10-rc5/#comments</comments>
		<pubDate>Fri, 15 May 2009 22:12:31 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=449</guid>
		<description><![CDATA[We&#8217;ve released version 1.0 RC5 about a day and a half ago and we are using it as a temporary patch version until we release the final 1.0 version possibly in the next 10 days. There are a number of fixes from RC4 and a few new features, but most of those are changes made [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve released version 1.0 RC5 about a day and a half ago and we are using it as a temporary patch version until we release the final 1.0 version possibly in the next 10 days. There are a number of fixes from RC4 and a few new features, but most of those are changes made to improve SEO URLs and foreign language support.</p>
<p><strong>RC5 Changelog:</strong></p>
<ul>
<li>Many SEO updates and fixes</li>
<li>Better foreign language support for UTF-8 Characters</li>
<li>Future upgrades will automatically make edits to your language file so after 1.0 final you will never need to manually update it.</li>
<li>Group admins can now be notified by email when a user requests to join a Private or Restricted group</li>
<li>About page is now a &#8220;page&#8221;, editable from the Admin Pages section</li>
<li>Related links now hides itself when no results are found</li>
<li>Password reset now sends a more detailed email to users</li>
<li>Google search method removed.</li>
<li>ReCaptcha now better blends in to the Wistie template</li>
<li>Multiple sidebar widgets were moved into modules</li>
</ul>
<p>We are continuing to work on improving foreign language support and thanks to forum user <a href="http://forums.pligg.com/members/techkr.html" target="_blank" target="_blank">Techkr</a> who has contributed Thai translation files we are prepared to launch Pligg 1.0 with at least 1 language other than English. We hope that more translators will be contributing their languages to the <a href="http://groups.google.com/group/pligg-translators" target="_blank" target="_blank">Pligg translation project</a> so that we can have several languages out soon after 1.0 is released.</p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/449/pligg-10-rc5/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>URL Method 2 (SEO), Foreign Languages and Upgrades</title>
		<link>http://www.pligg.com/blog/445/url-method-2-seo-foreign-languages-and-upgrades/</link>
		<comments>http://www.pligg.com/blog/445/url-method-2-seo-foreign-languages-and-upgrades/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 09:57:25 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=445</guid>
		<description><![CDATA[This week we will be heavily testing the SEO functionality and the upgrade process from Beta 9.9.5 as we finish up with the 1.0 RC versions. I have spent the better part of the last 2 weeks testing a number of foreign languages to make sure that we covered everything from Arabic to Korean to [...]]]></description>
			<content:encoded><![CDATA[<p>This week we will be heavily testing the SEO functionality and the upgrade process from Beta 9.9.5 as we finish up with the 1.0 RC versions. I have spent the better part of the last 2 weeks testing a number of foreign languages to make sure that we covered everything from Arabic to Korean to make sure that a variety of characters will work across the board with Pligg. It looks like previous bugs that existed with the Admin Modify Language module and category URLs are now fixed so that any language that you throw at Pligg will work perfectly.</p>
<p>Our latest SVN version (<a href="http://www.pligg.com/downloads/svn/556.zip" target="_blank" target="_blank">Revision 556</a>) takes care of some URL Method 2 issues and cleaned up a few bad choices that we made in the past, or were just plain mistakes. Pagination is now working with the SEO URLs and there is very little left to fix at this point. A few more items to check off of the SEO URL todo list and we will be ready for primetime.</p>
<p>The last item that needs tested is the reason why I&#8217;m writing this blog entry. It would be very helpful if some users could volunteer to test the upgrade process going from Beta 9.9.5 to the latest SVN revision (see the link above). It&#8217;s very difficult catching every bug and hiccup that occurs during an upgrade so the more input I get from others the better. I know that the template and language files are going to be the biggest pain for people upgrading. Users need to pay attention to the readme.html file included with Pligg so that they won&#8217;t miss some critical instructions. Wish me luck tomorrow as I start my week of upgrade testing and try to make Pligg polished for our 1.0 release.</p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/445/url-method-2-seo-foreign-languages-and-upgrades/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Pligg Download Counter</title>
		<link>http://www.pligg.com/blog/437/pligg-download-counter/</link>
		<comments>http://www.pligg.com/blog/437/pligg-download-counter/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 17:10:52 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=437</guid>
		<description><![CDATA[The other day I was curious to figure out how many downloads Pligg has had, or at least how many we were able to officially track. I ended up writing a PHP script to track the official Pligg downloads from the forums and to add in some old download data from Sourceforge. What saddens me [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I was curious to figure out how many downloads Pligg has had, or at least how many we were able to officially track. I ended up writing a PHP script to track the official Pligg downloads from the forums and to add in some old download data from Sourceforge. What saddens me is that I can&#8217;t track a lot of third-party sites out there and one-click installs provided by web hosts, so this number might be off by quite a bit. Some of you might find it interesting on how we are now tracking our downloads and how you can use our download count, so I&#8217;ll be documenting all of that on this post.</p>
<p>First, let me explain how the stats work by giving you some example URLs that you can use to fetch download counts. The main url <a href="http://www.pligg.com/download_count.php" target="_blank" target="_blank">http://www.pligg.com/download_count.php</a> gives you the total number of downloads that we are able to track. Now if you add some parameters to this URL you can get the stats for the average downloads per hour, week, day or year. Here&#8217;s an example of the day average url: <a href="http://www.pligg.com/download_count.php?stat=day" target="_blank" target="_blank">http://www.pligg.com/download_count.php?stat=day</a>. </p>
<p>The numbers being generated here are updated a couple times an hour, so you won&#8217;t see the download count increasing with each page refresh. I bet your asking yourself how this number is being generated, well it&#8217;s a mix of hard-coded numbers and numbers that are continually being fetched from the vBulletin forum MySQL database. We used to use a downloads section of the site for hosting Pligg over a year ago, but since we switched that part of the site off the old versions of Pligg are no longer available. Since users can&#8217;t download them we know that the number for those versions isn&#8217;t going to change so we added up those numbers. Then we wrote a script that connects to the MySQL database and finds the download count for all of the working downloads from the Current Version forum. Then we add all of those numbers up into one figure representing Pligg.com downloads. I then hard coded some download figures provided by sourceforge.net and softpedia.com for some of our older versions and added them to the total figure. The end result of all of these numbers is our total download count.</p>
<p>To generate an average daily count I wanted to discard a lot of the older download data since it wasn&#8217;t tracked very well and decided to only calculate the number of downloads from Pligg RC1 or newer. I took the total number of release candidate versions and then divided them by the number of days between the current date and the release date for RC1. The end result gives you an average daily download number (rounded to the nearest whole number) which the average hourly, monthly and yearly stats are based on.</p>
<pre class="brush: php;">
&lt;?php
$downloadcount = file_get_contents('http://www.pligg.com/download_count.php');
echo $downloadcount;
?&gt;
</pre>
<p>Above is a quick example of how you could use PHP to grab the download number inside of a PHP script to display the number. We are using this method to display the Download Stats currently found at the top right of the Pligg Blog. If you are interested in the complete source code for this download counter script designed for vBulletin sites, please view the full article URL for the PHP source.<br />
<span id="more-437"></span></p>
<pre class="brush: php;">
&lt;?php

// This download counter grabs the number of downloads tracked by
// the Pligg Forums, Sourceforge and other sites to be added in later
// It must manually be updated whenever a new download is added to
// the forums.

// First we need to connect to the vBulletin forum MySQL database
$conn = mysql_connect(&quot;localhost&quot;, &quot;USERNAME&quot;, &quot;PASSWORD&quot;);
if (!$conn) {
    echo &quot;Unable to connect to DB: &quot; . mysql_error();
    exit;
}
if (!mysql_select_db(&quot;DATABASENAME&quot;)) {
    echo &quot;Unable to select database name: &quot; . mysql_error();
    exit;
}

// Now lets get the download numbers for each version of Pligg.
// Use postid for posts that only have 1 download, attachmentid for posts with more than 1 attachment.

// Beta 4
$B4 = &quot;SELECT counter
        FROM   attachment
        WHERE  postid = 4&quot;;
$B4result = mysql_query($B4);
while ($row = mysql_fetch_assoc($B4result)) {
    $B4count = $row[&quot;counter&quot;];
}
mysql_free_result($B4result);

// Beta 5
$B5 = &quot;SELECT counter
        FROM   attachment
        WHERE  postid = 13&quot;;
$B5result = mysql_query($B5);
while ($row = mysql_fetch_assoc($B5result)) {
    $B5count = $row[&quot;counter&quot;];
}
mysql_free_result($B5result);

// Beta 6.01
$B601 = &quot;SELECT counter
        FROM   attachment
        WHERE  postid = 1058&quot;;
$B601result = mysql_query($B601);
while ($row = mysql_fetch_assoc($B601result)) {
    $B601count = $row[&quot;counter&quot;];
}
mysql_free_result($B601result);

// Beta 7
$B7 = &quot;SELECT counter
        FROM   attachment
        WHERE  postid = 1888&quot;;
$B7result = mysql_query($B7);
while ($row = mysql_fetch_assoc($B7result)) {
    $B7count = $row[&quot;counter&quot;];
}
mysql_free_result($B7result);

// Beta 9.8.1
$B981 = &quot;SELECT counter
        FROM   attachment
        WHERE  postid = 40434&quot;;
$B981result = mysql_query($B981);
while ($row = mysql_fetch_assoc($B981result)) {
    $B981count = $row[&quot;counter&quot;];
}
mysql_free_result($B981result);

// Beta 9.9.5
$B995 = &quot;SELECT counter
        FROM   attachment
        WHERE  attachmentid = 1759&quot;;
$B995result = mysql_query($B995);
while ($row = mysql_fetch_assoc($B995result)) {
    $B995count = $row[&quot;counter&quot;];
}
mysql_free_result($B995result);

// 1.0 RC1
$rc1 = &quot;SELECT counter
        FROM   attachment
        WHERE  attachmentid = 1759&quot;;
$rc1result = mysql_query($rc1);
while ($row = mysql_fetch_assoc($rc1result)) {
    $rc1count = $row[&quot;counter&quot;];
}
mysql_free_result($rc1result);

// 1.0 RC2
$rc2 = &quot;SELECT counter
        FROM   attachment
        WHERE  attachmentid = 1798&quot;;
$rc2result = mysql_query($rc2);
while ($row = mysql_fetch_assoc($rc2result)) {
    $rc2count = $row[&quot;counter&quot;];
}
mysql_free_result($rc2result);

// 1.0 RC3
$rc3 = &quot;SELECT counter
        FROM   attachment
        WHERE  attachmentid = 1859&quot;;
$rc3result = mysql_query($rc3);
while ($row = mysql_fetch_assoc($rc3result)) {
    $rc3count = $row[&quot;counter&quot;];
}
mysql_free_result($rc3result);

// 1.0 RC4
$rc4 = &quot;SELECT counter
        FROM   attachment
        WHERE  attachmentid = 1876&quot;;
$rc4result = mysql_query($rc4);
while ($row = mysql_fetch_assoc($rc4result)) {
    $rc4count = $row[&quot;counter&quot;];
}
mysql_free_result($rc4result);

/*
echo 'Pligg Forum Downloads &lt;br /&gt;';
echo 'Beta 4:' .$B4count. '&lt;br /&gt;';
echo 'Beta 5:' .$B5count. '&lt;br /&gt;';
echo 'Beta 6.0.1:' .$B601count. '&lt;br /&gt;';
echo 'Beta 7:' .$B7count. '&lt;br /&gt;';
echo 'Beta 9.9.5:' .$B995count. '&lt;br /&gt;';
echo '1.0 RC1:' .$rc1count. '&lt;br /&gt;';
echo '1.0 RC2:' .$rc2count. '&lt;br /&gt;';
echo '1.0 RC3:' .$rc3count. '&lt;br /&gt;';
echo '1.0 RC4:' .$rc4count. '&lt;br /&gt;';
*/

// Add up all of the Pligg Forum Downloads
// The number values are from the retired downloads section that we used to use, which are no longer active
$subtotal = $B4count + $B5count + 993 + $B601count + $B7count + 1003 + 1414 + 3382 + 4109 + 10494 + 21342 + $B995count + $rc1count + $rc2count + $rc3count + $rc4count ;
// echo 'Subtotal: ' .$subtotal. '&lt;br /&gt;';

// Add the SourceForge totals as of 04/14/2009
$sftotal = 7744 + 14184 + 9393 + 8341 + 15295 + 14305 + 8043 + 2516 + 1901 ;
// echo 'Sourceforge: ' .$sftotal. '&lt;br /&gt;';

// misc represents softpedia.com
$misc = 1115 + 50 ;
// echo 'Other: ' .$misc. '&lt;br /&gt;';

// Add up all of the subtotals
$totaldl = $subtotal + $sftotal + $misc;

// Now it checks if the url specifies a source for the download number
// URL values are ?source=sourceforge , ?source=forums and ?source=misc
if(!isset($_GET['stat']))	{
	// Add commas to the number every 3 digits in from the right
	$formatted_total = number_format($totaldl);
	// Output the final total number
	echo $formatted_total;
} else {
	$stat = $_GET['stat'];
	if ( $stat == &quot;sourceforge&quot; ) {
		// Add commas to the number every 3 digits in from the right
		$formatted_sourceforge = number_format($sftotal);
		echo $formatted_sourceforge;
	}
	if ( $stat == &quot;home&quot; ) {
		// Add commas to the number every 3 digits in from the right
		$formatted_subtotal = number_format($subtotal);
		echo $formatted_subtotal;
	}
	if ( $stat == &quot;misc&quot; ) {
		// Add commas to the number every 3 digits in from the right
		$formatted_misc = number_format($misc);
		echo $formatted_misc;
	}
	if ( $stat == &quot;hour&quot; ) {
		// Finds the average number of downloads per hour from Pligg 1.0 RC start date
		$pliggstart = strtotime( &quot;2009/01/30&quot; );
		$today = strtotime( date(&quot;Y/m/d&quot;) );
		$timediff = abs(($today - $pliggstart) / 3600 / 24);
		// Release candidate versions
		$version1 = $rc1count + $rc2count + $rc3count + $rc4count ;
		$averagehour = $version1 / $timediff / 24;
		// echo round($averagehour, 2);
		// Add commas to the number every 3 digits in from the right
		$formatted_averagehour = number_format($averagehour);
		echo $formatted_averagehour;
	}
	if ( $stat == &quot;day&quot; ) {
		$pliggstart = strtotime( &quot;2009/01/30&quot; );
		$today = strtotime( date(&quot;Y/m/d&quot;) );
		$timediff = abs(($today - $pliggstart) / 3600 / 24);
		// Release candidate versions
		$version1 = $rc1count + $rc2count + $rc3count + $rc4count ;
		$averageday = $version1 / $timediff;
		// echo round($averageday, 2);
		// Add commas to the number every 3 digits in from the right
		$formatted_averageday = number_format($averageday);
		echo $formatted_averageday;
	}
	if ( $stat == &quot;week&quot; ) {
		$pliggstart = strtotime( &quot;2009/01/30&quot; );
		$today = strtotime( date(&quot;Y/m/d&quot;) );
		$timediff = abs(($today - $pliggstart) / 3600 / 24);
		// Release candidate versions
		$version1 = $rc1count + $rc2count + $rc3count + $rc4count ;
		$averageweek = $version1 / $timediff * 7;
		// echo round($averageweek, 2);
		// Add commas to the number every 3 digits in from the right
		$formatted_averageweek = number_format($averageweek);
		echo $formatted_averageweek;
	}
	if ( $stat == &quot;month&quot; ) {
		$pliggstart = strtotime( &quot;2009/01/30&quot; );
		$today = strtotime( date(&quot;Y/m/d&quot;) );
		$timediff = abs(($today - $pliggstart) / 3600 / 24);
		// Release candidate versions
		$version1 = $rc1count + $rc2count + $rc3count + $rc4count ;
		$averagemonth = $version1 / $timediff * 30;
		// echo round($averagemonth, 2);
		// Add commas to the number every 3 digits in from the right
		$formatted_averagemonth = number_format($averagemonth);
		echo $formatted_averagemonth;
	}
	if ( $stat == &quot;year&quot; ) {
		$pliggstart = strtotime( &quot;2009/01/30&quot; );
		$today = strtotime( date(&quot;Y/m/d&quot;) );
		$timediff = abs(($today - $pliggstart) / 3600 / 24);
		// Release candidate versions
		$version1 = $rc1count + $rc2count + $rc3count + $rc4count ;
		$averageyear = $version1 / $timediff * 365;
		// echo round($averageyear, 2);
		// Add commas to the number every 3 digits in from the right
		$formatted_averageyear = number_format($averageyear);
		echo $formatted_averageyear;
	}
}

?&gt;
</pre>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/437/pligg-download-counter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Where Do We Come From? What Are We? Where Are We Going?</title>
		<link>http://www.pligg.com/blog/425/where-do-we-come-from-what-are-we-where-are-we-going/</link>
		<comments>http://www.pligg.com/blog/425/where-do-we-come-from-what-are-we-where-are-we-going/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 17:09:28 +0000</pubDate>
		<dc:creator>Eric Heikkinen</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.pligg.com/blog/?p=425</guid>
		<description><![CDATA[Those were the three questions posed by the artist Paul Gauguin in the title for one of his most famous paintings (seen below). Those questions have been coming up a lot in my mind recently as we prepare for our first official stable release of Pligg. We&#8217;ve been working on Pligg in some capacity for [...]]]></description>
			<content:encoded><![CDATA[<p>Those were the three questions posed by the artist Paul Gauguin in the title for one of his most famous paintings (seen below). Those questions have been coming up a lot in my mind recently as we prepare for our first official stable release of Pligg. We&#8217;ve been working on Pligg in some capacity for over three years now. It wasn&#8217;t until less than a year ago that Pligg became a full time job for myself, and since I took the new role Pligg has transformed from a PHP script to a full-fledged Content Management System.</p>
<p><a href="http://www.pligg.com/blog/wp-content/uploads/2009/04/gauguin.jpg" target="_blank" target="_blank"><img class="alignnone size-full wp-image-426" title="Venons Nous / Que Sommes Nous / Où Allons Nous" src="http://www.pligg.com/blog/wp-content/uploads/2009/04/gauguin.jpg" alt="Venons Nous / Que Sommes Nous / Où Allons Nous" width="710" height="264" /></a></p>
<p>For those who are unfamiliar with the history behind Pligg here&#8217;s a brief summary of the past 3 years. We founded ourselves in December 2005 as a fork of the open source script provided by Meneame.net. Originally I had translated Meneame from Spanish to English and hosted a download, but quickly after that things started to take off because everyone back then wanted a Digg clone and Pligg was the first supported script to provide that. The next 3 years had plenty of bumps on the road, everyone contributing was doing it part time and a lot of personal issues including family and school distracted the developers from moving the project forward in a timely manner.</p>
<p>As an open source project it was difficult to find much cause to continue to develop besides the satisfaction of building a great script that everyone wanted. Over time we were beginning to lose sight of what inspired us to start the project and it was at that time that we considered selling the site to a company who would be able to continue our work properly. While we knew at the time that Pligg could potentially become a profitable business, we hadn&#8217;t yet discovered the right formula for making Pligg a success both financially or as a CMS. That started to change though only a few months after we considered selling our assets when we came up with the idea of selling premium templates and modules through a digital shop. That in combination with site-wide advertising has been able to provide me with enough income to develop Pligg as my day (and often night) job for 9 months now. During that time things have changed a lot, and all for the better.</p>
<p>What are we, now that I&#8217;ve committed to a full-time work schedule? I think Pligg has finally crossed that blurry line that divides PHP scripts from true content management systems. Now that we have jumped into the deep end of the pool where all of the other CMSs play it&#8217;s time for us to dunk some heads under the water and show why Pligg is a serious competitor.</p>
<p>Soon we will be releasing our 1.0 Final version of Pligg, but don&#8217;t let the name fool you we will continue to be providing some smaller fixes for the foreseeable future. The 1.0 release marks the first release that we are confident that most of the bugs have been fixed and most importantly we won&#8217;t be making any more major changes to how templates or modules work. This is important because we want to future-proof templates and modules so that upgrading won&#8217;t be such a pain down the road. We&#8217;ve designed templates so that modules should be adding in new features automatically so that if anyone wants to add a feature to Pligg they shouldn&#8217;t need to modify any template files. I can hear the sighs of relief from the template designers already.</p>
<p>Looking back over everything myself and the other developers have accomplished and even the mistakes that we&#8217;ve learned from over the years I&#8217;m very proud to be the founder. I would like to take this chance to thank everyone who has participated in developing Pligg, including any users who have either moved on to other projects or chose to participate in life instead of developing an open source script. I must also thank those who have made a financial contribution to Pligg. Over the years we have received a few very generous donations from members who expected nothing in return and the money gained from that has given us the ability to develop features that non-paying users benefit from.</p>
<p>Pligg has become my life, I wake up every day to emails and forum posts and end each night with more of the same. What&#8217;s sad is that I really enjoy this lifestyle and being able to create something that other people are inspired by. It&#8217;s been a great opportunity and I have learned a great deal about web design, development and project management.  If you are interested in becoming part of our content management development team, we always have spots open for talented PHP developers or template designers.</p>]]></content:encoded>
			<wfw:commentRss>http://www.pligg.com/blog/425/where-do-we-come-from-what-are-we-where-are-we-going/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
