Skip to content
  • A place to talk about whatever you want

    4k Topics
    23k Posts
    huigeH

    @phenomlab
    no, ACP - admin/settings/general upload

  • Stay tuned here to hear more about new releases and features of NodeBB!

    4k Topics
    22k Posts
    nutomic@socialhub.activitypub.rocksN
    The Activitystreams standard doesnt mention that. And it makes a lot of sense for Lemmy, because the comments are a major part of it.
  • Discussion regarding NodeBB Plugin development.

    2k Topics
    15k Posts
    Bharat RathiB

    Hi all,
    Well this is my first time writing a plugin which involves using client side hooks...
    For a start, i would want my plugin to listen to a hook which activates when the topic page is completely loaded and topic tools are loaded too.

    For which I wrote this function:

    'use strict'; /* globals document, $ */ $(document).ready(function () { function alertType(type, message) { require(['alerts'], function (alerts) { alerts[type](message); }); } console.log('nodebb-plugin-quickstart: loaded'); $(window).on('action:topic.loaded', notifyBox); function notifyBox() { console.log("in notify box"); alertType('success', "done") } });

    but this is not working... I can only see "nodebb-plugin-quickstart: loaded" on the console.

    Where am i going wrong here??

  • A public listing of community themes created by the NodeBB community.
    49 Topics
    1k Posts
    Chad AugurC

    @baris TY. Despite having been a JS developer for more than 10years I had never published my own npm package. Now I have. TY.

  • Need help with installing or configuring NodeBB? Look here.

    5k Topics
    26k Posts
    N

    Hey,
    I use nodebb-plugin-session-sharing to automatically login users from my WebApp.
    This works great on desktop!

    But when I add the cookie to WebView of my React Native app i get:

    Encountered an error loading page code: -1007 description: "too many HTTP redirects" didFailProvisionalNavigation: true domain: "NSURLErrorDomain"

    I inject the cookie by calling

    <WebView source={{ uri: domain, headers: { Cookie: `${tokenName}=${token};Domain=${tokenDomain};HttpOnly;`}, } } />

    When I remove the cookie from the header and reload the app on Simulator, I'm logged in, so the cookie and the plugin mechanism is basically working.

    React Native WebView reference
    nodebb-plugin-session-sharing on Github

    Anyone an idea about this?

    Kind regards
    Niklas

Online Users

julianJ T