Here are some queries that I used in a recent migration from Xoops 2.0.13 to Drupal 4.7.0. This was my first real life experience using SQL so be warned. You might consider adapting the Xoops Migration Module for use with 4.7 instead.
Make database backups at every stage using mysqldump or phpmyadmin.
mysqlump --opt -u user -p database > backup.sql
You will need to have your xoops and Drupal tables in the same database for these to work. The whole transfer took me about 10 hours but I was learning as I went. This is not a complete migration solution but hopefully these will save you some time.
In each case change the drupal_users and xoops_users to reflect your table prefixes.
Users
Change the '-28800' to reflect the timezone of your users.
INSERT INTO drupal_users (uid, name, pass, mail, signature,
status, init, created, timezone, access, timezone_name, language)
SELECT uid, uname, pass, email, user_sig,
'1', email, user_regdate, '-28800', last_login, 'America/Argentina/Buenos_Aires', 'en'
FROM xoops_users WHERE uid > 1;
If you want to transfer Occupation and User From then you'll need to setup fields in the profile.module and transfer these separately. Drupal supports user avatars but I didn't transfer these.
Stories from News 1.4