<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Disabling post count, how?]]></title>
		<link>https://punbb.informer.com/forums/topic/19131/disabling-post-count-how/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/19131/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Disabling post count, how?.]]></description>
		<lastBuildDate>Tue, 20 May 2008 20:23:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Disabling post count, how?]]></title>
			<link>https://punbb.informer.com/forums/post/115043/#p115043</link>
			<description><![CDATA[<div class="quotebox"><cite>Lurker.boi wrote:</cite><blockquote><p>Open post.php</p><p>Find:</p><div class="codebox"><pre><code>// If the posting user is logged in, increment his/her post count
        if (!$pun_user[&#039;is_guest&#039;])
        {
            $low_prio = ($db_type == &#039;mysql&#039;) ? &#039;LOW_PRIORITY &#039; : &#039;&#039;;
            $db-&gt;query(&#039;UPDATE &#039;.$low_prio.$db-&gt;prefix.&#039;users SET num_posts=num_posts+1, last_post=&#039;.$now.&#039; WHERE id=&#039;.$pun_user[&#039;id&#039;]) or error(&#039;Unable to update user&#039;, __FILE__, __LINE__, $db-&gt;error());
        }</code></pre></div><p>Replace with <br /></p><div class="codebox"><pre><code>$my_fid=4;   // Replace this with your forum id number

if(!$fid)
{
    $myresult = $db-&gt;query(&#039;select t.forum_id from &#039;.$db-&gt;prefix.&#039; posts p inner join &#039;.$db-&gt;prefix.&#039;topics t on p.topic_id = t.id where p.id=&#039;.$new_pid);
   $fid = $db-&gt;result($myresult);
}
// If the posting user is logged in, increment his/her post count
        if (!$pun_user[&#039;is_guest&#039;] &amp;&amp; $fid != $my_fid)
        {
            $low_prio = ($db_type == &#039;mysql&#039;) ? &#039;LOW_PRIORITY &#039; : &#039;&#039;;
            $db-&gt;query(&#039;UPDATE &#039;.$low_prio.$db-&gt;prefix.&#039;users SET num_posts=num_posts+1, last_post=&#039;.$now.&#039; WHERE id=&#039;.$pun_user[&#039;id&#039;]) or error(&#039;Unable to update user&#039;, __FILE__, __LINE__, $db-&gt;error());
        }</code></pre></div><p>Be sure to use your forum id on the first line</p></blockquote></div><p>Thank you soo much, this worked perfectly. Is there any way i can disable it in more than 1 forum or will it only allow 1 forum to have the count disabled?</p>]]></description>
			<author><![CDATA[null@example.com (*PM*)]]></author>
			<pubDate>Tue, 20 May 2008 20:23:29 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/115043/#p115043</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disabling post count, how?]]></title>
			<link>https://punbb.informer.com/forums/post/114827/#p114827</link>
			<description><![CDATA[<p>Open post.php</p><p>Find:</p><div class="codebox"><pre><code>// If the posting user is logged in, increment his/her post count
        if (!$pun_user[&#039;is_guest&#039;])
        {
            $low_prio = ($db_type == &#039;mysql&#039;) ? &#039;LOW_PRIORITY &#039; : &#039;&#039;;
            $db-&gt;query(&#039;UPDATE &#039;.$low_prio.$db-&gt;prefix.&#039;users SET num_posts=num_posts+1, last_post=&#039;.$now.&#039; WHERE id=&#039;.$pun_user[&#039;id&#039;]) or error(&#039;Unable to update user&#039;, __FILE__, __LINE__, $db-&gt;error());
        }</code></pre></div><p>Replace with <br /></p><div class="codebox"><pre><code>$my_fid=4;   // Replace this with your forum id number

if(!$fid)
{
    $myresult = $db-&gt;query(&#039;select t.forum_id from &#039;.$db-&gt;prefix.&#039; posts p inner join &#039;.$db-&gt;prefix.&#039;topics t on p.topic_id = t.id where p.id=&#039;.$new_pid);
   $fid = $db-&gt;result($myresult);
}
// If the posting user is logged in, increment his/her post count
        if (!$pun_user[&#039;is_guest&#039;] &amp;&amp; $fid != $my_fid)
        {
            $low_prio = ($db_type == &#039;mysql&#039;) ? &#039;LOW_PRIORITY &#039; : &#039;&#039;;
            $db-&gt;query(&#039;UPDATE &#039;.$low_prio.$db-&gt;prefix.&#039;users SET num_posts=num_posts+1, last_post=&#039;.$now.&#039; WHERE id=&#039;.$pun_user[&#039;id&#039;]) or error(&#039;Unable to update user&#039;, __FILE__, __LINE__, $db-&gt;error());
        }</code></pre></div><p>Be sure to use your forum id on the first line</p>]]></description>
			<author><![CDATA[null@example.com (Lurker.boi)]]></author>
			<pubDate>Wed, 14 May 2008 12:44:04 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/114827/#p114827</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disabling post count, how?]]></title>
			<link>https://punbb.informer.com/forums/post/114826/#p114826</link>
			<description><![CDATA[<div class="quotebox"><cite>Dr.Jeckyl wrote:</cite><blockquote><p>It&#039;s only board wide and not category specific but it&#039;s in Admin &gt; Options look for &quot;User post count&quot;. NOTE: The admins can still see the post count.</p></blockquote></div><p>Not quite what I mean. Like only disabling post count in forum games, i know it&#039;s possible cause of a punbb forum I&#039;m a member on has disabled post count in certain topics, i just can&#039;t find out how.</p>]]></description>
			<author><![CDATA[null@example.com (*PM*)]]></author>
			<pubDate>Wed, 14 May 2008 11:31:23 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/114826/#p114826</guid>
		</item>
		<item>
			<title><![CDATA[Re: Disabling post count, how?]]></title>
			<link>https://punbb.informer.com/forums/post/114456/#p114456</link>
			<description><![CDATA[<p>It&#039;s only board wide and not category specific but it&#039;s in Admin &gt; Options look for &quot;User post count&quot;. NOTE: The admins can still see the post count.</p>]]></description>
			<author><![CDATA[null@example.com (Dr.Jeckyl)]]></author>
			<pubDate>Tue, 06 May 2008 04:35:14 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/114456/#p114456</guid>
		</item>
		<item>
			<title><![CDATA[Disabling post count, how?]]></title>
			<link>https://punbb.informer.com/forums/post/114453/#p114453</link>
			<description><![CDATA[<p>Hi, I am extremely new to punbb and was wondering if there is a way to turn the post count off in a particular forum/topic. For example I don&#039;t want posts in forum games to increase post count. Any help would be greatly appreciated and thanks in advance.</p>]]></description>
			<author><![CDATA[null@example.com (*PM*)]]></author>
			<pubDate>Tue, 06 May 2008 03:16:35 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/114453/#p114453</guid>
		</item>
	</channel>
</rss>
