Stephen Edgar (@netweb)

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 3,081 total)
  • The import was completed successfully.

    Yay, did you use bbPress 2.6-alpha?

    The imported topics still remain uncategorised though. I had a look at the support ticket at . I tried the repair tool, but it did not work too.

    You need to run each of the repair tools and that should fix those up.

    That Trac ticket is quite old and really related to any of these issues.

    I had a widget on my theme’s sidebar which displayed the recent posts feed from the forums. The topics were visible there too.

    You’ll need to add bbPress “Recent Topics” widget to your theme, do that from the customizer.

    I am ready to take the pain to categorise the topics themselves. Is it in an importer bug that the topics were not categorised? How can I categorise them manually?

    It shouldn’t be a bug, but I’m not entirely sure what you mean by “I categorise them manually”?

    By this do you mean that your topics are not forums?
    Do your topics not have topic-tags categorising each topic?

    Stephen Edgar


    The bbp_setup_current_user issue is not caused by bbPress, bbPress alerts you of this issue though because it is important for bbPress. If you have disabled ALL your plugins and the error remains you MUST switch the theme to Twenty Thirteen (or Twenty Fourteen, Fifteen, Sixteen etc).

    Once you know what plugin or theme causes the issue then you can contact the author and let them know they need to fix it and problem solved.

    Firstly, you should use bbPress 2.6-alpha, it has a heap of importer improvements, you can get it from this page

    boards, log_notify, topics, messages, and members are the only SMF tables you need, these might also be prefixed with smf_, e.g. smf_boards

    Use this to get rid of that silly Private prefix πŸ™‚

    p.s. We’ll get that removed from bbPress and/or WordPress proper one of these days ;P

    Use bbPress’ “Private Forums”:
    * Private – Only logged in registered users with a forum role can see these forums

    Step by step guide to setting up a bbPress forum – Part 1

    Excellent, glad that worked.

    The full details and code for bbPress’ fix is here if that kind of thing interests you πŸ™‚

    Hmm, strange indeed, I’ve not tried Jetpack with an Anonymous forum.

    If you want to track this down further creating a ticket on our bug tracking site with some detailed information on how your site is setup, what versions and what features you have enabled of WordPress, bbPress, Jetpack etc and how we’d recreate/simulate your setup.

    Also if you find just a Jetpack issue you can create a ticket for that here:

    Is the repair tools compatible with php7??


    Does it work if you run all the repair tools except “Recalculate the position of each reply”?

    Stephen Edgar


    bbPress compatible with PHP 7 and HHVM

    The warnings you see are from a 3rd party library, these issues would only affect you if you are importing forums from another forum software package.

    You can see our Travis CI PHP 7 tests here:
    (We don’t have 100% code coverage yet but we are progressing nicely)

    Stephen Edgar


    Does it work if you use the dropdown from the bottom of the list instead?

    It should, theres a bug with thats been fixed for this in the next bbPress release πŸ™‚

    Yes, sorry, “Recalculate the position of each reply” is the one I meant, don’t worry about running it. 1) It will take forever and 2) bbPress 1.x never supported “threaded replies” which is what its trying to repair.

    There is no wp-cli commands sadly, it’s a great idea though :+1

    Running each tool one by one is the only way at this stage, run each of the “low” impact tools first.

    Do not run the “Reply menu order” repair tool though, this is pretty broken at the moment

    Nice, I didn’t know about the GitHub mirror :+1

    Nice catch, I didn’t even think of BuddyPress and it’s version, nice catch Pascal πŸ™‚

    @oldshaghat Ha, there we go, on our bug tracker already, glad we were on the right path at least. Great either your workaround or the one mentioned in the ticket until fixed πŸ™‚

    $content_dir (from the constant β€˜WP_CONTENT_DIR’) resolves as:

    content_url gives mydomain/wp-content

    and the file location starts out as :

    That last path, I’d expect that to be /var/lib/openshift/hexkey/app-root/data/wp-content/plugins/bbpress/templates/default/js/editor.js

    i.e. after data is wp-content which is before plugins

    Plugins are “typically” installed unto the wp-content directory, WordPress has some constants available to change these, typically WP_CONTENT_DIR and WP_CONTENT_URL are used, WP_PLUGIN_DIR and WP_PLUGIN_URL are not used anywhere near as much, maybe the Openshift configuration has these defined in the wp-config.php file in the root directory?

    This probably needs further investigation by bbPress, mainly to check the constants WP_PLUGIN_DIR and WP_PLUGIN_URL so these can be used standalone when WP_CONTENT_DIR and WP_CONTENT_URL are not used at all.

    @oldshaghat can you check in your wp-config.php if any of the above constants are defined please?

    if it hangs up and I restart, should it continue from where it stopped?

    Yes, with a caveat, if the importer is processing 100 rows at a time, you may end up with some duplicates as it will re-import that chunk again.

    The latest version of bbPress is 2.5.10, 2.6 will be the next major release and does not, nor will probably ever exist…

    They’re all available from

    bbPress queues up its CSS stylelsheet using WordPress’ standard functions wp_enque_stylesheet() so it shouldnn’t cause any issues.

    I’ve never tried Redhat’s Openshift, nor even knew it was a thing until now.

    Do they use a “standard” copy of WordPress or is it modified somehow?

    What versions of WordPress and bbPress are you having this issue with?

    Fingers crossed for your localhost test

    The “Notice: bbp_setup_current_user was called incorrectly.” will be caused by either your theme or a plugin.

    Try switching theme to Twenty Fifteen to see if the error is fixed, if not deactivate all your plugins except bbPress and then reactivate each plugin one-by-one until the error appears again, then you’ll know which one is causing the problem.

    bbp_setup_current_user was called incorrectly

    What do you have your permalinks set to? /wp-admin/options-permalink.php?

    Did you run the “repair tools” to repair the forums metadata after your “manual import”?

    Did you run the “bbPress repair tools” after importing?

    If not, go to the WordPress Dashboard -> Tools -> Forums and run each of the repair tools

Viewing 25 replies - 1 through 25 (of 3,081 total)