Stephen Edgar (@netweb)

Forum Replies Created

Viewing 25 replies - 401 through 425 (of 3,353 total)
  • @netweb

    Keymaster

    How about using bbp_get_reply_id ? I think that one is not echoing…

    Correct 🙂

    Throughout much of bbPress this is true, more often than not if there is a function bbp_some_thing there will be a sister function bbp_get_some_thing, the functions with bbp_get_ will always just get the value for you to use, and the functions without it will echo the returned value.

    In reply to: vbulletin 3.x import

    @netweb

    Keymaster

    Sorry for no replying sooner:

    Based on your config above it should look like: (Using your username and password)

    @netweb

    Keymaster

    If I was to try this I would jump into the database directly to have a closer look, but thats me, and I’m pretty confident I know what I’m doing here 😉

    Presuming your taking backups so your data is safe and you have tested restoring from backup.

    I’ve never actually tried this but what happens if you de-activate bbPress on the single site and then network activate it?

    @netweb

    Keymaster

    @dots I’d suggest setting up a test site to test your imports before importing into your live site to iron out any issues you come across. The best process is to “reset” bbPress which will remove/delete all your bbPress data, you can then start the import with a fresh/clean slate for bbPress.

    I cannot guarantee that it will work perfectly importing everything though I really hope it does, as I stated in my previous reply there hasn’t been much testing with Xenforo so any feedback would be great to hear, any issues and I’ll try to implement those fixes.

    Unless people test the importers and give us feedback I cannot improve them 🙂

    @netweb

    Keymaster

    Using your code I get a blank white page with yes

    Also to note, the screenshot I posted above of Chrome inspector includes at the bottom that topic.js?ver=2.5.8-5815 has correctly loaded.

    Are you sure you haven’t got any other plugins or code stashed in a functions.php or hacks elsewhere that may be causing your issues?

    @netweb

    Keymaster

    Your checking for is_singular() on the forum post type rather than the topic post type above in your code above.

    @netweb

    Keymaster

    @andrewgtibbetts can you install the following two plugins and take another look?

    https://wordpress.org/plugins/query-monitor/
    https://wordpress.org/plugins/query-monitor-bbpress-buddypress-conditionals/

    Here’s what I see, is_single(), is_singular() and bbp_is_single_topic() all return true

    BbPress Topic JS

    @netweb

    Keymaster

    @ dots Nice size forum, heres a few things that I hope will help:

    Firstly, can you try by using bbPress 2.6-alpha, you can find it here https://bbpress.org/download/

    1) Sometimes scripts are automatically stopped and script not start automatically.

    Sometimes things timeout, a workaround for this is to open another tab in your browser to example.com/wp-admin and refresh it occasionally

    2) Currently, lots of data is still pending to import in BBPress but the script is not running and in tools bottom section I can see only “Starting Conversion” and loader.

    This is similar to 1), by refreshing you should in another browser tab this should keep that issue at bay, this particular issue is usually when PHP drops the MySQL connection and needs refreshing to update the connection between WordPress and the database.

    3) I have noticed in the tool having the duplication issue you can see above in Xenforo only 83,813 topics but BBPress tool imported 83,867 records. So 54 records are duplicates. so this issue resolved using BBPress repair forum tabs?

    It could be duplicates, though I’ve only ever tested 3 or 4 Xenforo forums with bbPress, potentially using the repair tools might fix this though without some more information here it will be hard to take a guess. If you can supply a copy of a couple of duplicates I can take a closer look as to the reason why.

    4) BBPress import tool taking random data from the Xenforo database. I have noticed when I have started the script first the users come from the Xenforo. But unfortunately, the users are skipped and the tool has started to import the topic. So, I am a bit confused here BBpress import tool can complete import all the users, topic, forums, and replies successfully? you can see above my total Xenforo user is 1,59,679 and BBPress tool has imported only 94,600. and the now script has started to import replies.

    Again, it should do all of this correctly, though testing with bbPress 2.6-alpha per above will hopefully fix many, or most of the issues you are having, can you try using 2.6-alpha and let me know how that goes for you please 🙂

    Also a couple more tips in our docs:

    Import Troubleshooting

    @netweb

    Keymaster

    There are no themes or plugins that I know of that support _bbp_old_user_id, bbPress offers that and exposes it for developers to use as they will.

    I pretty much cannot see any use case where displaying the old vBulletin user ID would be required, it really would only be needed to map previous vBulletin extensions and plugins to bbPress after migration.

    In reply to: vbulletin 3.x import

    @netweb

    Keymaster

    Can try the other one, i.e. vBulletin please? Theres a possibility I’ve messed things up here 🙁

    In reply to: vbulletin 3.x import

    @netweb

    Keymaster

    Be careful when you post code here on the forums, next time you’ll want to make sure you do not post passwords 😉 (I’ve removed them)

    If your using the 2.6 alpha (you should) are you selecting vBulletin or vBulletin3 from the dropdown?

    @netweb

    Keymaster

    No, it currently does not, its an interesting idea though, along with its counterpart to “bump` a topic without adding a reply, I’d love to see a plugin that offers one or both of these functions, we could then look to adding the plugin to bbPress #core via the “featured plugin” process similar to WprdPress #core

    https://make.wordpress.org/core/handbook/about/release-cycle/features-as-plugins/

    @netweb

    Keymaster

    @let-me-see Awesome, that would be great, I can “officially” make the request though the best option would be if you spoke directly with the German translation team. The best way to do this would be to join the local German Slack team, you can sign up for that here http://dewp.slack.com

    (If needed I can also make the request on the #polyglots blog if still needed after that)

    @netweb

    Keymaster

    When importing every imported user has there old user id added to the wp_usermeta table:

    _bbp_old_user_id 318

    You can check them all out via this MySQL snippet:

    SELECT * FROM wp_usermeta WHERE meta_key LIKE '%_bbp_old_user_id%'

    So, yes, preserving/storing the old user ID is already included in bbPress

    @netweb

    Keymaster

    And, make sure you have no other plugins active when you do the import, a recent case of an import taking forever was because the plugin was hooking pre_get_posts and as such every single post as it was being imported was being passed through this plugin making the import ~20x slower.

    @netweb

    Keymaster

    Try also dropping the “delay”, I typically run it as 0.1 (you can change this “on the fly” if you’ve already kicked it off 😉

    Also if your MySQL server can handle it, bump the “rows” to 1,000.

    With or without the changes above it should be no where near 5.5 days, I’d expect somewhere it should do 500k on a “typical” machine in about 6-8 hours based on others historical imports.

    @netweb

    Keymaster

    With bbPress the only way to do this is with “private” or “hidden” forums

    • Public – Anyone can see these forums
    • Private – Only logged in registered users can see these forums
    • Hidden – Only Moderators/Admins can see these forums

    Are you using private forums?

    If not maybe your using a membership type plugin to prevent users who are not logged in from seeing the forums?

    @netweb

    Keymaster

    Make sure your using the correct database prefix, most phpBB tables will be named something like phpbb_posts, in that case the database prefix is phpbb_

    If you are importing from phpBB 3.1 then you can test the new importer via our bbPress “development version” aka bbPress 2.6 alpha, theres some new import improvements, you can get this from the following page or direct link:
    https://wordpress.org/plugins/bbpress/developers/
    https://downloads.wordpress.org/plugin/bbpress.zip

    @netweb

    Keymaster

    @excandesco The Xenforo import does NOT convert passwords

    (I think its only bbPress 1.x, SMF, phpBB and vBulletin that convert passwords at this stage)

    @netweb

    Keymaster

    The Importer runs smoothly until it gets to “Converting Replies”. It then just gets stuck somewhere in the middle of processing replies… I just see the rotating loading Symbol. At my last try to get this done, it already got stuck at “Converting Replies 0-99” …..

    This is an awful error and wish I could replicate it so it can be fixed, sadly haven’t been able to achieve this yet. Its usually caused by character encoding in the database, more can be found on this issue in the codex here:
    https://codex.bbpress.org/getting-started/importing-data/import-forums/import-troubleshooting/

    So where are replies 100-200 ???

    The importer will, rather should continue on from where it left of when you stop then start it again, the way it currently works is it stores the current value and reads that when you start it again, I’ll take a closer look at the code to see if thats not doing what it is supposed to be doing.

    You should also use the “development version” aka bbPress 2.6 alpha, theres some new import improvements, you can get this from the following page or direct link:
    https://wordpress.org/plugins/bbpress/developers/
    https://downloads.wordpress.org/plugin/bbpress.zip

    @netweb

    Keymaster

    1. You should be sorted by doing what your doing and refreshing (in another browser tab)

    2. This is also usually an authentication issue, though this time with the MySQL database, you’ll usually only get this error though if you haven’t refreshed this page recently before starting of an import.

    You should also use the “development version” aka bbPress 2.6 alpha, theres some new bbPress 1.x to 2.x import improvements, you can get this from the following page or direct link:
    https://wordpress.org/plugins/bbpress/developers/
    https://downloads.wordpress.org/plugin/bbpress.zip

    @netweb

    Keymaster

    I’m wondering if this is related to the WordPress 4.4 issue…


    @jessicana
    can you update to WordPress 4.4.1 and let me know if it is still an issue or 4.4.1 fixes the issue please 🙂

    WordPress 4.4.1 Security and Maintenance Release

    @netweb

    Keymaster

    WordPress 4.4.1 has now been released, could you please test to make sure this issue is resolved. https://wordpress.org/news/2016/01/wordpress-4-4-1-security-and-maintenance-release/

    Thanks for all your feedback and patience here in this topic, its greatly appreciated everyone 🙂

    @netweb

    Keymaster

    WordPress 4.4.1 RC (Release Candidate) was released earlier today, if your able to test it and make sure this issue is resolved that would be great 🙂

    4.4.1 Release Candidate

    Expect the main 4.4.1 release to be released later this week pending the RC release testing.

    @netweb

    Keymaster

    No update as yet, but between WordPress and bbPress I think we can add some unit tests that will add a set of examples of possible permutations and combinations of when this occurs and mitigate as best we can against as many of these as possible.

Viewing 25 replies - 401 through 425 (of 3,353 total)