This is a test plugin, the function is not yet complete (no ajax check, no click-to-reload). But the basic functionality has been completed, the release of this post is to be able to get feedback on the stability of this function.
Not recommended for production environments.
You can submit the problem via github: https://github.com/a632079/nodebb-plugin-registration-verify
Screenshot
How to install?
npm i nodebb-plugin-registration-verify
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 && npm i && cd ../../ && ./nodebb build && ./nodebb restart
Now version is 0.1.5
.The following is the support function:
- You can set the height, width, and length of the verification code in the Admin panel.
- International support
The following is the future support function:
Set Verification Code Confusion Pattern (will be supported after v0.1.x
)