Announcement

Collapse
No announcement yet.

SMF 2 to vB 4 ( Different Topic , Board IDs )

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Antes
    replied
    i'm not a php expert :/ i really dont understand it, if possible can you attach me a file ( .php ) ? and how to use it ?

    Leave a comment:


  • sexycoolfun
    replied
    there might be a easier way but what I did for this
    I created another tool called in impex/tools/link_replacer.php
    it should work like your cleaner.php but it also requires to use preg_replace with `e` modifier in order to call the functions such as
    Code:
    function getCorrectPostId($oldImportId)
    {
    global $idcache;
    return $idcache->get_id('post',$oldImportId);
    }
    in order to use a class ImpExCache and ImpExDatabaseCore
    you will also need to include
    Code:
    require_once ('./../ImpExFunction.php');
    require_once ('./../ImpExDatabaseCore.php');
    require_once ('./../ImpExDatabase.php');
    require_once ('./../ImpExModule.php');
    I'm just saying that there might be easier way to do this but this also might give you some hints to get going.

    Leave a comment:


  • Antes
    replied
    may i ask how ?

    Leave a comment:


  • sexycoolfun
    replied
    yes it is possible

    Leave a comment:


  • Antes
    started a topic SMF 2 to vB 4 ( Different Topic , Board IDs )

    SMF 2 to vB 4 ( Different Topic , Board IDs )

    I successfully converted my board to vB ( http://www.mmobrowser.com/forum/ ) my-ex SMF forum ( http://www.mmobrowser.com/forum.php )

    as you can see all Board & Topics IDs now different, and it makes impossible to redirect my ex topics to new one, what can i do now ?

    Example

    http://www.mmobrowser.com/forum.php?topic=394
    http://www.mmobrowser.com/forum/showthread.php?259

    Same topic different IDs
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X