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?
-
This reply was modified 13 years, 11 months ago by
Good in Today.
-
This reply was modified 13 years, 11 months ago by
Good in Today.
-
This reply was modified 13 years, 11 months ago by
Good in Today.
-
This reply was modified 13 years, 11 months ago by
Good in Today.
-
This reply was modified 13 years, 11 months ago by
Good in Today.
-
This reply was modified 13 years, 11 months ago by
Good in Today.
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/
Sorry, but all three of your the links you referenced are referring to the old stand alone version of bbPress, we are trying to get all the docs updated but as some still use the 1.x versions we still need them though I know it becomes rather confusing if you hit a link relating to that old version.
bbPress 2.1 has built-in theme support, if you want customize bbPress to closer look like your WordPress theme please see https://codex.bbpress.org/theme-compatibility/ to get started.
UPDATE: I have now upgraded to the latest version, v2.1.2 and Buddypress v1.5.7 but still get the same error – every status update I try to make shows up as a single ‘0’ character in the stream.
So how can I roll back bbPress please?
That plugin is for the old stand alone bbPress v1.x, you should look at https://wordpress.org/extend/plugins/ to find if a plugin exists to use with ‘bbPress Plugin v2.x’
OMG! :-(( You still can not see the right code.:-( This bbpress is filtering some strings… I will spell the strings in “”, you should write the code without spaces.
$content = str_replace(“& l t ;”,”<“,$content);
$content = str_replace(“& g t ;”,”>”,$content);
Hopefully I will succeed this (and last) time.:-)
This is a known issue for phpBB & Invision forums and the way it looks at the BBCode as its being imported, we are hoping to get this fixed for bbPress 2.2.
You can see more details on the problems here https://bbpress.trac.wordpress.org/ticket/1884
What the hell! This row is still being removed by the local bbpress… grrrr.
$content = str_replace(“>”,”>”,$content);
Add it in front of the “return” row.
Sorry, for some reason, one row was removed from the code. Here is the complete code. Additionally, the characters which were replaced by bbconvertor were replaced by the bbpress.org/forums reply content as well…:-) But you can see from the code what was replaced with what.:-)
add_filter("bbp_get_reply_content", "ps_bbp_get_reply_content");
function ps_bbp_get_reply_content ($content) {
$content = str_replace("<","",$content);
return $content;
}
Another observation + summary to the topic “bbpress is ignoring my customized index page file page-front-forums.php in my template directory”…
Default setup for forum base slug is “forums”. With this setup page-front-forums.php is being ignored. After change to “discussions”, the /discussion/ URL still ignores the template file BUT /forums/ URL is still working and it is working fine! (no shortcode usage).
BUT only for logged in users.:-)) Other users are redirected to web index page.
Anyway, I am happy to have at least some progress here.:-))