Fixed vB4 Import: Fix for broken/missing third configuration page

Steffen

Well-known member
Without this patch, the third page just says "No step configuration necessary" and an error is logged: "ErrorException: Template error: Template admin:xfi_xfi_import_title_for is unknown"

Diff:
diff --git a/src/addons/XFI/Import/Importer/vBulletin.php b/src/addons/XFI/Import/Importer/vBulletin.php
index c192c3d34..9641f775a 100644
--- a/src/addons/XFI/Import/Importer/vBulletin.php
+++ b/src/addons/XFI/Import/Importer/vBulletin.php
@@ -262,7 +262,7 @@ class vBulletin extends AbstractForumImporter
 
     public function renderStepConfigOptions(array $vars)
     {
-        return $this->app->templater()->renderTemplate('admin:xfi_xfi_import_title_for', $this->getStepConfigOptions($vars));
+        return $this->app->templater()->renderTemplate('admin:xfi_import_step_config_vbulletin', $this->getStepConfigOptions($vars));
     }
 
     public function validateStepConfig(array $steps, array &$stepConfig, array &$errors)
 
There are other minor issues on this page: A misspelled phrase "xfi_xfi_import_notices_as" and a seemingly missing phrase "xfi_import_blogs_path_vbulletin_explain".
 
Damn I must have done a dodgy replace all when I was prefixing the template names etc. I think I've sorted this, but need to clarify a few things first.
 
Back
Top Bottom