[nodebb-plugin-giphy] Search for gifs in the composer

NodeBB Plugins

Suggested Topics


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

  • 8 Votes
    4 Posts
    2k Views

    Yes, I saw it, but my needs are different: interactive maps in posts... 🙂

    I have a question: is a good idea to use a bbcode such as [map ...]? Maybe a [egmap]...[/egmap] is better? Or something else?

    I want also to add a button for the editor to add the right markup to selection with a simple click... Have you an example to suggest me?

    And when the plugin will reach a v1 stable version, how can I add it to the ACP? Ok, rtfm, I know... 🙂

    Thanks!

  • Plugin to rate users

    NodeBB Plugins
    0 Votes
    7 Posts
    3k Views

    up, this will be nice feature for the market section of the boards

  • 12 Votes
    34 Posts
    16k Views

    👍 👍 👍

  • 0 Votes
    37 Posts
    19k Views

    @baris Aah. That explains it. Thanks!

    @julian Yup. Is it correct that mailgun doesn't have this feature? If so, any chances it could be added pretty please? ❤