Introduction

Modified based on Flarum CV 0.7.4. Therefore, the installation requirements are the same as those for the official Flarum Beta 7.

The modifications include:

  • Three-column homepage: left sidebar + discussion list + right sidebar
  • Removed the top Hero module
  • Ported Hero welcome section, with the content displayed directly
  • Added a notification bar, where the title and content can be entered in the admin panel
  • Forum statistics, including total registered users, total discussions, total replies, online users, members online within the past 24 hours, and newly registered members (hidden from guests because it uses a poor database query that may affect performance)

Modified the homepage category list by adding progress bars showing the proportion occupied by each category, with the number of discussions displayed for each category (a Flarum issue: the calculation may sometimes be incorrect; please modify the database yourself. After correcting it, the statistics will most likely not be incorrect again in the future)

The user page displays the total proportion of forum discussions and replies posted by the user

Modified the style of the category list page

Category tags support switching between Chinese and English: when the forum language is set to Simplified Chinese, the Chinese name is displayed; when another language is selected, the tag's internal link name is displayed

The top of the post list within a discussion displays participants, the number of replies, and the time of the last reply

The post list within a discussion displays user levels (calculated based on the number of topics and replies posted)

The post list within a discussion displays floor numbers. Clicking a floor number opens a sharing menu, which includes QQ, Sina Weibo, WeChat, Twitter, and Facebook by default

The post list within a discussion displays the thread starter

Modified the style of the post editor

Fixed the incorrect display of Chinese date formats in the flagrow/users-list admin panel

Fixed the error where clicking a link caused a login window to pop up due to login2see

Updated reflar/user-management to the latest version

Pinned posts display thumbnails, even when the Summaries extension is not enabled

Added the jordanjay29/flarum-ext-summaries extension, supporting discussion content previews; changed the default displayed character count to 150 and added thumbnail display, showing only the first image!

Added the michaelbelgium/flarum-discussion-views extension, supporting the display of discussion view counts; changed the style to two rows, changed the displayed icon, and hid view counts on mobile devices.

Known issue: If an image is selected as the best answer, an error will occur where the image lightbox automatically pops up (Why not fix it? Because I don't think that image makes an interesting best answer.)

FAQ:

Q: Can I upgrade to the CV modified extension version if I have already installed another version of Flarum?
A: No problem at all; just overwrite it directly. After installing the CV modified extension version, you can also upgrade to or overwrite it with another version.

This is not the latest version. It does not include a voting extension (because the voting extension I modified is too old, so reinstalling it would be better), nor the three rings on the right that serve as decoration. Everything else is the same as on this site.

Not completed: I originally planned to make the color bars for the tags on the left side of the homepage depend on the length of the statistical values, using LESS subtraction to produce a reasonable style. However, the virtual machine I used locally to test the modifications crashed, so I gave up. If a tag has too many posts, it will exceed the width of the left sidebar.

This time, I will not require replies to view it, but I still hope that those who download it will leave a comment.