2008-08-06, 02:19 AM
Hey, I'm using myBB as a file-management system. Each forum is a category for the files and each post is a file that can be downloaded, the replies serve as comments.
I was just wondering if there's any way that for the attachment mod for external URLs to be used.
Consider this:
My forum is http://mywebsite.com/files/, but I have all my files stored on a separate site, http://files.mywebsite.com. I have files.mywebsite.com organized in a nice hierarchy, like this:
So for each post on the forum, I want to be able to, instead of attaching directly, (and getting something like http://mywebsite.com/files/attachmentfolder/...) , put in the URL to the file on the subdomain but have the file served like it was attached directly (so that there's a download count, a private url, etc)
Simply: I want my files on the server in an organized fashion, this can be
done by putting in the URL instead of attaching inside of the post, or is there a way to choose the upload directory (and switch it, in the example, from cats to dogs, to whitecats, to blackdogs).
Does what I'm trying to establish here make sense? Can it be done?
Help is greatly appreciated!
I was just wondering if there's any way that for the attachment mod for external URLs to be used.
Consider this:
My forum is http://mywebsite.com/files/, but I have all my files stored on a separate site, http://files.mywebsite.com. I have files.mywebsite.com organized in a nice hierarchy, like this:
files.mywebsite.com
-/cats/
---/blackcats/
------/cat1.jpg
------/cat4.jpg
------/cat7.jpg
------/cat10.jpg
---/whitecats/
------/cat11.jpg
------/cat41.jpg
------/cat17.jpg
------/cat110.jpg
-/dogs/
---/blackdogs/
------/dog1.jpg
------/dog4.jpg
------/dog7.jpg
------/dog10.jpg
---/whitedogs/
------/dog11.jpg
------/dog41.jpg
------/dog17.jpg
------/dog110.jpg
etc, etc.So for each post on the forum, I want to be able to, instead of attaching directly, (and getting something like http://mywebsite.com/files/attachmentfolder/...) , put in the URL to the file on the subdomain but have the file served like it was attached directly (so that there's a download count, a private url, etc)
Simply: I want my files on the server in an organized fashion, this can be
done by putting in the URL instead of attaching inside of the post, or is there a way to choose the upload directory (and switch it, in the example, from cats to dogs, to whitecats, to blackdogs).
Does what I'm trying to establish here make sense? Can it be done?
Help is greatly appreciated!