<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
		>
	<channel>
		<title>bbPress Support Forums &#187; Topic: I can&#039;t work out what&#039;s wrong? Producing a fatal error.</title>
		<link>http://bbpress.org/forums/topic/i-cant-work-out-whats-wrong-producing-a-fatal-error</link>
		<description>bbPress Support Forums &#187; Topic: I can&#039;t work out what&#039;s wrong? Producing a fatal error.</description>
		<language>en-US</language>
		<pubDate>Fri, 25 May 2012 11:37:48 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.1</generator>
				<atom:link href="http://bbpress.org/forums/rss/topic/i-cant-work-out-whats-wrong-producing-a-fatal-error" rel="self" type="application/rss+xml" />

		<item>
			<title>Rhys Wynne on "I can&#039;t work out what&#039;s wrong? Producing a fatal error."</title>
			<link>http://bbpress.org/forums/topic/i-cant-work-out-whats-wrong-producing-a-fatal-error#post-37719</link>
			<pubDate>Sun, 28 Jun 2009 13:07:24 +0000</pubDate>
			<dc:creator>Rhys Wynne</dc:creator>
			<guid isPermaLink="false">37719@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>That was it!</p>
<p>Thanks :)
</p>]]></description>
					</item>
		<item>
			<title>johnhiler on "I can&#039;t work out what&#039;s wrong? Producing a fatal error."</title>
			<link>http://bbpress.org/forums/topic/i-cant-work-out-whats-wrong-producing-a-fatal-error#post-37717</link>
			<pubDate>Sun, 28 Jun 2009 11:03:10 +0000</pubDate>
			<dc:creator>johnhiler</dc:creator>
			<guid isPermaLink="false">37717@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Is it possible there's any extra whitespace (an extra line or space) in the plugin... either before the &#60;?php or after the ?&#62; ?
</p>]]></description>
					</item>
		<item>
			<title>Rhys Wynne on "I can&#039;t work out what&#039;s wrong? Producing a fatal error."</title>
			<link>http://bbpress.org/forums/topic/i-cant-work-out-whats-wrong-producing-a-fatal-error#post-37716</link>
			<pubDate>Sun, 28 Jun 2009 09:20:57 +0000</pubDate>
			<dc:creator>Rhys Wynne</dc:creator>
			<guid isPermaLink="false">37716@http://bbpress.org/forums/</guid>
			<description><![CDATA[<p>Hi all!</p>
<p>I'm upgrading a plugin to use the administration menus, rather than editing within the plugin itself. I have used admin functions before (such as add_action), but for the life of me I can't figure out why I'm having problems adding it this time around.</p>
<p>Basically, on activation of the following plugin I get a "this plugin has caused a fatal error" (but it is activated), and on deactivation I get "Warning: Cannot modify header information - headers already sent by (output started at /home/britain/public_html/forum/bb-plugins/top-posters-code.php:32) in /home/britain/public_html/forum/bb-includes/pluggable.php on line 232".</p>
<p>Here is the code</p>
<pre><code>&#60;?php
/*
Plugin Name: Show Top Posters (backup)
Plugin URI: <a href="http://www.gospelrhys.co.uk/bbpress-plugin-show-top-posters" rel="nofollow">http://www.gospelrhys.co.uk/bbpress-plugin-show-top-posters</a>
Description:  Readers with the most postes are displayed on your bbpress forum, with their names (linked to their website if they provided one). Based on the &#60;a href=&#34;http://www.pfadvice.com/wordpress-plugins/show-top-commentators/&#34; target=&#34;_blank&#34;&#62;Show Top Commenters&#60;/a&#62; plugin for WordPress by &#60;a href=&#34;http://www.savingadvice.com&#34; target=&#34;_blank&#34;&#62;Nate Sanden&#60;/a&#62;
Version: 1.2
Author: Rhys Wynne
Author URI: <a href="http://www.gospelrhys.co.uk" rel="nofollow">http://www.gospelrhys.co.uk</a>
*/

add_action(&#39;bb_admin-header.php&#39;, &#39;show_top_posters_admin_page_default&#39;);
add_action(&#39;bb_admin_menu_generator&#39;, &#39;show_top_posters_add_admin_page&#39;);

function show_top_posters_add_admin_page() {
	bb_admin_add_submenu(__(&#39;Show Top Posters&#39;), &#39;use_keys&#39;, &#39;show_top_posters_admin_page&#39;);
}

function show_top_posters_admin_page_default() {
	echo &#34;test&#34;;
}

function show_top_posters_admin_page() {
	echo &#34;test&#34;;
} 

function show_top_poster_text() {
	echo &#34;test&#34;;
}

?&#62;</code></pre>
<p>Any suggestions?
</p>]]></description>
					</item>

	</channel>
</rss>

