F
Floris
Guest
Thank you for the import script Benji
<3
<3
definitely! now that 1.1 final has been released, any idea of an ETA on the new version? not harassing you for it btw - just asking so i can plan my roll-out scheduleThank you for the import script Benji
<3
Hi,definitely! now that 1.1 final has been released, any idea of an ETA on the new version? not harassing you for it btw - just asking so i can plan my roll-out schedule
thanks a lot..
jesus wept, i wasn't expecting a response for days, let alone minutes!! lol..Hi,
I just finished an untested version of the import script. If it works, great. If not, I'm sorry and you'll have to wait 2 weeks when I'm back from holidays
Anyway, here it is... **fingers crossed**
Has anyone tested this yet, out of interest? I haven't had a chance yet, but will report back once I do. It may not be for a while though, so thought I'd ask.Hi,
I just finished an untested version of the import script. If it works, great. If not, I'm sorry and you'll have to wait 2 weeks when I'm back from holidays
Anyway, here it is... **fingers crossed**
Just tried running this. Got as far as 'Import Users', specified my merge options and hit OK, then got:Hi,
I just finished an untested version of the import script. If it works, great. If not, I'm sorry and you'll have to wait 2 weeks when I'm back from holidays
Anyway, here it is... **fingers crossed**
Benjy said:Where I am right now:
- user bans bug because PunBB uses a strange table where teh same user can be banned multiple times and sometimes there are only emails and sometimes even only an IP... I chose to only import banned users (with accounts)
So I just remove that from the PunBB.php file on the server and try running it again? I don't have to re-install the Add-on or anything?My bad, I missed this. Remove line 692 in file /library/CodeInMotion/Importer/PunBB.php and try again please.
PHP:'is_banned' => $user['is_banned'],
Yup, it's that simple.So I just remove that from the PunBB.php file on the server and try running it again? I don't have to re-install the Add-on or anything?
If only it were!Yup, it's that simple.
foreach (array('aim', 'facebook', 'icq', 'jabber', 'linkedin', 'msn', 'skype', 'twitter', 'yahoo') AS $identityType)
{
if (isset($userFieldDefinitions[$identityType]) && isset($user[$identityType]))
{
$import[XenForo_Model_Import::USER_FIELD_KEY][$identityType] = $this->_convertToUtf8($user[$identityType]);
}
}
Indeed, I didn't check that PunBB doesn't have Facebook, Twitter or LinkedIn fields... Just replace lines 767 to 773 with:
PHP:foreach (array('aim', 'facebook', 'icq', 'jabber', 'linkedin', 'msn', 'skype', 'twitter', 'yahoo') AS $identityType) { if (isset($userFieldDefinitions[$identityType]) && isset($user[$identityType])) { $import[XenForo_Model_Import::USER_FIELD_KEY][$identityType] = $this->_convertToUtf8($user[$identityType]); } }
Sorry for making you work
if (isset($user['is_admin']) && $user['is_admin'])
Not wanting to jinx it, but so far so good - we have a progress bar/report!Line 775
PHP:if (isset($user['is_admin']) && $user['is_admin'])
As for your question, it would indeed be better to start fresh each time... the important thing to know is that your original data is kept untouched, you just have to "reset" XenForo (the best way being deleting its MySQL tables and reinstalling).
Import Threads and Posts... 0.86%
I only said that PunBB didn't have a facebook (contact) field in their MySQL default database... https://github.com/punbb/punbb/wiki/Database-tables-referenceBenjy I appreciate, thank you for that importer but I think, Facebook still using PunBB as a support forum for their developers community. Hehehe
I only said that PunBB didn't have a facebook (contact) field in their MySQL default database... https://github.com/punbb/punbb/wiki/Database-tables-reference
We use essential cookies to make this site work, and optional cookies to enhance your experience.