Thinking long-term, I’d like for there to be a ‘Use bbPress topics for comments’ option also, and that plugin is doing something along those lines. Thanks for sharing your site, and happy that it’s working out for you so far.
I linked my forum http://oddcopter.com/forums/
to my blog http://oddcopter.com/
using the Topics for Posts plugin http://wordpress.org/extend/plugins/bbpress-post-topics/
Now, all my comments end up as replies in a forum topic associated with the blog post they were made in and vice versa. Nice way to get a forum started. Nobody likes to party in an empty room. I had to delete a lot of freshness and voices data because it didn’t look right after my conversion.
Anyway, thanks to for all your hard work John and Company!
-
This topic was modified 13 years, 9 months ago by
oddcopter.
-
This topic was modified 13 years, 9 months ago by
oddcopter.
-
This topic was modified 13 years, 9 months ago by
oddcopter.
-
This topic was modified 13 years, 9 months ago by
oddcopter.
Most likely directly in a custom theme’s template file, where ever it’s appropriate.
/bbpress/loop-single-reply.php
maybe?
BuddyPress is pretty much your best option right now. Though it’s setup and theme’ing is not currently as elegant as bbPress is.
A few things. First, this won’t work in bbPress 2. It’s already done for you, and the function names are different. Also, it’s a bad idea to trust any global value to be output directly to the screen, as any plugin can manipulate them directly. You’ll want to wrap that output in an esc_url() call. Lastly, this post is almost 4 years old; bumping it with a simple ‘thanks’ type reeks of being spam.
Closing this so it doesn’t get bumped again, and anyone that finds this should take heed using that code in bbPress or WordPress going forward, as there are more elegant solutions.
Thank you, John. I swapped those and it returned nothing. But when I added an echo to actually display the value it works as I wished for it too, so thank you for your help! 🙂
bbpress topics and replies are displaying on recent (blog) posts widget. I would like to list only blog posts on it. And yes it came with my theme. I really want to keep it.
However, I found a way around. I had to create a new category and move all my main categories under it. And then filter recent posts widget to display only posts from new category. I fixed my problem.
But I got the feeling that it’s not the right way to do it.
-
This reply was modified 13 years, 9 months ago by
Tharindu.
-
This reply was modified 13 years, 9 months ago by
Tharindu.
Hello Mr bbpress, are you working at it?
Which widget? bbPress, WordPress, a theme widget or a custom widget?
I don’t see any recent forums posts showing on any of your widgets on the site at the moment.
This plugin currently only comes with templates for the bbp-twentyten theme with is a table-based layout. Otherwise, it’s a really good plugin and works really well.
Because bbp_reply_author_id() does not return, it echo’s.
Use bbp_get_reply_author_id() instead. It will return a value.
get functions always return, their counterparts always echo. 🙂
There is an ‘example’ file included with bbPress 2.1 that can be used as a ‘reference template’ to make converters for other forums.
You may be able to edit this file and convert your WBB3 forum to bbPress 2.1 after having a good look around the WBB3 SQL database.
The file is called ‘example.php’ and is located in /wp-content/plugins/bbpress/bbp-admin/converters/
Geesh, sorry for all the edits but I guess I don’t get your insert code thing. Anyway I used bbp reply author id to pull the id but this all together returns just that, the author id number. Any further ideas?
First of all, thank you for your help.
Now, I came up with…
$user = get_userdata( bbp_reply_author_id() );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
}
… but it returns the user ID number, not the nicename. Any further thoughts?
Oh, and my voices totals are wrong on anonymous replies that I imported using the “bbPress Topics for Posts” plugin, which is a great plugin by the way.
Something similar to:
$user = get_userdata( $user_id );
if ( !empty( $user->user_nicename ) ) {
$user_nicename = $user->user_nicename;
}
…should do it. You’ll need to sort out the context of how to get the $user_id though.
I wish to display the @username next to the name of the creator of the post. Trying several different combinations but not coming up with anything. How would I call and display the @username of the creator of the post in bbPress?
The font size used to be fine in my forums until i updated bbpress, and now its tiny compared to the rest of the sites font! Im pretty sure the only way to change the font size is to edit the CSS, so could someone please tell me where in my ftp client can i find the file i need to edit, and also what part fo that file i need to change? Any help would be greatly appreciated i created this site as part of work experience, but i want to keep it as a hobby.
Hi there, i would love to see a WBB3 importer for bbpress. Are their any plans to build one?
Many thanks. Kay.
http://www.woltlab.com/de/
I’ve briefly skipped through bbPress documentation and I get the general impression that everything’s supposed to be hunky dory from the get go in relation to forums working on any theme at all. Have I picked up correctly or am I just thinking optimistically?
You see, the thing is, that it doesn’t seem to be the case for me. When I try to create a new forum, the site brings me to an error:
> Fatal error: Call to undefined function bbp_get_forum_parent() in /home/content/64/9433864/html/wp-content/themes/origin/library/extensions/breadcrumb-trail.php on line 450
Is this because I’m being stupid in thinking bbPress works with any theme or is there genuinely a problem with my theme?
Answering my follow-up question: I was able to override the bbpress.css styles by adding a css folder to my theme and copying the bbpress.css file into that for editing.
Suppose now we allow guest users without accounts to create topics and replies (anonymous posting)
Suppose that my forum has a member “John” registered with email address: john@site.com
Now if an Anonymous fill john@site.com as the email address when posting, the post will show up with the post Author as John (but in fact it is not John)
I find this is a bug not only in bbPress but also in WordPress comment.
Hope that will be resolved in the next release.
I think the two of you need to compare your settings, installed plugins etc, you both have what the other is looking for and with some luck you will both solve each others problems.
@apena916 see https://bbpress.org/forums/topic/admin-approval-email-for-new-topic/
@shilpi18th see https://bbpress.org/forums/topic/need-users-to-be-able-to-posts-without-posts-being-approved/
I think the two of you need to compare your settings, installed plugins etc, you both have what the other is looking for and with some luck you will both solve each others problems.
@apena916 see https://bbpress.org/forums/topic/admin-approval-email-for-new-topic/
@shilpi18th see https://bbpress.org/forums/topic/need-users-to-be-able-to-posts-without-posts-being-approved/