nodebb-plugin-emailer-local for v1.4.5

NodeBB Plugins
  • I was trying to install a nodebb email plugin to send email via a third party service like SES. So I tried out the emailer-local plugin. But it seems that it is not compatible with V1.4.5. Here is the error log that I get when I activate this plugin:-

     at Object.Plugins.requireLibrary (/home/bhavya/forum/nodebb/src/plugins.js:40:33)
    18/4 14:22:15 [31178] - warn: [plugins] Unable to parse library for: nodebb-plugin-emailer-local
    
    18/4 14:22:15 [31178] - 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-emailer-local
    
    

    What is recommended email plugin for nodebb that works for nodebb 1.4.5?

    Thanks,
    Akshat

  • Finally got this to work! It seems that the nodemailer plugin has a dependency on node v 6.0.0. As soon as I changed the dependency to a compatible version the problem was solved.

    Hope this helps someone else facing the same issue.


Suggested Topics


  • 6 Votes
    14 Posts
    431 Views

    @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.

  • 0 Votes
    3 Posts
    332 Views

    @pitaj What do you think? ☺

  • 0 Votes
    1 Posts
    1k Views

    Hello,

    I'm working on a SSO integration from a django SSO.
    In my django project i add 'oauth2_provider'

    Welcome to Django OAuth Toolkit Documentation — Django OAuth Toolkit 2.3.0 documentation

    favicon

    (django-oauth-toolkit.readthedocs.io)

    And i get this :

    0_1512387850634_ad046269-f481-410a-bc24-2ca89b39f6dd-image.png

    On the nodebb side, I started from the plugin
    https://github.com/julianlam/nodebb-plugin-sso-oauth

    Which I modified as a result:

    The config.json file

    "oauth": { "id": "rs2yEx7aqrj7ZIgVRC9IFL7p0DyIjQwWPST4BqVW", "secret": "6A678EDFqAYtl0sALS5rqk2mfhlBQi0HIgoGH5mPaeIpnZGni8BdOFiv" },

    and in the library.js) i change this lignes

    var constants = Object.freeze({ type: 'oauth2', // Either 'oauth' or 'oauth2' name: 'nodebb_django', // Something unique to your OAuth provider in lowercase, like "github", or "nodebb" oauth: { requestTokenURL: '', accessTokenURL: '', userAuthorizationURL: '', consumerKey: nconf.get('oauth:key'), // don't change this line consumerSecret: nconf.get('oauth:secret'), // don't change this line }, oauth2: { authorizationURL: 'https://beta.esprit-bourse.com/oauth/authorize', tokenURL: 'https://beta.esprit-bourse.com/oauth/token', clientID: nconf.get('oauth:id'), // don't change this line clientSecret: nconf.get('oauth:secret'), // don't change this line }, userRoute: '' // This is the address to your app's "user profile" API endpoint (expects JSON) }),

    I've never programmed in JS nodes, so I don't really know what to do, and I don't understand all the code.

    I may have to change the information as indicated. Update profile information (around line 137 of library. js). But there is no user account to use the Oauth system

    After a git clone, i can't enable the plugin so i think there is something else to change.

    if someone can help me I will document everything for the link Oauth django/nodeBB. Otherwise, I'll keep the site and forum separate.

  • 9 Votes
    3 Posts
    2k Views

    Looks like this is no longer working as of 0.9. 😞

  • 3 Votes
    7 Posts
    4k Views

    If you're paying me to learn angular too, sure 😛

    I have really limited experience, just for messing about no real-world experience.