<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Plug in like TOP 20 most active users]]></title>
		<link>https://punbb.informer.com/forums/topic/7828/plug-in-like-top-20-most-active-users/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/7828/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Plug in like TOP 20 most active users.]]></description>
		<lastBuildDate>Tue, 31 Jan 2006 15:33:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/61459/#p61459</link>
			<description><![CDATA[<p>thanks for the code <img src="https://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p><a href="http://www.smashingpumpkins.com.ar/board/">http://www.smashingpumpkins.com.ar/board/</a></p>]]></description>
			<author><![CDATA[null@example.com (chali)]]></author>
			<pubDate>Tue, 31 Jan 2006 15:33:03 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/61459/#p61459</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/61112/#p61112</link>
			<description><![CDATA[<p>I´m using the miniportal and it would be really nice if I can add the 20 most active users in the top of my forum.php How do I do that? I´ve tried to just copy/paste the code further up in the forum.php file but I only get the result that everything below the pasted code disapers.</p><p>I also tried this in the viewtopic.php file...copied and pasted the moste 20 active users code and it now shows/works1. How come it doesn´t work in the forum.php file?</p>]]></description>
			<author><![CDATA[null@example.com (gleb)]]></author>
			<pubDate>Thu, 26 Jan 2006 09:03:33 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/61112/#p61112</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/49156/#p49156</link>
			<description><![CDATA[<p>i put the code in a txt file and then in main.tpl i put<br /></p><div class="codebox"><pre><code>&lt;pun_include &quot;file.txt&quot;&gt;</code></pre></div><p>were i wanted it</p>]]></description>
			<author><![CDATA[null@example.com (Mark)]]></author>
			<pubDate>Tue, 09 Aug 2005 14:14:52 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/49156/#p49156</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/48525/#p48525</link>
			<description><![CDATA[<p>I tried to make this mod for people who had colored usergroups. But for some reason it wasn&#039;t working. Can someone help me with this? I want the 20 most active users to have their corresponding usergroup color. Thanks.</p><p>--Blueorb</p>]]></description>
			<author><![CDATA[null@example.com (Blueorb)]]></author>
			<pubDate>Wed, 27 Jul 2005 22:10:59 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/48525/#p48525</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/46227/#p46227</link>
			<description><![CDATA[<div class="quotebox"><cite>AssD wrote:</cite><blockquote><p>Cool!<br />But how do i get it to work in MyPunBB?</p></blockquote></div><p>you can&#039;t</p>]]></description>
			<author><![CDATA[null@example.com (Connorhd)]]></author>
			<pubDate>Sun, 19 Jun 2005 12:10:08 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46227/#p46227</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/46225/#p46225</link>
			<description><![CDATA[<p>If you&#039;re guaging how &#039;active&#039; users are by their number of posts - this is a great script.. but how hard would it be to write a &#039;karma&#039; system of sorts where users get karma for posting... but lose it if they dont post over a long period of time, so &#039;active&#039; users have to remain active?</p><p>Any ideas?</p>]]></description>
			<author><![CDATA[null@example.com (nishkak)]]></author>
			<pubDate>Sun, 19 Jun 2005 11:33:13 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46225/#p46225</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/46221/#p46221</link>
			<description><![CDATA[<p>Cool!<br />But how do i get it to work in MyPunBB?</p>]]></description>
			<author><![CDATA[null@example.com (AssD)]]></author>
			<pubDate>Sun, 19 Jun 2005 10:50:51 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46221/#p46221</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/46055/#p46055</link>
			<description><![CDATA[<p>Hi. Thanks for the code.<br />What shall i change if I want top 20 for the number of topics?<br />Can anyone help please?</p>]]></description>
			<author><![CDATA[null@example.com (Lasse)]]></author>
			<pubDate>Fri, 17 Jun 2005 12:33:07 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46055/#p46055</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/46043/#p46043</link>
			<description><![CDATA[<p>cool little mod thx!</p>]]></description>
			<author><![CDATA[null@example.com (Ataxy)]]></author>
			<pubDate>Fri, 17 Jun 2005 09:45:43 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46043/#p46043</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/46039/#p46039</link>
			<description><![CDATA[<p>Added to the punres wiki <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> <a href="http://punres.org/doku.php?id=how-tos:top_20_active_users">http://punres.org/doku.php?id=how-tos:t … tive_users</a></p>]]></description>
			<author><![CDATA[null@example.com (Connorhd)]]></author>
			<pubDate>Fri, 17 Jun 2005 09:11:13 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/46039/#p46039</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/45995/#p45995</link>
			<description><![CDATA[<p>Hi. Thanks for the code.<br />What shall i change if I want top 20 for the number of topics?</p>]]></description>
			<author><![CDATA[null@example.com (Lasse)]]></author>
			<pubDate>Thu, 16 Jun 2005 16:46:50 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/45995/#p45995</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/45990/#p45990</link>
			<description><![CDATA[<p>ultime thanks alot for this modification</p>]]></description>
			<author><![CDATA[null@example.com (faax)]]></author>
			<pubDate>Thu, 16 Jun 2005 15:59:05 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/45990/#p45990</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/45908/#p45908</link>
			<description><![CDATA[<p>No problem faax, if you really want the commas between usernames, just create an array and use the implode() function..</p><p>Have fun with this script <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (ultime)]]></author>
			<pubDate>Wed, 15 Jun 2005 18:54:59 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/45908/#p45908</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/45854/#p45854</link>
			<description><![CDATA[<p>thanks alot ultime ... i put this modification on my punbb it&#039;s work perfect. There is some modifications here is sample for anyone who need this option <br />open index.php<br />------------------<br />find <br /></p><div class="codebox"><pre><code>&lt;?php

$footer_style = &#039;index&#039;;
require PUN_ROOT.&#039;footer.php&#039;;</code></pre></div><p>replace with<br /></p><div class="codebox"><pre><code>&lt;!--- &quot;Top 20 most active users&quot; Script by ultime (ultime@omgultime.com) created for PunBB ---&gt;
&lt;div id=&quot;announce&quot; class=&quot;block&quot;&gt;
    &lt;h2&gt;&lt;span&gt;&lt;b&gt;Top 20 most active users&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;
    &lt;div class=&quot;box&quot;&gt;
        &lt;div class=&quot;inbox&quot;&gt;
            &lt;div&gt;
&lt;?php

$result = $db-&gt;query(&#039;SELECT id, username, num_posts FROM &#039;.$db-&gt;prefix.&#039;users ORDER BY num_posts DESC LIMIT 20&#039;) or error(&#039;Unable to fetch user data&#039;, __FILE__, __LINE__, $db-&gt;error());
while ($data = $db-&gt;fetch_assoc($result))
{
echo &quot;\t\t\t\t\t\t&quot;.&#039;&lt;a href=&quot;profile.php?id=&#039;.$data[&#039;id&#039;].&#039;&quot;&gt;&#039;.pun_htmlspecialchars($data[&#039;username&#039;]).&#039;&lt;/a&gt;(&#039;.$data[&#039;num_posts&#039;].&#039;) &#039;.&quot;\n&quot;;
}

?&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;!--- End for &quot;Top 20 most active users&quot; ---&gt;
&lt;?php
$footer_style = &#039;index&#039;;
require PUN_ROOT.&#039;footer.php&#039;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (faax)]]></author>
			<pubDate>Wed, 15 Jun 2005 12:09:57 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/45854/#p45854</guid>
		</item>
		<item>
			<title><![CDATA[Re: Plug in like TOP 20 most active users]]></title>
			<link>https://punbb.informer.com/forums/post/45853/#p45853</link>
			<description><![CDATA[<p>i&#039;ill put before footer ...</p>]]></description>
			<author><![CDATA[null@example.com (faax)]]></author>
			<pubDate>Wed, 15 Jun 2005 11:59:29 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/45853/#p45853</guid>
		</item>
	</channel>
</rss>
