<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Topusers function</title>
	<atom:link href="http://www.pliggs.com/topusers-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pliggs.com/topusers-function/</link>
	<description>All things Pligg</description>
	<pubDate>Thu, 20 Nov 2008 01:44:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: David</title>
		<link>http://www.pliggs.com/topusers-function/#comment-1023</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 10 Jul 2008 15:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.pliggs.com/?p=189#comment-1023</guid>
		<description>You wrote:

if(isset($_GET[‘5′])){
        $sortby = $_GET[‘5′];}
else{
        $sortby = "5";}

in my test this broke the ability to sort by other criteria such as 'Published'. Instead I believe the right modification would be this

if(isset($_GET[‘sortby′])){
        $sortby = $_GET[‘sortby′];}
else{
        $sortby = "5";} 

This will default to Published votes but allow sorting by other criteria.</description>
		<content:encoded><![CDATA[<p>You wrote:</p>
<p>if(isset($_GET[‘5′])){<br />
        $sortby = $_GET[‘5′];}<br />
else{<br />
        $sortby = &#8220;5&#8243;;}</p>
<p>in my test this broke the ability to sort by other criteria such as &#8216;Published&#8217;. Instead I believe the right modification would be this</p>
<p>if(isset($_GET[‘sortby′])){<br />
        $sortby = $_GET[‘sortby′];}<br />
else{<br />
        $sortby = &#8220;5&#8243;;} </p>
<p>This will default to Published votes but allow sorting by other criteria.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
