<?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 support forums Topic: adding multiple filters</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: adding multiple filters</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 06:41:06 +0000</pubDate>

<item>
<title>Trent on "adding multiple filters"</title>
<link>http://bbpress.org/forums/topic/adding-multiple-filters#post-2100</link>
<pubDate>Fri, 08 Dec 2006 06:07:21 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">2100@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;After testing this!   WOW!   I just assumed it would have notification by email, but that can come later!   This is really going to be a cool system!  Looking forward to the release!&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "adding multiple filters"</title>
<link>http://bbpress.org/forums/topic/adding-multiple-filters#post-2098</link>
<pubDate>Fri, 08 Dec 2006 05:36:01 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">2098@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Not sure what you're asking (the plugin has nothing to do with email addresses), but feel free to go to my forums and check it out.  I need more testers anyway.&#60;/p&#62;
&#60;p&#62;I just did what the previous code was dictating a different way, so right now everything I've worked on is working.&#60;/p&#62;
&#60;p&#62;If you do come over and test it out, make a quick post in some thread (I suggest the one pertaining to this plugin) so that you don't get deleted accidentally (we go through our memberlist daily to delete spam users)
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "adding multiple filters"</title>
<link>http://bbpress.org/forums/topic/adding-multiple-filters#post-2096</link>
<pubDate>Fri, 08 Dec 2006 05:14:01 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">2096@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I believe that bb_add_filter is the naming that is used in the latest version in TRAC (might wanna check that) as most files and functions are being named that way.   &#60;/p&#62;
&#60;p&#62;As for the function that you are close to creating, could I ask if it will only send links to the PM area to a member so that other members can harvest email addresses?&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>ardentfrost on "adding multiple filters"</title>
<link>http://bbpress.org/forums/topic/adding-multiple-filters#post-2094</link>
<pubDate>Fri, 08 Dec 2006 04:55:58 +0000</pubDate>
<dc:creator>ardentfrost</dc:creator>
<guid isPermaLink="false">2094@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;For some reason, only the last filter is working.  Here's what it is:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;function get_pm_bb_location(){&#60;br /&#62;
	if ( bb_find_filename($_SERVER[&#38;#39;PHP_SELF&#38;#39;]) == &#38;#39;pm.php&#38;#39; )&#60;br /&#62;
		return &#38;#39;pm-page&#38;#39;;&#60;br /&#62;
}&#60;br /&#62;
function is_pm() {&#60;br /&#62;
	if (&#38;#39;pm-page&#38;#39; == get_bb_location() )&#60;br /&#62;
		return true;&#60;br /&#62;
	else&#60;br /&#62;
		return false;&#60;br /&#62;
}&#60;br /&#62;
function get_mess_bb_location(){&#60;br /&#62;
	if ( bb_find_filename($_SERVER[&#38;#39;PHP_SELF&#38;#39;]) == &#38;#39;message.php&#38;#39; )&#60;br /&#62;
		return &#38;#39;message-page&#38;#39;;&#60;br /&#62;
}&#60;br /&#62;
function is_message() {&#60;br /&#62;
	if (&#38;#39;message-page&#38;#39; == get_bb_location() )&#60;br /&#62;
		return true;&#60;br /&#62;
	else&#60;br /&#62;
		return false;&#60;br /&#62;
}&#60;br /&#62;
bb_add_filter(&#38;#39;get_bb_location&#38;#39;, &#38;#39;get_mess_bb_location&#38;#39;);&#60;br /&#62;
bb_add_filter(&#38;#39;get_bb_location&#38;#39;, &#38;#39;get_pm_bb_location&#38;#39;);&#60;br /&#62;
&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I swear they're both the same.  And whichever filter I put last works, and the other doesn't.&#60;/p&#62;
&#60;p&#62;Also, what's the deal? is bb_add_filter and add_filter the same damn thing?  They both seem to be interchangable.&#60;/p&#62;
&#60;p&#62;I might just change the way I'm doing this.  My current way is so beautiful though :(&#60;/p&#62;
&#60;p&#62;And for whoever sees what these functions would be used for, the answer to your question is this: I'm very close.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
