<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — Private Message mod v1.2.2]]></title>
		<link>https://punbb.informer.com/forums/topic/9035/private-message-mod-v122/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/9035/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Private Message mod v1.2.2.]]></description>
		<lastBuildDate>Wed, 17 Oct 2012 16:01:24 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/146781/#p146781</link>
			<description><![CDATA[<p>If you want full compatiblity with newer PHP version, you should update to PunBB 1.4.</p>]]></description>
			<author><![CDATA[null@example.com (Trace)]]></author>
			<pubDate>Wed, 17 Oct 2012 16:01:24 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146781/#p146781</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/146778/#p146778</link>
			<description><![CDATA[<p>Hello,<br />Undiging <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>The Mod is running well on my forum<br />I have setup v1.2.2<br />I can&#039;t see the multi-delete button pictures and the delete function.<br />I just migrate my forum to PHP 5.3 and it might be the cause ?</p><p>Here is my message_list.php code regarding the delete function ;</p><div class="codebox"><pre><code>if (isset($_POST[&#039;delete_messages&#039;]) || isset($_POST[&#039;delete_messages_comply&#039;]))
{
    if (isset($_POST[&#039;delete_messages_comply&#039;]))
    {
        // Check this is legit
        if ($pun_user[&#039;g_id&#039;] &lt; PUN_GUEST)
            confirm_referrer(&#039;message_list.php&#039;);

        if (@preg_match(&#039;/[^0-9,]/&#039;, $_POST[&#039;messages&#039;]))
            message($lang_common[&#039;Bad request&#039;]);

        // Delete messages
        $db-&gt;query(&#039;DELETE FROM &#039;.$db-&gt;prefix.&#039;messages WHERE id IN(&#039;.$_POST[&#039;messages&#039;].&#039;) AND owner=&#039;.$pun_user[&#039;id&#039;]) or error(&#039;Unable to delete messages.&#039;, __FILE__, __LINE__, $db-&gt;error());

        redirect(&#039;message_list.php?box=&#039;.intval($_POST[&#039;box&#039;]), $lang_pms[&#039;Deleted redirect&#039;]);
    }
    else
    {
        $page_title = pun_htmlspecialchars($pun_config[&#039;o_board_title&#039;]).&#039; / &#039;.$lang_pms[&#039;Multidelete&#039;];
        $idlist = is_array($_POST[&#039;delete_messages&#039;]) ? array_map(&quot;intval&quot;, $_POST[&#039;delete_messages&#039;]) : array();

// Delete multiple messages
if (isset($_POST[&#039;delete_messages&#039;]) || isset($_POST[&#039;delete_messages_comply&#039;]))
{
    if (isset($_POST[&#039;delete_messages_comply&#039;]))
    {
        // Check this is legit
        if ($pun_user[&#039;g_id&#039;] &lt; PUN_GUEST)
            confirm_referrer(&#039;message_list.php&#039;);

        if (@preg_match(&#039;/[^0-9,]/&#039;, $_POST[&#039;messages&#039;]))
            message($lang_common[&#039;Bad request&#039;]);

        // Delete messages
        $db-&gt;query(&#039;DELETE FROM &#039;.$db-&gt;prefix.&#039;messages WHERE id IN(&#039;.$_POST[&#039;messages&#039;].&#039;) AND owner=&#039;.$pun_user[&#039;id&#039;]) or error(&#039;Unable to delete messages.&#039;, __FILE__, __LINE__, $db-&gt;error());

        redirect(&#039;message_list.php?box=&#039;.intval($_POST[&#039;box&#039;]), $lang_pms[&#039;Deleted redirect&#039;]);
    }
    else
    {
        $page_title = pun_htmlspecialchars($pun_config[&#039;o_board_title&#039;]).&#039; / &#039;.$lang_pms[&#039;Multidelete&#039;];
        $idlist = is_array($_POST[&#039;delete_messages&#039;]) ? array_map(&quot;intval&quot;, $_POST[&#039;delete_messages&#039;]) : array();
        require PUN_ROOT.&#039;header.php&#039;;
?&gt;
&lt;div class=&quot;blockform&quot;&gt;
    &lt;h2&gt;&lt;span&gt;&lt;?php echo $lang_pms[&#039;Multidelete&#039;] ?&gt;&lt;/span&gt;&lt;/h2&gt;
    &lt;div class=&quot;box&quot;&gt;
        &lt;form method=&quot;post&quot; action=&quot;message_list.php&quot;&gt;
            &lt;div class=&quot;inform&quot;&gt;
                &lt;input type=&quot;hidden&quot; name=&quot;messages&quot; value=&quot;&lt;?php echo implode(&#039;,&#039;, array_values($idlist)) ?&gt;&quot; /&gt;
                &lt;input type=&quot;hidden&quot; name=&quot;box&quot; value=&quot;&lt;?php echo intval($_POST[&#039;box&#039;]) ?&gt;&quot; /&gt;
                &lt;fieldset&gt;
                    &lt;div class=&quot;infldset&quot;&gt;
                        &lt;p class=&quot;warntext&quot;&gt;&lt;strong&gt;&lt;?php echo $lang_pms[&#039;Delete messages comply&#039;] ?&gt;&lt;/strong&gt;&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/fieldset&gt;
            &lt;/div&gt;
            &lt;p&gt;&lt;input type=&quot;submit&quot; name=&quot;delete_messages_comply&quot; value=&quot;&lt;?php echo $lang_pms[&#039;Delete&#039;] ?&gt;&quot; /&gt;&lt;a href=&quot;javascript:history.go(-1)&quot;&gt;&lt;?php echo $lang_common[&#039;Go back&#039;] ?&gt;&lt;/a&gt;&lt;/p&gt;
        &lt;/form&gt;
    &lt;/div&gt;
&lt;/div&gt;
        </code></pre></div><br /><p>Regards,</p><p>Nicolas<br />Test forum : <a href="http://www.forum-des-portables-asus.fr/">http://www.forum-des-portables-asus.fr/</a><br />user : test4<br />pass: candle</p>]]></description>
			<author><![CDATA[null@example.com (kankan)]]></author>
			<pubDate>Wed, 17 Oct 2012 13:19:30 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/146778/#p146778</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/132588/#p132588</link>
			<description><![CDATA[<p>try to change </p><div class="codebox"><pre><code>$links[] = &#039;&lt;li id=&quot;navlogout&quot;&gt;&lt;a href=&quot;login.php?action=out&amp;amp;id=&#039;.$pun_user[&#039;id&#039;].&#039;&amp;amp;csrf_token=&#039;.pun_hash($pun_user[&#039;id&#039;].pun_hash(get_remote_address())).&#039;&quot;&gt;&#039;.$lang_common[&#039;Logout&#039;].&#039;&lt;/a&gt;&#039;;</code></pre></div><p>with</p><div class="codebox"><pre><code>$links[] = &#039;&lt;li id=&quot;navlogout&quot;&gt;&lt;a href=&quot;login.php?action=out&amp;amp;id=&#039;.$pun_user[&#039;id&#039;].&#039;&amp;amp;csrf_token=&#039;.sha1($pun_user[&#039;id&#039;].sha1(get_remote_address())).&#039;&quot;&gt;&#039;.$lang_common[&#039;Logout&#039;].&#039;&lt;/a&gt;&#039;;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (MCommunity)]]></author>
			<pubDate>Tue, 01 Dec 2009 12:49:29 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132588/#p132588</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/132491/#p132491</link>
			<description><![CDATA[<p>Yes, i have looked at that post.</p><p>functions.php<br /></p><div class="codebox"><pre><code>if ($pun_user[&#039;g_id&#039;] &gt; PUN_MOD)
        {
            if ($pun_user[&#039;g_search&#039;] == &#039;1&#039;)
                $links[] = &#039;&lt;li id=&quot;navsearch&quot;&gt;&lt;a href=&quot;search.php&quot;&gt;&#039;.$lang_common[&#039;Search&#039;].&#039;&lt;/a&gt;&#039;;

            $links[] = &#039;&lt;li id=&quot;navprofile&quot;&gt;&lt;a href=&quot;profile.php?id=&#039;.$pun_user[&#039;id&#039;].&#039;&quot;&gt;&#039;.$lang_common[&#039;Profile&#039;].&#039;&lt;/a&gt;&#039;;
            $links[] = &#039;&lt;li id=&quot;navlogout&quot;&gt;&lt;a href=&quot;login.php?action=out&amp;amp;id=&#039;.$pun_user[&#039;id&#039;].&#039;&amp;amp;csrf_token=&#039;.pun_hash($pun_user[&#039;id&#039;].pun_hash(get_remote_address())).&#039;&quot;&gt;&#039;.$lang_common[&#039;Logout&#039;].&#039;&lt;/a&gt;&#039;;
        }
        else
        {
            $links[] = &#039;&lt;li id=&quot;navsearch&quot;&gt;&lt;a href=&quot;search.php&quot;&gt;&#039;.$lang_common[&#039;Search&#039;].&#039;&lt;/a&gt;&#039;;
            $links[] = &#039;&lt;li id=&quot;navprofile&quot;&gt;&lt;a href=&quot;profile.php?id=&#039;.$pun_user[&#039;id&#039;].&#039;&quot;&gt;&#039;.$lang_common[&#039;Profile&#039;].&#039;&lt;/a&gt;&#039;;
            $links[] = &#039;&lt;li id=&quot;navadmin&quot;&gt;&lt;a href=&quot;admin_index.php&quot;&gt;&#039;.$lang_common[&#039;Admin&#039;].&#039;&lt;/a&gt;&#039;;
            $links[] = &#039;&lt;li id=&quot;navlogout&quot;&gt;&lt;a href=&quot;login.php?action=out&amp;amp;id=&#039;.$pun_user[&#039;id&#039;].&#039;&amp;amp;csrf_token=&#039;.pun_hash($pun_user[&#039;id&#039;].pun_hash(get_remote_address())).&#039;&quot;&gt;&#039;.$lang_common[&#039;Logout&#039;].&#039;&lt;/a&gt;&#039;;
        }
    }</code></pre></div><p>At this point i can&#039;t find:<br /></p><div class="codebox"><pre><code>login.php?action=out&amp;id=&#039;.$pun_user[&#039;id&#039;].&#039;</code></pre></div><p>Only found:<br /></p><div class="codebox"><pre><code>login.php?action=out&amp;amp;id=&#039;.$pun_user[&#039;id&#039;].&#039;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (suf3r)]]></author>
			<pubDate>Wed, 25 Nov 2009 08:34:16 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132491/#p132491</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/132483/#p132483</link>
			<description><![CDATA[<div class="quotebox"><cite>suf3r wrote:</cite><blockquote><p>Hello,</p><p>I have and error with this mod, installation success, but then i login i cannot logout, any ideas ?</p></blockquote></div><p>did you check post #193 above?&nbsp; ^^</p><br /><p>(previous page)</p>]]></description>
			<author><![CDATA[null@example.com (Vanslyde)]]></author>
			<pubDate>Tue, 24 Nov 2009 19:51:54 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132483/#p132483</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/132482/#p132482</link>
			<description><![CDATA[<p>Hello,</p><p>I have and error with this mod, installation success, but then i login i cannot logout, any ideas ?</p>]]></description>
			<author><![CDATA[null@example.com (suf3r)]]></author>
			<pubDate>Tue, 24 Nov 2009 19:43:08 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/132482/#p132482</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/118684/#p118684</link>
			<description><![CDATA[<p>My problem is fixed now. Many thanks to MattF. I&#039;m just commenting here for other people that could have some similar issues and following up with this post.</p><div class="quotebox"><cite>MattF wrote:</cite><blockquote><p>Edit: One thing I would suggest checking with the plugin is for php short tags, i.e: &lt;? instead of &lt;?php. You may not have those enabled on the server, and I seem to recall the mod was a sod for those everywhere, unless they were changed in the last update.</p></blockquote></div><p>It was short_open_tag set to Off by default which is responsible for &quot;&lt;?&quot; support. And it&#039;s the single short tag in the plugin. Now my issue is fixed and the plugin configure section works fine.</p><p><em>Original post is <a href="http://punbb.informer.com/forums/topic/20069/private-message-mode-configuration-section-doesnt-work/">here</a>.</em></p>]]></description>
			<author><![CDATA[null@example.com (compengi)]]></author>
			<pubDate>Tue, 28 Oct 2008 13:15:46 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118684/#p118684</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/118303/#p118303</link>
			<description><![CDATA[<div class="quotebox"><cite>compengi wrote:</cite><blockquote><p>I&#039;m currently running Apache (httpd) on Archlinux. I tried to install this plugin, and everthing works great. But when I go to administration and click on &quot;Privacy messaging&quot; to adjust options, I get a white page. Which is very wierd. I never experienced this on Ubuntu.</p></blockquote></div><p>Try to look at your Apache&#039;s error.log for PHP or httpd errors.<br />Any other symptoms? :-)</p>]]></description>
			<author><![CDATA[null@example.com (Anatoly)]]></author>
			<pubDate>Mon, 13 Oct 2008 08:00:31 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118303/#p118303</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/118260/#p118260</link>
			<description><![CDATA[<p>I&#039;m currently running Apache (httpd) on Archlinux. I tried to install this plugin, and everthing works great. But when I go to administration and click on &quot;Privacy messaging&quot; to adjust options, I get a white page. Which is very wierd. I never experienced this on Ubuntu.</p>]]></description>
			<author><![CDATA[null@example.com (compengi)]]></author>
			<pubDate>Sat, 11 Oct 2008 02:38:36 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/118260/#p118260</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/114525/#p114525</link>
			<description><![CDATA[<p>I&#039;m using v1.2.3 of this mod on a Punbb 1.2.17 install. Everything has worked smoothly up to this point, but starting yesterday, when I try to click on the Messages link, Firefox 2.0.0.14 is being prompted to download message_list.php rather than display it. It works fine in IE6, but FF wants to download the file.</p><p>I&#039;ve checked error logs, etc. and can&#039;t find anything. The rest of the forum works fine - I don&#039;t get the download message anywhere else.</p><p>Any ideas on what might be causing this? It&#039;s strange that it just started happening.</p>]]></description>
			<author><![CDATA[null@example.com (dhdesign)]]></author>
			<pubDate>Wed, 07 May 2008 11:57:01 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/114525/#p114525</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/114015/#p114015</link>
			<description><![CDATA[<p>Heya!</p><p>I&#039;ve one question about this PM system. I use it on my current forum and it works great, no really trouble with it.. but</p><p>Is there any chance of getting a notification if you have a new message, like change the color of the text - message or something like that.</p><p>Would help a lot, thanks.</p><p>-Tox</p>]]></description>
			<author><![CDATA[null@example.com (Toky)]]></author>
			<pubDate>Fri, 25 Apr 2008 06:49:47 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/114015/#p114015</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/112838/#p112838</link>
			<description><![CDATA[<p>thanks works now</p>]]></description>
			<author><![CDATA[null@example.com (jay576)]]></author>
			<pubDate>Fri, 04 Apr 2008 23:33:45 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/112838/#p112838</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/112837/#p112837</link>
			<description><![CDATA[<p>That&#039;s because the readme of this mod asks to replace a piece of code in which you have the logout links at step 11. As the logout link has been change in 1.2.17 and this mod was written before, it makes you replace the logout part with a no longer valid code.<br />You just have to replace login.php?action=out&amp;id=&#039;.$pun_user[&#039;id&#039;].&#039;<br /> by login.php?action=out&amp;id=&#039;.$pun_user[&#039;id&#039;].&#039;&amp;csrf_token=&#039;.pun_hash($pun_user[&#039;id&#039;].pun_hash(get_remote_address())).&#039;</p>]]></description>
			<author><![CDATA[null@example.com (yemgi)]]></author>
			<pubDate>Fri, 04 Apr 2008 22:10:07 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/112837/#p112837</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/112836/#p112836</link>
			<description><![CDATA[<div class="quotebox"><cite>jay576 wrote:</cite><blockquote><p>i installed this mod and now i can&#039;t log out of my forum using punbb 1.2.17</p></blockquote></div><p>Recheck your stuff.</p><p>This works fine on my forum. And its 1.2.17 aswell</p>]]></description>
			<author><![CDATA[null@example.com (PhaxeNor)]]></author>
			<pubDate>Fri, 04 Apr 2008 21:47:26 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/112836/#p112836</guid>
		</item>
		<item>
			<title><![CDATA[Re: Private Message mod v1.2.2]]></title>
			<link>https://punbb.informer.com/forums/post/112792/#p112792</link>
			<description><![CDATA[<p>i installed this mod and now i can&#039;t log out of my forum using punbb 1.2.17</p>]]></description>
			<author><![CDATA[null@example.com (jay576)]]></author>
			<pubDate>Thu, 03 Apr 2008 20:58:47 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/112792/#p112792</guid>
		</item>
	</channel>
</rss>
