跳转到帖子
在手机APP中查看

一个更好的浏览方法。了解更多

PHP论坛人

主屏幕上的全屏APP,带有推送通知、徽章等。

在iOS和iPadOS上安装此APP
  1. 在Safari中轻敲分享图标
  2. 滚动菜单并轻敲添加到主屏幕
  3. 轻敲右上角的添加按钮。
在安卓上安装此APP
  1. 轻敲浏览器右上角的三个点菜单 (⋮) 。
  2. 轻敲添加到主屏幕安装APP
  3. 轻敲安装进行确认。

Invision Community 优化指南 Twemoji、reCAPTCHA、Font Awesome

精选回复

发布于

本文将对 Invision Community 进行一些改动,以提高加载速度和用户体验

前期准备

CDN 列表

感谢以上网站提供的免费 CDN 加速服务,让我们有更好的访问速度

Twemoji

打开 applications\core\data\javascript.xml
applications\core\data\lang.xml
system\Output\Output.php

 
https://twemoji.maxcdn.com/2/72x72

全部替换为

 
https://cdn.jsdelivr.net/gh/twitter/twemoji/assets/72x72

reCAPTCHA

打开 applications\core\data\javascript.xml
applications\core\data\theme.xml
system\Helpers\Form\Captcha\Invisible.php
system\Helpers\Form\Captcha\Recaptcha2.php

 
https://www.google.com/recaptcha

全部替换为

 
https://www.recaptcha.net/recaptcha

Font Awesome

打开 admin\install\css\fonts.css
admin\upgrade\css\fonts.css

 
../font

全部替换为

 
https://cdn.staticfile.org/font-awesome/4.0.3/fonts


打开 applications\core\data\theme.xml

 
http://netdna.bootstrapcdn.com

替换为

 
https://cdn.staticfile.org

 
{url="applications/core/interface/font/fontawesome-webfont.woff2?v=4.7.0" base="none" noprotocol="true"}

全部替换为

 
https://cdn.staticfile.org/font-awesome/4.7.0/fonts/fontawesome-webfont.woff2?v=4.7.0

 
{url="applications/core/interface/font/fontawesome-webfont.woff?v=4.7.0" base="none" noprotocol="true"}

替换为

 
https://cdn.staticfile.org/font-awesome/4.7.0/fonts/fontawesome-webfont.woff?v=4.7.0

 
{url="applications/core/interface/font/fontawesome-webfont.ttf?v=4.7.0" base="none" noprotocol="true"}

替换为

 
https://cdn.staticfile.org/font-awesome/4.7.0/fonts/fontawesome-webfont.ttf?v=4.7.0


完成

本帖最后于,由Jack编辑

创建帐户或登录后发表意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.