<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Enhanced Private Messages</title>
        <description> Paging
This modules makes it possible to add pages to the private messages list page. It uses the standard Phorum paging logic, so a simple template modification is all that is needed to get it working.

Search
This module also allows searching of ones private messages. The search is a simple filter that searches the author, subject and message.

Templating
For the Emerald template, you can insert this HTML into the top of pm_list.tpl

&amp;lt;div class=&amp;quot;nav&amp;quot;&amp;gt;
    {INCLUDE &amp;quot;paging&amp;quot;}
    &amp;lt;form action=&amp;quot;{URL-&amp;gt;ACTION}&amp;quot; method=&amp;quot;get&amp;quot;&amp;gt;
        &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;action&amp;quot; value=&amp;quot;list&amp;quot; /&amp;gt;
        &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;forum_id&amp;quot; value=&amp;quot;{FORUM_ID}&amp;quot; /&amp;gt;
        &amp;lt;input type=&amp;quot;hidden&amp;quot; name=&amp;quot;folder_id&amp;quot; value=&amp;quot;{FOLDER_ID}&amp;quot; /&amp;gt;
        &amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;search&amp;quot; value=&amp;quot;{SAFE_SEARCH}&amp;quot; /&amp;gt;
        &amp;lt;input type=&amp;quot;submit&amp;quot; value=&amp;quot;{LANG-&amp;gt;Search}&amp;quot; /&amp;gt;
    &amp;lt;/form&amp;gt;
&amp;lt;/div&amp;gt;
To have paging at the bottom, you can simply put this at the bottom of pm_list.tpl.

&amp;lt;div class=&amp;quot;nav&amp;quot;&amp;gt;
    {INCLUDE &amp;quot;paging&amp;quot;}
    &amp;lt;br&amp;gt;
&amp;lt;/div&amp;gt;
A more seamless option is to edit pm_list_incoming.tpl and pm_list_outgoing.tpl and wrap the delete button like so.

&amp;lt;div class=&amp;quot;nav&amp;quot;&amp;gt;
    {INCLUDE &amp;quot;paging&amp;quot;}
    &amp;lt;input type=&amp;quot;submit&amp;quot; name=&amp;quot;delete&amp;quot; value=&amp;quot;{LANG-&amp;gt;Delete}&amp;quot; onclick=&amp;quot;return confirm(&amp;#039;&amp;lt;?php echo addslashes($PHORUM[&amp;#039;DATA&amp;#039;][&amp;#039;LANG&amp;#039;][&amp;#039;AreYouSure&amp;#039;])?&amp;gt;&amp;#039;)&amp;quot; /&amp;gt;
&amp;lt;/div&amp;gt;
That puts the paging to the right of the delete button.

Required Version
This does require a hook that is not available yet in a release. I committed it to 5.2 tonight. I did not commit it to 5.3 as I think we are still planning on supporting paging natively in 5.3 and since that is the case I may do the work and add filtering too.</description>
        <link>https://www.phorum.org/support/read.php?62,147761,147761#msg-147761</link>
        <lastBuildDate>Sun, 13 Sep 2026 15:54:39 -0500</lastBuildDate>
        <generator>Phorum 6.0.4</generator>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,147761,161402#msg-161402</guid>
            <title>Re: Enhanced Private Messages</title>
            <link>https://www.phorum.org/support/read.php?62,147761,161402#msg-161402</link>
            <description><![CDATA[ I&#039;m upgrading my forum and was just wishing that PMs had paging. Did a quick Google search and it&#039;s implemented in less than a half hour! Thanks.]]></description>
            <dc:creator>Simon King</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Sat, 03 Dec 2016 13:52:38 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,147761,148708#msg-148708</guid>
            <title>Re: Enhanced Private Messages</title>
            <link>https://www.phorum.org/support/read.php?62,147761,148708#msg-148708</link>
            <description><![CDATA[ It seems I did some mess with the Hack!<br />
Now it&#039;s working fine.]]></description>
            <dc:creator>Nicola</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 03 May 2011 10:55:41 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,147761,148655#msg-148655</guid>
            <title>Re: Enhanced Private Messages</title>
            <link>https://www.phorum.org/support/read.php?62,147761,148655#msg-148655</link>
            <description><![CDATA[ Can&#039;t understand with me this module doesn&#039;t work.<br />
Will try in a test phorum on a separate sql on emerald to see if it depends from my template.]]></description>
            <dc:creator>Nicola</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 26 Apr 2011 12:15:04 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,147761,148610#msg-148610</guid>
            <title>Re: Enhanced Private Messages</title>
            <link>https://www.phorum.org/support/read.php?62,147761,148610#msg-148610</link>
            <description><![CDATA[ Thank you!!<br />
<br />
Works like a charm and the search is GREAT!<br />
<br />
Huh I have 24 pages of PMs.....]]></description>
            <dc:creator>Skye N.</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Wed, 20 Apr 2011 04:47:09 -0500</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,147761,147772#msg-147772</guid>
            <title>Re: Enhanced Private Messages</title>
            <link>https://www.phorum.org/support/read.php?62,147761,147772#msg-147772</link>
            <description><![CDATA[ Thanks for this useful addition!<br />
<br />
PS: Btw, I receive a PHP notice from your module: Use of undefined constant phorum_page - assumed &#039;phorum_page&#039;]]></description>
            <dc:creator>korsakov</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Fri, 11 Feb 2011 17:26:49 -0600</pubDate>
        </item>
        <item>
            <guid>https://www.phorum.org/support/read.php?62,147761,147761#msg-147761</guid>
            <title>Enhanced Private Messages</title>
            <link>https://www.phorum.org/support/read.php?62,147761,147761#msg-147761</link>
            <description><![CDATA[ <b>Paging</b><br />
This modules makes it possible to add pages to the private messages list page. It uses the standard Phorum paging logic, so a simple template modification is all that is needed to get it working.<br />
<br />
<b>Search</b><br />
This module also allows searching of ones private messages. The search is a simple filter that searches the author, subject and message.<br />
<br />
<b>Templating</b><br />
For the Emerald template, you can insert this HTML into the top of pm_list.tpl<br />
<pre class="bbcode">
&lt;div class=&quot;nav&quot;&gt;
    {INCLUDE &quot;paging&quot;}
    &lt;form action=&quot;{URL-&gt;ACTION}&quot; method=&quot;get&quot;&gt;
        &lt;input type=&quot;hidden&quot; name=&quot;action&quot; value=&quot;list&quot; /&gt;
        &lt;input type=&quot;hidden&quot; name=&quot;forum_id&quot; value=&quot;{FORUM_ID}&quot; /&gt;
        &lt;input type=&quot;hidden&quot; name=&quot;folder_id&quot; value=&quot;{FOLDER_ID}&quot; /&gt;
        &lt;input type=&quot;text&quot; name=&quot;search&quot; value=&quot;{SAFE_SEARCH}&quot; /&gt;
        &lt;input type=&quot;submit&quot; value=&quot;{LANG-&gt;Search}&quot; /&gt;
    &lt;/form&gt;
&lt;/div&gt;</pre>
To have paging at the bottom, you can simply put this at the bottom of pm_list.tpl.<br />
<pre class="bbcode">
&lt;div class=&quot;nav&quot;&gt;
    {INCLUDE &quot;paging&quot;}
    &lt;br&gt;
&lt;/div&gt;</pre>
A more seamless option is to edit pm_list_incoming.tpl and pm_list_outgoing.tpl and wrap the delete button like so.<br />
<pre class="bbcode">
&lt;div class=&quot;nav&quot;&gt;
    {INCLUDE &quot;paging&quot;}
    &lt;input type=&quot;submit&quot; name=&quot;delete&quot; value=&quot;{LANG-&gt;Delete}&quot; onclick=&quot;return confirm(&#039;&lt;?php echo addslashes($PHORUM[&#039;DATA&#039;][&#039;LANG&#039;][&#039;AreYouSure&#039;])?&gt;&#039;)&quot; /&gt;
&lt;/div&gt;</pre>
That puts the paging to the right of the delete button.<br />
<br />
<b>Required Version</b><br />
This does require a hook that is not available yet in a release. I <a href="http://trac.phorum.org/changeset/5237" target="_blank"  rel="nofollow">committed it to 5.2</a> tonight. I did not commit it to 5.3 as I think we are still planning on supporting paging natively in 5.3 and since that is the case I may do the work and add filtering too.]]></description>
            <dc:creator>Brian Moon</dc:creator>
            <category>v5/v6 Modules/Add-Ons</category>
            <pubDate>Tue, 08 Feb 2011 00:37:42 -0600</pubDate>
        </item>
    </channel>
</rss>
