Stephen Edgar (@netweb)

Forum Replies Created

Viewing 25 replies - 2,851 through 2,875 (of 3,352 total)
  • @netweb

    Keymaster

    Ahhh… Yes, if you are importing to the existing install of WordPress that Mingle is using you do not need to import the users as the existing users will have the same mappings.

    If you want to import to a separate WordPress install you will need to import the users.

    That was the reason I originally had each field as `’forum_forums’` and I have switched all the fields back to this so now and you should use the table prefix `wp_` on the import settings. I also updated user mappings, I just copied them in from the bbPress1.php importer as this is in the same boat.

    I also added some extra phpdoc’s to the code and cleaned up some whitespace and changed the code layout style to match the other importers.

    You should be able to use the same links above to download and compare the revisions.

    @netweb

    Keymaster

    Can you create a ticket for this over in trac for this please: https://bbpress.trac.wordpress.org/
    (Adding some ‘numbers’ would also help eg #subscribers & #posts so we can test this ourselves.)

    @netweb

    Keymaster

    Nice… An extremely good first shot at mapping the MySQL database tables…

    I have updated the file with a few things and it should now work…

    If your WordPress database uses the out of the box `wp_` table prefix then for the Mingle.php converter we will use `wp_forum_` as the table prefix on the import setting.

    • The forum slug is the same process as you did for topics & replies
    • A couple of `id` vs `parent_id`
    • Dates, WordPress stores four dates for a post in the `wp_posts` table, ‘post_date’, ‘post_date_gmt’, ‘post_modified’ and ‘post_modified_gmt’.
      • Forums – In this case forum creation dates do not exist, this will default to the current date
      • Topics – We map ‘date’ to ‘post_date’ & ‘post_date_gmt’ and ‘last_post’ to ‘post_modified’ & ‘post_modified_gmt’
      • Replies – We map ‘date’ to all four ‘post_date’, ‘post_date_gmt’, ‘post_modified’ & ‘post_modified_gmt’.

    So as I said, nice first go at it ๐Ÿ™‚

    You can view the changes inline I made here and download the full file from here.

    @netweb

    Keymaster

    Can you upload a copy of your Mingle.php https://gist.github.com/ (or pastebin.com)
    (Its much easier for me to look at the code directly)

    @netweb

    Keymaster

    Hmmmm…. Progress…. That’s good news

    I will try to get some time and have a look through the patches for 2.1 and see if anything stands out.

    The other problem is that as yet I have not been able to duplicate your bug on my IIS install, I will see if I can spin up a Windows 7/IIS 7.5/PHP 5.3/MySQL 5.1 VM this week and take a further look.

    @netweb

    Keymaster

    @limbobski Great news, glad it worked for you.

    @netweb

    Keymaster

    Create a WordPress page called โ€˜Supportโ€™ and use the [bbp-forum-index] shortcode on that page.

    https://codex.bbpress.org/shortcodes

    @netweb

    Keymaster

    @netweb

    Keymaster

    I didn’t recogonize it of the top of my head but a quick search landed me here:

    https://core.trac.wordpress.org/ticket/15499 & https://core.trac.wordpress.org/ticket/22742

    So it looks like it is generated from RSS Feed requests and that would make sense.

    Does your site use the same URL’s now RSS Feeds as it did before and what are your RSS subscribers numbers like?

    @netweb

    Keymaster

    I am fairly new around here and have hardly touched the old standalone bbPress.

    The following page in the docs was last updated 341 days ago, that said I don’t think there should be that many differences in upgrading from 1.0.x to 1.1/1.2 based on these docs.

    Has anyone actually tried this? What breaks if you do follow these steps?

    Remember: Constantly make backups of your site with FTP and your SQL Database/s with myPhpAdmin.

    Updating

    Legacy

    Just saying it doesn’t work is not enough, give us detailed information: on what breaks, what doesn’t work, detailed specs of your site, extremely detailed error messages, steps for us and others to reproduce the problem and with this type of information we can all help each other.

    @netweb

    Keymaster

    This worked for me…

    `.bbp-forums-list {
    display: none;
    }`

    @netweb

    Keymaster

    Fair enough, I don’t know of any plugins that support this, you could ask @jaredatch if that’s something he could add to his plugin or head over to trac and create a new detailed ticket of the enhancement you would like to see in future versions of bbPress.

    @netweb

    Keymaster

    I have just been updating the bbPress importers to support mentions eg. @rossagrant over the past few days and have had ~500,000 posts go through the DB and test site and maybe 1% would have a quote or mention, maybe less, it’s still quite a few and I have don’t see any of the SQL errors you @mention.

    Is your site title issue a URL that is displaying like this?
    โ€˜http://www.mysite.com/members/dave/’
    If so it is because the URL is wrapped in single or double quotes and will be fixed in the next version of bbPress, if not could you give us some more detailed info, what it should be and what it is sending in the email.

    Edit: Ha, I cant force the error in that URL above, does it look like the URL with the ‘& # 8217’ at the end like your first post here in this topic?

    @netweb

    Keymaster

    Why not use @jaredatch’s plugin he mentions in the very first reply of this thread?

    Send notification emails to specific users when a new bbPress topic is posted.

    @netweb

    Keymaster

    I just came across this post and it might help

    WordPress on Windows Server 2012 with IIS 8 and SQL Server 2012

    @netweb

    Keymaster

    There are a couple of routes you could go down depending on how you plan on running WordPress:

    • WIMP (Windows, IIS, MySQL/MS SQL & PHP)
    • LAMP (Linux, Apache, MySQL & PHP)

    Once you have either of the above up and running and my suggestion is most definitely the second option to convert your database to MySQL then it would involve writing a custom import script based on the included example `Example.php` included with bbPress.
    (I have been updating all the import scripts lately so hopefully a new version of `Example.php` will not be far away, if not `bbPress1.php` and `phpBB.php` would be better to use as a basis for a custom DNN import script.)

    @netweb

    Keymaster

    This is bbPress here, you want BuddyPress over here https://buddypress.org/ ๐Ÿ™‚

    @netweb

    Keymaster

    This support forum is specific to bbPress plugin for WordPress.

    I suggest you have a search of the WordPress Supports forums here and put a post up there if you do not find an answer. https://wordpress.org/support/

    In reply to: bbConverter error

    @netweb

    Keymaster

    Stop using bbConverter, it does not work and is no longer supported by the developer.

    Use the import tool that comes with bbPress 2.x, you can find this in your WordPress Admin Dashboard under ‘Tools’ -> ‘Forums’ -> ‘Import Forums’

    In reply to: Forum loop

    @netweb

    Keymaster

    Something like this should get you going:

    if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => 'false', 'order' => 'DESC', 'post_parent' => 'any', 'posts_per_page' => 5 ) ) )
    bbp_get_template_part( 'bbpress/loop', 'topics' );
    In reply to: bbConverter error

    @netweb

    Keymaster

    You need to select ‘phpBB’ at the top of forum import screen and you need to specify the database prefix of your phpBB database tables, typically this is ‘phpbb_’ though you should confirm this for your database using phpMyAdmin on your web host.

    @netweb

    Keymaster

    Ahmmmm… That was the theory…

    I just tested this and if I create new parent categories and forums and move the topics to them that also trips this bug….

    I will get back to you shortly ๐Ÿ˜‰

    @netweb

    Keymaster

    @shrewdies

    Huge thanks for this ๐Ÿ™‚ (and your life story, it puts things in a much clearer context.)

    I have also split this topic starting from your first post as a new thread as I am quite sure this will be referenced by quite a few who do migrate from Simple Press.

    I will also link to it from the FAQ I am doing that will link from this page:

    https://codex.bbpress.org/import-forums/simplepress/

    Cheers,

    Stephen

    @netweb

    Keymaster

    Thanks for letting us know and confirmed as a bug, we were partially there with trac ticket #2085

    You can use the following workaround for now until we get the bug patched.

    • Create a new forum with forum attributes ‘category’ and ‘private’
    • Create two new forums using the above forum as the ‘parent’ and visibility ‘private’

    Now as long as you don’t move or edit the forum or category descriptions things should work as expected, if you do move the forums or edit the descriptions you will encounter the same issue.

    @netweb

    Keymaster

    So close… Indeed you use bbp_has_replies to reverse order the replies

    function custom_bbp_has_replies() {
      $args['order'] = 'DESC'; // 'ASC' (Ascending, Default), 'DESC' (Descending)
      
      return $args;
    }
     
    add_filter('bbp_before_has_replies_parse_args', 'custom_bbp_has_replies' );

    And use bbp_show_lead_topic to always show the ‘lead topic’ (More details here.

    function custom_bbp_show_lead_topic( $show_lead ) {
      $show_lead[] = 'true';
      return $show_lead;
    }
     
    add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );
Viewing 25 replies - 2,851 through 2,875 (of 3,352 total)