MyBB Community Forums

Full Version: Move "images" && "jscripts" && "uploads" folders outside of forum root
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
whether it would be prepared purely from MyBB tutorial center and being prepared to make a CDN?
I found a solution, you can add a new setting inside "MyBB Settings" in ACP.

Then use

{$mybb->settings['somethingyouwant']}/abc/def/ghi.jpg

Anyone else have better solution? @labbroca, which core edits we need to do?
Yes I added my own settings and then made the proper template adjustments. Some core edits might be the class_core file for smilies I believe and icons if I recall correctly.

They made changes to global.php after I pointed out that you can't use CDN because of how it was coded.

Also you can support this hook request which would also make it easier to do with a simple plugin:

http://community.mybb.com/thread-140337.html

We need that hook in place.
(2013-06-03, 04:30 AM)labrocca Wrote: [ -> ]Yes I added my own settings and then made the proper template adjustments. Some core edits might be the class_core file for smilies I believe and icons if I recall correctly.

They made changes to global.php after I pointed out that you can't use CDN because of how it was coded.

Also you can support this hook request which would also make it easier to do with a simple plugin:

http://community.mybb.com/thread-140337.html

We need that hook in place.

whether the change is for the CSS directory?

if for images, JS, smiley I already know how to change it
but for the removal of my theme directory not found.
you can have a look at my test website here
http://kampoeng.p.ht/
logo http://cdn.kampoeng.p.ht/images/sunblue/logo.png

inspect element
[Image: hceAxZY.png]
Pages: 1 2