Search Results for 'bbpress'
-
Search Results
-
Topic: WordPress 2.7 and bbPress?
I’m about this close to making my new forums live. I’ve got WP 2.6 and bbPress alpha tied in together pretty well, but they recently announced the lockdown on 2.7, which means that may come out by years end.
Has anyone started testing with 2.7 yet? I’m not asking if I should not go forward and get my forums started, just wanted to know what kettle of worms I was opening
Topic: bbpress inside wordpress ?
Hey,
Is it possible to load bbpress inside wordpress ?
I am using bbpress (latest from trunk) + wp2.6.2
I have designed a theme for wp2.6.2. And my wp2.6.2 has a lot of plugins. I wish to load bbpress into wordpress. Is it possible ?
Topic: “Add Forum” button numb?
Hello,
Cherry install of 1.0a2 on WP 2.6.2
COOKIEHASH fix in place.
Besides the ‘can only be logged into one app’ at a time issue’, which I’m fine with as it’s a known issue, my new install is twitching a bit.
I can not add a forum using the ‘add forum’ button (nothing happens). I can edit the original install forum’s description.
Is this a permissions thing on some ajaxy file or a `<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>` in .htaccess type of thing?
If relevant: PHP5, shared db, siteurl/forum/ installation.
Thanks
I have seen lots of posts with folks having trouble getting integration to work. I am on 2.6.1 and 1.0-alhpa-2 and I have everything working with no problems.
The one gotcha that I found that I have not seen mentioned: COOKIEHASH in the wp-settings.php file. It currently ships empty in WP, and probably most people left it blank like me:
define('COOKIEHASH', '' );
The hash is calculated in bb-settings.php:
define('BB_HASH', $bb->wp_cookies_integrated ? md5($bb->wp_siteurl) : md5($bb->uri));
Since bbPress is hardcoded to use an MD5 hash of the domain appended to all cookies (when you are integrating), you need to have the matching hash appended to your WP cookies.
The hash is added to the cookie to make it unique, like
wp_logged_in_user_3ffce08ac7419977b5ab9d68969a4cd0
To fix this to match bbPress, set it up like this in wp-settings.php:
define('COOKIEHASH', md5(get_option('siteurl')));
Or even better calculate it once to avoid the get_option overhead and hard code it.
define('COOKIEHASH', '3ffce08ac7419977b5ab9d68969a4cd0');
Bonus points for anyone who can guess the hash above. Yes, it’s md5 and one-way, but on this forum, the answer should be pretty obvious.
The form of the url passed to md5 should be ‘http://mysite.com’ with no trailing slash.
One more cool thing: I do not allow registration on the support forum, only through the main WP site. In order to enable posting in the forum from the moment of signup, add a plugin in you mu-plugins directory containing the following:
function enable_forum_new_user( $user_id ) {
update_usermeta($user_id, 'bb_capabilities', array('member' => true));
return;
}
add_action('wpmu_new_user', 'enable_forum_new_user');Now your users can hit the forum and post the second they click their confirmation email. Cool, huh?
Topic: Removing Favorites Feature
How do I remove the option ‘Add this topic to you favorites’ from the topic.php page?
I’ve been digging through the bbPress scripts for two days now –
but I just can’t seem to locate the code creating the html for this feature.
Please help, the bbPress Forum is awesome, but I really need to disable this feature.
regards the AssBear
Topic: Need A Custom Theme
I’d be glad if someone can help me put together a custom bbpress for a personal forum I’m starting.
I want a simple but beautiful theme with the discussion, categories and tags in separate tabs, I will also need few plugins.
It will be pretty straightforward and I can provide some example of what I want.
Please get in touch if you will be willing to help for a moderate fee.
My email is: info (at) naijanded (dot) com
Thank you