SubCategories Plugin Data Migration

I am sure all of you folks who have been using my plugin are dreading having to recreate your category hierarchy now that the code has moved into the MT core. Well, here is a script that I whipped together to migrate your data from the plugin version to the MT core version (as of version 3.1).

Download plugin-to-db.txt, rename it to plugin-to-db.cgi, upload it to your base MT directory, change its permissions so it can be excuted (usually 755), and then run it in your browser. When you are finished, be sure to remove the file from your MT installation.

I have only tested this on my installation as I was upgrading from 3.0D to 3.11, but it worked just fine for me.

Important Note: When upgrading to a 3.1x version of MT, remove all of the files associated with the SubCategories plugin before starting the upgrade.

3 TrackBacks

SubCategories from Movable Type Plugin Directory on September 9, 2004 2:20 AM

This plugin has been built into Movable Type as of version 3.1. To pull previous versions of subcategories into MT3.1, use David's Migration script. To define how your categories relate to each other, load up mt-sc.cgi in your web browser... Read More

SubCategories from Movable Type Plugin Directory on January 15, 2005 10:43 PM

This plugin has been built into Movable Type as of version 3.1. To pull previous versions of subcategories into MT3.1, use David's Migration script. To define how your categories relate to each other, load up mt-sc.cgi in your web browser... Read More

upgrading to MT 3.2 from The Blue State Conservatives on September 15, 2005 10:29 PM

You want to upgrade the Movable Type software. Solution Upgrading follows nearly the same steps as installation except that you will want to perform a backup of your system before attempting the upgrade. If you are upgrading from Movable... Read More

3 Comments

I exported from 3.11 using both the built-in export feature and Typemover, but when I import into another 3.11 installation, the subcategories disappear. The posts are assigned their respective subcategories, but they don't show up in the category section.

Will your plugin fix this too?

All appears to be working good. The conversion went well and my category page shows the subcategories appropriately. If all the tags stayed the same, then it should be working fine.

Thanks!

Hi David,

My name is Oliver, I'm 25 and I live in Paris.

I'm a MT user since the beginning. I love that platform and enjoy installing new features with plug-ins.

I'm now using the MT 3.2 version and I'd like to know if you've made an upgrade or the plug-in for the new MT?
It doesn't work well on the 3.2.
I don't know why so I anybody has an answer ... ;)

Thanks a lot Mr Raynes to take a little piece of your time.

Leave a comment

Recent Entries

  • Plugin Writing 101

    So, I’m planning on writing up some entries about various aspects of plugin development. While I have a couple topics already in mind, I thought...

  • The Olympics Make Me Want To Compete Again

    Every time the Olympics come around (most the summer ones) I always start to delude myself into thinking I could complete once again in the...

  • Minimalist plugins are fun!

    Last night I whipped up one of the smallest plugins I’ve ever written. It is so small in fact that I was able to stuff...

  • Feedburner Widget on MT News

    Movable Type News A WordPress 2.5 Upgrade Guide: And of course there are lots of third-party plugins for the MT dashboard, to integrate statistics and...

  • AD&D Monster Stats for the Presidential Canditates

    Charles Stross (scifi author, D&D nerd, and former perl columnist) posted Politics as she is Played with 3d6: The recent death of Gary Gygax, who...

Close