<?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 Tag: trusted</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: trusted</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 06:01:37 +0000</pubDate>

<item>
<title>bobbyh on "Akismet 4 link limit in posts or whitelist"</title>
<link>http://bbpress.org/forums/topic/akismet-4-link-limit-in-posts-or-whitelist#post-11562</link>
<pubDate>Fri, 19 Oct 2007 17:58:29 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">11562@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks Sam! :-)
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Akismet 4 link limit in posts or whitelist"</title>
<link>http://bbpress.org/forums/topic/akismet-4-link-limit-in-posts-or-whitelist#post-11554</link>
<pubDate>Fri, 19 Oct 2007 06:31:38 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">11554@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Put this in a plugin file named '_addSuperuser.php' in the my-plugins directory:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function addSuperuserToArray($array)
{
     $array[] = &#38;#39;Superuser&#38;#39;;
     return $array;
}

add_filter(&#38;#39;bb_trusted_roles&#38;#39;, &#38;#39;addSuperuserToArray&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;.&#60;br /&#62;
If there is no my-plugins directory in the bbPress root, just create it. The underscore at the start of the file name should make the file autoload, so it is available without activation in the admin area.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "Akismet 4 link limit in posts or whitelist"</title>
<link>http://bbpress.org/forums/topic/akismet-4-link-limit-in-posts-or-whitelist#post-11553</link>
<pubDate>Fri, 19 Oct 2007 06:17:17 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">11553@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I ran into a similar problem. Specifically, I created a new Role called 'Superuser' that has capabilities between Member and Moderator. I don't want these users ever to be spam-filtered.&#60;/p&#62;
&#60;p&#62;I solved this by replacing this function in /bb-includes/functions.php:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;function bb_trusted_roles() {&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;return apply_filters( &#38;#39;bb_trusted_roles&#38;#39;, array(&#38;#39;moderator&#38;#39;, &#38;#39;administrator&#38;#39;, &#38;#39;keymaster&#38;#39;) );&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;with this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;function bb_trusted_roles() {&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;return apply_filters( &#38;#39;bb_trusted_roles&#38;#39;, array(&#38;#39;moderator&#38;#39;, &#38;#39;administrator&#38;#39;, &#38;#39;keymaster&#38;#39;, &#38;#39;Superuser&#38;#39;) );&#60;/code&#62;&#60;br /&#62;
&#60;code&#62;}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This works, but I hate hacking the core. Is there a way to do this with a plugin? I tried and tried, but I couldn't figure out how to array_push a new Role on that array. Can somebody help me, perhaps with their superior understanding of how add_filter works? :-)&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;-Bob
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Akismet 4 link limit in posts or whitelist"</title>
<link>http://bbpress.org/forums/topic/akismet-4-link-limit-in-posts-or-whitelist#post-2678</link>
<pubDate>Fri, 29 Dec 2006 14:05:47 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">2678@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Occasionally, a post will get flagged by Akismet as spam, and it's because of the apparent limitation on links.  Posts with 3 links do not get flagged, posts with 4 do.  Is there a workaround for that, or barring that, can you whitelist  specific posters so their posts are not checked by akismet or they are just passed through, like a whitelist?&#60;/p&#62;
&#60;p&#62;Looking through bb-includes/akismet.php I found this on line 121&#60;br /&#62;
&#60;code&#62;bb_trusted_roles() ... // Don&#38;#39;t filter content from users with a trusted role&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;How do I set specific users for a trusted role?  In user admin, I see only administrator, moderator, member, inactive and blocked.  Everyone is a member now.&#60;/p&#62;
&#60;p&#62;Also, I am integrated, if that matters.&#60;/p&#62;
&#60;p&#62;Maybe something in wp_usermeta  (bbpress_capabilities or user_level)?&#60;/p&#62;
&#60;p&#62;Could I add 'member' to&#60;br /&#62;
&#60;code&#62;./bb-includes/functions.php:1546:       return apply_filters( &#38;#39;bb_trusted_roles&#38;#39;, array(&#38;#39;moderator&#38;#39;, &#38;#39;administrator&#38;#39;, &#38;#39;keymaster&#38;#39;) );&#60;/code&#62; (knowing the downsides, whatever they may be?)&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
</item>

</channel>
</rss>
