Skip to content

HaiGeMaster/MaterialDesignForum-Server

Repository files navigation

[CN] Material Design Forum - 现代化网页论坛应用

产品概述

Material Design Forum是一款基于网页的论坛应用程序,致力于为用户提供:

  • 卓越的交互体验
  • 视觉享受
  • 符合Material Design核心理念的界面设计

UI设计与技术实现

框架与主题

  • 前端框架:Vuetify 2
  • 客户端主题:MDUI 2.0
  • 设计规范:严格遵循Material Design

响应式布局

  • 支持设备类型:
    • PC(桌面端)
    • Pad(平板设备)
    • Mobile(移动设备)
  • 特点:
    • 智能识别设备类型
    • 浏览器窗口自适应
    • 无缝布局切换

核心功能

用户功能

  • 内容发布:
    • 发起话题
    • 提出问题
    • 撰写文章
  • 互动功能:
    • 发表回答
    • 参与评论
    • 进行回复

管理员功能

  • 内容管理:
    • 话题/提问/文章/回答/评论/回复的CRUD操作
  • 后台工具:
    • 实时数据仪表盘
    • 数据管理与删除
    • 站点数据设置
    • 发信邮箱配置
  • 用户组管理:
    • 精细化权限分配
    • 多样化角色管理

设计特色

视觉体验

  • 色彩搭配:精心设计
  • 图标系统:符合Material规范
  • 动效过渡:流畅自然
  • 主题模式:
    • 深色模式
    • 浅色模式

国际化支持

  • 内置多语言选项
  • 开放语言包翻译接口
  • 支持自定义语言文件

总结

Material Design Forum通过以下优势成为现代化论坛平台:

  1. 精湛的设计美学
  2. 强大的功能体系
  3. 灵活的自定义选项
  4. 完善的多语言支持

安装配置方法

环境要求

  • 服务器:支持PHP 7.4及以上版本
  • 数据库:MySQL 5.7及以上版本
  • 浏览器:Google Chrome、Mozilla Firefox、Microsoft Edge等

安装步骤

  1. 下载最新版本的Material Design Forum部署文件(包含前端代码和后端代码)
  2. 解压文件到服务器目录
  3. 导入数据库文件(位于assets/demo_table.sql
  4. 配置数据库连接(编辑src\Config\Config.php文件)
    //以下是可以修改的配置↓
     $config['mysql_hostname'] = 'localhost'; //数据库地址
     $config['mysql_username'] = 'root'; //数据库用户名
     $config['mysql_password'] = 'root'; //数据库密码
     $config['mysql_database'] = 'demo'; //'root';//数据库名
  5. 访问网站进行安装(通常为http://localhost/install)(暂不完善,建议手动安装)
  6. 将请求转到index.php
     ##这是nginx配置,其他服务器请自行配置
     location / {
        try_files $uri $uri/ /index.php;
     }
  7. 默认有两个用户
    • 用户名:Admin
    • 密码:1234

    • 用户名:User
    • 密码:1234

适用于:

  • Material Design爱好者
  • 社区管理员
  • 全球化用户群体

让我们共同打造更美好的线上社区环境!


[EN] Material Design Forum - A Modern Web-Based Forum Application

Product Overview

The Material Design Forum is a web-based forum application designed to provide users with:
• An exceptional interactive experience
• A visually pleasing environment
• An interface design aligned with the core principles of Material Design

UI Design and Technical Implementation

Framework and Theme

• Frontend Framework: Vuetify 2
• Client-Side Theme: MDUI 2.0
• Design Standards: Strictly follows Material Design guidelines

Responsive Layout

• Supported Device Types:
• PC (Desktop)
• Pad (Tablet)
• Mobile (Smartphone)

• Features:
• Intelligent device type recognition
• Browser window auto-adaptation
• Seamless layout switching

Core Features

User Features

• Content Publishing:
• Start a topic
• Ask a question
• Write an article

• Interaction Features:
• Post answers
• Participate in comments
• Reply to posts

Administrator Features

• Content Management:
• CRUD operations for topics/questions/articles/answers/comments/replies

• Backend Tools:
• Real-time data dashboard
• Data management and deletion
• Site data settings
• Email sending configuration

• User Group Management:
• Fine-grained permission allocation
• Diverse role management

Design Highlights

Visual Experience

• Color Scheme: Carefully designed
• Icon System: Compliant with Material standards
• Animation Transitions: Smooth and natural
• Theme Modes:
• Dark Mode
• Light Mode

Internationalization Support

• Built-in multi-language options
• Open API for language pack translation
• Support for custom language files

Summary

The Material Design Forum stands out as a modern forum platform with the following advantages:

  1. Exquisite design aesthetics
  2. Powerful feature set
  3. Flexible customization options
  4. Comprehensive multi-language support

Installation and Configuration Guide

System Requirements

• Server: PHP 7.4 or higher
• Database: MySQL 5.7 or higher
• Browser: Google Chrome, Mozilla Firefox, Microsoft Edge, etc.

Installation Steps

  1. Download the latest version of the Material Design Forum deployment package (includes both frontend and backend code)

  2. Extract the files to your server directory

  3. Import the database file (located at assets/demo_table.sql)

  4. Configure the database connection (edit the file src\Config\Config.php)

    // The following configurations are editable ↓
     $config['mysql_hostname'] = 'localhost'; // Database host
     $config['mysql_username'] = 'root'; // Database username
     $config['mysql_password'] = 'root'; // Database password
     $config['mysql_database'] = 'demo'; // Database name
  5. Access the website to begin installation (typically at http://localhost/install) (Note: currently incomplete, manual installation is recommended)

  6. Redirect requests to index.php

     ## This is Nginx configuration; configure accordingly for other servers
     location / {
        try_files $uri $uri/ /index.php;
     }
  7. Two default user accounts are provided:
    • Username: Admin
    • Password: 1234


    • Username: User
    • Password: 1234

Suitable For:
• Material Design enthusiasts
• Community administrators
• Global user communities

Let’s build a better online community together!


About

MaterialDesignForum-Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages