XF 2.2 How to import Avatars from an external folder?


Active member

Somewhere during my vBulletin > XenForo import, I skipped or missed the Avatar import section. As a result, none of my 145,000 users have Avatars. It's just a blank image.

My previous vBulletin installation had the Avatars stored in an External Folder, corresponding to their vBulletin userid. eg. /custom_avatars/forum/123456.jpg

So my question is:
  1. What is the best way to import all those Avatars?
  2. Is it possible to run the importer again, but with Avatar only settings?
  3. Or is a custom API script the best method?
EDIT: I've noticed that the import_log_vbulletin4_1 in the database contains all the username changes, so I presume I will have to use that information somehow....

Last edited: