Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorsportsgirl
    • CommentTimeFeb 27th 2007
     # 1
    Hi! I'm new to the forum and vanilla! I have been searching hi and low for the phpbb migrator script. Can someone point me to it.

    thanks
  1.  # 2
    Do us a favour and type the exact title of this discussion into a topic search. Let us know what it comes up with cause I'm pretty sure if you cant find the migrator then the search function is broken.
    • CommentAuthorsportsgirl
    • CommentTimeFeb 27th 2007
     # 3
    Hi!

    thanks i searched about 20 different terms and even + zip and nothing turned up. i'm pretty good at research but this is difficult. its no where to download in the add-ons either.

    thanks if anyone can help!
  2.  # 4
    Searched where? On google or on this forum?
    •  
      CommentAuthorbjrn
    • CommentTimeFeb 27th 2007
     # 5
    Is it really that hard to find? When just filling in phpbb migrator and clicking search (so you get topic search), three discussions come up. This one, one about errors, and finally one called [v0.2] phpBB Migrator which is the main discussion about the migrator, with the download link posted several times, for instance here. Doing a comment search for phpbb migrator zip returns links as well.

    You can download it here. HTH HAND.
    • CommentAuthorsportsgirl
    • CommentTimeFeb 27th 2007
     # 6
    Thanks alot. I really appreciate it. Trust me I tried it all. I'm not one for asking help without searching on forums.

    Great!
    •  
      CommentAuthoru2wedge
    • CommentTimeFeb 27th 2007
     # 7
    we're here to help one another not be snarky... if someone asks for help, let's share the Vanilla attitude!
  3.  # 8
    Sorry. I was just curious how someone could have searched so hard for something and not found it. Is there something we can do to make this easier?
    •  
      CommentAuthorbjrn
    • CommentTimeFeb 28th 2007
     # 9
    Edit your first and last post in the migrator thread and add a download link there? TBH it's a bit hidden since it's neither on the first nor the last page there. Still, people should be able to find it now with another thread devoted to the migrator ;)
  4.  # 10
    Yeah but chances are the link will be somewhere in that thread and the thread itself is hardly difficult to find I dont think.

    In any case i've stolen outbreaks post and put a link to the migrator in there.
    •  
      CommentAuthormvhaen
    • CommentTimeMay 15th 2007
     # 11
    The development of the phpBB migrator seems to be as good as dried up to me. I recently migrated a phpBB forum to vanilla using a modified version of the 0.2 migrator.

    I would still like to clean up the code and there are some small bugs left that I only figured out after the migration. However if nobody is maintaining it anymore, I would be happy to fix all of this and post a new version.
    •  
      CommentAuthorbjrn
    • CommentTimeMay 15th 2007
     # 12
    You're more than welcome to make an updated version of the migrator. And if you need any help during the process I'm sure there are enough of us who are willing to come with suggestions! :)
  5.  # 13
    I must say I'm also more than happy for you to patch up the migrator and release a fixed up version of it. I really started it as a project to refresh myself because it was such an in demand script. I'll be first to admit it's not the tidiest or most efficient code and it's reached a point with bbcode issues and whatnot that it's a bit above my lazy level. As bjrn says though, if you need a hand with anything or working out why i've done it a certain way i'll try and point you in the right direction...
    •  
      CommentAuthormvhaen
    • CommentTimeMay 29th 2007
     # 14
    Just to let everyone know that I'm looking into releasing my updated code. I'm busy with some other stuff at the moment, I hope to release an updated version somewhere next week.

    Just a heads up on what is coming:
    * Fixed some bugs in Minisweeper's original code.
    * Added support for Attachments (migration from PHPBB extension to Vanilla Add On - optional).
    * Added some initial support to populate the tables of the Discussion Tags extension (based on reg-exp parsing).

    Minisweeper, if you like I can send you my code and you can merge it into yours.
  6.  # 15
    If you're happy to take over the extension in general then feel free to just upload it to the Addons site. Mine never made it on there but there is at least one other migrator on there that i'm aware of so I dont see why you shouldnt :)
    • CommentAuthormis-one
    • CommentTimeMay 29th 2007 edited
     # 16
    * Added support for Attachments (migration from PHPBB extension to Vanilla Add On - optional).


    Hi Mvhaen, I transferred my tables from phpBB -> Vanilla a while ago but would it be possible to go back and just add the old attachments from my phpBB database?
    •  
      CommentAuthormvhaen
    • CommentTimeMay 29th 2007
     # 17
    miss-one, this shouldn't be a problem. They are completely seperate tables and if you did not remove the phpbb columns that the migrator adds to the vanilla tables then you should be OK, and even if you did that it should be possible to migrate them with some additional effort.
    • CommentAuthormis-one
    • CommentTimeMay 29th 2007
     # 18
    Oh okay, sounds great. Will you release this to public for testing? If so let me know.. I'd love to test.
    •  
      CommentAuthormvhaen
    • CommentTimeJun 15th 2007 edited
     # 19
    So for all of you who have been eagerly awaiting this: I've uploaded a new version of the migrator to my own webspace.

    https://euterpe.cmi.ua.ac.be/~mvhaen/[v0.3]migrator.zip

    It contains the following new features features:
    * Vanilla 1.1.2 Compatibility
    * Fixed some bugs in Minisweeper's original code.
    * Slightly improved BBCode migration (most compatible with the 'BBCodeParser' Add On, 'Better BB Code' has some problems).
    * Added support for Attachments (migration from PHPBB extension to Vanilla Add On - optional). And yes, attachments can be migrated whenever you want, just as long as you did not remove the phpbb entries added to the LUM tables.
    * Added some initial support to populate the tables of the Discussion Tags extension (based on reg-exp parsing).

    Note that I added a query at the bottom of comments.php to update the firstCommentId field of the Discussion table. firstCommentId is first set to the phpbb-id in discussions.php and we need to fix this afterwards If this is not done then you will not be able to modify the topic titles anymore. I did this operation manually for my database a while back and I've just written this code without testing it so please give me some feedback on this. Additionally since the phpBBpostid in the Post table is set to -1 and this id never occurs, this query is also safe if you want to fix an older migration.

    TODO: better migration of the BBCode.

    I'll wait for comments and bugs before posting this as an add-on.

    Michael
    •  
      CommentAuthorVaz
    • CommentTimeJun 16th 2007
     # 20
    Will this wipe out the previous install?
    •  
      CommentAuthormvhaen
    • CommentTimeJun 21st 2007 edited
     # 21
    no it will not, it will just add new entries to the database table. So watch out when using it on a live system.
    •  
      CommentAuthorThaRiddla
    • CommentTimeJun 21st 2007
     # 22
    Is this now compatible with 1.1.2 or do we still need to migrate using 1.0.3?
    •  
      CommentAuthormvhaen
    • CommentTimeJun 27th 2007
     # 23
    Sorry for the delay in replying.

    It is compatible with vanilla 1.1.2!!!
    •  
      CommentAuthorThaRiddla
    • CommentTimeJun 27th 2007
     # 24
    Excellent! That makes my life SOOOOO much easier.

    Thank you for updating this!
    • CommentAuthorlane
    • CommentTimeJul 15th 2007
     # 25
    Thank you so much for a compatible migrator.

    Can anyone point me to directions for using it?

    Also, I gather I'm supposed to have the same MySQL database for both my old phpBB and my new Vanilla boards? I don't - the Vanilla information is in a different database. Is it possible to transfer the old phpBB data into my new MySQL database, and then run this migrator? Thanks!
    • CommentAuthorlane
    • CommentTimeJul 22nd 2007
     # 26
    Please?
  7.  # 27
    Assuming it's not changed too radically from the one I wrote, you use it by uploading the files it contains to any dir on your web server, browsing to that dir, and running through the links in order to migrate your data.

    You can move the data from one database to another by using phpmyadmin or something to dump the data from one db then import it to another. That should be a fairly easy process in a mysql manager (phpmyadmin) and there are instructions how to do it on the web if you do a quick search..
    • CommentAuthorlane
    • CommentTimeJul 23rd 2007
     # 28
    Thank you so much!
    •  
      CommentAuthormvhaen
    • CommentTimeSep 26th 2007
     # 29
    Does anyone know about any drastic database changes from 1.1.2 to 1.1.3? I want to update the migrator.
    • CommentAuthorgnomex
    • CommentTimeNov 19th 2007
     # 30
    I moved the tables from the phpbb db to the vanilla db.
    Installed vanilla 1.1.2
    ran the migration scripts and got meny errors, but the data was moved.

    Everything is present in the database, but there is no text on Discussions and comments. All that is shown is the Disscussion title. No other text.

    How could this be fixed.

    Could it have something to do with phpBBpostid?

    Thanx
    • CommentAuthormburns
    • CommentTimeFeb 10th 2008 edited
     # 31
    Hope it is welcome, but I made some tweaks to the migrator script and thought I would share them.

    Some of the sql was malformed for me, backticked values, single instead of doublequote. Fixing that made it run for me, and add the ability to import categories, forums and discussions with apostrophe's in their title (something that chokes v0.3).

    I also added a proper prefix variable, so you only need to set your value at the top, and all references to your database tables will use that appropriate prefix (one for phpbb, one for vanilla). For my personal installation, the time execution calls at the bottom were causing errors. Sadly, instead of looking into this, I simple commented the code out. It serves no purpose though it adds a nice feedback to the user. The attachments and tag files were left untouched, because I never used those mods.

    Anyway, with this snap of code I was successfully able to merge my phpbb2 database.

    http://mirwin.net/files/[v0.4]migrator.zip

    --
    Michael Burns
    http://mburns.isfound.at/
  8.  # 32
    I had a similar issue, the script won't import comments, but descriptions come out fine.

    I get a page full of "Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /migrate/comments.php on line 47"

    Could it be that I'm importing from PHPBB3 instead of 2? I don't think the database structure is significantly different to kill the import.
  9.  # 33
    If it has even 1 change it might well cause trouble..
Add your comments
    Username Password
  • Format comments as