nodebb-plugin-registration-verify-cn

change nodebb-plugin-registration-verify

Usage no npm install needed!

<script type="module">
  import nodebbPluginRegistrationVerifyCn from 'https://cdn.skypack.dev/nodebb-plugin-registration-verify-cn';
</script>

README

nodebb-plugin-registration-verify-cn

基于nodebb-plugin-registration-verify修改

建议node版本 v10

修改验证码发生错误时的提示
添加点击验证码更换

This is a test plugin, the function is not yet complete (no ajax check, no click-to-reload).

How to install?

npm i nodebb-plugin-registration-verify-cn

Because Beta,you should do following to build node-canvas(!important)

  • First,install node-canvas dependences
OS Command
OS X brew install pkg-config cairo pango libpng jpeg giflib
Ubuntu sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++
Fedora sudo yum install cairo cairo-devel cairomm-devel libjpeg-turbo-devel pango pango-devel pangomm pangomm-devel giflib-devel
Solaris pkgin install cairo pango pkg-config xproto renderproto kbproto xextproto
Windows Instructions on our wiki
  • Then , please run this script to finish node-canvas build
#build node-canvas && restart nodeBB
cd ./node_modules/nodebb-plugin-registration-verify-cn && npm i && cd ../../ && ./nodebb build && ./nodebb restart