Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

#2380 closed enhancement (fixed)

SMF Forum Import Template

Reported by: netweb's profile netweb Owned by: netweb's profile netweb
Milestone: 2.5 Priority: normal
Severity: normal Version: trunk
Component: API - Importers Keywords: needs-testing has-patch
Cc:

Description

Introduce Forum Importer template for use with importing from SMF v2.0.x (Tested on v2.0.4)

​​http://codex.bbpress.org/import-forums/smf

Working: Forums, Topics & Users

Not Working Yet: Categories, Replies, User Passwords & Custom BBCode for Topic & Reply Content

Attached is the 1st pass patch for SMF and I hope to get the remaining outstanding items done ASAP.
(User passwords will be a little trickier and will take a bit more time)

Attachments (3)

SMF.php (18.5 KB) - added by netweb 11 years ago.
SMF 4th Pass
SMF.2.php (18.3 KB) - added by remcob00 11 years ago.
SMF 5th Pass
SMF.3.php (21.9 KB) - added by netweb 11 years ago.

Download all attachments as: .zip

Change History (11)

#1 @netweb
11 years ago

Latest Attachment SMF.php

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.

#2 @johnjamesjacoby
11 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 2.5

Moving to 2.5 milestone to test and highlight in the 2.5 release.

#3 @netweb
11 years ago

  • Keywords changed from needs-testing, has-patch to needs-testing has-patch

Latest Attachment SMF.php 3rd Pass

Same outstanding issues as above http://bbpress.trac.wordpress.org/ticket/2380#comment:1

Enhancements:

  • Added 'Forum total topic counts' _bbp_total_topic_count
  • Added 'Forum total reply counts' _bbp_total_reply_count
  • Added 'Set the reply title' callback method callback_reply_title

@netweb
11 years ago

SMF 4th Pass

#4 @netweb
11 years ago

Latest Attachment SMF.php 4th Pass

Same outstanding issues as above ​http://bbpress.trac.wordpress.org/ticket/2380#comment:1

Fixed User password 'to type' field mapping

@remcob00
11 years ago

SMF 5th Pass

#5 follow-up: @remcob00
11 years ago

Latest Attachment SMF.php 5th Pass

Enhancements:

  • Added password support

(I couldn't replace the old attachment so there is a new attachment named SMF.2.php​, for use you can rename the file to SMF.php)

#6 in reply to: ↑ 5 @netweb
11 years ago

Replying to remcob00:

Latest Attachment SMF.php 5th Pass

Enhancements:

  • Added password support

AWESOME! Thank you

Last thing outstanding now is the BBCode conversion, a list of these is here.

@netweb
11 years ago

#7 @netweb
11 years ago

Added SMF.3.php with SMF BBCode conversion, close, but not quite there yet.

#8 @netweb
11 years ago

  • Resolution set to fixed
  • Status changed from new to closed

In 5191:

Introduce SMF v2.x bbPress importer. Props netweb. Fixes #2380

Note: See TracTickets for help on using tickets.