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;
}
created per startup instruction.
Where did you get the information from??
As for your theme , if you are using Genesis you can install a plugin to help.
But some other themes you have to create a template for bbPress
follow this guide
https://codex.bbpress.org/theme-compatibility/getting-started-in-modifying-the-main-bbpress-template/
once i went into bbpress settings and set a register page and activation page.
This sounds like you went to BuddyPress’s settings, you can use BuddyPress’s register form.
For a login page you can place the bbPress login shortcode in a page and it should work.
For a lost password page I guess you can use the lost password shortcode but I do not know if it works correctly or not, or it just redirects to the WordPress lost password form.
You can also use this plugin too, but works best without BuddyPress installed.
https://wordpress.org/plugins/bbpress-members-only/
Running bbpress 2.5.7 and buddypress 2.3.1 and a couple of extensions wordpress version 4.2.2- the issue I am seeing is that posts from other groups (all of which are set to be private) are now showing in each others posts.
Site is developer-ims.alcatel-lucent.com (I’ll need to pm with account)
I cant figure out why / what more to check / how to repair (tried all the tools)
Hi there,
on my page i use the wordPress function to do some automatted posts. however, they do not show up. Only after doing the repair tools they are available.
This is how i do it :
`
$post = array(
‘post_title’ => $topic,
‘post_content’ => $message2,
‘post_type’ => ‘topic’,
‘post_status’ => ‘publish’,
‘post_author’ => $authorId,
‘comment_status’=>’closed’,
‘post_parent’ => $parentID,
);
$topicid = wp_insert_post( $post, $wp_error );
`
The post_meta is not set properly. So what do i have to do to make it work?
Hi Guys/Gals
I am looking to only display pages if users are logged into BBPress. I am aware that i can set the visibility of a page to be password protected however this is an additional step that could be avoided.
I have noticed there is a function bb_is_user_logged_in() that i could utilise however i dont know where i should add the code and indeed if it needs to go in the theme or child theme.
Can anyone help?
Many thanks and have a nice day
Thanks for the reply Robin,
I have sorted this now. basically i was using the shortcode and couldnt see the password field however once i went into bbpress settings and set a register page and activation page. BBpress then generated the needed components and the registration page.
(I have crossposted this to the Private groups plugin support board. I hope there are no issues with that.)
no problem, you get me either way !
This could be coded, but it is quite complex to do.
In essence you would need to change the can_view function in private groups to have a view or change capability.
The issue is that I am fully tied up at the moment in other paid work, so you would need to put this to someone who would need to learn how bbpress/private groups works.
I suggest you try
http://jobs.wordpress.net/
I hope you find someone.
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.