MegaBBS: Fix for importing users into correct groups; Questions re: passwords, attachements Issue Tools
issueid=25881 Fri 27th Jun '08 7:43pm
New Member
MegaBBS: Fix for importing users into correct groups; Questions re: passwords, attachements

We are using ImpEx to migrate one of our sites from MegaBBS 2.2 to vBulletin 3.7.2. We are trying to retain as much information from the original site as possible.

First, I just wanted to let you know about a little bug with Impex that we found. Apparently, if a user is not listed in a user group on MegaBBS, Impex just skips the import of that user and reports an “Invalid user object, skipping.usergroupid” error. We were able to fix this problem by making sure that if a NULL value is found, it is assumed that the user belongs in the registered users group and they are placed there.


As a temporary fix, we changed the following file: impex/systems/megaBBS/004.php


This line:
Code:
$try->set_value('mandatory',  'usergroupid',          $user_group_ids_array[69]);

To this line:
Code:
$try->set_value('mandatory', 'usergroupid',  '#'); # Where ‘#’ represents the  group ID for registered users

I am not sure if this is helpful but we thought you may want it in case anyone else has this issue. This allows every user to be imported.

Now for my questions.


  1. Is there ANY way to get the passwords imported and working for users? Or was this left out because it was not possible? None of the passwords for the users we imported work.
  2. Do you have any recommendations to get the attachments imported? We understand that this is not supported at this time. The attachments are a big part of the community we are attempting to migrate.


Issue Details
Project ImpEx
Category Unknown
Status Not a Bug
Priority 10 - Lowest
Affected Version Unknown
Fixed Version (none)
Users able to reproduce bug 0
Users unable to reproduce bug 0
Assigned Users (none)
Tags (none)

Mon 21st Jul '08 6:24pm
ImpEx Developer
 
The usergroup 69 is correct, hacking users into an existing group doesn't allow for managment of users being imported. ImpEx create the usergroup.

Attachments are supported.
Reply
Tue 22nd Jul '08 1:05pm
New Member
 
How do you pull over attachments? There is no option in Impex.

The only importers that exist are the following:

001 Check and update database
002 Associate Users
003 Import Usergroup
004 Import User
005 Import Forums
006 Import Thread
007 Import Post
008 Import Smilie
009 Import Poll
010 Import Private Message

Doing all of these steps did not import the attachments. How is this achieved. We have been writing our own script to try to import the attachments into the MySQL database from MSSQL, but it certainly would be easier to use Impex if that is already built in.

Luckily, this project was pushed back until late August so we have some time.
Reply
Tue 22nd Jul '08 1:09pm
vBulletin Team
 
Download the latest version of ImpEx, this should include a 011, which is the attachment module.
Reply
Reply