Stephen Edgar (@netweb)

Forum Replies Created

Viewing 25 replies - 2,376 through 2,400 (of 3,353 total)
  • @netweb

    Keymaster

    Try accessing example.com/forums instead

    Also to get the forums on your front page of WordPress setup a custom page and add a shortcode:

    https://codex.bbpress.org/shortcodes/ https://codex.bbpress.org/widgets/

    @netweb

    Keymaster

    Can you create a ‘new ticket’ in Trac and we will take a look 😉
    https://bbpress.trac.wordpress.org/

    @netweb

    Keymaster

    I’m not familiar enough with the way BuddyPress works its ‘members’.

    Jump over to http://buddypress.org and see if they can give you some pointers.

    In reply to: SMF Import to bbPress

    @netweb

    Keymaster

    Categories are not converted yet, I need to come up with some uber SQL statement to get these imported, I just took a quick look and drew a blank 😉

    The rest of the forum hierarchy is fully imported though so you can just recreate the categories and then assign the remaining forums to these categories (typically not there are not many categories on forums so it should be a quick and easy workaround.

    In reply to: Topics marked as spam

    @netweb

    Keymaster

    I moved this to its own thread, replying to a 6 year old out of date topic wasn’t quite what you needed 😉

    Now just open up the WordPress dashboard and take a look at the topics panel and you can see ‘all’, ‘published’, ‘closed’ & ‘spam’ topics where you can ‘unspam’ topics as needed.

    @netweb

    Keymaster

    Open up your WordPress users admin eg. http://www.whichinvestmenttrust.com/wp-admin/users.php

    I presume this is because your existing WordPress users before you installed bbPress do not have a ‘forum role’, set these users as ‘Participants’ and I think you will be good to go.

    There is some more detailed role info here:
    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    @netweb

    Keymaster

    https://codex.bbpress.org/getting-started-with-bbpress/

    Adjust your Forum attributes. These are:
    Types: choose whether you are creating a Forum or category.
    Forum – can contain topics and be the parent of other forums.
    Category – can only contain forums (no topics). Use for organizing your forums.

    You may, for example, have a Category “Open Source Software” with the Forums “bbPress” and “WordPress”.

    Parent: Forums can have a hierarchical structure. If your forum is a sub-forum of another Forum or is the child of a category, add the Parent here.

    @netweb

    Keymaster

    To find your ‘Table Prefix’ open up phpMyAdmin on your webhost and it should look similar to this:

    So in my case the table prefix will be ‘sp_’ (This is most likely the default for SimplePress)

    Navigate to http://example.com/forums to see your forums, you can add a link to your WordPress menu linking to that URL etc

    Also don’t forget to run the repair tools after the import or things just won’t look right.

    @netweb

    Keymaster

    Regarding your question on StackExchange on removing excess <p> & <br> tags I’ll post an update to the converter that shows how to do this in the next day or so (I have to do this for ~6 of the new converters) so you can take a look at what needs doing for SocialEngine…

    @netweb

    Keymaster

    As above, bbPress 1.x is not really supported anymore but if you DO need to install it to migrate to bbPress 2.x etc then make sure you have the bbPress 1.x package, BackPress and the GlotPress PoMo, the links to each of these are here:

    Legacy

    @netweb

    Keymaster

    The SimplePress converter is already included in bbPress and is the latest version available, you should not need to download and upload it to your server.

    The settings are critical to getting the importer working correctly, sadly at this stage there is very little error messages displayed if you get any of these settings wrong and this is the most common issue with importing.

    Ensure your settings are correct for the fields noted in the docs here:
    https://codex.bbpress.org/import-forums/#configuring-the-importer

    You may have to check with your webhost to ensure you are using the correct values.

    @netweb

    Keymaster

    Latest Attachment PunBB.php

    Fixed:

    • Topics
    • Replies
    • User Nice Name ‘user_nicename’ & Display Name ‘user_displayname’ import fields
    • User PunBB MSN

    Outstanding:

    • Forum/Category? hierarchy (currently parent forums/categories are imported ‘flat’)
    • User Passwords
    • – Custom BBCode for Topic & Reply Content

    NOTE: If you are importing ‘users’ during the import you will see multiple instances of the following error message:-
    – Notice: Undefined variable: user_pass in /home/webhost/public_html/wp-includes/user.php on line 1305
    This can be ignored and only relates to the current non-working state of converting user passwords. If you need to login (or users login) they will just need to reset their WordPress password to be able to login.

    In reply to: MyBB Import to bbPress

    @netweb

    Keymaster

    @capacitron Thanks a bunch for testing it out, glad it worked.

    bbPress & BuddyPress use the same WordPress user table so everything should be common across both plugins and WordPress itself.

    That said, any extra profile data I can get from the source forum, in this case MyBB we are storing the extra data in the WordPress ‘usermeta’ table so this data can be manipulated/imported/whatever at a later time.

    With MyBB I only see 3 extra user profile fields to store (ICQ, MSN & Signature), the rest WordPress includes by default (AIM, Yahoo etc) .

    Looking at the current version of MyBB.php importer at Line #474 you will see the three entries I have (summarized below):

    • // Store ICQ (Stored in usermeta)
      ‘to_fieldname’ => ‘_bbp_mybb_user_icq’
    • // Store MSN (Stored in usermeta)
      ‘to_fieldname’ => ‘_bbp_mybb_user_msn’
    • // Store Signature (Stored in usermeta)
      ‘to_fieldname’ => ‘_bbp_mybb_user_sig’,

    Thus under each imported user in the wp_usermeta table under each user id the above data will also be stored…. So for example if you wanted to install a bbPress/BuddyPress signature plugin to extend either of these plugins you could then copy the data from this stored field to the field that the plugin uses f or storing user signature data. As any of this can be done in numerous ways by plugin authors each site admin will need to decide what plugin to use and how to shift around any relevant data.

    In reply to: MyBB Import to bbPress

    @netweb

    Keymaster

    Latest Attachment MyBB.php

    Fixed:

    • User Nice Name ‘user_nicename’ & Display Name ‘user_displayname’ import fields

    Outstanding:

    • User Passwords
    • – Custom BBCode for Topic & Reply Content

    NOTE: If you are importing ‘users’ during the import you will see multiple instances of the following error message:-
    – Notice: Undefined variable: user_pass in /home/webhost/public_html/wp-includes/user.php on line 1305
    This can be ignored and only relates to the current non-working state of converting user passwords. If you need to login (or users login) they will just need to reset their WordPress password to be able to login.

    In reply to: SMF Import to bbPress

    @netweb

    Keymaster

    @ricov4 Thanks, to help out if you can download the importer and setup a test environment to see how well it works that would be great.


    @koawinter
    I have not tried SMF 1.1.16 and only downloaded the latest version of SMF. Are you able to update your SMF to v2.0.4? You could also try the importer and see if it does or does not work and we can go from there.


    @NeilJ
    Thanks a bunch for testing it out… The previous versions of the counts would have been off as the original reply query was adding the original topic as its own reply, I have now fixed this and from my testing the counts are now correct for topics and replies.

    As far as I can tell it is now only the user passwords and some custom regex strings to fix some converted BBCode and ‘Smilies’ and we will have a perfect SMF importer 🙂

    In reply to: SMF Import to bbPress

    @netweb

    Keymaster

    I have updated the SMF Importer and you can download the latest again via the same links in my original post above.
    Fixed:

    • Forum parent hierarchy
    • Imported Replies now import correctly
    • User Display Name

    Outstanding:

    • User Passwords
    • Custom BBCode for Topic & Reply Content

    NOTE: If you are importing ‘users’ during the import you will see multiple instances of the following two error messages:-

    • Notice: Undefined variable: user_pass in /home/webhost/public_html/wp-includes/user.php on line 1305
    • Notice: Undefined index: salt in /home/webhost/public_html/wp-content/plugins/bbpress/includes/admin/converters/SMF.php on line 566
      These can both be ignored and only relates to the current non-working state of converting user passwords. If you need to login (or users login) they will just need to reset their WordPress password to be able to login.

    @netweb

    Keymaster

    Coool… Progress…

    What happens when it gets stuck if you click ‘Stop’, then click ‘Start’ again it should resume from where it left off….

    p.s. As I’m in Australia the time zone difference does not always make for fluid conversations 😉

    @netweb

    Keymaster

    Here is SocialEngine3.php… Its at ~95% from what I have played around with…

    Some testing and feedback would be handy if you could 🙂

    https://gist.github.com/ntwb/de48b4cd730defd6f67a

    @netweb

    Keymaster

    Cool… I’ll have a dig around for Social Engine v3.18 tomorrow and see what differences there are and if both versions can be done in a single import script.

    @netweb

    Keymaster

    I downloaded a trial of Social Engine and I have now set it up to test with…

    I am using Social Engine v4.6.0, what version do you have/using???

    I may have missed it but I was unable to select a table prefix for the MySQL database during install so all the Social Engine v4.6.0 database tables all have a common prefix of ‘engine4_’ and here is a pic of the MySQL DB structure for the forum tables.

    With your importer I noticed that with your ‘from_tablename’ for each section you are using multiple table names in each section. eg. In the ‘forum section’ you have used ‘se_forums’, ‘se_forumtopics’ & ‘forum’ for ‘from_tablename’, you can really only use a single database table for each section unless you have a valid set of ‘join_tablename’, ‘join_type’ & ‘join_expression’.

    In my updated import script that I will link to below I used ‘forum_forums’ for each field in the ‘forum section’ and on the bbPress import screen I used a table prefix of ‘engine4’ thus the query during import will use all the forum info from the ‘engine4_forum_forums’ database table as per my image above.

    I started with the copy of your import script you linked to which was a great help in getting up and running quickly and I have updated it with as many fields as I can find and things ‘appear’ to be working quite well at my end though some more testing is still needed.

    Anyway, you can take a look at the update I did which also brings some code tweaks and formatting inline with the other bbPress Importers.

    As long as you are using Social Engine v4.6.0 I think this should help a great deal, if your using an old v3 version we will have to see if I can get my hands on a copy of that.

    One more thing… What about users? Do you need tom convert/import them???
    (I will end up adding the user import to this for when others need to)

    Without further ado…. Check it out here:
    https://gist.github.com/ntwb/cefe6fe20b1a652a50fc
    (It still needs a few more tweaks and checks, but it is close)

    @netweb

    Keymaster

    Nice work… Your script ‘looks’ fine to me at first glance…

    I have just downloaded a trial of Social Engine and will setup a test site and have a closer look.

    @netweb

    Keymaster

    Got it started…. All the details for the SMF Importer are in the following thread:

    https://bbpress.org/forums/topic/smf-import-to-bbpress/

    In reply to: PHP-Fusion to bbPress

    @netweb

    Keymaster

    If ‘PHP-fusion’ uses a MySQL database you should be able to modify the included ‘Example.php’ import script.

    You can take a stab at modifying the included ‘Example.php’ included with bbPress to try importing your forums just as @vogelsang did for importing from Drupal. There are some basic instructions here on creating your own custom imports for bbPress.

    Further information on importing existing forums into be bbPress can be found here:

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

    @netweb

    Keymaster

    I’ll go take a look at what’s involved with creating an SMF importer for bbPress…

    @netweb

    Keymaster

    If ‘mm_forum/Typo3 as CMS′ uses a MySQL database you should be able to modify the included ‘Example.php’ import script.

    You can take a stab at modifying the included ‘Example.php’ included with bbPress to try importing your forums just as @vogelsang did for importing from Drupal. There are some basic instructions here on creating your own custom imports for bbPress.

    Further information on importing existing forums into be bbPress can be found here:

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

Viewing 25 replies - 2,376 through 2,400 (of 3,353 total)