<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress plugin browser Topic: Private Messaging</title>
<link>http://bbpress.org/plugins/</link>
<description>bbPress plugin browser Topic: Private Messaging</description>
<language>en</language>
<pubDate>Sat, 06 Sep 2008 04:34:45 +0000</pubDate>

<item>
<title>brad_langdon on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1798</link>
<pubDate>Tue, 26 Aug 2008 05:28:01 +0000</pubDate>
<dc:creator>brad_langdon</dc:creator>
<guid isPermaLink="false">1798@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Anyone know how to modify the code so that an image is inserted when a message is received.&#60;/p&#62;
&#60;p&#62;I was thinking of an image popping up next to the text where it says you have a new message.&#60;/p&#62;
&#60;p&#62;Is this possible?
&#60;/p&#62;</description>
</item>
<item>
<title>mrsmiley on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1769</link>
<pubDate>Thu, 21 Aug 2008 06:11:15 +0000</pubDate>
<dc:creator>mrsmiley</dc:creator>
<guid isPermaLink="false">1769@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;It's working! I'm gonna check the rest of this post for some of the other tweaks people have added. Thanks for the extension, Detective!
&#60;/p&#62;</description>
</item>
<item>
<title>bedbugger on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1717</link>
<pubDate>Sat, 16 Aug 2008 22:26:41 +0000</pubDate>
<dc:creator>bedbugger</dc:creator>
<guid isPermaLink="false">1717@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;citizenkeith asked:&#60;/p&#62;
&#60;p&#62;&#34;If I understand correctly, Detective's mod isn't compatitble with old messages... so all PMs used with the original plugin will not be available. Any ideas for fixing that? Or is that a feature? ;) &#34;&#60;/p&#62;
&#60;p&#62;Can someone confirm that?  Thanks!&#60;/p&#62;
&#60;p&#62;Before I install Detective's fix, I want to know if I need to warn my users that all their old messages will be unavailable.&#60;/p&#62;
&#60;p&#62;And for that matter, download some for myself.&#60;/p&#62;
&#60;p&#62;I'd LOVE to have a plugin for archiving PMs or backing up to email (just as the admin, I sometimes have to copy and archive them and there's no way to automate this).&#60;/p&#62;
&#60;p&#62;I'd really love the option to have PMs go to user's emails, but I think it needs to be opt-in.  (The problem for me with the fix that sends an email when you have a new PM is that it isn't opt-in, and some users complained I was spamming them.  Seriously.)
&#60;/p&#62;</description>
</item>
<item>
<title>PoD-Stas on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1665</link>
<pubDate>Sun, 10 Aug 2008 19:21:20 +0000</pubDate>
<dc:creator>PoD-Stas</dc:creator>
<guid isPermaLink="false">1665@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Uuups. I posted wrong code, which we need to replace:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function pm_user_link( $userid ) {&#60;br /&#62;
	if ( bb_current_user_can('write_post') ) {&#60;br /&#62;
		echo '&#38;lt;a href=&#34;';&#60;br /&#62;
		echo apply_filters('pm_user_link', bb_get_pm_link( '?user='.$userid ) );&#60;br /&#62;
		echo '&#34;&#38;gt;PM This User';&#60;br /&#62;
	} else&#60;br /&#62;
		echo &#34;Login to Send PM&#34;;&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>PoD-Stas on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1664</link>
<pubDate>Sun, 10 Aug 2008 17:17:11 +0000</pubDate>
<dc:creator>PoD-Stas</dc:creator>
<guid isPermaLink="false">1664@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Hi all!&#60;br /&#62;
I did small modification to the php code.&#60;br /&#62;
It looks some strange, when you see &#34;PM This User&#34; at your post, right?))&#60;br /&#62;
So I decided to make some changes in this plugin. Its very simply.&#60;br /&#62;
You need to open your bb-privatemessage.php&#60;br /&#62;
And replace this:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function pm_user_link( $userid ) {&#60;br /&#62;
	$user_id=bb_get_current_user_info( 'id' );&#60;br /&#62;
	$post_author_id=get_post_author_id($post_id);&#60;br /&#62;
	if ( bb_current_user_can('write_post') &#38;#38;&#38;#38;  $post_author_id != $user_id ) {&#60;br /&#62;
		echo '&#38;lt;a href=&#34;';&#60;br /&#62;
		echo apply_filters('pm_user_link', bb_get_pm_link( '?user='.$userid ) );&#60;br /&#62;
		echo '&#34;&#38;gt;PM This User';&#60;br /&#62;
	}elseif ( bb_current_user_can('write_post') &#38;#38;&#38;#38;  $post_author_id = $user_id )&#60;br /&#62;
		echo &#34;&#34;;&#60;br /&#62;
	else&#60;br /&#62;
		echo &#34;Login to Send PM&#34;;&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;br /&#62;
with this:&#60;br /&#62;
&#60;code&#62;&#60;br /&#62;
function pm_user_link( $userid ) {&#60;br /&#62;
	$user_id=bb_get_current_user_info( 'id' );&#60;br /&#62;
	$post_author_id=get_post_author_id($post_id);&#60;br /&#62;
	if ( bb_current_user_can('write_post') &#38;#38;&#38;#38;  $post_author_id != $user_id ) {&#60;br /&#62;
		echo '&#38;lt;a href=&#34;';&#60;br /&#62;
		echo apply_filters('pm_user_link', bb_get_pm_link( '?user='.$userid ) );&#60;br /&#62;
		echo '&#34;&#38;gt;PM This User';&#60;br /&#62;
	}elseif ( bb_current_user_can('write_post') &#38;#38;&#38;#38;  $post_author_id = $user_id )&#60;br /&#62;
		echo &#34;&#34;;&#60;br /&#62;
	else&#60;br /&#62;
		echo &#34;Login to Send PM&#34;;&#60;br /&#62;
}&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Thats all!;)&#60;/p&#62;
&#60;p&#62;What i changed? It checks in first way whether this user is registered and it is not the user, what whant to send PM. In secnd way it checks if this you) and nothing prints, maybe it would be simpler possibly to make return...&#60;/p&#62;
&#60;p&#62;P.S. sorry for my ugly English)))
&#60;/p&#62;</description>
</item>
<item>
<title>glaze0101 on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1647</link>
<pubDate>Thu, 07 Aug 2008 18:36:37 +0000</pubDate>
<dc:creator>glaze0101</dc:creator>
<guid isPermaLink="false">1647@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I have installed Detective's modified plugin and I get these 2 errors on pm.php, otherwise looks cool.&#60;/p&#62;
&#60;p&#62;Am I correct that these errors are saying that I need to add columns del_receiver and del_sender??&#60;/p&#62;
&#60;p&#62;&#60;code&#62;`bbPress database error: [Unknown column 'del_receiver' in 'where clause']&#60;br /&#62;
SELECT * FROM bb_privatemessages WHERE id_receiver = '6' AND del_receiver= '0' ORDER BY created_on DESC&#60;/p&#62;
&#60;p&#62;bbPress database error: [Unknown column 'del_sender' in 'where clause']&#60;br /&#62;
SELECT * FROM bb_privatemessages WHERE id_sender = '6' AND del_sender = '0' ORDER BY created_on DESC`&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Detective on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1571</link>
<pubDate>Tue, 29 Jul 2008 02:02:58 +0000</pubDate>
<dc:creator>Detective</dc:creator>
<guid isPermaLink="false">1571@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;@csseur3:&#60;br /&#62;
I don't release it as a official plugin because it's not complete, it's not well organized (there are template calls inside the plugin functions, for example) and the code isn't mine, it's just a mod/extension.&#60;/p&#62;
&#60;p&#62;@dankelly613:&#60;br /&#62;
Please check the plugin template tags :)
&#60;/p&#62;</description>
</item>
<item>
<title>dankelly613 on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1567</link>
<pubDate>Mon, 28 Jul 2008 19:28:15 +0000</pubDate>
<dc:creator>dankelly613</dc:creator>
<guid isPermaLink="false">1567@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I installed Detective's 'extended' edition of the plugin according to the instructions.&#60;/p&#62;
&#60;p&#62;And, as instructed, I navigated to 'forums url /pm.php' and got several errors saying [Table 'bbpress_privatemessages' doesn't exist].&#60;/p&#62;
&#60;p&#62;-&#38;gt; How do I get this table created?&#60;/p&#62;
&#60;p&#62;UPDATE: I ended up creating the table manually, and it works fine.&#60;/p&#62;
&#60;p&#62;Now, I just need to figure out how to hide the &#34;Write the username of the receiver:&#34; field, and put links in their profile and each post. And, put a link to their private messages somewhere on the forntpage too.
&#60;/p&#62;</description>
</item>
<item>
<title>csseur3 on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1563</link>
<pubDate>Mon, 28 Jul 2008 16:19:43 +0000</pubDate>
<dc:creator>csseur3</dc:creator>
<guid isPermaLink="false">1563@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;hum, if the version of Detective is the best, why doesn't make a new plugin and new topic? :)&#60;/p&#62;
&#60;p&#62;bye
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1493</link>
<pubDate>Sun, 20 Jul 2008 21:51:19 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">1493@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;If I understand correctly, Detective's mod isn't compatitble with old messages... so all PMs used with the original plugin will not be available. Any ideas for fixing that? Or is that a feature? ;)
&#60;/p&#62;</description>
</item>
<item>
<title>_ck_ on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1459</link>
<pubDate>Mon, 14 Jul 2008 01:10:29 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">1459@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Anyone have a copy of Detective's mod?&#60;br /&#62;
Seems to have disappeared already.&#60;/p&#62;
&#60;p&#62;Oh wait, it's just a filename change, &#60;a href=&#34;http://alumnos.dcc.uchile.cl/~egraells/wp-content/uploads/2008/05/private-messages-extended.tgz&#34;&#62;try this link&#60;/a&#62;.
&#60;/p&#62;</description>
</item>
<item>
<title>finalwebsites on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1453</link>
<pubDate>Sun, 13 Jul 2008 09:58:23 +0000</pubDate>
<dc:creator>finalwebsites</dc:creator>
<guid isPermaLink="false">1453@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;@Detective,&#60;/p&#62;
&#60;p&#62;your modified version is great thanks!&#60;/p&#62;
&#60;p&#62;I would like to send an email to the user email address too, like for regular posts. I think that should be possible, some hint where I have to look?
&#60;/p&#62;</description>
</item>
<item>
<title>CmdrTrekk on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1426</link>
<pubDate>Mon, 07 Jul 2008 03:18:29 +0000</pubDate>
<dc:creator>CmdrTrekk</dc:creator>
<guid isPermaLink="false">1426@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I'm having the same problem as bedbugger&#60;/p&#62;
&#60;p&#62;&#34;Is anyone else having trouble after installing bbpress o.83?&#60;/p&#62;
&#60;p&#62;I had everything running fine under my last install and I carefully reinstalled everything.&#60;/p&#62;
&#60;p&#62;I can go to the /pm page, and I can even send a message.&#60;/p&#62;
&#60;p&#62;I can't read a message by clicking on it, and I can't click &#34;PM this user&#34; under a post (even though I did as the instructions said). Either of those yields an error (goes to my 404 page).&#60;/p&#62;
&#60;p&#62;Thanks! &#34;
&#60;/p&#62;</description>
</item>
<item>
<title>Detective on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1283</link>
<pubDate>Wed, 21 May 2008 16:04:11 +0000</pubDate>
<dc:creator>Detective</dc:creator>
<guid isPermaLink="false">1283@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I have a modified version &#60;a href=&#34;http://alumnos.dcc.uchile.cl/~egraells/wp-content/uploads/2008/05/private-messages-extendedtar.gz&#34;&#62;here&#60;/a&#62; (if you download it remember to change the extension to &#60;code&#62;.tar.gz&#60;/code&#62;). Some features:&#60;/p&#62;
&#60;p&#62;- The message's content is filtered through the same filters as a regular post content.&#60;br /&#62;
- The plugin is localized.&#60;br /&#62;
- Added security fixes.&#60;br /&#62;
- Added limits (the plugin now checks message lengths and inbox size).&#60;br /&#62;
- Added improved error handling (i still have to use Wp_Error).&#60;br /&#62;
- Improved usability :)&#60;/p&#62;
&#60;p&#62;Maybe it's useful for someone.
&#60;/p&#62;</description>
</item>
<item>
<title>xeroxss on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1239</link>
<pubDate>Mon, 12 May 2008 12:12:03 +0000</pubDate>
<dc:creator>xeroxss</dc:creator>
<guid isPermaLink="false">1239@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I just recently encountered the bug posted by Xenuan. I try to put the fix but it doesn't seem to work. &#60;/p&#62;
&#60;p&#62;Look for this line.&#60;/p&#62;
&#60;p&#62; &#38;lt;?php echo &#34; &#60;a&#62;pm_id).&#34;\&#34;&#38;gt;&#34;.$pm-&#38;gt;pmtitle.&#34;&#60;/a&#62;&#34;; ?&#38;gt; &#60;/p&#62;
&#60;p&#62;and replace with this &#38;lt;?php if ($pm-&#38;gt;pmtitle != NULL)&#60;/p&#62;
&#60;p&#62;echo &#34; pm_id).&#34;\&#34;&#38;gt;&#34;.$pm-&#38;gt;pmtitle.&#34;&#34;;&#60;/p&#62;
&#60;p&#62;else&#60;/p&#62;
&#60;p&#62;echo &#34;pm_id).&#34;\&#34;&#38;gt;&#34;.&#34;(no-subject)&#34;; ?&#38;gt;&#60;/p&#62;
&#60;p&#62;but it didn't work. Sorry I am no a good coder.
&#60;/p&#62;</description>
</item>
<item>
<title>Sally1 on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/3/#post-1194</link>
<pubDate>Tue, 06 May 2008 16:37:12 +0000</pubDate>
<dc:creator>Sally1</dc:creator>
<guid isPermaLink="false">1194@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Hum...&#60;/p&#62;
&#60;p&#62;There is no post limit and no autoformating :-/
&#60;/p&#62;</description>
</item>
<item>
<title>citizenkeith on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/2/#post-1026</link>
<pubDate>Thu, 17 Apr 2008 17:21:38 +0000</pubDate>
<dc:creator>citizenkeith</dc:creator>
<guid isPermaLink="false">1026@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Thanks again for a great plugin. My forum buddies couldn't live without it. Would love to see email notification of Private Messages.
&#60;/p&#62;</description>
</item>
<item>
<title>Covi on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/2/#post-995</link>
<pubDate>Thu, 10 Apr 2008 00:32:45 +0000</pubDate>
<dc:creator>Covi</dc:creator>
<guid isPermaLink="false">995@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Ups, I'm going nuts... SQL Injection, not XSS&#60;br /&#62;
:P
&#60;/p&#62;</description>
</item>
<item>
<title>Covi on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/2/#post-993</link>
<pubDate>Wed, 09 Apr 2008 21:41:58 +0000</pubDate>
<dc:creator>Covi</dc:creator>
<guid isPermaLink="false">993@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;To fix a probably XSS&#38;#38;flood bug in message.php:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
require_once(&#38;#39;./bb-load.php&#38;#39;);

if ( isset($_GET[&#38;#39;id&#38;#39;]) ) :
	(int) $messageid = $bbdb-&#38;gt;escape(strip_tags($_GET[&#38;#39;id&#38;#39;]));
else :
	(int) $messageid = 0;
endif;

if ( ($messageid &#38;gt; 0) &#38;#38;&#38;#38; ($messageid &#38;lt; 10) ) :
	$pmmessage = pm_get_message( $messageid );

	if ($bb_current_user-&#38;gt;ID == $pmmessage-&#38;gt;id_receiver) :
		pm_seen( $messageid );
	endif;

elseif ( isset($_GET[&#38;#39;user&#38;#39;]) &#38;#38;&#38;#38; (strlen($_GET[&#38;#39;user&#38;#39;]) &#38;lt; 10) ) :
	$toid = (is_numeric($_GET[&#38;#39;user&#38;#39;])) ? (int) $bbdb-&#38;gt;escape(strip_tags($_GET[&#38;#39;user&#38;#39;])) : bb_die(&#38;#39;Error: User don\&#38;#39;t exists.&#38;#39;);

	if ($bb-&#38;gt;wp_table_prefix) :
		$touser = $bbdb-&#38;gt;get_row(&#38;quot;SELECT * FROM &#38;quot;.$bb-&#38;gt;wp_table_prefix.&#38;quot;users WHERE ID = $toid&#38;quot;);
	else :
		$touser = $bbdb-&#38;gt;get_row(&#38;quot;SELECT * FROM &#38;quot;.$bb_table_prefix.&#38;quot;users WHERE ID = $toid&#38;quot;);
	endif;

	pm_user_form( $touser, &#38;#39;&#38;#39; );
	exit;

else :
	bb_die(&#38;#39;Error: Unknow message or user.&#38;#39;);
endif;

bb_load_template( &#38;#39;postmsg.php&#38;#39;, array( &#38;#39;messageid&#38;#39;, &#38;#39;pmmessage&#38;#39;, &#38;#39;touser&#38;#39;, &#38;#39;toid&#38;#39; ) );
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>DrTech on "Private Messaging"</title>
<link>http://bbpress.org/plugins/topic/private-messages/page/2/#post-831</link>
<pubDate>Sun, 17 Feb 2008 03:02:57 +0000</pubDate>
<dc:creator>DrTech</dc:creator>
<guid isPermaLink="false">831@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Testing now.  &#60;a href=&#34;http://www.koma-inu.org&#34; rel=&#34;nofollow&#34;&#62;www.koma-inu.org&#60;/a&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
