Hi There ~ How can I make a forum only available to those who log in to the membership part of the site (using (wp-members plugin)? normally I can set which pages/post are private, but since the BBforum seems to dynamically create a page, Im not sure how to do this…?
WordPress 4.2.2
bbpress Version 2.5.7
link: http://www.laadda.com/2015/forums/forum/adda-forum/
Thanks!
So I edited the post and copied the SQL code to a gist on GitHub:
https://gist.github.com/anonymous/8d1cb71e69d52ac69f5d
First, it looks like you are importing the phpBB into bbPress 1.x, bbPress 1.x is not supported anymore.
Per @robkk post immediately above you should checkout that link to our docs on the codex on importing to bbPress 2.x, and in general look toward using the bbPress 2.x plugin for WordPress https://wordpress.org/plugins/bbpress/
I’d suggest taking a look at our phPBB v3.x importer and making any change to match the phpBB v1.x database schema changes you would need:
https://bbpress.trac.wordpress.org/browser/branches/2.5/includes/admin/converters/phpBB.php
Hi there, I hoping someone can help me here. I have noticed that when a user posts for the very first time on my forum this error attached here is generated: http://i59.tinypic.com/ru5out.jpg
I think its some error related to the avatar being generated for the first time. When a user goes to post a second and third post and so on all is well. I am not sure if its something I need to fix on the server or in the plugin. I am using the latest version 2.5.7 of bbpress.
Maybe someone has seen this before and has a solution to it? Any help would be much appreciated.
Thanks in advance, James
I’m also interested.
I actually don’t need the wordpress blog at all, I would prefere to have a separate installation for my forum… and then, I don’t want to have a “/forum” in the URL.
I tried to put my “bbpress.php” template as the “index.php” template in the theme : stupid idea !
I got the blog posts inside the forum template (as actually one might expect…)
I also tried to configure the “forum root” parameter (the folder name) as “”. did not work (Yeah, I also doubted, but I had to try)
it should exists something linked with permalinks to do such a thing, isn’t ?
I am having trouble getting my userpro avitars or profile pictures to be displayed on the bbpress home page and topics page where its says “freshness” or “latest post”. The profile pictures do show up when you go into a topic and reply but not on the home page. I want the little picture next to posters name under “freshness” or “latest post”. What code would i have to change and where can i find it? Im using a custom theme by the way.
You can either change WP_DEBUG to false inside wp-config.php
OR if you need debugging for development go to /plugins/bbpress/includes/core/sub-actions.php
function bbp_setup_current_user() {
if ( ! did_action( 'after_setup_theme' ) ) {
// comment out line below
// _doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );
}
do_action( 'bbp_setup_current_user' );
}
You could leave the forum open but just hide the form for creating new topics in that forum. There’s a similar topic here that may help you:
Disallow topic creation but allow comments in certain forums
Hello,
I am trying to import my Kunena 3 forum to bbPress when switching from Joomla to WordPress.
The import always fails with this error:
WordPress database error: [Table 'bcbrainois2.jos_kunena_topics' doesn't exist]
SELECT convert(kunena_messages.id USING "utf8") AS id,convert(kunena_messages.catid USING "utf8") AS catid,convert(kunena_messages.thread USING "utf8") AS thread,convert(kunena_messages.ip USING "utf8") AS ip,convert(kunena_messages.userid USING "utf8") AS userid,convert(kunena_messages.subject USING "utf8") AS subject,convert(kunena_messages_text.message USING "utf8") AS message,convert(kunena_messages.time USING "utf8") AS time FROM jbcb_kunena_messages AS kunena_messages LEFT JOIN jbcb_kunena_messages_text AS kunena_messages_text ON kunena_messages_text.mesid = kunena_messages.id LEFT JOIN jos_kunena_topics AS kunena_topics ON kunena_messages.thread = kunena_topics.id WHERE kunena_messages.parent != 0 LIMIT 0, 100
My table prefix is jbcb_ I don’t know why the importer tries to import a jos_ table which doesn’t exist…
And the result of the import is a forum without any post, just the topics are imported.
Can someone help me on that one?
Thanks a lot,
Nicolas
I’d go with what you did, but put it in a child theme. That way it will be unaffected by changes to plugins or themes.
Functions files and child themes – explained !
nsParticipant
Thank you for replying.
Yes, that’s right.
The link of https://bbpress.org/forums/profile/naoyoshi/replies/ shows, user-replies-created.php is made by bbp_user_replies_created_url() function.
The default file of user-detail.php has this function and I don’t change.
The parameter of this function is blank.
When the page like https://bbpress.org/forums/profile/naoyoshi/replies/ shows, user-replies-created.php is executed.
As the core processes of bbPress, does it really retrieve only specific user’s replies from database?
This is what I don’t understand now and the current question.
I checked php files user-replies-created.php, loop-replies.php, and loop-single-reply.php, and interface of functions which used in these php files.
I haven’t almost changed codes in these php files, the content of these php files is nearly the original.
As far as I checked, there are no parameters which can retrieve only specific user’s replies in functions.
In this bbPress forums, user interface part is customized from the original file, though, why can it show only specific user’s replies data correctly?
I think I might have to add or change some codes in some of php files…, I don’t know it’s true.
@k1092
Yeah I just thought those two plugins would work because you are going through a similar situation that the function usually fixes.
Do not know what to suggest next, you might have to hire a developer to create you a plugin if you want wishlist to work with bbPress.
@k1092
The wishlist member plugin has known incompatibilities with bbPress
You can try these two plugins and see if it fixes the issue
bbpress wp4 fix
bbpress wp4 fix2
@galador
Please go through some of the troubleshooting steps listed here.
Troubleshooting
and What schmoo and I were saying is that you can use both of the plugins we mentioned to extend/show the visual editor.
to display the visual editor make sure you have configured the setting in settings > forums in the WordPress back-end.
@atsouf
just use autoembed links in settings > forums
when the user places the link in the reply content area that link will automatically become a video when posted.
https://codex.bbpress.org/getting-started/embeds/
@hemant-ahir
I think if you are using the bbPress login shortcode this is the hook if you need a hook
bbp_redirect_login
Please go through some troubleshooting steps here.
Troubleshooting
THis guide will be improved in the next few days.
Also you most likely will not need to do the advanced troubleshooting.
@flyden
this just looks like a CSS issue.
I think it is just that your buttons text are white by default in your theme and it is overriding the bbPress styles.
you can try this CSS and see if it works but you would need to find the issue using some developer tools in your browser or you can create me a subscriber/participant acount to look at it.
If you want to create me an account you can send the login details to my email here.
Contact
What replies page?
Did you try any of the troubleshooting steps listed here
Troubleshooting
I do not think you have to do the advanced troubleshooting though.
I modified a little script I found inside a plugin named “bbp signature” https://wordpress.org/plugins/bbp-signature/
That plugin actually does not work with Buddypress, it is a bbpress plugin
[modified by moderator]
But the code wasn’t too terrible. even though I only kept a few line of it.
So here’s the solution;
make sure you have buddypress with xprofile enabled *(extended profiles)
1. Create a new text box field in Xprofile and name it “Signature”. *(caps is important, no quotation mark.)
Then add that code to the function.php of your child theme.
//Add Signature
function bbp_reply_content_append_user_signature( $content = '', $reply_id = 0, $args = array() ) {
// Default arguments
$defaults = array(
'separator' => '<hr />',
'before' => '<div class="bbp-signature">',
'after' => '</div>'
);
$r = wp_parse_args( $args, $defaults );
extract( $r );
// Verify topic id, get author id, and potential signature
$reply_id = bbp_get_reply_id ( $reply_id );
$user_id = bbp_get_reply_author_id( $reply_id );
$signature = xprofile_get_field_data( 'Signature', $user_id );
// If signature exists, adjust the content accordingly
if ( !empty( $signature ))
$content = $content . $separator . $before . $signature . $after;
return apply_filters( 'bbp_reply_content_append_signature', $content, $reply_id, $separator );
}
add_filter( 'bbp_get_reply_content', 'bbp_reply_content_append_user_signature', 1, 2 );
That’s it !
PS. If you want to enable HTML in xprofile there is a way but it’s risky.
you can read about it here : https://buddypress.org/support/topic/html-in-profile-field-again/
@mmice
you should have posted that on gist.github.com or at least pastebin so that users do not have to scroll through all that.
As for importing have you tried a creating a custom import using the example one in the bbPress plugin
https://codex.bbpress.org/import-forums/custom-import/
And for Karma system you might have to look into a WordPress plugin like MyCred.
And for importing private messages , I am not sure how that is going to work, but there is a lot of Private messaging plugins for WordPress like BuddyPress.
Thanks Robkk, I will try to find the instruction but it was about setting up a forums page so their could be a link to it in the nav menu
It would be a blank page with just the shortcake for list forums.
So is it possible using /forums/ conflicts with root or something already being used by bbpress?
I do not see the issue on your site currently.
I do see these weird avatar image placement though.
Add this CSS to fix that issue.
#bbpress-forums p.bbp-topic-meta img.avatar {
display: inline !important;
}
To Whom It May Concern,
I’m trying to configure forums properly for my site and for some reason the forum samples that I created from my back end are not showing up on my http://www.myloopnetwork.com website under the “Forums” tab. So I went to check out the Error Log from my hosting plan back end and saw this message:
20150609T144202: http://www.myloopnetwork.com/index.php
WordPress database error Table ‘wordpress_iomdefe35a.wp_jgts_bb_forums’ doesn’t exist for query DESCRIBE
wp_jgts_bb_forums; made by require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’), call_user_func_array, bp_screens, do_action(‘bp_screens’), call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’), call_user_func_array, bp_forums_load_bbpressThere were a lot of other errors listed on that log but I already spoke to a representative of my hosting plan service and he said that he doesn’t see any other errors on that log from his end, except this one and another error (which I’m currently trying to resolve with the BuddyPress plug in moderators). So is there a reason why the above message is showing up? Please let me know what necessary steps I must take to get this resolved.
I’m currently testing everything out on the latest version of the Twenty Fifteen theme (ideally, I want to use this Magnus WordPress Theme [1.6 Version] for my site), I only have the BuddyPress plug in (now running a 2.3.1 version), the bbPress plug in (now running a 2.5.7 version) and a W3 Total Cache plug in (running a 0.9.4.1 version) currently activated. My hosting provider is with iPage, which is running a 5.0 PHP version and is running NGINX for their server. I hope all this info will be helpful in figuring out what’s going on. Any feedback or any other suggestions you may have will be greatly appreciate it.
Thank you in advance.