Search Results for 'code'
-
Search Results
-
Topic: Fixing Plugin Browser Plugin
I just wanted that plugin to work, so just researched a little bit and here is the fix.
Open the plugin-browser.php
Add this line below <?php at the top:
if ($_GET['plugin'] == 'plugin_browser_admin_page') { include( '../bb-admin/includes/functions.bb-plugin.php' ); }Note: If you have plugin-browser file in another folder within my-plugins, then use this:
if ($_GET['plugin'] == 'plugin_browser_admin_page') { include( '../../bb-admin/includes/functions.bb-plugin.php' ); }Hi all,
I have a bbPress 1.0-alpha-6 running, and I don’t know why the favorites link on a topic doesn’t entirely work.
When I click on the link “Add this topic to your favorites”, it creates a meta on the database “bb_favorites” with the proper id, BUT, the link still shows “add this topic to your favorites” instead of a link to the favorite page.
AND, if I add another topic to my favs, it doesn’t add the id with the previous ones, but overrides the meta_value with the new one

Is it a known bug or is something wrong with my bbpress ..?
Running:
WPMU + Latest RC of BBPress, User tables integrated, v1 of Integration Plug (on wp side) installed. Latest RC of bbpress was installed directory fresh but over an existing bbpress 9.x (latest stable) tables.
Tests Passed:
– Logging into each site individually works fine. Can’t log out without errors (understandably as there is a cookie issue see below).
Tests Failed:
– Log into bb-press via https
– Log into wp blog.
– Should go to Admin.
Debug:
– Stepped through to find wp was looking for “wordpress_sec_[long hash string]” cookie. Thinking it was ‘mal formed’ it redirects to the wp login.
Question:
– Why would the “wordpress_sec” cookie not be created by bb_press?
I will be stepping through the bbpress code but wanted to put a heads up in the forums if maybe someone already knows whats going on.
Btw Is there a developer forum?
In 1.0 RC, it appears I need to have the users select the “forum” or “category” for their new post to be tied too.
However, I only have 1 forum – so in my post-form.php template, I removed the following code which produces the dropdown list (since only 1 value is selected).
<label for=”forum_id”>Category:
<?php bb_new_topic_forum_dropdown(); ?>
</label>
But now, when I try to add a post – I receive an error message that says “This topic has been closed”.
Any idea how I can force all new post into the only forum I have setup … so that I don’t have to display the “category” dropdown menu which only has 1 item listed.

