Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

#2421 closed enhancement (fixed)

e107 v1.x Forum Import Template

Reported by: netweb's profile netweb Owned by: netweb's profile netweb
Milestone: 2.6 Priority: normal
Severity: normal Version: 2.3.2
Component: API - Importers Keywords: has-patch
Cc:

Description

Introduce Forum Importer template for use with importing from e107 v1.x

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

Topic Section

  • Topic Author -> 'post_author'
    • Custom regex callback method to translate 123.User Name to 123
    • Converter support for eg. SUBSTRING_INDEX('www.mysql.com', '.', -2);

Reply Section

  • Reply Author -> 'post_author'
    • Custom regex callback method to translate 123.User Name to 123
    • Converter support for eg. SUBSTRING_INDEX('www.mysql.com', '.', -2);
  • Reply Title -> 'post_title'
  • Reply Slug -> 'post_name'
    • Needs a funky join:
      SELECT t1 . * , t2.thread_name
      FROM  `e107v1_forum_t` AS  `t1`
      JOIN  `e107v1_forum_t` AS  `t2`
      USING ( thread_id )
      

If you want to have play with the SQL related to this or are looking to import from e107 v1.x drop a note on this ticket and I will send you the SQL Tables with some sample data.

Attachments (1)

e107v1.php (15.8 KB) - added by netweb 11 years ago.

Download all attachments as: .zip

Change History (9)

#1 @johnjamesjacoby
11 years ago

  • Milestone changed from Awaiting Review to 2.5

#2 @johnjamesjacoby
11 years ago

  • Owner set to netweb

#3 @netweb
11 years ago

  • Milestone changed from 2.5 to Future Release

Moving to future release pending converter improvements to handle multiple callbacks for field mappings.

@netweb
11 years ago

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

  • Keywords has-patch added; needs-patch removed
  • Milestone changed from Future Release to 2.6

Replying to Pasquale Galasso:

:(

Why the sad face?

All outstanding issues per original description are now resolved :)

You can download the the file `e107v1.php e107 v1.x importer and add it to the bbPress converters folder:

/wp-content/plugins/bbpress/includes/admin/converters/

Any testing and feedback you can provide would be very helpful.

#6 follow-up: @Pasquale Galasso
11 years ago

Net, I can not find a way to turn my newspaper (altrogiornale.org) on wordpress + bbPress. There is only one plugin but older than 2 years.

1) The site origin must be on the local server?
2) You know if there is a script for news and content from e107 to wordpress? Please answer yes!

Sorry for my english.

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

Replying to Pasquale Galasso:

Net, I can not find a way to turn my newspaper (altrogiornale.org) on wordpress + bbPress. There is only one plugin but older than 2 years.

1) The site origin must be on the local server?
2) You know if there is a script for news and content from e107 to wordpress? Please answer yes!

This is the only e107 to WordPress plugin I know of: http://wordpress.org/plugins/e107-importer/

Yes it is over two years old, that doesn't mean it will not work, it might still work, create a test site and try it to see if it still works.

If it doesn't work you could create also try to recreate the same setup configuration the plugin lists as compatible with using WordPress 3.2-RC3 and bbPress 2.0-beta-3b, once it has imported everything upgrade to WordPress 3.9 and bbPress 2.5.3

#8 @netweb
11 years ago

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

In 5352:

Introduce e107 v1.x importer
Props netweb. Fixes #2421

Note: See TracTickets for help on using tickets.