(站长出品)Simple CDN v1.0.5 发布[更新]

有关 phpBB 3.2.X 的扩展,以及其他系统的整合
版面规则
《发帖时,请复制下列格式文本,提供完整的信息,勿简略发布》


###### 以下为“基本的提问格式” ######
  • 主机操作系统: Windows (XP, 7, 8, 10)、Linux(Redhat,Centos, Mandrake等等)、或者其他的(请务必注明版本)
  • 快速架站程序: AppServ、XAMPP 等等(请务必注明版本号)
  • 您的上网方式:ADSL、Cable、FTTB等等 (请务必留下 ISP 名称或 ISP 官网)
  • 您安装的程序: Apache + php + MySQL 或者其他的组合 (请务必留下版本号,如果使用上面的快速架站程序就不必写了)
  • 您的 phpBB 版本: phpBB 3.2.2
  • 您的域名: 比如 phpbbchinese.com
  • 您的 phpBB 网址: 比如 https://www.phpbbchinese.com/
###### 以上为“基本的提问格式” ######

  • 安装扩展: 请注明安装扩展的名称,版本以及参考链接(非扩展问题免填)
  • 安装风格: 请注明安装的风格名称,版本以及参考链接(非风格问题免填)
  • 错误代码: 请使用 Code 标签将错误代码标识出来,如下:

代码: 全选

错误代码
  • 错误状态:如果没有错误代码,请直接贴出截图,或者是详细叙述错误状态内容。
备注:
如果需要,请提供测试用的账号与密码
若是管理账号,请使用短信联系站长
olalavui
新注册用户
新注册用户
帖子: 2
注册时间: 2019年1月23日 11:51

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

帖子 olalavui »

I have console error:

代码: 全选

Access to font at 'https://cdn.domain.com/assets/fonts/fontawesome-webfont.woff2?v=4.7.0' from origin 'https://domain.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
Can you help me?
头像
davidyin
网站管理员
网站管理员
帖子: 1431
注册时间: 2015年11月19日 01:50
联系:

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

帖子 davidyin »

You should use your own CDN provider. Enter the URL of your CDN into the Admin Simple CDN page.
居住在西八区,有时差,提问请按照“通用提问格式”提问,未必能及时回复,见谅。
提供 phpBB 服务
robbie787
新注册用户
新注册用户
帖子: 3
注册时间: 2019年9月15日 01:28

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

帖子 robbie787 »

Hi there is a problem with avatars and this extension. Everything else works perfect in loading js and css etc. But users are unable to upload avatars unless they enter the amazon s3 keys. Also the avatar is broken on display.

Is there any way I can manually disable avatars from this extension? and use the other features of the extension? I did try and contact you via the official phpbb website but moderators take years on that forum. Hope you can help.
头像
davidyin
网站管理员
网站管理员
帖子: 1431
注册时间: 2015年11月19日 01:50
联系:

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

帖子 davidyin »

You can choose to disable File CDN which is the last option.

At this point. Ony the theme-related static files will be supplied through CDN.
居住在西八区,有时差,提问请按照“通用提问格式”提问,未必能及时回复,见谅。
提供 phpBB 服务
robbie787
新注册用户
新注册用户
帖子: 3
注册时间: 2019年9月15日 01:28

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

帖子 robbie787 »

Did not work. Just tried it, and it still loads the avatar from s3. I have disabled the extension now. I will load the the js and css manually by editing the core files instead.
头像
davidyin
网站管理员
网站管理员
帖子: 1431
注册时间: 2015年11月19日 01:50
联系:

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

帖子 davidyin »

robbie787 写了: 2019年9月16日 23:49 Did not work. Just tried it, and it still loads the avatar from s3. I have disabled the extension now. I will load the the js and css manually by editing the core files instead.
I am thinking about to separate these to different switches. Let user to make decision which part was load from CDN.
居住在西八区,有时差,提问请按照“通用提问格式”提问,未必能及时回复,见谅。
提供 phpBB 服务
robbie787
新注册用户
新注册用户
帖子: 3
注册时间: 2019年9月15日 01:28

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

帖子 robbie787 »

That would be wise. The avatar would never work under this extension because the aws credentials are required in order to upload to s3. If you are able to seperate avatar from the extension in the next update that would be very helpful.
头像
davidyin
网站管理员
网站管理员
帖子: 1431
注册时间: 2015年11月19日 01:50
联系:

Re: (站长出品)Simple CDN v1.0.5 发布[更新]

帖子 davidyin »

When I do the test and on my setup of CDN with Amazon Cloudfront. I am using custom Origin, which is my own website. So I don't have to upload the files to S3.
居住在西八区,有时差,提问请按照“通用提问格式”提问,未必能及时回复,见谅。
提供 phpBB 服务
回复