Flarum CV 0.1 Extension Modified New Three-Column Layout Version
Introduction
Modified based on Flarum CV 0.7.4. Therefore, the installation requirements are the same as those for Flarum Official Beta 7.
The modifications include:
- Three columns on the homepage: left sidebar + discussion list + right sidebar
- Removed the top Hero module
Right Sidebar
- 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, number of online users, members online within the past 24 hours, and newly registered members (because it uses a lousy database query, this is hidden from guests to avoid affecting 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 stop being incorrect in the future)
The user page displays the total proportion of the forum occupied by the user's discussions and replies
Modified the style of the category list page
Category labels 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 label'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 post numbers. Clicking a post number opens a sharing menu, which includes QQ, Sina Weibo, WeChat, Twitter, and Facebook by default
The post list within a discussion displays the original poster
Modified the style of the post editor
Fixed the incorrect Chinese date format displayed 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 plugin is not enabled
Added the jordanjay29/flarum-ext-summaries plugin, 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 plugin, supporting the display of discussion view counts; changed the style to two rows, changed the display 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 using that image as the best answer is meaningful.)
FAQ:
Q: Can I upgrade to the modified CV extension version if I have already installed another version of Flarum?
A: No problem at all; simply overwrite it. After installing the modified CV extension version, you can also upgrade to or overwrite-install other versions.
This is not the latest version. It does not include a voting plugin (because the voting plugin I modified is too old, it would be better to reinstall one), nor the three decorative rings on the right. Everything else is consistent with this site.
Incomplete: 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 figures, using LESS subtraction to produce a reasonable style. Unfortunately, the virtual machine I used locally to test the modifications crashed, so I gave up. If a tag has too many posts, it will extend beyond the width of the left sidebar.
This time, I will not require replies to view the content, but I still hope that those who have downloaded it will leave a message.
Comments
(0)No comments yet. Start the conversation.