ECNU Forum based on Flarum.

Overview

ecnuim-logo

ECNU Forum

ECNU Forum based on Flarum.

iShot2022-04-12 16 33 14 iShot2022-04-12 16 35 12

Welcome to ECNU Forum, where every ECNU student can speak freely. Note that this is not an official forum of ECNU.

References

Instructions on installation, usage, extensions and extensions development can be found below:

Contributions

Any contributions are welcome. Please feel free to:

  • Open an Issue
  • Creating a Pull Request
  • Comment in an Issue / PR
  • Open a Discussion

Thank you for willing to contribute to this project!

LICENSE

Distributed under the MIT License. See LICENSE for more information.

Acknowledgements

Many thanks to all the flarum extension developers as well as all the contributors of this repo.

Comments
  • [FEAT] 让页面左侧标签栏随页面滚动,不要固定在页面上

    [FEAT] 让页面左侧标签栏随页面滚动,不要固定在页面上

    场景描述

    目前页面左侧的标签栏是固定在页面上的,就是无论页面下翻多少页,标签栏始终可见。这样的设置是方便了一点标签之间的转跳,但还存在如下问题:

    1. 交互逻辑混乱。由于标签栏不随整体页面滚动,而贴子可以随页面滚动,所以标签栏与贴子部分的逻辑是不同的,标签栏的滚动应该不依赖于贴子部分。但是目前的情况是,一方面如果贴子部分的高度不够,标签栏无法滚动出全部标签。只有贴子部分加载了更多了之后,页面高度足够了,标签栏才可以顺利滚动到底部。另一方面在标签栏上滚动鼠标滚轮,如果到达了标签顶部或底部,页面就会跟随滚动。这样分不清到底是在滚动标签栏还是在滚动页面;
    2. 如果标签过多实际上比之不固定更为不便。因为滚动逻辑比较混乱,不滚动可能还好,但是如果需要滚动,比如标签很多的情况,由于有点难以捉摸行为后果,实际上固定在页面上并不比行为可预测的随页面滚动更好用;
    3. “发布主题”按钮随页面滚动,心理上它应该一直与标签栏的这些标签在一起,这会造成在翻了很多贴子之后找“发布主题”按钮时一直在滚动却始终看不到的情况;
    4. 引入潜在 BUG。目前对于标签栏固定的实现还不完善,我已经反馈了一些 BUG,今天又发现两个 BUG(见附图);
    5. 影响页面加载速度。这是我的猜测,固定标签栏需要页面进行额外的计算,增加加载负担,降低加载速度。

    关于固定标签栏是否有必要:

    我的看法是没有必要。“全部主题”是全部信息的汇聚地,在这里浏览翻页(就是不停地“加载更多”主题)可以看到全部标签的信息(前提是没有标签的信息被隐藏),不需要转跳到其他标签。而在其他标签里浏览的时候,如果需要转跳,更多时候是转跳到“全部主题”。只有快速翻看各个标签的贴子时才会在标签之间频繁跳动。标签的固定很大一部分原因是为了方便在浏览贴子时跳到其他标签,但是这种需求可能没有想像中那么多吧。

    当然说到底,以上可以总结为“偏见”,都固定了这么久,我始终不适应。

    附图,图一是“全部主题”标签显示不全,图二是标签栏不显示。这不是大问题,刷新一下就没有了。

    图一: qsjUbD.png

    图二: qsjNDO.png

    预期解决方案

    让页面左侧标签栏随页面滚动,不要固定在页面上

    补充信息

    No response

    enhancement wontfix 
    opened by chguw 6
  • [BUG] 未登陆状态菜单栏切换主题按钮会有三个状态

    [BUG] 未登陆状态菜单栏切换主题按钮会有三个状态

    当前行为

    Light Mode -> Setting -> Dark Mode 但是 Setting 无效

    https://user-images.githubusercontent.com/31304335/159145934-4d574c41-d50a-4c1b-8438-6ef1d72aeb43.mov

    预期行为

    No response

    复现步骤

    No response

    平台信息

    PC

    浏览器信息

    Chrome

    用户状态信息

    未登录

    补充信息

    No response

    invalid 
    opened by jjaychen1e 6
  • [BUG] 标签栏的跳动

    [BUG] 标签栏的跳动

    当前行为

    到达页面底部下拉加载更多主题时标签栏会出现跳动的情况。

    例如在这个例子中,当前标签栏底部是“灌水闲聊”,到达了页面底部下拉加载之后,跳出了“实验问卷”,等页面加载完成,“实验问卷”又跳回去了。

    例子见 https://youtu.be/1J8FYsIWXj4

    预期行为

    没有跳动

    复现步骤

    No response

    平台信息

    PC

    浏览器信息

    Chrome

    用户状态信息

    版主

    补充信息

    No response

    invalid 
    opened by chguw 4
  • [Bug Fix] Fix incomplete translations

    [Bug Fix] Fix incomplete translations

    Problem Summary

    Fix incomplete translations for users not logged in (mobile only)

    Bug Report

    WX20220318-130438@2x

    Code Change

    "fof-nightmode.forum.header.nightmode_button":"Toggle forum theme"
    =====>
    "fof-nightmode.forum.header.nightmode_button":"\u5207\u6362\u8bba\u575b\u4e3b\u9898"
    

    Contribution

    Forum id: jacklight (wanna a beautiful Badge (:з」∠))

    opened by jacklightChen 4
  • [BUG] docker build 在composer install 出错

    [BUG] docker build 在composer install 出错

    当前行为

    docker build -t flarum-custom .
    

    结果在composer install出错

    Step 7/7 : RUN composer install
     ---> Running in 073377aa06d3
    Installing dependencies from lock file (including require-dev)
    Verifying lock file contents can be installed on current platform.
    Your lock file does not contain a compatible set of packages. Please run composer update.
    
      Problem 1
        - aws/aws-sdk-php is locked to version 3.214.0 and an update of this package was not requested.
        - aws/aws-sdk-php 3.214.0 requires ext-simplexml * -> it is missing from your system. Install or enable PHP's simplexml extension.
      Problem 2
        - aws/aws-sdk-php 3.214.0 requires ext-simplexml * -> it is missing from your system. Install or enable PHP's simplexml extension.
        - league/flysystem-aws-s3-v3 1.0.29 requires aws/aws-sdk-php ^3.20.0 -> satisfiable by aws/aws-sdk-php[3.214.0].
        - league/flysystem-aws-s3-v3 is locked to version 1.0.29 and an update of this package was not requested.
    
    To enable extensions, verify that they are enabled in your .ini files:
        - /etc/php8/php.ini
        - /etc/php8/conf.d/00_ctype.ini
        - /etc/php8/conf.d/00_curl.ini
        - /etc/php8/conf.d/00_dom.ini
        - /etc/php8/conf.d/00_fileinfo.ini
        - /etc/php8/conf.d/00_gd.ini
        - /etc/php8/conf.d/00_gmp.ini
        - /etc/php8/conf.d/00_iconv.ini
        - /etc/php8/conf.d/00_intl.ini
        - /etc/php8/conf.d/00_mbstring.ini
        - /etc/php8/conf.d/00_opcache.ini
        - /etc/php8/conf.d/00_openssl.ini
        - /etc/php8/conf.d/00_pdo.ini
        - /etc/php8/conf.d/00_session.ini
        - /etc/php8/conf.d/00_tokenizer.ini
        - /etc/php8/conf.d/00_xmlwriter.ini
        - /etc/php8/conf.d/00_zip.ini
        - /etc/php8/conf.d/01_exif.ini
        - /etc/php8/conf.d/01_mysqlnd.ini
        - /etc/php8/conf.d/01_phar.ini
        - /etc/php8/conf.d/02_pdo_mysql.ini
        - /etc/php8/conf.d/apcu.ini
        - /etc/php8/conf.d/www.ini
    You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode.
    Alternatively, you can run Composer with `--ignore-platform-req=ext-simplexml --ignore-platform-req=ext-simplexml` to temporarily ignore these required extensions.
    The command '/bin/sh -c composer install' returned a non-zero code: 2
    

    预期行为

    顺利创建容器

    复现步骤

    git checkout dev
    ./build-docker.sh 
    

    平台信息

    其他

    浏览器信息

    其他

    用户状态信息

    未登录

    补充信息

    环境

    ··· uname -a [0:30:01] Linux ecnu5-MS-7A95 5.4.0-90-generic #101~18.04.1-Ubuntu SMP Fri Oct 22 09:25:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

    docker-compose --version
    docker-compose version 1.27.4, build 40524192 ···

    看这个信息可能原始镜像没有足够依赖,需要有php经验的大佬进一步确认

    bug 
    opened by tianyilt 3
  • 配置化 | 特定版块支持匿名 & 全部主题页关闭特定版块信息流

    配置化 | 特定版块支持匿名 & 全部主题页关闭特定版块信息流

    场景描述

    1. 当前平台用户处于半匿名状态,易识别出其他用户的真实身份,建议新增匿名功能。匿名功能维护难度大,平台存在被举报风险,建议匿名功能仅对特定版块开放
    2. 针对特定版块,大量发帖的情况,不建议在全部主题中显示(目前没有过滤主题的功能)

    预期解决方案

    1. 建议匿名功能仅对特定版块开放(eg 表白墙)
    2. 针对特定版块(eg 表白墙),相关帖不在全部主题中显示

    补充信息

    No response

    enhancement wontfix Difficult 
    opened by panini519 3
  • 屏幕宽度不足时显示错位问题 & 分享功能

    屏幕宽度不足时显示错位问题 & 分享功能

    1 排版问题。这三张分别是 Windows 系统非最大化窗口、iPad 竖版和横版的单个主题页面。排版问题存在于顶部,从搜索框开始位置就错位了

    qiZ0e0.png qiZdLq.jpg qiZayn.jpg

    2 通知中心的小铃铛不会自动清零,就算浏览了相应的主题也不会,必须点勾勾才行。电脑端影响还好,移动端因为底部 Tab 有“通知中心”,不停地提示着未读信息(实际上我已经都浏览了,只是没有点勾勾给它清掉而已),对于强迫症很难忍

    3 移动端发布主题是右上角的小图标,我个人认为不是很明显,是否改为像电脑端那样的蓝底白字按钮会好一点?

    4 页面的“夜间模式”要是能跟随系统就更好了

    5 链接预览我这里显示不出来,一直在转圈圈。另外就算是可以显示出来我建议不要占据太大版面,毕竟只是辅助,不要掩盖主题内容

    6 搜索功能不好用,比如我搜“bilibili”可以搜到内容,搜“bili”就搜不到,搜单个字,比如“是”也返回“空空如也”

    7 建议增加主题的阅读次数计数

    8 建议增加分享功能,比如将贴子分享到朋友圈或聊天群里

    bug enhancement Difficult 
    opened by chguw 3
  • [FEAT] 回复贴子与关注贴子解绑

    [FEAT] 回复贴子与关注贴子解绑

    场景描述

    目前论坛的行为是,回复了贴子则自动关注该贴子,这个行为与回复而不关注相比具有一些不合理的地方:

    1. 如果不想关注贴子则每次回复之后都要去取关贴子,这比当想关注再去关注只需点一次成本高很多;
    2. 回复与关注是两个行为,两者是分离的(至于为何会出现回复贴子而不想关注的情况,我举个例子,就像每次我路过这个贴子,我随便看一眼,有什么想说的就回复一下,但是至于以后谁还来回复了,回复了什么,我不想每个都接到通知,不遗漏任何信息的通知是一种更深入的参与,我参与这个贴子纯粹只是一时的机缘与兴趣);
    3. 关注和回复合二为一带来的是深度卷入,不想深度卷入就会被排除在参与讨论之外(为什么这么说呢,就像三块钱的早餐,我把定价抬到了六块钱,那么就会限制一大批不想吃六块钱早餐的人),不利于自由表达;
    4. 我认为论坛应努力降低沟通交流的成本,包括发贴的成本(可以很轻松自在地发贴,不要去翻陈年旧贴,不要努力思考用哪个标签好,不要考虑这个是考研信息好像论坛不让发,这个是招聘信息好像会引起某些人的焦虑;可以想参与就参与,想退出就退出,不要像一些商家一样,一旦注册了就天天发垃圾短信,还要主动去退订),包括看贴的成本(去掉影响速度的不一定每个人都需要的功能,提高每个人都能感受到的加载速度;去掉华而不实的费神费眼的低对比度配色,自然明确的配色才是应该追求的东西),包括参与的成本(有个清晰明确的守则,对自己的行为有预期,不会被莫名其妙地加要求,不会被莫名其妙地合并、移动、改标题,对于不合理的守则可以提出修改要求)。

    第四点只是个人看法和建议,供你们参考。另外附上一个相关但看似相反的功能需求 https://github.com/ECNU-Forum/ECNU-Forum/issues/33

    预期解决方案

    解绑回复与关注

    补充信息

    No response

    invalid 
    opened by chguw 2
  • [BUG] 个人页面标签跳动

    [BUG] 个人页面标签跳动

    当前行为

    在个人页面下拉加载时左侧标签会出现先下移再跳回的奇怪行为(对不起管理员,以你为例子)

    视频见 https://youtu.be/pjudFzXcLiQ

    预期行为

    随页面滚动消失或固定在页面上不移动不跳动

    复现步骤

    No response

    平台信息

    PC

    浏览器信息

    Chrome

    用户状态信息

    版主

    补充信息

    No response

    bug 
    opened by chguw 2
  • [BUG] 安卓端下滚重复出现置顶帖

    [BUG] 安卓端下滚重复出现置顶帖

    当前行为

    在android端下滚,发现置顶帖重复出现。 验证方式如图所示,我用手机端的自动滚屏截图,可以看到,这个置顶帖多次出现。说明每次滚屏刷新都会的导致置顶帖重复出现 Uploading Screenshot_20220321_032357_com.android.chrome.jpg…

    预期行为

    不会重复出现内容,按照排序继续显示新的帖子

    复现步骤

    手机访问,然后向下滚

    平台信息

    Android

    浏览器信息

    Chrome

    用户状态信息

    版主

    补充信息

    No response

    bug Need Reproduce 
    opened by tianyilt 2
  • [BUG] 投票编辑框未保存消失问题

    [BUG] 投票编辑框未保存消失问题

    当前行为

    投票编辑框编辑到一半,鼠标移出框外时编辑框消失,且未保存。

    预期行为

    提交前不会消失,更酷的话自动保存

    复现步骤

    1. 发布主题,发起投票,输入内容
    2. 鼠标编辑框外点击
    3. 编辑框就消失了
    4. 重新点开,曾输入的内容均无保存

    平台信息

    PC

    浏览器信息

    Chrome

    用户状态信息

    版主

    补充信息

    No response

    enhancement wontfix 
    opened by WonderTool 2
  • [BUG] 投票选项在移动端的排版

    [BUG] 投票选项在移动端的排版

    当前行为

    投票选项在移动端的排序有点奇怪,而且各个选项大小也不一样。建议选项排序改成单列,由上至下排列。原帖见 https://ecnu.im/d/563

    微信图片_20220405162241

    预期行为

    No response

    复现步骤

    No response

    平台信息

    iOS

    浏览器信息

    Safari

    用户状态信息

    普通用户

    补充信息

    No response

    bug good first issue 
    opened by chguw 1
  • [BUG] fancybox 在图片与列表无空行间隔时不生效

    [BUG] fancybox 在图片与列表无空行间隔时不生效

    当前行为

    image
    - 第一项
    - 第二项
    https://ecnu-1301249076.cos.ap-hongkong.myqcloud.com/2022-03-27/1648356953-746923-image.png
    

    预期行为

    image

    以下内容则正常:

    - 第一项
    - 第二项
    
    https://ecnu-1301249076.cos.ap-hongkong.myqcloud.com/2022-03-27/1648356953-746923-image.png
    

    复现步骤

    No response

    平台信息

    PC, Android, iOS, 其他

    浏览器信息

    Chrome, Firefox, Safari, Edge, 其他

    用户状态信息

    普通用户, 版主, 管理员

    补充信息

    No response

    bug 
    opened by jjaychen1e 0
  • [FEAT] 回复显示楼层数

    [FEAT] 回复显示楼层数

    场景描述

    没有显示楼层数,难以定位或告诉他人应该看哪一层。 A 查看 B 回应 C 的文,难以定位 C 文在哪一楼。

    预期解决方案

    在每层楼显示楼数。第1楼、第2楼、第3楼 etc, 目前回复无法紧贴在楼层下,可以在 @某人回复时显示: @Emandia 第一层 XXXXXXX(要说的话)

    补充信息

    image enhancement Low-priority 
    opened by WonderTool 2
Discussion (forum) and Q&A platform. Community based on PHP Micro-Framework HLEB.

Agouti Discussion (forum) and Q&A platform. Community based on PHP Micro-Framework HLEB. Ideas We like the classification system based on labels (tags

AgoutiDev 59 Dec 22, 2022
This is a Laravel based Blog post forum.

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Hossain Mohammad Shahidullah Jaber 4 Nov 17, 2022
Laravel Forum

No taking care of this package anymore. Socieboy Forum Package for Laravel 5.2 Features Create conversations. Reply existing conversations. Support fo

Frank Sepulveda 71 Oct 2, 2020
A slim, lean forum package designed for quick and easy integration in Laravel projects

Complete documentation is available on teamteatime.net. Installation Requires Laravel 6+ and PHP 7.4+. Step 1: Install the package Install the package

TeamTeaTime 486 Dec 31, 2022
A discussion forum for coders

CodeQuery CodeQuery CODE WANTS TO BE SIMPLE is the place to find help with your coding and programming queries. Steps To Configurate Project Clone thi

Aman Sharma 1 Nov 3, 2021
A forum created with Laravel, Socket.io, and Tailwind CSS.

A forum created with Laravel, Socket.io, and Tailwind CSS.

Steven Lei 164 Nov 21, 2022
PHPHub is a Forum project written in Laravel

PHPHub is a Forum project written in Laravel

Summer 1.8k Dec 26, 2022
Forum Diskusi Mahasiswa Informatika Berbasis Web menggunakan Framework Laravel & Bootstrap

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Aliffathur Risqi Hidayat 2 Oct 6, 2022
Web Based, Cloud IDE

Codiad Web IDE Codiad is a web-based IDE framework with a small footprint and minimal requirements. Codiad was built with simplicity in mind, allowing

Codiad IDE 2.8k Dec 30, 2022
Koel is a simple web-based personal audio streaming service written in Vue and Laravel

Koel (also stylized as koel, with a lowercase k) is a simple web-based personal audio streaming service written in Vue on the client side and Laravel on the server side. Targeting web developers, Koel embraces some of the more modern web technologies – CSS grid, audio, and drag-and-drop API to name a few – to do its job.

Koel 14.3k Jan 4, 2023
TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application

TinyFileManager is web based file manager and it is a simple, fast and small file manager with a single file, multi-language ready web application for storing, uploading, editing and managing files and folders online via web browser. The Application runs on PHP 5.5+, It allows the creation of multiple users and each user can have its own directory and a build-in support for managing text files with cloud9 IDE and it supports syntax highlighting for over 150+ languages and over 35+ themes.

Prasath Mani 3.5k Jan 7, 2023
PHP, MySQL and JS based web chat application

About The Project Chat Application coded in PHP, CSS3 and JS. This is just a project to learn and improve understanding on certain topics. This is not

Neil 8 Apr 18, 2022
LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring system

LibreNMS is an auto-discovering PHP/MySQL/SNMP based network monitoring which includes support for a wide range of network hardware and operating systems including Cisco, Linux, FreeBSD, Juniper, Brocade, Foundry, HP and many more.

LibreNMS Project 3k Dec 30, 2022
Open Source Point of Sale is a web based point of sale application written in PHP using CodeIgniter framework.

Open Source Point of Sale is a web based point of sale application written in PHP using CodeIgniter framework. It uses MySQL as the data back end and has a Bootstrap 3 based user interface.

opensourcepos 2.7k Jan 2, 2023
Web based groupware server written in PHP

EGroupware Tools Usage runs unit-tests after each commit scrutinizer runs static analysis on our codebase manual testing with unusual browser versions

EGroupware 202 Dec 28, 2022
Web based fantasy sports draft app

Hoot Draft makes running drafts for fantasy sports a real hoot! (dad jokes sold separately) Large color-coded draft board updates live during the draf

Matthew Orres 37 Sep 16, 2022
A learning management system (LMS) is a software application or web-based technology used to plan, implement and assess a specific learning process.

vidyaprabodhan-gov-php-project A learning management system (LMS) is a software application or web-based technology used to plan, implement and assess

Narayan Pote 1 Dec 23, 2021
A markdown based blogging platform

OpenPub V2 OpenPub is a markdown based blogging system. The original version of OpenPub was too experimental in the way it handled everything. This ma

Logan Bailey 4 Jun 17, 2021
Vote based Question & Answer site built using Laravel 5.4, material design, x-editable and jQuery Upvote with email and database notifications.

About Vote based Question & Answer site built using Laravel 5.4, material design, x-editable, jQuery Upvote and email/database notifications. Register

Jorge A. Gonzalez 116 Nov 2, 2022