Socket
Book a DemoInstallSign in
Socket

nodebb-plugin-checkin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-checkin

A NodeBB plugin to allow user checking-in daily to get reputation reward.

0.2.0
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

nodebb-plugin-checkin

NPM version

A NodeBB plugin to allow user checking-in daily to get reputation reward.

Installation

NPM

This plugin requires NodeBB 1.7.0 or higher and node.js 8 or higher.

After enable this plugin, please drag it to navigation.

Please be careful that the checking-in date is based on the time zone of your server. Most servers have UTC as the default time zone. If this isn't intended, please set TZ environment value to the time zone you want, such as Asia/Shanghai, and restart your NodeBB instance.

Configuration

The default configuration is that a user may get 20 reputation if he/she is the first user to check-in on a certain day, other users may get 5 to 9 reputation. After 7 continuous days, the reward will be 40 for 1st checked-in user, 10-19 for other users. When a user submits the first topic or reply after checking-in, he/she may get doubled reputation award.

You may change the configuration by editing config.json like this:

{
    "checkin": {
        "postReward": true,
        "rewards": [
            {
                "firstReward": 20,
                "minReward": 5,
                "maxReward": 9
            },
            {
                "continuousDay": 7,
                "firstReward": 40,
                "minReward": 10,
                "maxReward": 19
            }
        ]
    }
}

LICENSE

MIT

Keywords

nodebb

FAQs

Package last updated on 26 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.