<?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: Moderator New Post Notification</title>
<link>http://bbpress.org/plugins/</link>
<description>bbPress Plugin Browser Topic: Moderator New Post Notification</description>
<language>en</language>
<pubDate>Thu, 18 Mar 2010 17:15:46 +0000</pubDate>

<item>
<title>something4ken on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-5066</link>
<pubDate>Fri, 18 Dec 2009 02:42:02 +0000</pubDate>
<dc:creator>something4ken</dc:creator>
<guid isPermaLink="false">5066@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;worked like a charm. Great plugin
&#60;/p&#62;</description>
</item>
<item>
<title>TrishaM on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-4981</link>
<pubDate>Tue, 24 Nov 2009 17:38:25 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">4981@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;ANOTHER UPDATE:&#60;/p&#62;
&#60;p&#62;I fixed my problem with this plugin by modifying one line of it's code.  The problem is caused by the fact that this plugin is not written to take into account users who have bbPress integrated with Wordpress and are sharing the user table.  The plugin is hard-coded to use two tables called bb_users and bb_usermeta, which may not exist if you have a WP integrated setup sharing the user table.  &#60;/p&#62;
&#60;p&#62;So if you have the same problem, you can fix it by looking for this function in the plugin file moderator-notification.php (in version 1.0.1 of the plugin it starts at line 27):&#60;/p&#62;
&#60;p&#62;function is_moderator($user_id) {&#60;br /&#62;
	global $bbdb;&#60;br /&#62;
	$mods = array('moderator', 'administrator', 'keymaster');&#60;br /&#62;
	$is_mod = false;&#60;br /&#62;
	$row = $bbdb-&#38;gt;get_row(&#34;SELECT um.meta_value AS role&#60;br /&#62;
		FROM bb_users AS u, bb_usermeta AS um&#60;br /&#62;
		WHERE u.ID = um.user_id&#60;br /&#62;
		AND um.meta_key = 'bb_capabilities'&#60;br /&#62;
		AND u.user_status = 0&#60;br /&#62;
		AND u.ID = $user_id&#60;br /&#62;
	&#34;);&#60;br /&#62;
	$arr = unserialize($row-&#38;gt;role);&#60;br /&#62;
	foreach($mods as $val) {&#60;br /&#62;
		if (array_key_exists($val, $arr)) {&#60;br /&#62;
			$is_mod = true;&#60;br /&#62;
			break;&#60;br /&#62;
		}&#60;br /&#62;
	}&#60;br /&#62;
	return $is_mod;&#60;/p&#62;
&#60;p&#62;}&#60;/p&#62;
&#60;p&#62;Modify this line:&#60;br /&#62;
FROM bb_users AS u, bb_usermeta AS um&#60;/p&#62;
&#60;p&#62;to read:&#60;br /&#62;
FROM wp_users AS u, wp_usermeta AS um&#60;/p&#62;
&#60;p&#62;OR whatever YOUR users and usermeta tables are named if different (they are MOST LIKELY wp_)&#60;/p&#62;
&#60;p&#62;This worked for me, hopefully it will help someone else.  I suggested to the plugin developer that he add an admin setting to let users designate the user table names since a lot of people use bbPress WITH Wordpress, and in my opinion this is a GREAT plugin once you get it working :)
&#60;/p&#62;</description>
</item>
<item>
<title>TrishaM on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-4979</link>
<pubDate>Tue, 24 Nov 2009 15:43:54 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">4979@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Update: I posted this in the plugin's official forum, unfortunately the developer cannot help because he does not have his bbPress integrated with Wordpress, as I do.&#60;/p&#62;
&#60;p&#62;I'm on WP 2.8.6, bbPress 1.0.2, and version 1.0.1 of this plugin. &#60;/p&#62;
&#60;p&#62;I suspect the problem is with the fact that because I have bbPress integrated with WP, my users table is NOT bb_users, but instead is wp_users.  However, I did add to my bb-config.php file two lines I found in some WP integration instructions that I assume are supposed to tell bbPress about the user table, but it doesn't seem to make any difference at all - those lines are:&#60;/p&#62;
&#60;p&#62;$bb-&#38;gt;custom_user_table = 'wp_users';&#60;br /&#62;
$bb-&#38;gt;custom_user_meta_table = 'wp_usermeta';  &#60;/p&#62;
&#60;p&#62;Also, I don't seem to be able to get the &#34;deep&#34; integration working - when I follow the instructions to add a require_once statement with a path to wp_blog_header.php to my bb-config.php file, I get 500 server errors.   I don't know if this is part of the problem or not, but would like to fix that too since I really need to call some core WP functions from within bbPress but can't.&#60;/p&#62;
&#60;p&#62;Since the developer can't help, is there anyone who has this working with an integrated setup?
&#60;/p&#62;</description>
</item>
<item>
<title>TrishaM on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-4975</link>
<pubDate>Tue, 24 Nov 2009 01:02:47 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">4975@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Just installed this plugin on a new bbPress install (v. 1.0.2) and when I edit a user I see this error:&#60;/p&#62;
&#60;p&#62;Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/25/d263871326/htdocs/FSPW_NewWP/Forum/my-plugins/moderator-new-post-notification/moderator_notification.php on line 40&#60;/p&#62;
&#60;p&#62;Repeated three times - if I try to edit the user and click on Update Profile, I get a blank page with that error repeated again three times followed by the headers already sent error message, telling me that the headers were already sent by /bb-includes/functions.bb-pluggable.php&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>davidgv on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-4561</link>
<pubDate>Thu, 17 Sep 2009 07:31:20 +0000</pubDate>
<dc:creator>davidgv</dc:creator>
<guid isPermaLink="false">4561@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;and how i could insert (in mail body) the post message and the post link ( topyc#post-xxx ) ?
&#60;/p&#62;</description>
</item>
<item>
<title>bripirie on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-3120</link>
<pubDate>Mon, 06 Apr 2009 23:22:24 +0000</pubDate>
<dc:creator>bripirie</dc:creator>
<guid isPermaLink="false">3120@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Hi Trisha,&#60;/p&#62;
&#60;p&#62;I fixed this problem of no from address by doing the following:&#60;/p&#62;
&#60;p&#62;Replace the line that reads:&#60;br /&#62;
mail($userdata-&#38;gt;user_email, $subject, $msg, $header);&#60;/p&#62;
&#60;p&#62;With this instead:&#60;br /&#62;
bb_mail($userdata-&#38;gt;user_email, $subject, $msg);&#60;/p&#62;
&#60;p&#62;Now, all the subscribed moderators receive proper emails when any new post appears on the site.
&#60;/p&#62;</description>
</item>
<item>
<title>TrishaM on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-3093</link>
<pubDate>Thu, 02 Apr 2009 22:57:11 +0000</pubDate>
<dc:creator>TrishaM</dc:creator>
<guid isPermaLink="false">3093@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I also got this running by changing the user table names from bb_users and bb_usermeta to wp_users and wp_usermeta since I have my bbPress install integrated with WP, &#60;/p&#62;
&#60;p&#62;However, when I get the email there is no &#34;from&#34; address - not sure why since my email address is set up under my user data in both WP and bbPress........I don't see what is wrong with this line from the code, but is there some modification I can make to this?&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$header = &#38;#39;From: &#38;#39;.bb_get_option(&#38;#39;admin_email&#38;#39;).&#38;quot;\n&#38;quot;;&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>Anonymous on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-1468</link>
<pubDate>Tue, 15 Jul 2008 22:33:19 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">1468@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I don't get any error messages when I post a new topic but I don't get any emails. I've enabled the option in my profile and I have double checked my email address.&#60;/p&#62;
&#60;p&#62;Any ideas?&#60;/p&#62;
&#60;p&#62;I'm running bbPress 0.9.0.2
&#60;/p&#62;</description>
</item>
<item>
<title>jldean on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-1360</link>
<pubDate>Thu, 12 Jun 2008 13:48:47 +0000</pubDate>
<dc:creator>jldean</dc:creator>
<guid isPermaLink="false">1360@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;After a couple of tweaks, I got it working with 0.9.0.2&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.finalwebsites.com/forums/topic/bbpress-plugin-mod-new-post-notify-db-error-w-wordpress-integrat#post-811&#34;&#62;More info here&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>jldean on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-1357</link>
<pubDate>Wed, 11 Jun 2008 10:48:18 +0000</pubDate>
<dc:creator>jldean</dc:creator>
<guid isPermaLink="false">1357@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I just tried running this plugin with bbpress 0.9.0.2 integrated with WP. &#60;/p&#62;
&#60;p&#62;I had to change the user table names (bb_users and bb_usermeta to wp_users and wp_usermeta) to stop getting errors in the edit profile page.&#60;/p&#62;
&#60;p&#62;Now there are no errors on the profile page, but no tickbox to select notification either... no new options at all.&#60;/p&#62;
&#60;p&#62;Would it be easy to tweak this invaluable plugin for the latest bbpress?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>helpy on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-847</link>
<pubDate>Tue, 19 Feb 2008 09:29:46 +0000</pubDate>
<dc:creator>helpy</dc:creator>
<guid isPermaLink="false">847@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Sorry! I just recognized that this &#34;bug&#34; was mentioned before.
&#60;/p&#62;</description>
</item>
<item>
<title>helpy on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-846</link>
<pubDate>Tue, 19 Feb 2008 09:25:22 +0000</pubDate>
<dc:creator>helpy</dc:creator>
<guid isPermaLink="false">846@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I use WP/BB integration ... that means, that wp and bb are using the same table for the users. When I activate this plugin and then post a new message the following error occurs:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;bbPress database error: [Table 'MyDatabase.bb_users' doesn't exist]&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;SELECT um.meta_value AS role FROM bb_users AS u, bb_usermeta AS um WHERE u.ID = um.user_id AND um.meta_key = 'bb_capabilities' AND u.user_status = 0 AND u.ID = 2&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/.../moderator_notification.php on line 40&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/.../moderator_notification.php on line 40&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homepages/.../moderator_notification.php on line 40&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Warning: Invalid argument supplied for foreach() in /homepages/.../moderator_notification.php on line 73&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Warning: Cannot modify header information - headers already sent by (output started at /homepages/46/d180234142/htdocs/helpy.de/5bn1983/www/forum/bb-includes/db.php:86) in /homepages/.../www/forum/bb-includes/pluggable.php on line 164&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>finalwebsites on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-749</link>
<pubDate>Mon, 21 Jan 2008 21:05:41 +0000</pubDate>
<dc:creator>finalwebsites</dc:creator>
<guid isPermaLink="false">749@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;thanks for pointing me on that (I guess I copy/pasted some code bad code)&#60;/p&#62;
&#60;p&#62;I will change that with the next release.
&#60;/p&#62;</description>
</item>
<item>
<title>oledole on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-747</link>
<pubDate>Mon, 21 Jan 2008 18:11:44 +0000</pubDate>
<dc:creator>oledole</dc:creator>
<guid isPermaLink="false">747@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;Great plugin.  The only problem is that the DB names are hard coded for  the default BB intallation (using BB_ as DB prefix), so you have to change them manually if you're using a different prefix for the DB, and/or if you've integrated BB with WP.
&#60;/p&#62;</description>
</item>
<item>
<title>finalwebsites on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-743</link>
<pubDate>Sat, 19 Jan 2008 11:16:46 +0000</pubDate>
<dc:creator>finalwebsites</dc:creator>
<guid isPermaLink="false">743@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;the last bug(s) is removed in version 1.01
&#60;/p&#62;</description>
</item>
<item>
<title>iamww on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-724</link>
<pubDate>Wed, 09 Jan 2008 02:38:13 +0000</pubDate>
<dc:creator>iamww</dc:creator>
<guid isPermaLink="false">724@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I thought that was the issue, but what not sure.&#60;/p&#62;
&#60;p&#62;Thanks a lot.  It is working great now.
&#60;/p&#62;</description>
</item>
<item>
<title>finalwebsites on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-722</link>
<pubDate>Mon, 07 Jan 2008 12:47:34 +0000</pubDate>
<dc:creator>finalwebsites</dc:creator>
<guid isPermaLink="false">722@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;You're right I missed something :D&#60;/p&#62;
&#60;p&#62;Replace the row with:&#60;br /&#62;
&#60;code&#62;if (mod_notification_is_activated($userdata-&#38;gt;ID)) {&#60;/code&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>iamww on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-720</link>
<pubDate>Sat, 05 Jan 2008 20:04:20 +0000</pubDate>
<dc:creator>iamww</dc:creator>
<guid isPermaLink="false">720@http://bbpress.org/plugins/</guid>
<description>&#60;p&#62;I receive the following error when trying to post as a Member user:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;Fatal error: Call to undefined function: notification_is_activated() in /my-plugins/moderator_notification.php on line 74&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I receive the error after selecting the send post button, logged in as a Member.  I set my key master id to receive notifications.&#60;/p&#62;
&#60;p&#62;I am using bbpress 0.8.3.1.  The only other plugins activated are Quote and Support Forum.&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
</item>
<item>
<title>finalwebsites on "Moderator New Post Notification"</title>
<link>http://bbpress.org/plugins/topic/moderator-new-post-notification/#post-716</link>
<pubDate>Fri, 04 Jan 2008 08:15:03 +0000</pubDate>
<dc:creator>finalwebsites</dc:creator>
<guid isPermaLink="false">716@http://bbpress.org/plugins/</guid>
<description>Sends a notification e-mail to all moderators and admins if there is a new post from a regular member.</description>
</item>

</channel>
</rss>
