This article is reproduced in full from flarum-cv.org, with some deletions and modifications, in tribute to @meto

Introduction

The official Flarum dev version was merged into the next-back branch (that is, the beta8 framework version) last Christmas, so this CV 0.7.4 should be the final version of Flarum 0.1.0 beta7. Therefore, the complete changelog of our CV version is listed below, so everyone can understand the differences between this version and the official original version.

Forum screenshot

Core

  • Like 0.7.3, CV 0.7.4 is based on the version updated by Flarum dev on 2017-12-15, with the official 0.1.0 beta 7.1 security patches additionally included.

Localization

Special thanks to vivaldi.club for sharing a large number of Flarum Chinese optimization solutions

  • Usernames support JCK characters (Chinese, Japanese, and Korean characters)
  • Chinese search support
  • Support for @Chinese names
  • Use Chinese date and time formats
  • Remove the slug and display the post ID directly
  • Remove the Google font import
  • Emojione emoticons use a domestic CDN
  • The system, including the third-party plugins bundled with CV, includes Chinese translations made by the author

SEO Optimization

  • Use the first 220 characters of the discussion's first post as the meta description
  • Improve readability for search engine spiders
  • Add a forum keywords option (in fact, keywords are not very meaningful to modern search engines)

Miscellaneous

  • Block the installation of some third-party plugins bundled with CV (if needed, they can be enabled in the administration panel after installation)

Plugin Modifications

  • Official BBCode plugin ⇒ Added tags for inserting videos, audio, and highlighting content, and added some HTML tags
  • Official Tags (tag categories) ⇒ Added forum statistics (total discussions, replies, activated users, and online members) and an online member list below the tag list on the homepage; modified the category list page style; added the number of discussions in each category
  • Official Statistics ⇒ Changed the date format to the Chinese format
  • Mediaembed ⇒ Added support for embedding NetEase Cloud Music (albums, individual tracks, and playlists), Bilibili videos, Tencent videos, and other videos; supports automatically displaying links and automatically displaying images
  • Links navigation menu plugin ⇒ Fixed the issue where the language of the submit button could not be switched
  • Pages (custom pages) plugin ⇒ Fixed the issue where the homepage could not be restored after deleting the page set as the homepage; added homepage button display toggling (after clicking to set it, clicking a second time cancels it)
  • Customfooter (custom footer) ⇒ Removed the built-in styles, changed it to fixed centered display, and modified the styles to match white or black forum backgrounds
  • Emojionearea (tag preview) ⇒ Hard-coded Chinese categories
  • Login2see (visible when logged in) ⇒ Fixed the issue where clicking a link automatically opened the login window after enabling the plugin
  • Best-answer ⇒ Reorganized the language files, changed the answer badge prompt in the discussion list to “Answered,” and prevented the first post of a discussion from being set as the best answer
  • User-management (member warnings) ⇒ Removed the original plugin's erroneous behavior of allowing warnings to be applied to prompt posts for operations such as pinning, locking, and renaming
  • Flarum-ext-markdown-editor (editor) ⇒ Added many commonly used buttons and rewrote the LESS styles to support inserting buttons for font size, font color, highlighting, alignment modes, click-to-view, reply-to-view, and more
  • Users-list (member management) ⇒ Rewrote most of the content; added user badge display, user registration time, user edit buttons, and user sorting buttons (A-Z, Z-A, recently online, longest offline, inactive); the title bar displays the total number of forum members and the numbers of activated and inactive users
  • Upload (attachment upload) ⇒ Updated to 0.6.0, added a simple CSS lightbox, and modified the default image template
  • Flarum-ext-sitemap (sitemap) ⇒ Fixed the issue where publishing a discussion after using a Chinese title resulted in an error (enabling Chinese support)
  • Flarum-ext-summaries (display discussion descriptions) ⇒ Added thumbnail display, fixed the thumbnail size, used cover to display images, and fixed the issue in previous versions where all images in the first post of discussions were automatically loaded when loading the homepage
  • Flarum-discussion-views (discussion view count) ⇒ Fixed the issue where the official version did not support switching to third-party languages

Other Modifications

  • Added an “OP” display to the post list
  • Displayed floor numbers in the post list
  • Clicking the floor number opens sharing buttons, allowing the floor content to be shared to QQ, WeChat, Sina Weibo, Twitter, and Facebook

Installation Instructions

Please follow these instructions strictly

System Requirements

WEB server: Apache, Nginx, Lighttpd
PHP 7.0+ (0.7.4 supports PHP 7.2) and these extensions: mbstring, pdo_mysql, openssl, json, gd, dom, fileinfo; enable scandir
MySQL 5.5+

If you use an LNMP or LAMP installation environment, you are only missing the fileinfo extension. Please refer to this post for installation instructions. For how to cancel the disabling of scandir, please search Baidu yourself.

Fresh Installation

Download the 7z archive, extract it, then repackage it as a zip and upload it to the server root directory for extraction (the patch.zip file inside must also be packaged), then open the website homepage to begin installation. Refer to the installation tutorial during installation, and do not fill in the database prefix. Important: After the installation succeeds and the forum homepage is displayed, extract the patch.zip patch package in the server's extracted root directory and overwrite the contents.

Upgrade Installation

Upgrades involve risks; please remember to back up your data

Download the 7z archive, extract it, then extract and overwrite the patch.zip inside (pay attention to the path; if using WinRAR, right-click and select “Extract to current folder.” If the extraction process does not prompt you whether to overwrite files, your extraction path is incorrect). After extraction is complete, delete patch.zip, then package all the contents directly into a zip and extract it in your website root directory.

Important: Before uploading the archive, delete the vendor folder in your website root directory, delete all files with the css, js, and json suffixes inside the assets/ folder, and also delete the storage folder. After extracting the files, simply reset the permissions of storage to 777. After successful installation, remember to press Ctrl + F5 to refresh the browser cache.

Partial Preview

Forum statistics - thumbnails

(To use thumbnails, enable the summaries plugin.)

Forum statistics thumbnails

Dashboard

Dashboard

Members

Members

Custom pages - status after setting as homepage

Custom pages

Editor

Editor

Display of the OP and sharing buttons

OP sharing buttons

Category list

Category list

Meto's Words

China is a relatively stable version, while CV is for people who enjoy tinkering.

Since you have already installed the China version, there is no need to try upgrading to the CV version.