a legacy reborn
Well-known member
Where in config.php did you add them, could you be more specific?I tried moving the js by adding the line, but I was getting all kinds of weird things happening.
Where in config.php did you add them, could you be more specific?I tried moving the js by adding the line, but I was getting all kinds of weird things happening.
Are we able to use maxCDN in the latest version? (currently 1.0.4)I'm using MaxCDN. Any suggestions on edits to the /library/config.php file to allow my CDN to handle various javascripts.
Yes, after theWhere in config.php did you add them, could you be more specific?
$config['superAdmins'] = '';
Don't think so. Tried placing it where you had it and did the same thing, even on the default style.I just checked one of mine and I add my stuff after
I don't see how it should make a difference, did you possibly mess up the char encoding? I have had that happen to me more than once and it messes things up .PHP:$config['superAdmins'] = '';
What are you using to edit files? What are you putting for the paths?Don't think so. Tried placing it where you had it and did the same thing, even on the default style.
Using wordpad to edit and the path isWhat are you using to edit files? What are you putting for the paths?
http://static.glorifythepast.com/static/js
I will do it in notepad tonight and report back.wordpad?
notepad would be a better choice.
The requested URL /static/js was not found on this server.Using wordpad to edit and the path is
Code:http://static.glorifythepast.com/static/js
When I set up that subdomain, I forgot I didn't need to use the static in the address. Thanks so much. Anything else I have to do to set up a cookie free domain other than move the js and style folders and set the image paths?The requested URL /static/js was not found on this server.
Nope , should work fine.When I set up that subdomain, I forgot I didn't need to use the static in the address. Thanks so much. Anything else I have to do to set up a cookie free domain other than move the js and style folders and set the image paths?
Thanks again man. Awesome.Nope , should work fine.
I am unable to upload avatars or thumbnail attachments in posts (normal attachment work)$config['externalDataUrl'] = 'http://static.forum.com/data';
What is the advantage of serving data/js from a CDN? Especially if the CDN is on the same server?
You definately can... but I'm still a bit confused... If I add the following lines to my config:You can do that without modifying your main website. Not sure if you can serve styles from a CDN yet.
$config['externalDataUrl'] = 'http://cdn.8wayrun.com/data';
$config['javaScriptUrl'] = 'http://cdn.8wayrun.com/js';
You definately can... but I'm still a bit confused... If I add the following lines to my config:
The system will tell the website to look for the data/js folders in the appropriate areas...Code:$config['externalDataUrl'] = 'http://cdn.8wayrun.com/data'; $config['javaScriptUrl'] = 'http://cdn.8wayrun.com/js';
But there is an obvious issue... The /data folder contains /attachments and /avatars. How does the system know where to save those files as needed as they are created by users?
We use essential cookies to make this site work, and optional cookies to enhance your experience.