MyBB Community Forums

Full Version: upload dir in seperate server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,

i see some hosts do not offer lot of capacity / bandwidth but they are very reliable and there are some hosts who do oversell.

is it possible to host mybb in a good host and then use over selling package to host the upload directory (all uploads will be images). If possible how difficult it is ?

as an alternative users can be asked to to upload images to flickr or site like that and then to hot link. how practical that for a site that is just starting up?

please share your opinion. thanks in advance.
This is not possible by default. You would require some modification to do this.
You can accmplish this but as Dennis pointed out it will require a plugin. However I don't see it being too difficult if it's just images. There are enough hooks imho in the attachments file to accomplish this.
Hi,

Thanks for the replies. Is there anyone who has already done this kind of thing? Or can someone please give detailed instructions for this please?

Thanks in advance
No one has done it and detailed instructions aren't possible without actually doing it.
It's probably easier to disable uploading attachments and stick a message in the templates at various places.

The problem with using two servers is how to get them to authenticate with each other, and various other setup issues which can potentially be problematic, as well as how you transfer things (send things over via a cron? would require a more complex implementation for that).
you could do it by using php's cURL function

read more -> http://www.php.net/manual/en/ref.curl.php and also check this thead to ease things -> http://www.linuxquestions.org/questions/...er-286057/