I fixed it, turns out i had not updated my config file from my wordpress upgrade so i was using an old config file, when changing i just edited the file and added the secret key setting and it seems to be working great with 0.9
After doing some reading I am going to assume someone is going to tell me to use the alpha 6 version of bbpress? Would it be wise for me to do the whole setup from scratch, re-uploading wordpress and then testing bbpress again?
This is the error log that i am getting :
>>> WordPress cookie keys not set.
>>>>>> Your "bb-config.php" file was not writable.
>>>>>> You will need to manually re-define "BB_AUTH_KEY", "BB_SECURE_AUTH_KEY" and "BB_LOGGED_IN_KEY" in your "bb-config.php" file.
>>> WordPress "auth" cookie salt not set.
>>>>>> Could not fetch "auth" cookie salt from the WordPress options table.
>>>>>> You will need to manually define the "auth" cookie salt in your database.
>>> WordPress "logged in" cookie salt not set.
>>>>>> Could not fetch "logged in" cookie salt from the WordPress options table.
>>>>>> You will need to manually define the "logged in" cookie salt in your database.
What did I do wrong? How can I get it right now?
Please someone help me.
successfully installed bbpress on my wordpress 2.7
Is their anyway to have the forum actually be within the site so everything is together instead of having its own theme?
synchronization between wordpress and bbpress is OK! However bbpress not recognize me more as a super administrator! I do not know how can I become super administrator ……
thank you
@Sam
Please correct me if I’m wrong, but if you check out http://www.delsolownersclub.com/forums/, the links for the feeds from WordPress seem to point exactly where they should.
The only problem that I had personally was using wp_enqueue_script('jquery'); in my wordpress functions.php file. I replaced it with
if (!defined('BB_PATH')) {
wp_enqueue_script('jquery');
}
And all is well again.
When you load WordPress inside bbPress, it is detected and all WordPress filters are cleared, including default filters. This means that most of what wp_head() usually does won’t happen. It’s the wrong thing to do in any case as the wrong RSS and XML-RPC links will get inserted for a start.
Having said that, using a plugin in bbPress you can easily add filters back in to wp_head().
That RSS you demand is integrated in bbPress. In your browser navigation bar, if you click to the RSS icon it shows you the list with the two RSS feeds availables. One is for latest topics and other one is for latest messages in all topics. If you see my forum ( http://forowordpress.es/ ) I’ve added two links to both in the sidebar (redirected to feedburner as you can see).
cleared my cookies… checked i had that plugin working on wordpress…. but it still messes up.
it’s only on that one example though. it works alright with all the other variations
i looked at the cookies as i went through it.
i start with no cookies.
when i log in to wordpress i get quite a few cookies… two of which start with the phrase “wordpress_logged_in”
when i log out of bbpress, only one of these cookies disappears. which is presumably why i stay logged in to wordpress.
can i ask, should there really be two cookies called that? or should there just be one. it seems that wordpress is creating two cookies for everything, one for itself and one for bbpress
How is this achieved? how can you see the logs? And are IP’s logged on each post and comment so they can be tied to the user’s ID? Can this be ported to work in all of WordPress MU? Thsi would be very handy. Thanks!
@Tiago
How did you ditch the WordPress comment system and link the comments to a specific forum topic? Is this an automated process or a clever use of custom fields?
@Steve
Still sounds like a cookie issue. I would retrace your steps, make sure you’ve got the WordPress Integration plugin installed on the WordPress side of this. Make sure you’ve added all of the cookie info to your config files as specified, etc…
In my opinion, for usabilities sake, it may make sense to route your log ins and registrations through 1 platform anyhow.
Hello.
How do I uninstall bbpress from my WordPress site? wp 2.7, bbpress 1.0 alpha 6
1. Delete folder
2. Delete entries from db… which ones?
Anything else to completely remove the forum?
Thank you.
actually… I spoke too soon.
all of the different combinations work okay apart from this one…
if i log in through wordpress, but log out of bbpress, i stay logged in to wordpress
integration works perfectly for me now, with this new version.
i can log in and out of bbpress or wordpress, and it automatically logs in and out of the other one. i could never get that to work with the last version.
one tiny little thing though…. i’m not even sure that this is a mistake… but when you go to the log-in screen you always get the “Enter a username” message appear next to the username box.
I am guessing that that is actually supposed to be an error message, and should only appear if they try amd submit without filling in the box — like it does for the password field
I was able to achieve most of what I wanted to do with almost no core hacks.
I editted my template front-page.php to basically be topic.php but without the re_permalink() ; call and statically setting $topic_id = 2.
The core hack I made was to change functions.bb_templates.php to modify all location query functions to trick it into thinking ‘front-page’ is topic-page instead (these are mostly case statements inside functions like is_front() and is_topic()) , meaning that post.php, post-form.php and /bb-post.php all fuinctioned on my new front page in the same way they would on topic.php. I would prefer to develop a plugin that did this modification, but I don’t have time to make one.
So it essentially does what I wanted it to do, albeit with a core hack that will have to be manually maintained in future releases unless a plugin is developed.
In the last few days, I’ve basically discovered that neither WordPress or bbPress can do more than 60% of what I want, and it’s a different 60% in each case. bbPress has one major advantage for me over WordPress right now, and that is bbPress Moderation Suite. WordPress has nothing remotely resembling it and I doubt I’ll be able to find someone willing to build it, even for cash. But even bbPress Moderation Suite is missing one key thing for me, and that’s email notification to the users, but Nightgunner is working on that one already.
In places where something is entered into the users_meta table, it might be a good idea to prefix ‘bb_’ in front of your added values.
Honestly I’m surprised there isn’t a strict standard about something like this. WordPress modifications are the same way, often times emitting the ‘wp_’ which in my mind feels like it could cause some complications in the future.
Also, I noticed that there’s even places where both WordPress and bbPress don’t follow this in the core as well. I realize that it was never the intent to allow plugin access to those areas, but now that the proper hooks are in place and things are sharing that same space, it seems like the logical thing to do.
Good call. That alleviates one problem.
On to the next… Now all of the JavaScript loads properly and when clicking the “add to favorites” link, the ajax kicks in and works as per normal and makes it look like the link was added. The link actually shows in the database as a favorite, but the theme fails to load them correctly.
I’ve tested this on the stock template also with the same results.
Removing the WordPress integration from the bb-config.php file brings everything back and they work just fine. Comparing with WinMerge the source of the same page with and without that integration, they are identical. So somewhere something is getting in the way.
Yes, you should use absolute pathing. Try this:
Redirect 301 /bbpress/register.php http://www.scopedin.com/wordpress/wp-login.php?action=register
You want bbpress/register.php and NOT your theme because the main register.php is actually what gets called.
Well, I tried…it validated, but it doesn’t seem to be doing anything. The file in question is:
http://www.scopedin.com/.htaccess
the contents are:
# Use PHP5CGI as default
AddHandler fcgid-script .php
Redirect 301 /bbpress/my-templates/my-kakumei/register.php /wordpress/wp-login.php?action=register
Do I need an absolute pathname for the last parameter? Both of these are relative off of my public_html directory.
Hello.
Installed wp2.7 in root dir, and bbpress alpha 6 in sub-dir. Enabled permalinks, added code to htaccess in sub-dir.
Test 1. Logging in to wordpress admin.
Navigate to comments: shows logged in as admin user
Navigate to forum: not logged in
Navigate to forum admin: not logged in
Test 2. Logging in to bbpress admin.
Navigate to comments: does not show as logged in as admin user
Navigate to wp admin: logged in as admin
Is this how it’s supposed to work?
More info:
After adding the following lines of code to the wp-config file:
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ‘/’);
This does not change anything except, if I am logged in to the WP Admin, I can not log out. Clicking Log Out presents:
“You are attempting to log out of The Site
Please try again.”
Am I missing something with the code above? Should I be adding the domain name somewhere?
I appreciate your help.
A day later and I managed to somewhat temperamentally find a work around. I now have a new problem and figured it wasn’t worth creating a new topic for this.
I requested, and had approved, a request to have my plugin hosted with plugins-svn.bbpress.org. Other than an initial import call I’m locked out of the svn for my plugin: https://plugins-svn.bbpress.org/adsense-for-bbpress/
Whenever I try to delete or upload a file I get:
Server sent unexpected return value (403 Forbidden) in response to CHECKOUT
request for ‘/!svn/ver/1629/adsense-for-bbpress’
A quick Google tells me that “my profile wasn’t in the repository’s list of allowed users. Talk to the admin of the repository to see if you have rights (check the repo’s .conf file)” (from https://wordpress.org/support/topic/206466?replies=4).
If someone with svn access could confirm or clarify where I go from here I’d appreciate it.
Cheers!
oh, this is with bbpress 1.0 and wordpress 2.7
i had the same issue, but it turned out that bbpress had not written any of the key info to bb-config.php, despite me specifying this on installation. i added this manually and it worked:
define(‘BB_AUTH_KEY’, ‘wp-auth-key’);
define(‘BB_SECURE_AUTH_KEY’, ‘wp-secure-auth-key’);
define(‘BB_LOGGED_IN_KEY’, ‘wp-logged-in-key’);
define(‘BB_NONCE_KEY’, ‘wp-nonce-key’);
define(‘BB_SECRET_KEY’, ‘wp-secret-key’);
define(‘BB_AUTH_SALT’, ‘(wp-auth-salt’);
define(‘BB_LOGGED_IN_SALT’, ‘wp-logged-in-salt’);
the first four are in wp-config.php and the second two are in the options page of the wordpress admin menus.
bbPress is NOT a plugin, it’s a separate application that can be integrated with WordPress.
Follow these directions to install bbPress.
If you want to integrate bbPress and WordPress, note that if you are using WP 2.6+, you must use the ALPHA build of bbPress. During your install process, you will be asked about server settings. Tell bbPress to point to the same DB you used for WordPress (don’t worry, it won’t overwrite anything, but do make a backup anyway to be safe).
The Basic Integration Screencast should help you some.