How to access settings values in "quickstart" plugin

Plugin Development

Suggested Topics


  • 0 Votes
    9 Posts
    190 Views

    @eeeee Probably local to the user computer 🙂

    You can generally use non-http URIs for launching different applications. If you were ever redirected from a desktop or mobile app to a browser to log in you've probably seen this in action. Windows actually uses some internally and usually transparently for the user (for example, to abuse their monopoly, MS started using microsoft-edge: scheme instead of https: in some links in Windows to only allow opening them in Edge. They didn't have to build some highly custom mechanism, just restrict other apps from registering this scheme), but usually can be just registered by applications you install. What they do also depends on the application - for example, I think calculator: only launches the calculator app (or at least the obvious way to write math doesn't work), but others can launch specific actions and even pass some information (for example, authentication token for the web login use case I mentioned). For example Spotify allows linking to artists, playlists, albums etc. via spotify: scheme and steam supports doing a ton of things via URI, including launching and even installing/uninstalling games.

    All you need is an <a> tag with the right href= set. So yeah, you can put that kind of a link in a widget, but if they wanted to have it be an action under a post, especially if it was supposed to include some information from the post, it wouldn't be that simple.
    (side note: NodeBB doesn't allow links using non-standard schemes in markdown, so you can't just put something like this in a post or signature)

  • 0 Votes
    8 Posts
    629 Views

    @julian I have a block with a code in my profile, but the markdown does not work for a block with a code, only for plain text44d40b8f-0553-4ce2-b67f-7363edb19dc2-image.png

  • 0 Votes
    4 Posts
    3k Views

    The real error was due to the fact that I wrote callbackUrl instead of callbackURL when pushing into the strategies.

    And, as I'm developing with version 1.12.2, I can't just return the results as this version does not support promises.

  • 3 Votes
    8 Posts
    3k Views

    There are a few methodology issue I have here right now. The biggest being that the upload hook fires before a post is posted. This means files that aren't uploaded ( edited out after uploading ) with the post get stored.

    I need to sort out how to move this to the post hook and process that instead. Learning curve and all.

    For the moment, this works well enough for the other work I need so I'll be more focused that way for a bit, but I expect to come back to this for enhancement shortly.

    If you have requests/feature ideas Add it to the issue tracker on bitbucket.

    abquintic / nodebb-plugin-fileownership / issues — Bitbucket

    favicon

    (bitbucket.org)

  • 0 Votes
    4 Posts
    2k Views

    Always makes me smile when I can help.
    Your plugin also opened nodeBB to a more scientific audience, which I personaly find extra apealing. 🙂