PunbbToBeast ============ Migrates PunBB data to Beast. Work in progress, please send bugs and patches to bmihelac[at]mihelac[dot]org. Share your thoughts on http://source.mihelac.org/2007/8/14/punbb-to-beast-converter Prerequisites ============= It assumes that PunBB tables and Beast tables are in the same database. My PunBB don't use any PASSWORD_SALT so I set it to '' in environment.rb as well. Usage ===== Backup database before running migration. From Rake: rake punbb_to_beast:import PUNBB_PREFIX=punbb --trace or from migration: class ImportUsers < ActiveRecord::Migration def self.up importer = PunbbToBeast.new ### custom attributes can be added # importer.tables[:users][:attributes][:icq] = :icq importer.import(:destroy_all => true) end def self.down end end and check for import errors: grep "Not imported" log/development.log KNOWN PROBLEMS ============== TODO ======= * convert from phpBB code >> Bojan Mihelac => bmihelac[at]mihelac[dot]org