Skip to content
  • 0 Votes
    1 Posts
    7 Views
    D

    I recently attempted to install the plugin named nodebb-plugin-cobi-translate-posts, which was advertised as providing automatic translation of post content using ChatGPT 3.5. However, I didn't receive any instructions on how to configure it for this purpose. Has anyone successfully set up this plugin for auto-translation, and if so, could you please share the correct setup steps?

    After installed the plug in, I have the translate button in my forum, however, it does nothing after click on it.

    And Persona is my current theme.

    Thank you for any assistance or guidance you can provide!

  • 0 Votes
    1 Posts
    4k Views
    D

    In my library.js I need to create a custom route so I do:

    params.router.get('/admin/test/:nameTest', params.middleware.admin.buildHeader, controllers.renderTest);

    But I obtain "Error executing 'static:app.load' in plugin 'nodebb-plugin----". Anyone can help me to resolve this problem?

  • 0 Votes
    3 Posts
    2k Views
    barisB

    You can use Plugins.isActive method.

  • 0 Votes
    3 Posts
    2k Views
    barisB

    Do this

    router.get('/user/:username', controllers.red); controllers.red = function(req, res, next) { console.log(req.params.username); }
  • 0 Votes
    1 Posts
    1k Views
    D

    I obtain this error when I try to access to category but the google console don't give me some details but only that the error is:
    "Cannot read property 'locked' of null"

    nodebb.min.js:25243 Uncaught TypeError: Cannot read property

    at this line:
    helpers.generateTopicClass = function(topic) {
    var style = [];
    //at this line
    if (topic.locked) {
    style.push('locked');
    }

    if (topic.pinned) { style.push('pinned'); } if (topic.deleted) { style.push('deleted'); } if (topic.unread) { style.push('unread'); } return style.join(' '); };

    I think is for the async.waterfall call because
    function(data,callback){
    async.waterfall([
    function(next){
    //someOperation
    next(null,topic);

    }],function(err,topic){
    data.category.topics = topic.concat(data.category.topics);
    });

    Anyone can help me?

  • 0 Votes
    1 Posts
    1k Views
    kacemlightK

    After uptgarding (reinstallation) of nodebb, this plugins return error and don't work at all.
    After app starting, I got this warn message:

    7/11 12:20 [31705] - warn: [meta/dependencies] Bundled plugin nodebb-plugin-dbsearch not found, skipping dependency check.
    17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-github] Hook filter:user.delete is deprecated, please use an alternative
    17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-google] Hook filter:user.delete is deprecated, please use an alternative
    17/11 12:21 [31705] - warn: [plugins/nodebb-plugin-sso-twitter] Hook filter:user.delete is deprecated, please use an alternative

    17/11 12:21 [31705] - warn: [plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run ./nodebb reset -p PLUGINNAME to disable it.

    nodebb-plugin-imgur nodebb-plugin-sso-facebook nodebb-plugin-sso-github nodebb-plugin-sso-google nodebb-plugin-sso-twitter nodebb-plugin-composer-redactor nodebb-plugin-custom-pages nodebb-plugin-desktop-notifications nodebb-plugin-rss nodebb-plugin-youtube

    17/11 12:21 [31705] - info: [User-Invitations] Initializing User-Invitations...
    17/11 12:21 [31705] - info: [plugins/spam-be-gone] Settings loaded
    17/11 12:21 [31705] - info: [User-Invitations] Synced settings: defaultInvitations=10, restrictRegistration=0, invitedUsers=[], inviteGroup=registered-users
    17/11 12:21 [31705] - warn: [plugin/composer-redactor] Another composer plugin is active! Please disable all other composers.
    17/11 12:21 [31705] - info: NodeBB Ready
    17/11 12:21 [31705] - info: NodeBB is now listening on: 0.0.0.0:4567

    list itemWhen I try to login with Facebook, I got:
    L’URL fournie n’est pas autorisée par la configuration de l’application.: Une ou plusieurs URL fournies ne sont pas autorisées par les paramètres de l’application. Elle(s) doi(ven)t correspondre à l’URL du site ou du Canevas, ou le domaine doit être un sous-domaine de l’un des domaines de l’application.

    With googleplus:
    list item400. That’s an error.
    Error: redirect_uri_mismatch

    list itemWith twitter and github I get the same Error.

    With the ancien version of nodebb, all this sso login worked fine.

    Please can somone help me to resolve this problem ??