NodeBB Product Hunt Page

Moved NodeBB Development

Suggested Topics


  • 0 Votes
    3 Posts
    420 Views

    @gotwf Thanks I got it! 🙂

  • 0 Votes
    1 Posts
    751 Views

    Hey Nodebb team:

    I am a fan of this custom page plugin. But I dont like default widget in the pages. Is there anyway to write a plugin and override the widget with a few custom HTML and CSS?

    Thanks,
    Ethan

  • 0 Votes
    4 Posts
    2k Views

    You can't call them directly from the client. I usually use socket.io, you define an event in your library file where you get the data, and then call it in the acp script.

    library.js

    var socketAdmin = module.parent.require('./socket.io/admin'); var Groups = module.parent.require('./groups'); var User = module.parent.require('./user'); socketAdmin.yourplugin = { // This function is now exposed as the event 'admin.yourplugin.someevent' someevent: function (socket, data, callback) { // Use the data from the client to grab member objects. Groups.getMembers(data.groupName, data.start, data.stop, function (err, uids) { if (err) return console.log(err); User.getUsersData(uids, function (err, members){ callback(null, {members: members}); }); }); } };

    acp.js

    // Send the group name with the amount of members we want to the server. socket.emit('admin.yourplugin.someevent', {groupName: "GroupName", start: 0, stop: 200}, function (err, data) { // Log the response, should be an array of user objects. console.log(data.members); });
  • Is NodeBB still free?

    Solved NodeBB Development
    0 Votes
    6 Posts
    4k Views

    @julian said:

    That's not a bad idea... we just don't have plans to split the sites yet.

    I understand that you don't want to split up anything, but how about mentioning the OpenSource version at all? 🙂
    Right now, when I go to nodebb.org, the only chance to see that there is a free version that I can roll out myself is to know what the github logo looks like and then scroll down all the way to the bottom to spot it there (very small, barely visible).
    Additionally, if I have AdBlock Plus turned on, these social buttons do not appear at all.

    I perfectly understand that you want to earn money and therefore want to focus the page around your hosting service but I think that you could significantly cut the amount of requests from people who heard about a cool OpenSource forum and who now struggle to find a link to download it.

  • 1 Votes
    4 Posts
    2k Views

    great forum!!