<?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 a plugin admin page into the admin menu</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: Adding a plugin admin page into the admin menu</description>
<language>en</language>
<pubDate>Tue, 07 Oct 2008 00:27:33 +0000</pubDate>

<item>
<title>sambauers on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8142</link>
<pubDate>Sun, 17 Jun 2007 07:27:58 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">8142@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;There are functions to do this in the current trunk of subversion. These will be part of 1.0.&#60;/p&#62;
&#60;p&#62;Check how it is done in my &#60;a href=&#34;http://plugins-dev.bbpress.org/browser/ldap-authentication/trunk/ldap-authentication.php#L420&#34;&#62;LDAP plugin&#60;/a&#62;, so that it will degrade gracefully on older versions of bbPress.
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8141</link>
<pubDate>Sun, 17 Jun 2007 07:23:06 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">8141@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;There are functions to do this in the current trunk of subversion. These will be part of 1.0.&#60;/p&#62;
&#60;p&#62;Check how it is done in my &#60;a href=&#34;http://plugins-dev.bbpress.org/browser/ldap-authentication/trunk/ldap-authentication.php#L420&#34;&#62;LDAP plugin&#60;/a&#62;, so that it will degrade gracefully on older versions of bbPress.
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8092</link>
<pubDate>Fri, 15 Jun 2007 17:57:56 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">8092@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I believe that Site Management and Content are likely to be best to house the extra panel of a plugin, but sure. If you want to, ask in trac.
&#60;/p&#62;</description>
</item>
<item>
<title>thierryyyyyyy on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8087</link>
<pubDate>Fri, 15 Jun 2007 17:09:45 +0000</pubDate>
<dc:creator>thierryyyyyyy</dc:creator>
<guid isPermaLink="false">8087@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;If bbPress includes a &#34;Plugin&#34; menu or an &#34;Option&#34; menu, it would be natural for all new plugin to have their submenu in it.&#60;br /&#62;
Do you think I can ask that in TRAC ?
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8066</link>
<pubDate>Thu, 14 Jun 2007 20:20:00 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">8066@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You should be using $bb_submenu anyway. It's unlikely that your plugin justifies making another large menu category.
&#60;/p&#62;</description>
</item>
<item>
<title>thierryyyyyyy on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8065</link>
<pubDate>Thu, 14 Jun 2007 19:45:11 +0000</pubDate>
<dc:creator>thierryyyyyyy</dc:creator>
<guid isPermaLink="false">8065@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks a lot ganzua, but actually, it does not hurt a lot ...&#60;/p&#62;
&#60;p&#62;I confirmed that with &#34;global $bb_menu&#34;, my fonction could work .... but then, the last array member for&#60;br /&#62;
$bb_menu[20] = array(__('Options'), 'use_keys', 'my_options_page.php');&#60;br /&#62;
should be a php file located in bb-admin/&#60;/p&#62;
&#60;p&#62;So then, you should ask guys that want to install your plugin to move your &#34;option-page.php&#34; in the bb-admin menu. Not very user-friendly.
&#60;/p&#62;</description>
</item>
<item>
<title>ganzua on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8060</link>
<pubDate>Thu, 14 Jun 2007 16:30:06 +0000</pubDate>
<dc:creator>ganzua</dc:creator>
<guid isPermaLink="false">8060@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;thierryyyyyyy, I visited your page and I still can feel pain after having watched those holes in your feet.  :s
&#60;/p&#62;</description>
</item>
<item>
<title>thierryyyyyyy on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8049</link>
<pubDate>Thu, 14 Jun 2007 09:30:28 +0000</pubDate>
<dc:creator>thierryyyyyyy</dc:creator>
<guid isPermaLink="false">8049@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thank you fel64.&#60;br /&#62;
it seems that I stupidly forgot the &#34;global $bb_menu&#34;&#60;/p&#62;
&#60;p&#62;thanks a lot !
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8045</link>
<pubDate>Wed, 13 Jun 2007 22:20:48 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">8045@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This worked for me:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;bb_admin_menu_generator&#38;#39;, &#38;#39;contestsmenue&#38;#39;);

function contestsmenue () {
	global $bb_submenu;
	$bb_submenu[&#38;#39;content.php&#38;#39;][] = array(__(&#38;#39;Contests&#38;#39;), &#38;#39;moderate&#38;#39;, &#38;#39;contestinnerface&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>thierryyyyyyy on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-8042</link>
<pubDate>Wed, 13 Jun 2007 22:09:41 +0000</pubDate>
<dc:creator>thierryyyyyyy</dc:creator>
<guid isPermaLink="false">8042@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;in the admin-functions.php, there is the function which creates the main menu (and also submenu) : bb_admin_menu_generator()&#60;/p&#62;
&#60;p&#62;at the end of the function, you have a &#34;hook&#34; that you can use :&#60;br /&#62;
do_action('bb_admin_menu_generator','');&#60;/p&#62;
&#60;p&#62;I tried this code :&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;bb_admin_menu_generator&#38;#39;, &#38;#39;bbai_add_options&#38;#39;);

function bbai_add_options(){
	$bb_menu[20] = array(__(&#38;#39;Options&#38;#39;), &#38;#39;use_keys&#38;#39;, &#38;#39;my_options_page.php&#38;#39;);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;but didn't worked :(
&#60;/p&#62;</description>
</item>
<item>
<title>chanzero on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-5434</link>
<pubDate>Mon, 12 Mar 2007 19:52:39 +0000</pubDate>
<dc:creator>chanzero</dc:creator>
<guid isPermaLink="false">5434@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;any result here? (as i'm not adept enough to play with creating this)
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-5414</link>
<pubDate>Mon, 12 Mar 2007 08:21:45 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">5414@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Yeah, I could make another admin page but that will need another extra php file too. It's more need and tidy to use a hook like in the submenu.&#60;/p&#62;
&#60;p&#62;Going to request some hooks then :)
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-5399</link>
<pubDate>Mon, 12 Mar 2007 01:52:58 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">5399@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Have you looked at the way the admin pages create the main menu options?    That would be the only way off the top of my head that you could figure it out right now.&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>Null on "Adding a plugin admin page into the admin menu"</title>
<link>http://bbpress.org/forums/topic/adding-a-plugin-admin-page-into-the-admin-menu#post-5124</link>
<pubDate>Sun, 04 Mar 2007 10:25:10 +0000</pubDate>
<dc:creator>Null</dc:creator>
<guid isPermaLink="false">5124@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I know that you can add a plugin admin page into the admin menu. Unfortunally I only succeed in doing this into the submenu of the admin page. Is it possible to add a new plugin admin page link to the MAIN menu of the amdin area? (so not into the submenu)&#60;/p&#62;
&#60;p&#62;And how?&#60;/p&#62;
&#60;p&#62;I am currently working on a plugin that has many options and putting them all into the submenu would make it too crowdy/messy
&#60;/p&#62;</description>
</item>

</channel>
</rss>
