[nodebb-plugin-user-level] User levels plugin
-
@baris Can we add support for FA icons? I'd like to make changes so that I can use icons and not text, which seems to work for the most part (in the sense that I can add
<i class="fa-sharp fa-solid fa-trophy-star"></i>
for example, although the preview renders this exact text and not HTML - see belowHowever, I don't see the need for HTML in the "Level" indicator, so it would be good to have a field for text, and one for icons.
-
@phenomlab good idea, filed an issue https://github.com/NodeBB-Community/nodebb-plugin-user-level/issues/3
-
This post is deleted!
-
@baris just thinking about this, and perhaps it's a good idea to let users know when they've achieved a new level with either a notification message, or something else.
Gamification is an important aspect of how forums work with reputation levels being a form of kudos for participants and some form of acknowledgement when a member reaches a specific level is nice to have rather than just silently taking place.
It's mostly for acknowledgement of achievement.
-
@baris I don't know why but I have two userlevel labels (the same) :
On an answer in a topic. AZnd in the same topic, i have other of my answers with no bugs.
++ The only difference is that my answer with the bug (in the scrennshot) was chosen as a solution to a question with the question & answer plugin
Very Strange
-
@baris said in [nodebb-plugin-user-level] User levels plugin:
@DownPW @phenomlab it could be due to custom js you are using. I tested with latest q&a and user-level plugin and I don't see duplicated levels.
Strange @phenomlab idea ?
@phenomlab said in [nodebb-plugin-user-level] User levels plugin:
@DownPW I have the same issue and used some custom css to work around it.
I take workaround tips
-
how this plugin work?
ex: how a user can get a point and their level will be upgraded?Anyone can help me to understand it?
-
创建中文语言包|Create Chinese language pack
进入目录
/Ur nodebb patch/node_modules/@nodebb/nodebb-plugin-user-level/languages
创建文件夹
zh-CN
然后创建文件
userlevel.json
写入以下内容
{ "admin-add-level": "等级列表", "admin-add-item": "添加等级", "admin-save": "保存设置", "admin-form-level-name": "等级名称", "admin-form-placeholder-level-name": "请输入等级名称", "admin-form-placeholder-min-rep": "最低声望值", "admin-min-rep": "达到此等级所需的最低声望值", "admin-item-edit": "编辑", "admin-delete": "删除", "topic-REPUTATION-progress": "声望值: %1 / %2", "topic-REPUTATION": "声望值: %1", "topic-next-level": "下一个等级: %1", "highest-level": "最高等级", "level": "等级 %1: %2", "user-account-popover": "再获得 %1 个声望值即可达到等级 \"%2\"" }
然后进入论坛管理页面
重建和重启
即可截图