nodebb-plugin-gamification

Automatic gamification logic your forum

Usage no npm install needed!

<script type="module">
  import nodebbPluginGamification from 'https://cdn.skypack.dev/nodebb-plugin-gamification';
</script>

README

Installation

npm install --save nodebb-plugin-gamification

Theme modifications

topic/post.tpl

 <!-- IF posts.lvl -->
    <!-- IMPORT partials/topic/level.tpl -->
 <!-- ENDIF posts.lvl --> 

profile.tpl

<!-- IF lvl -->
    <div class="stat">
        <div class="human-readable-number" title="{lvl}">{lvl}</div>
           <span class="stat-label">Level</span>
    </div>
<!-- ENDIF lvl -->

Screenshots

Gamification progress bar