Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.21 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.21 KB

QForum-MaterialTheme

Back to the index of the QForum project

🌏English | 简体中文

QForum-MaterialTheme is the Official Front-end Theme of QForum.

This theme needs to be used with QForum-Core.

Start Using (Experimental)

  1. Install QForum-Core.

  2. Modify BASE_URL in /js/util/NetWorkUtil_v2.js to the address where QForum-Core is installed, and THEME_URL to the address where this theme is installed.

  3. Optional content:

    • Modify the forum name in /common/appbar.html

    • Add pseudo-static (implement /thread/TIDXXX and /board/BIDXXX),and modify PSEUDO_STATIC_CONFIGURED in /js/App_v2.js to true

      # Nginx
      # QForum-START
      location ~ "^/thread/TID(.*)$" 
      {
          try_files $uri /thread/?id=$1;
      }
      
      location ~ "^/board/BID(.*)$" 
      {
          try_files $uri /board/?boardId=$1;
      }
      # QForum-END

Features

  • Use Material Design language.
  • Use the lightweight CSS framework MDUI to load extremely fast.