Don’t forget _ck_ to add these plugins to the repository!
https://bbpress.org/plugins/add/
Trent
Just tested a youtube embed copied right from their site and it works tested in IE and Firefox.
I don’t use the default bbpress template however, I wonder if that is affecting it somehow.
Are you using the updated v0.02 that I posted, not v0.01 ?
If it still doesn’t work, can you view source on the outputed page and copy just the part with that one post with full html here (between code tags obviously) so I can see what it is doing?
Can anyone tell me how to begin to address this problem? After installing on web server getting this error:
bbPress database error: [You have an error in your SQL syntax near ‘FROM bb_topics WHERE topic_status = 0 AND topic_sticky <> 2 ORDER BY topic_time’ at line 1]
SELECT SQL_CALC_FOUND_ROWS * FROM bb_topics WHERE topic_status = 0 AND topic_sticky <> 2 ORDER BY topic_time DESC LIMIT 30
I don’t even know where to begin to fix this. I’ve run bbpress on local environment and other hosts flawlessly, but on this company I’m getting these errors. I’m a SQL novice so if anyone can babystep this for me I’d appreciate it.
Thanks
Been meaning to do this for awhile, didn’t realise how easy it was. This makes bbPress behave more like WordPress in that admin (keymasters/administrators) can post any content regardless of tag restrictions for the rest of members. This includes images, javascript, objects like flash video player, etc.
<?php
/*
Plugin Name: Admin Post Anything
Plugin URI:
Description: allows keymaster/administrators to post any content regardless of tag restrictions
Author: _ck_
Author URI: http://CKon.wordpress.com
Version: 0.02
*/
function bb_admin_post_anything($text) {
if (bb_current_user_can('administrate') ) {
remove_filter( 'pre_post', 'encode_bad' );
remove_filter( 'pre_post', 'bb_encode_bad' );
remove_filter('pre_post', 'bb_filter_kses', 50);
$text=addslashes($text);
$text=bb_autop($text);
}
return $text;
}
add_filter('pre_post', 'bb_admin_post_anything',9);
?>
Okay I finally sat down and wrote it myself.
https://bbpress.org/forums/topic/new-plugin-admin-post-anything?replies=1#post-8848
Didn’t realise how easy it would be or I would have done it sooner.
What were you trying to do.. allowed all blogs to have a bbpress? I have bbpress playing very nicely with WPMU at blognola.org (and If I wasn’t so broke It’d even be online right now.)
I bet they mean like in wordpress where the cookie will be set for a year instead of a week?
What’s the bbpress cookie default, I’ll have to go look at the code.
I get around this problem by forcing the wp login from everywhere.
There was another request for this feature here:
https://bbpress.org/forums/topic/remember-me-option-at-login?replies=3
I’ve yet to see forum software that makes it hard for members to use/post?
My problem is not really spam but a bunch of pre-teens running around and posting massive, rapid, rabid chats with each other like it’s a chat room. bbPress completely lacks any management tools to deal with that. If you ban them, they can re-register with a different nickname in less than 30 seconds. If you ban their ip, they just use a randomizing proxy.
On my wordpress side I have it completely programmed with stop-words, how fast each member can post and decent moderation tools. But the forum, which from the start needs those abilities the most, does not have them.
I think the moderation functions are definitely severely lacking… but with Akismet integration you shouldn’t get much spam.
The whole point of bbPress from my view is that it’s really simple for the users to actually use, and will hopefully generate more interaction because of that, especially from people that aren’t as forum-savvy.
This is so simple I bet I am duplicating what someone else has already done. I am not sure why this isn’t in bbPress by default and it doesn’t even begin to address what I would consider basic moderation tools but it’s a start.
Install and check under “content” submenu. Why the posts menu =deleted posts in bbpress’s default I have no clue.
<?php
/*
Plugin Name: bbPress Recent Posts
Plugin URI: http://bbpress.org/plugins/
Description: shows most recent posts with (extremely limited) moderation options
Author: _ck_
Author URI: http://CKon.wordpress.com
Version: 0.01
*/
function recent_posts_admin_page() {
if ( !bb_current_user_can('browse_deleted') ) {die(__("Now how'd you get here? And what did you think you'd being doing?"));}
global $bbdb, $bb_posts, $bb_post, $page;
$bb_posts=get_latest_posts(0,$page);
$total = bb_count_last_query();
?>
<h2>Recent Posts</h2>
<ol id="the-list">
<? bb_admin_list_posts(); ?>
</ol>
<?php echo get_page_number_links( $page, $total );
}
function recent_posts_admin_menu() {
global $bb_submenu;
$bb_submenu['content.php'][] = array(__('Recent Posts'), 'use_keys', 'recent_posts_admin_page');
}
add_action( 'bb_admin_menu_generator', 'recent_posts_admin_menu' );
Well akismet support can be added to virtually any forum or blog software so that’s not really a claim to fame. I tried installing the moderate posts plugin but it’s not working right and preventing all posts from being displayed.
There’s also no way to tie any kind of “bad words” list into auto-moderation, and then how do you find any list of moderated posts? Sigh. All of this is already in wordpress so it’s really strange to me it’s not in bbpress by default.
Well I’ll stop here and won’t tie up this particular topic with this further since you can’t move individual posts to other/new topics with bbpress (another missing moderation need).
The Support Forum plugin has been updated to allow the assignment of individual forums as support forums, instead of your whole bbPress install.
So if you have a bbPress site with two forums:
1. Jokes
2. Support
Then you can add the Support forum capabilities to just the second forum, or the first one if you like, or both.
Available now here:
http://bbpress.org/plugins/topic/16
Ah thanks Trent, I thought I saw that list weeks ago but couldn’t find it again.
I’m still not convinced bbpress’s “selling point” is speed or management as other forums seem just as lightweight and definitely more robust. But the biggest problem on any large forum is the sheer number of people doing searches at any given time.
BBpress kinda cheats in this regard (keeping search overhead down) as it tries to enforce tags over searches (I’m not a big believer in user submitted tags when you have a lack of quality control over your members) and it’s search feature is so poor that no one will seriously use it right now (it cannot find whole words, limit by member, limit by forum, limit by subject, etc. etc. etc.)
To me, I thought bbpress’s benefit was WP integration and I was familiar with the functions used after months of hacking wordpress. Wasn’t convinced the wordpress forum plugins were going to keep evolving or be flexible enough.
I guess my problem is jumping in too soon, waited a year to add a forum to let projects like this mature but it’s still a bit early. By the winter the forum I setup should be as big as technorati – it definitely needs better management features.
“The advanced moderation and spam protection features of bbPress save the WP mod team tons of time.“
What advanced moderation features? Am I missing something? You have to actually go into each topic, go to each post and manually moderate. It kinda blows me away that there’s nowhere in the bbpress admin panel to see the last 50 posts like in wordpress. I’m coding the feature for myself right now…
The big ones:
Examples
As well, wordpress.com is a huge forum as well as the wordpress MU forum is getting there. Each of the wordpress forums have 2,000+ new registrations each day. Pretty large examples.
Trent
Wait, there are numerous people installing bbpress as their only website program without having WP installed? Why? It’s such an early, early beta and has virtually no administration features. Any mature forum program can blow it away right now. Are they masacists or just running really tiny, micro forums?
Just out of curiosity, what are the largest known bbpress forums, other than the wordpress site and here? I suspect the forum I’ve integrated is probably in the top 10 since it has over 100 daily active users (with 800+ registered from the wordpress config).
Since we have a contact address, closing this thread.
Trent
BBpress has no mass search/delete feature, unlike several wordpress plugins that are available. Even the upcoming search feature that was posting on the blog doesn’t seem to have an “action” ability, just search, which doesn’t make sense, so maybe there will be more to it.
Trying searching and deleting 50+ posts by hand, not worth it.
Recount will only update counts, not pointers.
I am just about finished with a new function to do this however.
Right now it only updates the last poster id and name, the trickiest part was figuring out the proper mysql expression to grab the last item while grouping by topic_id. Took an hour of research.
But in fact my routine could be extended further to rebuild the entire topics database from scratch if need be since all the data is in the posts and it’s just kept in the topics table for speed.
I just find it surprising there isn’t such a routine already and I am hoping I am not duplicating efforts already done.
Ok.
The warning prints every time I post or save. I realize it doesnt actually crash the website, but that warning is the only thing that appears.
This is what is inserted into the user_meta. Its inserted when published or saved. It doesnt seem to be duplicated again after I save it if its already in there, but if I delete the listing, then it is re added
capabilities a:1:{s:6:"member";b:1;}
oddly enough it is not putting the bb_ in front of capabilities which may be a clue to whats happening.
(I dont have $bb_roles in the config.php)
Also a new post is put in bbpress each time it syncs.
From what I gather: line 275 of capabilities.php is looking for an array to loop through which should have the capabilities.
Wilbur
ok – using bbpress 0.8.2.1, wpmu (which is wp 2.2.1), and I have the users integrated.
When I post through WP, it makes both the WP post and the bbpress post correctly, but this error appears. From what I can tell, the actually the usermeta information is being duplicated in the database for the person posting and it then crashes because it cant successfully get the capabilities.
here is the crash:
Warning: array_filter(): The second argument, 'Array', should be a valid callback in bb-includes/capabilities.php on line 271
Warning: Invalid argument supplied for foreach() in bb-includes/capabilities.php on line 275
Warning: array_filter(): The second argument, 'Array', should be a valid callback in bb-includes/capabilities.php on line 271
Warning: Invalid argument supplied for foreach() in bb-includes/capabilities.php on line 275
Warning: array_filter(): The second argument, 'Array', should be a valid callback in bb-includes/capabilities.php on line 271
Warning: Invalid argument supplied for foreach() in bb-includes/capabilities.php on line 275
Warning: array_filter(): The second argument, 'Array', should be a valid callback in bb-includes/capabilities.php on line 271
Warning: Invalid argument supplied for foreach() in bb-includes/capabilities.php on line 275
Warning: Cannot modify header information - headers already sent by (output started at bb-includes/capabilities.php:271) in /wp-includes/pluggable.php on line 338
Ive trimmed the server path a little.
I am wading through it trying to understand how you set it up. It nicely done, but I dont understand why this is happening.
Wilbur
I think you’d check for a bbpress global, like $bb. But how did you get it working in the end?
Was there a ticket in trac already for this? Because I just added one.
There are so many integration problems in bbpress that IMHO feature additions should be on hold until tighter integration is achieved. I can’t see a major userbase other than WP users for bbpress.
I know how to brute force it (just add the html) but I’d like to have it appear in the output wp_list_pages() so that links to the forum blend nicely with the rest of my WP/bbPress site.
So I created a WP page for the forum, so that puts the link in beautifully, but the forum doesn’t appear on the page (duh). iFrames are not a good solution, so I’d like to stay away from them.
Or I can brute force it, but then the link can only appear at the beginning or end of wp_list_pages() output.