1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How do I empty / reset XFMG so I can re-import from [xfr] User Albums?

Discussion in 'Media Gallery Support' started by CyclingTribe, Dec 5, 2014.

  1. CyclingTribe

    CyclingTribe Well-Known Member

    I've done a test import from [xfr] User Albums and it went well, but I hadn't set-up the options in XFMG and need to re-import.

    How do I empty / reset XFMG?

    Do I need to manually delete the media files from the server?

    Cheers,
    Shaun :D
     
  2. Chris D

    Chris D XenForo Developer Staff Member

    Uninstalling the add-on would mark the files to be removed. It can actually take 24 hours before the files are physically removed from the file system.
     
  3. CyclingTribe

    CyclingTribe Well-Known Member

    Thanks for the quick reply Chris. Can I remove them manually as I'd like to re-import straight away?
     
  4. Chris D

    Chris D XenForo Developer Staff Member

    You can re-import straight away. I'm just setting the expectations that the files of the original import may stick around for longer than you may have expected. You won't see them in the gallery or anything, but the files hang around on the file system for a little while.
     
  5. CyclingTribe

    CyclingTribe Well-Known Member

    Okay, thanks Chris. I'm re-importing now but it hasn't solved the problem I was trying to resolve.

    I'd originally imported with the default setting of using the filename as the title; I modified the settings to disable this and re-imported, hoping it would use the descrption - but it's still using the filename:

    Imported into XFMG:

    upload_2014-12-5_1-8-55.png


    Original in [xfr] User Albums:

    upload_2014-12-5_1-10-41.png


    Have I got the settings wrong, or is this not how the importer works?

    Cheers,
    Shaun :D
     
  6. Chris D

    Chris D XenForo Developer Staff Member

    Yeah the importer does it that way deliberately.

    We actually had problems importing the descriptions as titles due to their potential length (causing code 400 errors because the URL was too long).

    In theory it could be possible to use a query to set the media_title field to be the media_description, but I wouldn't recommend it. The titles could be edited by the uploaders as another solution. It's also possible to mass edit media titles and descriptions using inline moderation.
     
  7. CyclingTribe

    CyclingTribe Well-Known Member

    Okay, thanks Chris - I'll go with manually updating them - it'll give me something to do during my tea breaks ... :LOL:

    Cheers,
    Shaun :D
     

Share This Page