bearsmall / yamb

another nforum mobile module

Home Page:https://bbs.byr.cn/n

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Yamb is a module for nforum, a replacement of Mobile Module.

@see https://bbs.byr.cn/n

Installation

$ cd /path/to/nforum

### 1. vim config/nforum.php, add yamb configurations
<?php
$export['modules']['install'] = array('index', 'yamb'/** , other moduels */);
$export['modules']['yamb']['base'] = 'mobile';
$export['modules']['yamb']['domain'] = 'm';

### 2. add redirect rule to app/plugins/Redirect.php

### 3. add submoduel
$ git submodule add git@github.com:paper777/yamb.git app/modules/Yamb

### 4. build
$ ./app/moduels/Yamb/scripts/build

### 5. add asset link
cd www && link -sf ../app/modules/Yamb/www/dist/yamb .

TODOs

Thread(artticle) page

    1. quick reply
    1. rich text editor for replies and publishes
    1. forward article
    1. vote down
  • ...

User profile page

    1. basic profile page
    1. say hello (mail) to sb.
    1. add to friend list (optional)
  • ...

Boards & Sections

    1. add a board to favorite board list
    1. section list
  • ...

Contributing

Thank you for considering contributing to the yamb module!

Any bugs just open an issue or submit a PR

Front End Guide

Clone the repo and run npm install && npm run dev.

Back end api requests will be proxied to http://m.also777.com (10.3.18.65), please ensure you are in BUPT Network(10.0.0.0/8).

Back End

connect paper777#qq(dot)com

About

another nforum mobile module

https://bbs.byr.cn/n


Languages

Language:Vue 47.4%Language:PHP 27.2%Language:JavaScript 23.5%Language:CSS 1.3%Language:HTML 0.4%Language:Shell 0.2%