Fixed vB4 Import: Fix for Buddy and Ignore List Import

Steffen

Well-known member
vBulletin uses a space character as the delimiter, not a comma.
Diff:
diff --git a/src/addons/XFI/Import/Importer/vBulletin.php b/src/addons/XFI/Import/Importer/vBulletin.php
index 5df942c64..6b0e573f4 100644
--- a/src/addons/XFI/Import/Importer/vBulletin.php
+++ b/src/addons/XFI/Import/Importer/vBulletin.php
@@ -1651,8 +1651,8 @@ class vBulletin extends AbstractForumImporter

         foreach ($users AS $userId => &$user)
         {
-            $user['buddy_ids'] = ($user['buddylist'] === '' ? [] : explode(',', $user['buddylist']));
-            $user['ignore_ids'] = ($user['ignorelist'] === '' ? [] : explode(',', $user['ignorelist']));
+            $user['buddy_ids'] = ($user['buddylist'] === '' ? [] : explode(' ', $user['buddylist']));
+            $user['ignore_ids'] = ($user['ignorelist'] === '' ? [] : explode(' ', $user['ignorelist']));

             $sourceUserIds = $sourceUserIds + $user['buddy_ids'] + $user['ignore_ids'];
         }
 
Back
Top Bottom