Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/23/2013 01:00:51 PM (10 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/Example.php

    r5170 r5176  
    330330        );
    331331
     332        // Term slug.
     333        $this->field_map[] = array(
     334            'from_tablename'  => 'tag_table',
     335            'from_fieldname'  => 'tagslug',
     336            'to_type'         => 'tags',
     337            'to_fieldname'    => 'slug',
     338            'callback_method' => 'callback_slug'
     339        );
     340
     341        // Term description.
     342        $this->field_map[] = array(
     343            'from_tablename'  => 'tag_table',
     344            'from_fieldname'  => 'tagdescription',
     345            'to_type'         => 'tags',
     346            'to_fieldname'    => 'description'
     347        );
     348
    332349        /** Reply Section *****************************************************/
    333350
Note: See TracChangeset for help on using the changeset viewer.