Status
Not open for further replies.
Hi,

When I'm trying to integrate the CDN, images are hosted as http://cdn.skyscrapercity.com.s3.amazonaws.com/

I'd like to be able to use cloudfront, which runs off the bucket name: cdn.skyscrapercity.com. is there an easy way to do this?
I have no experience running either Amazon AWS or CloudFront - does whatever instructions CloudFront provide not work for you?

Second, When a post does not have a post icon, and CDN is enabled, it tries to load: http://cdn.skyscrapercity.com.s3.amazonaws.com/0. without the cdn, no icon is displayed.
Please ensure you've filled out the Show Default Post Icon setting in Thread Display Options (showthread) in vBulletin Options.
 
I have no experience running either Amazon AWS or CloudFront - does whatever instructions CloudFront provide not work for you?

I have it up and running fine. The problem is, there's no option to set the domain in vboptimise that I can see. Ideally everything should be served from: http://cdn.skyscrapercity.com not http://cdn.skyscrapercity.com.s3.amazonaws.com/ .

Please ensure you've filled out the Show Default Post Icon setting in Thread Display Options (showthread) in vBulletin Options.

I'll check this later, I'm sure that's the problem, thanks! :)
 
Is there a place to set the bucket URL? Because by default, when I enable AWS and toggle the CDN online, vboptimise links http://cdn.skyscrapercity.com.s3.amazonaws.com instead of http://cdn.skyscrapercity.com/

Here, I'll walk you through what I do:

1. select Amazon S3 from the CDN Integration dropdown. Click continue
2. Enter my Access Key, Secret Key, and the bucket name (which is cdn.skyscrapercity.com)
3. Manage assigned styles -> Pick the active styles/themes
4. Sync with CDN (Everything goes fine)
5. Toggle Online

visiting the site, everything appears, except static files are served from http://cdn.skyscrapercity.com.s3.amazonaws.com instead of http://cdn.skyscrapercity.com
 
Is there a place to set the bucket URL? Because by default, when I enable AWS and toggle the CDN online, vboptimise links http://cdn.skyscrapercity.com.s3.amazonaws.com instead of http://cdn.skyscrapercity.com/

Here, I'll walk you through what I do:

1. select Amazon S3 from the CDN Integration dropdown. Click continue
2. Enter my Access Key, Secret Key, and the bucket name (which is cdn.skyscrapercity.com)
3. Manage assigned styles -> Pick the active styles/themes
4. Sync with CDN (Everything goes fine)
5. Toggle Online

visiting the site, everything appears, except static files are served from http://cdn.skyscrapercity.com.s3.amazonaws.com instead of http://cdn.skyscrapercity.com
You can attempt to edit /dbtech/vboptimise_pro/includes/cdn/amazon_s3/cdn.php and change
PHP:
return 'http://' . $this->cdn_settings['bucket'] . '.s3.amazonaws.com';
to
PHP:
return 'http://' . $this->cdn_settings['bucket'];
Please note that I have absolutely zero idea whether this will work for you and we cannot provide support for it if it does not.

Also, the default post icon. We have nothing filled out for it (as we don't have a default post icon), when turning the CDN online, it comes up as a blank image with just the url: http://cdn.skyscrapercity.com.s3.amazonaws.com/

Do I perhaps need to put a 1-pixel transparent icon in there? or can we prevent this from happening?
I'd say 1x1 px transparent is the way to go, yeah :)
 
Status
Not open for further replies.

Legacy vB Optimise

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,972
Customer rating
0.00 star(s) 0 ratings
Top