MASSIVE thanks go out to nerrad and JJJ for this fix!
Seems to work just perfectly.
So JJ, do you think I now need to tick the box in the back end to assign a default level to new sign-ups, or does this patch dynamically assign the ‘member’ role to all new sign-ups too?
I finally started playing with bbPress. There are lot to learn because I want to display topics totally differently what is the default output.
First I want to display latest topics by latest activity like usual. I’ve created archive-topic.php in my theme so I can decide output.
After that I can filter topic post type so that topics are ordered by latest activity.
add_action( 'pre_get_posts', 'my_filter_topic' );
function my_filter_topic( $query ) {
if( $query->is_main_query() && is_post_type_archive( 'topic' ) ) {
$query->set( 'meta_key', '_bbp_last_active_id' );
$query->set( 'orderby', 'meta_value_num' );
$query->set( 'order', 'DESC' );
}
}
But this doesn’t display sticky posts first. They are more like last. Does someone have an idea how I get sticky posts to show first?
Topic tags don’t show up when I visit the site. That was a problem before too in previous converstions.
When I view the topic tags in admin, the tags show up including a bunch of spam tags that I had deleted in bbpress 1.1
Thanks a bunch. Hiding right under my nose.
So I updated to the new 2.2.1 bbpress plugin. Thought I would start fresh conversion. It had to finish deleting the previously converted data went to 482842099 lines. Then started the fresh conversion.
I still have anonymous posters with the occasional real poster. A thread started by an occasional real poster is the wrong poster using bbpress 1.1 reference.
ImportForums is/was bbpress 2.1.2 You go to Tools, Forums, and tab ImportForums to do the migration. The original conversion was completed using bbpress 2.1.2 and the previous just prior to WP 3.4.2. But I have upgraded to bbpress 2.2 and wp 3.4.2 (see there is now bbpress 2.2.1 plugin available)
If something went wrong in the migration as you said John, I thought I would purge previous attempted import. I have just over 90 subscribers and 90 posts. Yesterday, the purge went on for hours, and I mean hours. I finally stopped it at 482,841,799 lines!!! This purge should have taken only 30 seconds for 90 posts/subscribers.
Would this purge be the bbpress plugin problem or WP?
Latest Wp, latest bbpress, on a VPS.
Trying to move my forum from 1.0.2 to 2.2. So far managed to move users/forums/topics.
I`m stuck with attachment migration. On 1.0.2 I`m using bbPress Attachments written by _ck_, where files are located in folder, but on 2.2. version they should be in WP media library. Any good ideas how to migrate ~1100 files (jpg/png/pdf) so that they still keep linked to old posts?
How about giving our ‘Get Started with bbPress’ document a go?
https://codex.bbpress.org/getting-started-with-bbpress/
If you have any problems following this let us know and we will try to improve it.
Try bbPress 2.2.1; let me know if it fixes this.
You’ll want to look at the _insert_ functions in:
- includes/topics/functions.php
- includes/forums/functions.php
- includes/replies/functions.php
You’re going to need to build a custom migration tool, since bbPress Forums are not conventional taxonomies and terms. You’ll most likely want to write a new converter tool; there are several located in includes/admin/converters/.
I don’t see any forums on your site at: http://c3eu.com/?post_type=forum
Hello,
I am a first time WordPress user and have been designing my site for a recreational group and have stumbled upon a problem.
My bbPress is displaying all Categories and most forums, but for some reason after I created a topic in one of the forums under a category all the forums under that category dissapeared. Now the topic I posted is displaying to the right of the category as the most recent topic, but yet there is no forums showing under the category.
WordPress version: 3.4.2
bbPress version: 2.1.3
My site: http://www.c3eu.com
bbPress 2.2.1 is out to address some of the major user-role issues.
bbPress 2.2.1 is incoming, to fix this bug.
Hi John,
Thanks for your advices, really appreciate them.
I’m trying to use bbPress core functions.
Hope the documentation can be updated and improved soon.
I was not moving between installation here.
The old forums that our company had was based on P2 (or some kind of P2 based) WordPress theme and it’s kinda different from.
Therefore, using WordPress export, import function is not sufficient here.
For example, in the past, there is a topic under “Relationship” forum.
It’s actually a pure post in WordPress term and “Relationship” is a category of posts here.
Again, where is a good place for me to look at the bbPress’ insert functions?
Best regards,
Someone mentioned using loop the bbPress’ way bbp_has_forums()
Would you like to give it a try?
Hi Lynq, thanks for pointing that out.
Do you know anywhere this is documented in great details?
I’m trying to loop through the forums and sort them by the forums’ names.
It mentions here that bbp_has_forums() takes the same argument as wp_query.
However, the following do not work for me at all, no errors thrown either, nothing compared to having no arguments passed to bbp_has_forums()
$args = array(
‘post_type’ => ‘forum’,
‘post_status’ => ‘publish’,
//’meta_key’ => ‘age’,
‘orderby’ => ‘title’,
‘order’ => ‘ASC’,
);
Hi – I had a pretty rough time the last time I tried to install and configure bbPress. I have since upgraded to PageLines (they have a compatibility plugin, which I’ve installed but not yet activated.) and I’d like to try again. My site is generating lots of gab but only on a couple of posts – I’d like a nice playroom for them all.
Last time I tried this I saw a decent install/configure video, but can’t find it now – maybe it was for BuddyPress?). Any decent step-by-step configure how-to’s for a miserable, slightly gun-shy newbie?
-
This topic was modified 13 years, 8 months ago by
spiritbear.
-
This topic was modified 13 years, 8 months ago by
spiritbear.
Is there a similar fix or plugin for people using User Role Editor?
I had a look at http://www.s2member.com/forums/topic/dont-upgrade-to-bbpress-2-2/ and made sure to select Spectate and ticked the same role capabilities as http://hands-4-life.de/s2member_level1.jpg but none of the users, except Administrators, can post a new topic or reply.
I can only get it working for individual users if I manually go into the user’s profile (Admin Dashboard > Users > All Users > Edit ) and set their Forum Role as ‘Participant’.
I’m sure this is a bug– disregarding group forum enabled or not, the forum tab is still there. If a group forum was enabled before, it can’t be really disabled.
see the comments posted in the ticket jjj, the problem is that a role created by a plugin isn’t in the default map, and thus it won’t get handled (b/c any roles not in the default wp_roles don’t get handled). I added a patch to the ticket.
[edit: my brain is mush and translating to really bad grammar]
Is this a bug — buddypress non-group members can post new topic or reply in any Group Forum?
ticket created -> https://bbpress.trac.wordpress.org/ticket/2042 – I’ll do some more investigation and will post comments/suggestions in the ticket.