1.8.x Tính Năng: PWA+AMP

Preview

Tác giả: rickey29

Phiên bản: 2.4.0

Gửi lúc: 02/05/2020

Cập nhật lúc: 02/05/2020

Moderation
Mô tả
PWA+AMP MyBB
################
version: 2.4.0
last updated: Sat., May 01, 2020

Description
++++++++++++++++
Converts MyBB into Progressive Web Apps and Accelerated Mobile Pages styles.

Highlight
++++++++++++++++
AMP can only work based on HTTPS -- you need to update your server to support SSL/HTTPS.

Open Issues
++++++++++++++++
* https://github.com/GoogleChrome/lighthouse/issues/7158
* https://github.com/SuperPWA/Super-Progre...issues/105

Infrastructure
++++++++++++++++
This version is developed based on MyBB version from 1.8.0 to 1.8.22.

Download
++++++++++++++++
-- GitHub: https://github.com/rickey29/pwamp-mybb
-- MyBB Plugins Libraries: https://community.mybb.com/mods.php?acti...w&pid=1364

Installation
++++++++++++++++

step 0:
================
Assume your MyBB website is located at: "http://yoursite.com".

step 1:
================
Extract PWA+AMP MyBB zip package on your PC, you will get a "pwamp" directory.

step 2:
================
Upload following file and directory within above "pwamp" directory
-- pwamp.php
-- pwamp (folder with other files & sub-folders)

to your website "/inc/plugins" directory, so you will have follow new file and directory:
-- http://yoursite.com/inc/plugins/pwamp.php
-- http://yoursite.com/inc/plugins/pwamp (folder with other files & sub-folders)

step 3:
================
Browse to Admin Control Panel -> Configuration -> Plugins, find "PWA+AMP MyBB" plugin, click the "Activate" link to activate it.

Configuration
++++++++++++++++
None.

Upgrade Notice
++++++++++++++++
None.

Uninstallation
++++++++++++++++

step 0:
================
Assume your MyBB website is located at: "http://yoursite.com".

step 1:
================
Navigate to Admin Control Panel -> Configuration -> Plugins, find "PWA+AMP MyBB" plugin, click the "Deactivate" link to deactivate it.

step 2:
================
If you want to uninstall the plugin permanently, you should delete following file and directory within your website:
-- http://yoursite.com/inc/plugins/pwamp.php
-- http://yoursite.com/inc/plugins/pwamp (folder with other files & sub-folders)

Frequently Asked Questions
++++++++++++++++

How to check my website AMP validation status?
================
I use Chrome AMP Validator Extension: https://chrome.google.com/webstore/detai...poocbbmknc .  You can Google to find more solution.

How to audit my website PWA validation status?
================
I use Chrome Lighthouse Extension: https://chrome.google.com/webstore/detai...mmfjpmpbjk .  You can Google to find more solution.

How to add website to mobile device home screen?
================
You can Google to find the solution, for example, this one: https://www.howtogeek.com/196087/how-to-...or-tablet/ .

History
++++++++++++++++
version 2.4.0 (Sat., May 01, 2020)
-- code optimization

version 2.3.0 (Wed., Apr. 15, 2020)
-- improvement: Support more form post functions.

version 2.2.0 (Sat., Apr. 11, 2020)
-- bug fix: Add support for language file to other languages, instead of only to English.

version 2.1.0 (Fri., Apr. 10, 2020)
-- bug fix: Corrupt PNG image causes non-recoverable fatal PHP error

version 2.0.0 (Fri., Apr. 10, 2020)
-- improvement: re-write transcoding section

version 1.0.0 (Fri., Jun. 28, 2019)
-- new feature: inline with PWAMP phpBB 3.2

version 0.1.0 (Wed., May 15, 2019)
-- prototype development

Support
++++++++++++++++
author: Rickey Gu
web: https://flexplat.com
email: rickey29@gmail.com
twitter: @rickey29

Copyright and Disclaimer
++++++++++++++++
This application is open-source software released under the GNU Lesser General Public License Version 3: "http://fsf.org/".
PWA + AMP MyBB
################
Phiên bản: 2.4.0
Cập nhật lần cuối: Thứ Bảy, 01 Tháng Năm, 2020

Sự miêu tả
++++++++++++++++
Chuyển đổi MyBB thành các kiểu Ứng dụng web lũy tiến và Trang di động tăng tốc.

Nổi bật
++++++++++++++++
AMP chỉ có thể hoạt động dựa trên HTTPS - bạn cần cập nhật máy chủ của mình để hỗ trợ SSL/HTTPS.

Các vấn đề mở
++++++++++++++++
* https://github.com/GoogleChrome/lighthouse/issues/7158
* https://github.com/SuperPWA/Super-Progre...issues/105

Cơ sở hạ tầng
++++++++++++++++
Phiên bản này được phát triển dựa trên phiên bản MyBB từ 1.8.0 đến 1.8.22.

Tải xuống
++++++++++++++++
-- GitHub: https://github.com/rickey29/pwamp-mybb
-- Thư viện MyBB Plugins: https://community.mybb.com/mods.php?acti...w&pid=1364

Cài đặt
++++++++++++++++

Bước 0:
================
Giả sử trang web MyBB của bạn được đặt tại: "http://yoursite.com".

Bước 1:
================
Giải nén gói zip PWA + AMP MyBB trên PC của bạn, bạn sẽ nhận được một thư mục "pwamp".

Bước 2:
================
Tải lên tệp và thư mục sau trong thư mục "pwamp" ở trên
-- pwamp.php
-- PWAMP (thư mục với các tệp và thư mục con khác)

vào thư mục "/ inc / plugins" trang web của bạn, vì vậy bạn sẽ có theo tệp và thư mục mới:
-- http://yoursite.com/inc/plugins/pwamp.php
-- http://yoursite.com/inc/plugins/pwamp (thư mục với các tệp và thư mục con khác)

Bước 3:
================
Duyệt đến Bảng điều khiển quản trị viên -> Cấu hình -> Plugins, tìm "PWA + AMP Plugin MyBB", nhấp vào liên kết "Kích hoạt" để kích hoạt nó.

Cấu hình
++++++++++++++++
Không ai.

Thông báo nâng cấp
++++++++++++++++
Không ai.

Gỡ cài đặt
++++++++++++++++

Bước 0:
================
Giả sử trang web MyBB của bạn được đặt tại: "http://yoursite.com".

Bước 1:
================
Điều hướng đến Bảng điều khiển quản trị viên -> Cấu hình -> Plugins, tìm "PWA + AMP Plugin MyBB", nhấp vào liên kết "Hủy kích hoạt" để hủy kích hoạt nó.

Bước 2:
================
Nếu bạn muốn gỡ cài đặt plugin vĩnh viễn, bạn nên xóa tệp và thư mục sau trong trang web của mình:
-- http://yoursite.com/inc/plugins/pwamp.php
-- http://yoursite.com/inc/plugins/pwamp (thư mục với các tệp và thư mục con khác)

Những câu hỏi thường gặp
++++++++++++++++

Làm thế nào để kiểm tra trạng thái xác thực AMP trang web của tôi?
================
Tôi sử dụng Tiện ích mở rộng trình xác thực AMP của Chrome: https://chrome.google.com/webstore/detai...poocbbmknc .  Bạn có thể Google để tìm thêm giải pháp.

Làm thế nào để kiểm tra trạng thái xác thực PWA trang web của tôi?
================
Tôi sử dụng tiện ích mở rộng của Chrome Lighthouse: https://chrome.google.com/webstore/detai...mmfjpmpbjk .  Bạn có thể Google để tìm thêm giải pháp.

Làm thế nào để thêm trang web vào màn hình chính của thiết bị di động?
================
Bạn có thể Google để tìm giải pháp, ví dụ: https://www.howtogeek.com/196087/how-to-...or-tablet/ .

Lịch sử
++++++++++++++++
phiên bản 2.4.0 (Thứ Bảy, ngày 01 tháng 5 năm 2020)
- Tối ưu hóa mã

phiên bản 2.3.0 (Thứ tư, ngày 15 tháng 4 năm 2020)
-- cải tiến: Hỗ trợ nhiều chức năng bài đăng biểu mẫu hơn.

phiên bản 2.2.0 (Thứ Bảy, ngày 11 tháng 4 năm 2020)
-- sửa lỗi: Thêm hỗ trợ cho tệp ngôn ngữ sang các ngôn ngữ khác, thay vì chỉ cho tiếng Anh.

Phiên bản 2.1.0 (Thứ Sáu, ngày 10 tháng 4 năm 2020)
-- sửa lỗi: Hình ảnh PNG bị hỏng gây ra lỗi PHP nghiêm trọng không thể khôi phục

Phiên bản 2.0.0 (Thứ Sáu, ngày 10 tháng 4 năm 2020)
-- cải tiến: viết lại phần chuyển mã

Phiên bản 1.0.0 (Thứ Sáu, ngày 28 tháng 6 năm 2019)
- tính năng mới: nội tuyến với PWAMP phpBB 3.2

phiên bản 0.1.0 (Thứ tư, ngày 15 tháng 5 năm 2019)
- Phát triển nguyên mẫu

Hỗ trợ
++++++++++++++++
tác giả: Rickey Gu
Web: https://flexplat.com
Email: [email được bảo vệ]
Twitter: @rickey29

Bản quyền và Tuyên bố từ chối trách nhiệm
++++++++++++++++
Ứng dụng này là phần mềm mã nguồn mở được phát hành theo Giấy phép Công cộng Ít hơn GNU Phiên bản 3: "http://fsf.org/".