<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — PunBB 1.2 modifications, plugins and integrations]]></title>
		<link>https://punbb.informer.com/forums/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/forum/35/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent topics at PunBB Forums.]]></description>
		<lastBuildDate>Fri, 15 Jun 2018 08:44:07 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Add weather forecast to front page?]]></title>
			<link>https://punbb.informer.com/forums/topic/30484/add-weather-forecast-to-front-page/new/posts/</link>
			<description><![CDATA[<p>sure..... that easy get the code for displaying ur weather and put it in a file called weather.php<br />then put it in the include/user folder</p><p>then place it in the main tpl by doing a &lt;pun_include &quot;weather.php&quot;&gt;</p>]]></description>
			<author><![CDATA[null@example.com (danhsmile043)]]></author>
			<pubDate>Fri, 15 Jun 2018 08:44:07 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/30484/add-weather-forecast-to-front-page/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Change posts to points.]]></title>
			<link>https://punbb.informer.com/forums/topic/29249/change-posts-to-points/new/posts/</link>
			<description><![CDATA[<p>Hello anyone can help me i want to change the posts name on members profile to points, sample posts:2500 to points:2500</p><br /><p>thanks for helping</p>]]></description>
			<author><![CDATA[null@example.com (gbower29)]]></author>
			<pubDate>Wed, 22 Oct 2014 13:57:18 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/29249/change-posts-to-points/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Can PunBB be embedded?]]></title>
			<link>https://punbb.informer.com/forums/topic/26684/can-punbb-be-embedded/new/posts/</link>
			<description><![CDATA[<p>Hello. iNaturalist (open source written in ruby) is currently lacking a member discussion feature. A site-wide, moderated community is not needed (yet). That is their view because of moderation and other things. I think there is some agreement that a light weight discussion feature is really needed at the individual &quot;project&quot; level.</p><p>I am hunting around for basic community software that could potentially mesh with iNaturalist, and that could be configured to run as instances, one for each project. A typical inat &quot;project&quot; might have 10 members and each instance might have their own 0 or 1 category level discussion section. That way the 10 member accounts associated with the project would alone have access (no moderation needed).</p><p>Any possibility with talki? Can it be used in part or somehow bridged to work? If not, any suggestions would be greatly appreciated.</p>]]></description>
			<author><![CDATA[null@example.com (NickMDal)]]></author>
			<pubDate>Thu, 08 May 2014 21:38:04 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/26684/can-punbb-be-embedded/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Change My background]]></title>
			<link>https://punbb.informer.com/forums/topic/26677/change-my-background/new/posts/</link>
			<description><![CDATA[<p>Hey guys how do I change the background of the entire site. I would like to use an image from my image folder on the site<br />something like: /images/xx.png</p><p>I would like all the pages to use this as the bg-image instead of using the default color. thanks.</p>]]></description>
			<author><![CDATA[null@example.com (hordebanger)]]></author>
			<pubDate>Mon, 05 May 2014 21:32:31 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/26677/change-my-background/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Adding YouTube bbCode]]></title>
			<link>https://punbb.informer.com/forums/topic/26492/adding-youtube-bbcode/new/posts/</link>
			<description><![CDATA[<p>Hi all ! <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /><br />I&#039;m looking for adding a new bbCode, I use this and it works.</p><div class="codebox"><pre><code>$pattern = array(&#039;#\[b\](.*?)\[/b\]#s&#039;,
                     &#039;#\[i\](.*?)\[/i\]#s&#039;,
                     &#039;#\[u\](.*?)\[/u\]#s&#039;,
                     &#039;#\[url\]([^\[&lt;]*?)\[/url\]#e&#039;,
                     &#039;#\[url=([^\[&lt;]*?)\](.*?)\[/url\]#e&#039;,
                     &#039;#\[email\]([^\[&lt;]*?)\[/email\]#&#039;,
                     &#039;#\[email=([^\[&lt;]*?)\](.*?)\[/email\]#&#039;,
                     &#039;#\[item=([^\[]*?)\]#&#039;,
                     &#039;#\[youtube\]http://www.youtube.com/watch\?v=(.*?)\[/youtube\]#s&#039;,
                     &#039;#\[color=([a-zA-Z]*|\#?[0-9a-fA-F]{6})](.*?)\[/color\]#s&#039;);

    $replace = array(&#039;&lt;strong&gt;$1&lt;/strong&gt;&#039;,
                     &#039;&lt;em&gt;$1&lt;/em&gt;&#039;,
                     &#039;&lt;span class=&quot;bbu&quot;&gt;$1&lt;/span&gt;&#039;,
                     &#039;handle_url_tag(\&#039;$1\&#039;)&#039;,
                     &#039;handle_url_tag(\&#039;$1\&#039;, \&#039;$2\&#039;)&#039;,
                     &#039;&lt;a href=&quot;mailto:$1&quot;&gt;$1&lt;/a&gt;&#039;,
                     &#039;&lt;a href=&quot;mailto:$1&quot;&gt;$2&lt;/a&gt;&#039;,
                     &#039;&lt;a href=&quot;http://www.wowhead.com/?item=$1&quot;&gt;$1&lt;/a&gt;&#039;,
                     &#039;&lt;object width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/$1&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/$1&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&#039;,
                     &#039;&lt;span style=&quot;color: $1&quot;&gt;$2&lt;/span&gt;&#039;);</code></pre></div><p><a href="http://punbb.informer.com/forums/topic/21505/youtube-tag/">Source</a></p><p>There&#039;s a little problem with urls. Sometimes it&#039;s HTTPS, HTTP or mobile (m.youtube.com). Is there a solution to make it &quot;universal&quot; ?</p><p>Thanks ! <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>Any solution to make</p>]]></description>
			<author><![CDATA[null@example.com (Audiofeeline)]]></author>
			<pubDate>Thu, 19 Dec 2013 15:56:34 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/26492/adding-youtube-bbcode/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[integrations punbb template with wordpress]]></title>
			<link>https://punbb.informer.com/forums/topic/25942/integrations-punbb-template-with-wordpress/new/posts/</link>
			<description><![CDATA[<p>hello guys how are you i am here to ask <br />how to bring punbb template add in wordpress theme <br />please help me in it thank you</p>]]></description>
			<author><![CDATA[null@example.com (Gujjerji)]]></author>
			<pubDate>Sun, 24 Mar 2013 18:23:46 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25942/integrations-punbb-template-with-wordpress/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Announcement only in several topics, header.php - How? (valid code?)]]></title>
			<link>https://punbb.informer.com/forums/topic/25907/announcement-only-in-several-topics-headerphp-how-valid-code/new/posts/</link>
			<description><![CDATA[<p>Hello, I want show announcement only in /viewtopic.php?id=22 and /viewtopic.php?id=27.</p><p>I should edit header.php, add:</p><p>if ($pun_config[&#039;o_announcement&#039;] == &#039;1&#039; &amp;&amp; [VALID_PHP_CODE]== &#039;22&#039; &amp;&amp; [VALID_PHP_CODE]== &#039;27&#039;)</p><br /><p>[VALID_PHP_CODE] = I tried all the options that I know nothing works.... <img src="https://punbb.informer.com/forums/img/smilies/sad.png" width="15" height="15" alt="sad" /></p><p>*PunBB 1.2.15</p><p>Thank you very much!</p>]]></description>
			<author><![CDATA[null@example.com (Phillips90)]]></author>
			<pubDate>Sat, 16 Mar 2013 15:46:29 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25907/announcement-only-in-several-topics-headerphp-how-valid-code/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[adsense problem]]></title>
			<link>https://punbb.informer.com/forums/topic/25649/adsense-problem/new/posts/</link>
			<description><![CDATA[<p>Hello, I would be very happy if someone could help me with this please!</p><p>I´m trying to add my adsense code in the main template on my website, its on the right sidebar. I´d like to place the vertical adsense banner below an other ad I show below. But when just pasting the code there, the ad does not appear in the right place, it mess completly up the website, what commands do I need to enter before and after the ad.code in order for it to show up?</p><p>&lt;/div&gt;</p><p>&lt;div id=&quot;ban&quot;&gt;<br />&lt;a href=&quot;http://www.xxx.com&quot;&gt;<br />&lt;img src=&quot;xxx.png&quot; border=&quot;0&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;<br />&lt;/div&gt;</p><br /><br /><p><strong>???adsense code here or????</strong></p><br /><p>&lt;/div&gt;</p><br /><p>thank you so much in advance!!</p>]]></description>
			<author><![CDATA[null@example.com (flyrib)]]></author>
			<pubDate>Sat, 08 Dec 2012 20:56:51 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25649/adsense-problem/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Show userid in post]]></title>
			<link>https://punbb.informer.com/forums/topic/25595/show-userid-in-post/new/posts/</link>
			<description><![CDATA[<p>I&#039;ve looked around and haven&#039;t had any look finding an answer to this particular question, so I&#039;m hoping someone here might be able to tell me if this is possible with punbb forums.</p><p>I&#039;d like to make a post, and somehow embed a variable in that post so that for each user it showed up different. Specifically I&#039;d like it to show that current user&#039;s userid. </p><p>For example, if I was reading it and my user id was 1234, it would look something like &quot;hi this is a post and you are 1234&quot;</p><p>Any help would be appreciated</p>]]></description>
			<author><![CDATA[null@example.com (axantucar)]]></author>
			<pubDate>Mon, 12 Nov 2012 02:06:22 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25595/show-userid-in-post/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Custom BBCode?]]></title>
			<link>https://punbb.informer.com/forums/topic/25534/custom-bbcode/new/posts/</link>
			<description><![CDATA[<p>Check out: <a href="http://www.punres.org/viewtopic.php?id=4328">http://www.punres.org/viewtopic.php?id=4328</a> (You&#039;ll need to scroll down a bit before you get to the BBCode part.)<br />It should give you a basic idea of where to look and what to do.</p><p>Edit: Also, depending on your needs, the Extra BBCodes mod may work for you: <a href="http://www.punres.org/viewtopic.php?id=493">http://www.punres.org/viewtopic.php?id=493</a></p>]]></description>
			<author><![CDATA[null@example.com (Hob Bramble)]]></author>
			<pubDate>Sun, 20 Jan 2008 07:20:15 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25534/custom-bbcode/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[New Password : "Please register to be able to view this page"]]></title>
			<link>https://punbb.informer.com/forums/topic/25527/new-password-please-register-to-be-able-to-view-this-page/new/posts/</link>
			<description><![CDATA[<p>Greetings</p><p>When a user asks for a new password, he receives a mail with a tmp password and a link to activate a new password.</p><p>But, it appears that when the user clicks the link, the system returns the following message :</p><p>&quot;Please register to be able to view this page&quot;</p><p>I have worked on my profile.php few months ago (new fields in the profile page and registration process) but i am unable to find where the error occurs.</p><p>Hope you can help. You will find below my modified propfile.php</p><p><a href="http://pastebin.com/9bSPXhJS">http://pastebin.com/9bSPXhJS</a></p><p>Thank you</p>]]></description>
			<author><![CDATA[null@example.com (kankan)]]></author>
			<pubDate>Fri, 12 Oct 2012 07:23:08 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25527/new-password-please-register-to-be-able-to-view-this-page/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[[Random Bug] [Solved]]]></title>
			<link>https://punbb.informer.com/forums/topic/25501/random-bug-solved/new/posts/</link>
			<description><![CDATA[<p>Problem Solved. Can&#039;t delete own message.</p>]]></description>
			<author><![CDATA[null@example.com (kankan)]]></author>
			<pubDate>Wed, 03 Oct 2012 20:34:59 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25501/random-bug-solved/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Moving QuickJump Menu in Header]]></title>
			<link>https://punbb.informer.com/forums/topic/25500/moving-quickjump-menu-in-header/new/posts/</link>
			<description><![CDATA[<p>Hello,</p><p>Just asking what piece of code to paste in header.php or main.tpl to display the Quickjump menu ?<br />I have tried to copy/paste this code with no chance : </p><div class="codebox"><pre><code>// Display the &quot;Jump to&quot; drop list
    if ($pun_config[&#039;o_quickjump&#039;] == &#039;1&#039;)
    {
        // Load cached quickjump
        @include PUN_ROOT.&#039;cache/cache_quickjump_&#039;.$pun_user[&#039;g_id&#039;].&#039;.php&#039;;
        if (!defined(&#039;PUN_QJ_LOADED&#039;))
        {
            require_once PUN_ROOT.&#039;include/cache.php&#039;;
            generate_quickjump_cache($pun_user[&#039;g_id&#039;]);
            require PUN_ROOT.&#039;cache/cache_quickjump_&#039;.$pun_user[&#039;g_id&#039;].&#039;.php&#039;;
        }
    }</code></pre></div><p>Thank you for your lights</p><p>regards,</p><p>Nicolas</p>]]></description>
			<author><![CDATA[null@example.com (kankan)]]></author>
			<pubDate>Wed, 03 Oct 2012 11:20:48 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25500/moving-quickjump-menu-in-header/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[[Release] Not sum]]></title>
			<link>https://punbb.informer.com/forums/topic/25347/release-not-sum/new/posts/</link>
			<description><![CDATA[<p><strong>Not Sum - We switch off calculation of messages</strong><br />The plugin serves for deenergizing of calculation of messages of users in certain sections.<br />In addition the plugin synchronizes quantity of messages at users.</p><p>Not Sum for FluxBB by Visman<br />Adapted to punBB 1.2 by me. :3</p><p>Download:<br />hotfile.com/dl/164736601/8cbb898/NOT_SUM_EN.zip.html</p><div class="codebox"><pre><code>I. delete.php
    
    1.
        Find:
            delete_topic($cur_post[&#039;tid&#039;]);
        Replace with:
            delete_topic($cur_post[&#039;tid&#039;], $cur_post[&#039;no_sum_mess&#039;]); // not sun - Visman
    
    2.
        Find:
            redirect(&#039;viewtopic.php?id=&#039;.$cur_post[&#039;tid&#039;], $lang_delete[&#039;Post del redirect&#039;]);
        Add BEFORE:
            // not sum - Visman
            if ($cur_post[&#039;no_sum_mess&#039;] == 0)
                $db-&gt;query(&#039;UPDATE &#039;.$db-&gt;prefix.&#039;users SET num_posts=num_posts-1 WHERE id=&#039;.$cur_post[&#039;poster_id&#039;]) or error(&#039;Unable to update user&#039;, __FILE__, __LINE__, $db-&gt;error());
    
    3.    
        Find:
            $result = $db-&gt;query(&#039;SELECT f.id AS fid, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics, t.id AS tid, t.subject, t.posted, t.closed, p.poster, p.poster_id, p.message, p.hide_smilies FROM &#039;.$db-&gt;prefix.&#039;posts AS p INNER JOIN &#039;.$db-&gt;prefix.&#039;topics AS t ON t.id=p.topic_id INNER JOIN &#039;.$db-&gt;prefix.&#039;forums AS f ON f.id=t.forum_id LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND p.id=&#039;.$id) or error(&#039;Unable to fetch post info&#039;, __FILE__, __LINE__, $db-&gt;error());
        Add:
        f.no_sum_mess,
        After:
        f.moderators, f.redirect_url, 

        
II. include\common_admin.php

    1.
        Find:
            if ($topic_ids != &#039;&#039;)
            {
        Add AFTER:
            // not sum - Visman
            $result = $db-&gt;query(&#039;SELECT no_sum_mess FROM &#039;.$db-&gt;prefix.&#039;forums WHERE id=&#039;.$forum_id) or error(&#039;Unable to fetch forums&#039;, __FILE__, __LINE__, $db-&gt;error());
            if (!$db-&gt;num_rows($result))
                $flag_f = 1;
            else
                $flag_f = $db-&gt;result($result);
                
            if ($flag_f == 0)
            {
                $result = $db-&gt;query(&#039;SELECT COUNT(id), poster_id FROM &#039;.$db-&gt;prefix.&#039;posts WHERE topic_id IN(&#039;.$topic_ids.&#039;) GROUP BY poster_id&#039;, true) or error(&#039;Unable to fetch posts&#039;, __FILE__, __LINE__, $db-&gt;error());
                while ($row = $db-&gt;fetch_row($result))
                {
                $db-&gt;query(&#039;UPDATE &#039;.$db-&gt;prefix.&#039;users SET num_posts = num_posts-&#039;.$row[0].&#039; WHERE id=&#039;.$row[1]) or error(&#039;Unable to update posters messages count&#039;, __FILE__, __LINE__, $db-&gt;error());
                }
            }
III. moderate.php

    1.
        Find:
            $result = $db-&gt;query(&#039;SELECT moderators FROM &#039;.$db-&gt;prefix.&#039;forums WHERE id=&#039;.$fid) or error(&#039;Unable to fetch forum info&#039;, __FILE__, __LINE__, $db-&gt;error());
        Replace with:
            $result = $db-&gt;query(&#039;SELECT moderators, no_sum_mess FROM &#039;.$db-&gt;prefix.&#039;forums WHERE id=&#039;.$fid) or error(&#039;Unable to fetch forum info&#039;, __FILE__, __LINE__, $db-&gt;error()); // not sum - Visman
    
    2.
        Find:
            // Delete the posts
        Add BEFORE:
            // ?????????? ?????? ? ?????? ? not sum - Visman
            if ($flag_f == 0)
            {
                $result = $db-&gt;query(&#039;SELECT COUNT(id), poster_id FROM &#039;.$db-&gt;prefix.&#039;posts WHERE id IN(&#039;.$posts.&#039;) GROUP BY poster_id&#039;, true) or error(&#039;Unable to fetch posts&#039;, __FILE__, __LINE__, $db-&gt;error());
                while ($row = $db-&gt;fetch_row($result))
                {
                    $db-&gt;query(&#039;UPDATE &#039;.$db-&gt;prefix.&#039;users SET num_posts=num_posts-&#039;.$row[0].&#039; WHERE id=&#039;.$row[1]) or error(&#039;Unable to update posters messages count&#039;, __FILE__, __LINE__, $db-&gt;error());
                }
            }
    
    3.
        Find:
            // Create a list of the post ID&#039;s in this topic and then strip the search index
        Add BEFORE:
            // not sum - Visman
            if ($flag_f == 0)
            {
                $result = $db-&gt;query(&#039;SELECT COUNT(id), poster_id FROM &#039;.$db-&gt;prefix.&#039;posts WHERE topic_id IN(&#039;.$topics.&#039;) GROUP BY poster_id&#039;, true) or error(&#039;Unable to fetch posts&#039;, __FILE__, __LINE__, $db-&gt;error());
                while ($row = $db-&gt;fetch_row($result))
                {
                    $db-&gt;query(&#039;UPDATE &#039;.$db-&gt;prefix.&#039;users SET num_posts=num_posts-&#039;.$row[0].&#039; WHERE id=&#039;.$row[1]) or error(&#039;Unable to update posters messages count&#039;, __FILE__, __LINE__, $db-&gt;error());
                }
            }
    
    
IV. post.php
    
    1.
        Find:
            if ($tid)
                $result = $db-&gt;query(&#039;SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics, t.subject, t.closed FROM &#039;.$db-&gt;prefix.&#039;topics AS t INNER JOIN &#039;.$db-&gt;prefix.&#039;forums AS f ON f.id=t.forum_id LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=&#039;.$tid) or error(&#039;Unable to fetch forum info&#039;, __FILE__, __LINE__, $db-&gt;error());
            else
                $result = $db-&gt;query(&#039;SELECT f.id, f.forum_name, f.moderators, f.redirect_url, fp.post_replies, fp.post_topics FROM &#039;.$db-&gt;prefix.&#039;forums AS f LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id=&#039;.$fid) or error(&#039;Unable to fetch forum info&#039;, __FILE__, __LINE__, $db-&gt;error());
        Replace with:
            if ($tid)
                $result = $db-&gt;query(&#039;SELECT f.id, f.forum_name, f.moderators, f.redirect_url, f.no_sum_mess, fp.post_replies, fp.post_topics, t.subject, t.closed FROM &#039;.$db-&gt;prefix.&#039;topics AS t INNER JOIN &#039;.$db-&gt;prefix.&#039;forums AS f ON f.id=t.forum_id LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=&#039;.$tid) or error(&#039;Unable to fetch forum info&#039;, __FILE__, __LINE__, $db-&gt;error());
            else
                $result = $db-&gt;query(&#039;SELECT f.id, f.forum_name, f.moderators, f.redirect_url, f.no_sum_mess, fp.post_replies, fp.post_topics FROM &#039;.$db-&gt;prefix.&#039;forums AS f LEFT JOIN &#039;.$db-&gt;prefix.&#039;forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=&#039;.$pun_user[&#039;g_id&#039;].&#039;) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND f.id=&#039;.$fid) or error(&#039;Unable to fetch forum info&#039;, __FILE__, __LINE__, $db-&gt;error());
                
V. include\functions.php
    1.
        Find:
            function delete_topic($topic_id)
            {
                global $db;

                // Delete the topic and any redirect topics
                $db-&gt;query(&#039;DELETE FROM &#039;.$db-&gt;prefix.&#039;topics WHERE id=&#039;.$topic_id.&#039; OR moved_to=&#039;.$topic_id) or error(&#039;Unable to delete topic&#039;, __FILE__, __LINE__, $db-&gt;error());

                // Create a list of the post ID&#039;s in this topic
                $post_ids = &#039;&#039;;
                $result = $db-&gt;query(&#039;SELECT id FROM &#039;.$db-&gt;prefix.&#039;posts WHERE topic_id=&#039;.$topic_id) or error(&#039;Unable to fetch posts&#039;, __FILE__, __LINE__, $db-&gt;error());
                while ($row = $db-&gt;fetch_row($result))
                    $post_ids .= ($post_ids != &#039;&#039;) ? &#039;,&#039;.$row[0] : $row[0];
                    
        Replace with:
            function delete_topic($topic_id, $flag_f = 1) // not sum - Visman
            {
            global $db;

                // Delete the topic and any redirect topics
                $db-&gt;query(&#039;DELETE FROM &#039;.$db-&gt;prefix.&#039;topics WHERE id=&#039;.$topic_id.&#039; OR moved_to=&#039;.$topic_id) or error(&#039;Unable to delete topic&#039;, __FILE__, __LINE__, $db-&gt;error());

                if ($flag_f == 0) // ?????????? ?????? ? ?????? ? not sum - Visman
                {
                    $result = $db-&gt;query(&#039;SELECT COUNT(id), poster_id FROM &#039;.$db-&gt;prefix.&#039;posts WHERE topic_id=&#039;.$topic_id.&#039; GROUP BY poster_id&#039;) or error(&#039;Unable to fetch posts&#039;, __FILE__, __LINE__, $db-&gt;error());
                    while ($row = $db-&gt;fetch_row($result))
                    {
                        $db-&gt;query(&#039;UPDATE &#039;.$db-&gt;prefix.&#039;users SET num_posts = num_posts-&#039;.$row[0].&#039; WHERE id=&#039;.$row[1]) or error(&#039;Unable to update posters messages count&#039;, __FILE__, __LINE__, $db-&gt;error());
                    }
                }
                
                
                
VI. Copy files:

    lang\English\admin_plugin_not_sum.php 
    lang\English\admin_forums.php
    plugins\AP_Not_Sum.php

VII. Open &quot;forums&quot; table in your database and add this line:
`no_sum_mess` tinyint(1) NOT NULL default &#039;0&#039;,</code></pre></div><p> * License: GPL version 2 or higher</p>]]></description>
			<author><![CDATA[null@example.com (xnit)]]></author>
			<pubDate>Sat, 28 Jul 2012 09:12:09 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25347/release-not-sum/new/posts/</guid>
		</item>
		<item>
			<title><![CDATA[Reverse Messages Order]]></title>
			<link>https://punbb.informer.com/forums/topic/25308/reverse-messages-order/new/posts/</link>
			<description><![CDATA[<p>Hello,</p><p>We are using the PunBB Forum 1.2.24 Version (French) and we would like to know how to reverse messages order into a post.</p><p>The last posts are displayed at the bottom of the page. We would like to get them at the top just below the topic.</p><p>If someone knows...</p>]]></description>
			<author><![CDATA[null@example.com (sylvie.dauriac)]]></author>
			<pubDate>Mon, 09 Jul 2012 13:42:08 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/topic/25308/reverse-messages-order/new/posts/</guid>
		</item>
	</channel>
</rss>
