how to give REPUTATION to my friends in nodebb.org

Moved Plugin Requests
  • I want a plugin which i can give reputation to my friends
    who can help me?

  • Yes. I do think it is an important feature. In order to make the forum live, to make more users online for a long time, I think we need to add some interesting features. The most important phenomenon is that most of the users just log-in the forum when they want to ask something, then they leave. A interesting feature should handle this problem. For example, if I want the users can pay the others using their reputation to answer his thread, how can this be done?


Suggested Topics


  • 0 Votes
    3 Posts
    298 Views

    I have now. 🙂

  • 0 Votes
    17 Posts
    5k Views

    @phit @Danny-McWilliams plugin used to support persona but recent changes to persona/templates.js made it incompatible.

  • 0 Votes
    5 Posts
    2k Views

    @pichalite Thanks a lot, I'm going to enable file upload on setting -> post, I'm wondering how may I changed uploaded file location and url ?

  • iterate on nodebb posts

    Plugin Requests
    0 Votes
    15 Posts
    3k Views

    @bentael I write this run_me.js file and run it with node run_me.js command, that iterate over all nodebb posts and run a JavaScript function on content filed and update it.

    how to efficient it using db.collection('objects').updateMany() ?

    content of run_me.js file:

    var MongoClient = require('mongodb').MongoClient; var assert = require('assert'); var ObjectId = require('mongodb').ObjectID; //'mongodb://<dbuser>:<dbpassword>@<mongodb host>:<mongodb port>/<dbName>' var url = ''; var converter = require("bbcode-to-markdown"); var convert = function(str){ // alter it and put your desire JavaScript cods. if ( typeof str == 'string' ){ str = str.toString().toLowerCase(); return converter(str); } else return str; } var updatePosts = function(db, callback){ var cursor =db.collection('objects').find( { _key:{ $regex: /post:/i } } ); cursor.each(function(err, doc) { assert.equal(err, null); if (doc != null ) { var newcontent = convert( doc.content ); db.collection('objects').updateOne({ _key: doc._key }, { $set: { "content": newcontent } }); console.log("after update --"+doc._key); } else { callback(); } }); } MongoClient.connect(url, function(err, db) { assert.equal(null, err); updatePosts(db, function() { db.close(); }); });
  • 0 Votes
    4 Posts
    2k Views

    No, nobody contacted us about it 😄