Search Results for 'bbpress'
-
Search Results
-
Topic: Integration issues
Hi all,
I’m sure this has been covered a few times, but here goes.
Cookies obviously aren’t working, because I’m getting booted out of wp-admin when logged into bbpress and visa versa.
Have installed the bbPress integration plugin with settings in wp-admin like so:
bbPress URL: http://website.com/forum/
Your Plugins URL: http//website.com/forum/bb-admin/plugins.php
Wordpress type: WordPress
Added this code to the very bottom of wp-config.php
define( ‘COOKIEPATH’, ‘/’ );
In bb-admin, I’ve got:
Wordpress address: http://website.com
Blog address: http://website.com
WordPress “auth” cookie salt: (auth_salt wasn’t present in the wp admin page, anyway I took the code from wp-config.php)
WordPress “secure auth” cookie salt: (as above)
WordPress “logged in” cookie salt: (as above)
Manually entered codes so the following match
AUTH_KEY / BB_AUTH_KEY
SECURE_AUTH_KEY / BB_SECURE_AUTH_KEY
LOGGED_IN_KEY / BB_LOGGED_IN_KEY
And that’s where I’m at. Can someone tell me what I’m missing?
I’m not going to worry about database sharing right now – is that advisable? Or is it highly recommended?
Also what should I have the wordpress roles set to for each one of these?
WordPress Administrator
WordPress Editor
WordPress Author
WordPress Contributor
WordPress Subscriber
Thanks for the help!
There is a security bulletin being circulated this week about a “path disclosure” bug in bbPress 1.0.3 – it actually affects all versions.
It’s not a super-serious security bug in itself but it can be used to gain leverage.
Basically someone can discover the real path your files are in by causing a PHP error by trying to access a template file directly, where there is an error in the template because bbPress is not loaded at that time.
Here is a simple workaround for users on Apache (vast majority of users).
Make a file called
.htaccess(note the dot at the start)in it, put this line
php_flag display_errors offThen upload that file to
bb-templatesandmy-templatesThe reason why we don’t put that in the master
.htaccessfile for all of bbPress is because you may need to see any regular errors in the future. However for the template subdirectories, there is no need because those files are never (supposed to be) loaded directly by the browser.Hi!
I have a smaller blog network (WordPress 3.1 Multisite) and bbPress 1.03.
Right now the integration works, but not fully. I can login on the forum with my wordpress user accounts but there’s some problem with cookies. I still need to login/log out one time at each site (forum/blog).
I’ve copied this from wp-config.php:
define(‘AUTH_KEY’, ”);
define(‘SECURE_AUTH_KEY’, ”);
define(‘LOGGED_IN_KEY’, ”);
define(‘NONCE_KEY’, ”);
define(‘AUTH_SALT’, ”);
define(‘SECURE_AUTH_SALT’, ”);
define(‘LOGGED_IN_SALT’, ”);
define(‘NONCE_SALT’, ”);
And of course included the salts + added BB_ suffix in bb-config.php.
I have a separate database for bbpress and the “Separate user database settings”-settings in options-wordpress seems to be right.
The URL:s under cookies is also correct (http://domain.net – as my blog).
Do you have any idea what the problem is?
Would be grateful for a solution. Thanks.
Hey so I’ve been trying everything to get bbpress up and running on my site and I finally thought I had it but when I visit the forums I see the login screen and when I do it says
Access to the webpage was denied
You are not authorized to access the webpage at http://chubshub.com/wp-content/plugins/buddypress/bp-forums/bbpress/bb-login.php. You may need to sign in.
Does anyone know why this happens? I’ve made a mySQL database and username and it doesn’t work. I’m not really sure whats going on I’m pretty new. Thanks!