Search Results for 'bbpress'
-
Search Results
-
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
Topic: Page 63 of 1
The links to topics on my forum have recently been getting weird. Instead of linking to the first page of a 1 page topic, it links to the non-existant 63rd page.
Here are the plugins I’m using:
Admin Can Post Anything 0.05
Akismet 1.0
Allow Images 0.7.1
Announcement forum 1.0 (Custom, not publicly released)
bbEmoticons 0.72
bbPress Polls 0.5.5
bbPress Private Messaging Extended 0.9
bbPress signatures 0.14
Bozo Users 1.0
Censor 0.1
Hidden Forums 0.0.4
Mini Track 0.1.6
Move It 0.14
Post Count Plus – Dynamic.Titles & More! 1.1.6
Report Post 0.11
Support forum 2.3.3
Temporary ban 1.0
Unread Posts 0.9.1
I’ve tried recounting the forums many times, sometimes it works for a few hours, other times it doesn’t do anything to help.
I’m on bbPress 1.0-alpha 2.
My forum url is http://forums.llamaslayers.net/
Topic: New Installation Problem
Hi,
Newbie setting up bbpress with integration to wordpress but coming across a problem.
Inatalled latest version of WordPress on Wednesday and BBpress yesterday but BBpress gives the following error when starting:
Parse error: syntax error, unexpected T_STRING in /websites/LinuxPackage03/xp/er/ie/xperiences.co.uk/public_html/xperiencesforum/bb-config.php on line 28
Line 28 of my bb-config.php file is:
$bb_table_prefix = ‘bb_xpe’; // Only letters, numbers and underscores please!
My forum site is:
http://www.xperiences.co.uk/xperiencesforum/
Any help resolving this would be welcome.
Many thanks
Catequil
Hi,
One of the members of our bbpress installtion reported the following PHP error when they were posting a message with links in it. I could not replicate the problem as Keymaster but can as a member.
When a member starts a NEW topic and the message includes http:// URLS in the message the following erro occures and the topic/message is not posted.
Warning: Invalid argument supplied for foreach() in /home/example.com/public_html/forums/bb-includes/functions.php on line 527
Warning: Cannot modify header information – headers already sent by (output started at /home/example.com/public_html/forums/bb-includes/functions.php:527) in /home/example.com/public_html/forums/bb-includes/pluggable.php on line 214
On replying to a message and your message has http:// URLS then the page simply re-directs back to the forum without the above error message and again no post.
If however, you START or REPLY with a message with just text and no URLs you can then go back and EDIT the post and add the URLs.
I’ve followed the installation instructions, including saving bb-config-sample.php as bb-config.php with the correct values (although it doesn’t say to do this in the bbpress installation instructions). When I go to the intended URL of the bbpress site I get the following error:
Fatal error: Call to undefined function: wp_kses_no_null() in /homepages/45/d144276697/htdocs/mysite.net/news/forum/bb-includes/pluggable.php on line 240
I have a wordpress installation in /news/ of the domain, and attempting to put bbpress into /news/forum/
WordPress: 2.6.2
bbPress: 0.9.0.2
Any thoughts?