Skip to content

General Discussion

A place to talk about whatever you want

3.9k Topics 23.9k Posts
  • Custom javascript, why is it not running?

    10
    +0
    0 Votes
    10 Posts
    726 Views
    julianJ
    @phenomlab Doesn't hurt. If you execute .ready() and the page is already ready, then it will just fire the callback immediately.
  • How can i set badges on most likes and most replies

    8
    0 Votes
    8 Posts
    627 Views
    vijay kumavatV
    I am trying to add this code in custom plugin file => library.js file For every reply should add reputation point in Topic author. 'use strict'; var Topics = require.main.require('./src/topics'); var User = require.main.require('./src/user'); var meta = require.main.require('./src/meta'); var reputationPoints = 1; // Number of reputation points to award per reply var plugin = {}; plugin.postReply = async function (payload) { var tid = payload.topic.tid; var topic = await Topics.getTopicFields(tid, ['uid']); await User.incrementUserReputationBy(topic.uid, reputationPoints); // Increase reputation points by the specified amount }; module.exports = plugin; But no luck..
  • Custom plugin folder is removed automatically after some time

    4
    0 Votes
    4 Posts
    342 Views
    barisB
    Publish your plugin to npm then install it with npm install nodebb-plugin-posters then it shouldn't get removed.
  • Best solution to this

    3
    0 Votes
    3 Posts
    398 Views
    carlm7C
    @baris said in Best solution to this: You need something like https://github.com/NodeBB-Community/nodebb-plugin-assign-newuser-to-group, maybe fork and modify that to your needs. Thanks a lot. I wish I could modify it but unfortunately, I can't. Maybe someone else will see a need for the same feature.
  • use fullname rather than using username

    2
    +0
    0 Votes
    2 Posts
    269 Views
    phenomlabP
    @vijay-kumavat This is set in two places. The first is /admin/settings/user [image: 1687786735482-4d836a36-d35e-412f-80fd-6e34b1727483-image.png] The other is in /user/theuser/settings [image: 1687786785260-abf184f4-7cde-412d-ac67-912d9f796bab-image.png] I'm certain that the user settings override what is in the site (but I may be wrong). However, you can use the admin level to set it for everyone, but it can be overridden.
  • Where is html file?

    8
    0 Votes
    8 Posts
    605 Views
    G
    @baris Thank you so much
  • "who" heas read a thread

    6
    0 Votes
    6 Posts
    719 Views
    q16marvinQ
    @baris i take your plugin "browsing-users" and create a new one "who-read-it". I hope it is okay for you currently it looks like this: [image: 1687413136539-5cde4deb-ef7d-46f6-ba70-04b7d340522d-grafik.png] the timestamp i like to have in the tooltip behind the username, but i dont know who, maybe you have a idea? <div component="topic/who-read-it" class="d-flex gap-1"> <i class="fa fa-check fa-fw" title="Who Read It"></i> <br> {{{ each whoreadit }}} <div data-uid="{./uid}"> <a class="text-decoration-none" href="{{{ if ./userslug }}}{config.relative_path}/user/{./userslug}{{{ else }}}#{{{ end }}}"> {buildAvatar(whoreadit, "24px", true, "avatar-tooltip","title=test")}{./readtimestamp} </a> </div> {{{ end }}} </div>
  • Emoji issue

    9
    +0
    0 Votes
    9 Posts
    878 Views
    vijay kumavatV
    @PitaJ , Its working now. Thank you I select "Parse emojis in topic tiles" from Admin of Emoji setting page. Then click on -> Build Emoji Assets -> then Save -> then Rebuild & Restart.
  • NodeBB Versioning Protocol?

    5
    0 Votes
    5 Posts
    487 Views
    barisB
    We try to keep master branch stable and release patch versions from there, for example 3.1.6. Develop branch is for the next minor release (3.2.0) and contains new features. Major versions contain breaking changes ie 4.x
  • Vote for NodeBB 🗳

    46
    13 Votes
    46 Posts
    8k Views
    phenomlabP
    @cagatay They did last year, but looks like there so many votes, 20i has to keep recounting them. Full sarcasm intended as they've moved the announcement date three times https://www.20i.com/foss-awards/category/community-and-social/thank-you
  • Limiting Users' Threads or Posts?

    1
    0 Votes
    1 Posts
    201 Views
    B
    Is there a good way to limit a users' or groups' threads or posts? Such as limiting to X threads per week or X posts per day? Or perhaps a workaround for Number of minutes between threads like there is for posts? Thanks
  • Problems new users commonly report

    4
    0 Votes
    4 Posts
    402 Views
    barisB
    You can also order the elements in the formatting bar with css, https://community.nodebb.org/post/66056
  • add topic date below title

    7
    +0
    0 Votes
    7 Posts
    502 Views
    vijay kumavatV
    thank you @baris
  • Are you on Mastodon? Share your handles here!

    12
    2 Votes
    12 Posts
    981 Views
    omegaO
    So I've been thinking about this since 2012 as a non-coder, and @julian might remember about 3 years ago I was musing over Time Berners Lee Solid Pods concept I think based in Node.js and is now offered as https://www.inrupt.com, at the tine I found this interesting and seemed to encapsulate what i was looking for, but no one was really understanding the concept fully or why I was looking at this, but here we are now and Mastodon seems to have lit that fire under many asses at once. I came across the activitypub recently too and it seemed to be similar kinda, but I'm not sure yet as have not fully dug into it. My originating ideas probably better classed as user <> www <> server(s) My main concept was a user retains all their original data in their possession, and being able to publish and control from one point, publish that info across multiple platforms all at once, and retain control over edits, removals etc., every platform could require individual negation which the user coudl manage again the permission etc. from their console app/platform (this would include a monetisation system) - is this what ActivityPub allows? Since all those years ago, there are some offering or tapping into this original thought space. My thinking was market need (user need and traditional journalism to some degree) as publishing industry hadn't really cracked the net back in 2012 IMHO and was floundering, how to monetise content etc., well I thought, take out the publishing houses for good (middle men) and put it all in the lap of the content creator. Eventually after the era of social media wildfire, services like substack.com and maybe tips in brave began to inhabit a similar or the same space of that original thought space. The thing that has always struck me NodeBB, it has the capacity to also be the platform for such user use cases too. There is a focus obviously on managing more than one user, a group discussion, the original forum concept, but I would propose inverting the outlook and running a parallel track and thinking about NodeBB for the single user case applications. As for make starting forums suck less, well some of that is considered above, but needs clear conceptual again another thing on my mind for many years, but oh boy, I'lm gonna stop right here for now.
  • teaser- user avatar

    2
    0 Votes
    2 Posts
    283 Views
    barisB
    It should be {{{ if ./teaser.user.picture }}}
  • Non-breaking space convert to a Unicode representation

    4
    0 Votes
    4 Posts
    339 Views
    lma lmaL
    It should be noted that in previous versions of the forum, the &nbsp; would not have been deleted, this is something quite new.
  • Copy from Composer Preview

    3
    +0
    0 Votes
    3 Posts
    314 Views
    J
    @baris Thank you!
  • Setting up Nodebb with Mailjet

    18
    0 Votes
    18 Posts
    2k Views
    PitaJP
    FYI you were still getting the API key error when trying the built in SMTP maker probably because you didn't disable the mailjet plugin. An emailer plugin always takes precedence.
  • Wide options in likes

    2
    0 Votes
    2 Posts
    297 Views
    barisB
    https://community.nodebb.org/topic/10225/nodebb-plugin-reactions-reactions-plugin-for-nodebb
  • Vulnerability due to Version fixation of third parties libraries

    6
    0 Votes
    6 Posts
    696 Views
    pratik ranjanP
    @baris @PitaJ Thanks a lot guys ,, My bad , i though i saw async version used by nodebb was 3.2.0