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

Change Avatar Upload Path

Discussion in 'XenForo Questions and Support' started by Junior, Apr 14, 2011.

  1. Junior

    Junior Well-Known Member

    How do? :)
     
  2. Wuebit

    Wuebit Well-Known Member

    library\XenForo\Helper\file.php

    But if you change the path there is also quite a few other paths you will need to change

    example of one

    library\XenForo\Model\avatar.php

    PHP:
            return XenForo_Helper_File::getExternalDataPath()
                . 
    "/avatars/$size/$group/$userId.jpg";
    Not an easy task :p
     
    Junior likes this.
  3. Junior

    Junior Well-Known Member

    Ah and all the work done would be lost during an upgrade. I'm looking to convert a lot of my sites data to a cookie free domain. I'm snagged at avatars.

    Suppose I'll have to wait for an addon? *Holds breath*

    Thanks for your reply Vodkaholic. :)
     
    Vodkaholic likes this.
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. Junior

    Junior Well-Known Member

    I was kinda looking at that but skimmed over most of what Kier said that. Little excited now :D
     

Share This Page