Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/23/2013 01:00:51 PM (12 years ago)
Author:
netweb
Message:

Include support for custom topic tag slugs and descriptions during import. Props netweb. Fixes #2399

  • Support included for bbPress v1.x , Drupal, Example, PHPFox, vBulletin v3.x & v4.x
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/admin/converters/vBulletin.php

    r5170 r5176  
    319319            'to_type'         => 'tags',
    320320            'to_fieldname'    => 'name'
     321        );
     322
     323        // Term slug.
     324        $this->field_map[] = array(
     325            'from_tablename'  => 'tag',
     326            'from_fieldname'  => 'tagtext',
     327            'join_tablename'  => 'tagcontent',
     328            'join_type'       => 'INNER',
     329            'join_expression' => 'USING (tagid)',
     330            'to_type'         => 'tags',
     331            'to_fieldname'    => 'slug',
     332            'callback_method' => 'callback_slug'
    321333        );
    322334
Note: See TracChangeset for help on using the changeset viewer.