Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Changing the "uploads" directory

Hello.
I currently have 2 domain names sharing one database. Also, Vanilla Forums is installed in two separate directories on my server. All is good until someone uploads a profile pic.
How can I have one installation of Vanilla Forums point to an "Uploads" directory to a different location other than the default one? Plugins and such isn't be a problem as both installations should have the same plugins installed.
0
Comments
symbolic link
grep is your friend.
?
Create a symbolic link to the new location. It's something you do on your server and requires shell access.
Your other option is to edit constants.php:
define('PATH_UPLOADS', PATH_ROOT.'/uploads');
hmm, tried that too. Changed the said line in constants.php to:
define('PATH_UPLOADS', PATH_ROOT . DS . '/httpdocs/OtherVanillaInstallation/uploads');
...But to no avail. Also, unfortunately, I am not versed in shell commands.
PATH_ROOT is where your Vanilla installation is at. So unless you have a folder called httpdocs under your Vanilla install, that isn't correct. You'd need to remove PATH_ROOT entirely and provide a full absolute path.