Skip to content
  • 27 Votes
    32 Posts
    1k Views
    julianJ

    @[email protected] said in Article vs. Note vs. Page:

    Since then WordPress has joined the Fediverse, and now Ghost is about to join as well. I think the ability to display rich content may soon become a serious competitive advantage.

    Completely agreed. The best time to consider a different approach is now, so I am hoping we can make some headway here at the WG meeting. Stay tuned...

    cc @[email protected] @[email protected]

  • 15 Votes
    29 Posts
    391 Views
    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.
  • 7 Votes
    11 Posts
    135 Views
    rimu@mastodon.nzoss.nzR

    @julian Ooo good point about adding the ? back on.

    If you're interested in a non-regex solution, here's what I have - https://codeberg.org/rimu/pyfedi/src/branch/main/app/utils.py#L247

  • 7 Votes
    5 Posts
    245 Views
    julianJ

    This user story deals with expected behaviour when encountering a topic/context/first-order collection.

    Perhaps it is discovered when declared as the context for an Object. The collection can then be used as the canonical source for content for that context, and it's members queued for asynchronous processing.

    A scaling issue exists here in that a collection could be massive and cause an undue delay in processing a new Note if every other member of the collection needs to be processed first. Implementors should take care to not require the full context during processing of an Object.

  • 6 Votes
    1 Posts
    17 Views
    julianJ

    As of today, the NodeBB-ActivityPub implementation now supplies both context and audience properties with every post.

    N.B. When I say context and audience, these are also terms used by the ForumWG that refer to "topic" and "category", in NodeBB parlance.

    Early indications from the last ForumWG meeting indicate movement towards the inclusion of context in a low-level as:Note object (a federated NodeBB post), resolvable as an as:Collection or as:OrderedCollection. The latter is what NodeBB will send, ordered by post time.

    Discussions with @[email protected] also suggest that Discourse has the ability to parse an as:OrderedCollection context if provided, but currently does not if encountered as a property in a Note.

    A minor change today also updates the audience property, which used to erroneously point to the context/topic, but now points to the audience/category. This change aligns usage of this property with FEP-1b12's expectations.

    This change should allow other implementors to:

    automatically group objects together given a the provided context, and more thoroughly backfill a given object's context, without relying on inReplyTo traversal
  • Preview Plugin

    NodeBB Plugins
    14
    0 Votes
    14 Posts
    142 Views
    phenomlabP

    @huige Do you have any headers set which restrict the ability for sites to display the images?

  • 0 Votes
    13 Posts
    117 Views
    julianJ

    @[email protected] NodeBB now supplies context with every as:Note object, and is resolvable as an OrderedCollection.

    One thing that is not currently done is what we talked about here, inheriting the authoritative context and serving that instead. I will need to think that through a bit more.

  • 0 Votes
    7 Posts
    48 Views
    julianJ

    @[email protected] @[email protected], @oplik0 and I took a closer look today and found the one place where IDs were not sent with Announce activities.

    Let me know if you find any other oddities 🙂

  • 0 Votes
    4 Posts
    53 Views
    huigeH

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

  • 0 Votes
    4 Posts
    71 Views
    루루

    It appears that Svelte was used when developing the acp admin dashboard part - https://github.com/NodeBB/nodebb-plugin-emoji/blob/master/acp/src/EmojiList.svelte
    https://github.com/NodeBB/nodebb-plugin-emoji/blob/master/acp/rollup.config.mjs

    ⇒ When developing acp admin dashboard, can I use [svelte, react]? What if I set the ts compile option to amd commonjs?

    ⇒ When developing a theme, can I use [svelte, react]? What if I set the ts compile option to amd commonjs?

    Link Preview Image nodebb-plugin-emoji/acp/rollup.config.mjs at master · NodeBB/nodebb-plugin-emoji

    NodeBB Plugin enabling emoji as seen on http://www.emoji-cheat-sheet.com - nodebb-plugin-emoji/acp/rollup.config.mjs at master · NodeBB/nodebb-plugin-emoji

    favicon

    GitHub (github.com)

  • hyper-express

    Feature Requests
    3
    0 Votes
    3 Posts
    85 Views
    o              oO

    It's an optimization, an opportunity to handle more traffic on less hardware.

  • Changing number of forum hits

    Solved Technical Support
    3
    0 Votes
    3 Posts
    87 Views
    dave1904D

    @PitaJ thanks for the great explanation

  • 0 Votes
    3 Posts
    88 Views
    루루

    @baris got it!

  • Warning Points System!

    Feature Requests
    3
    0 Votes
    3 Posts
    67 Views
    crazycellsC

    you can find more info here:

    Link Preview Image mute function for users

    It would be nice to have mute function for angry users ... Facebook groups have this, whenever some problem happens (which does not necessarily require a ba...

    favicon

    NodeBB Community (community.nodebb.org)

  • 0 Votes
    2 Posts
    27 Views
    huigeH

    Change the address in your config.json file to your URL link

  • 0 Votes
    1 Posts
    20 Views
    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??

  • 0 Votes
    1 Posts
    17 Views
    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

  • 0 Votes
    1 Posts
    86 Views
    julianJ

    Hey @[email protected], how can I add events to the SWICG calendar? I notice there's a little button to include "Task Forces" in the listing, so I think listing our meetings would be helpful, now that we've settled on a more consistent time/day-of-week.

    cc @[email protected] (unrelatedly, do you get notified if I mention your SocialHub handle?)

  • 0 Votes
    1 Posts
    22 Views
    starkorebaS

    Hello, first of' thanks for the amazing work !
    For the context: I'm a junior developer from France, so excuse my english (and my limited understanding of everything lol). I was looking for a software alternative to build a forum RPG. I just installed NodeBB on Ubuntu 20 (Focal) working on WSL 2. I'm using redis and want to write plugin using typescript.

    It would be great to have a guide version of the Quickstart plugin in typescript !
    I know its possible to write plugin in typescript, the emoji plugin does that. But it would save me so much time to have a guide that explain the extra step we need to do in order of compiler and make it work on NodeBB.

    Here's my questions tho:

    Is it in the roadmap team of NodeBB to document how to write plugin in typescript? Did the team plan to write a typescript version of NodeBB?

    Although it would be great to have some more advanced example right in the documentation on how to do something and what are the step to make it work.
    Like here : https://community.nodebb.org/topic/16994/how-do-i-add-custom-user-fields-to-my-theme

    Like "if I want to add/ change something, I have to think of the scope of this features and what's need to be modify in other file to be working properly". Or at least, say it in the documentation a little bit more straightforward. So that beginner will understand that first sight. But I think examples are more worthy than tons of words.

    Is it possible for beginner to contribute on the documentation to make it more specific and understandable for beginners, or is it a documentation for more experienced developers and a choice of the team (and don't want to change that)?

    Is it because from a plugin to another, things might be working so differently that it's not worthy to do a more detailed documentation ?

    Because people might be wanted to write plugin over time, mutualisation of knowledge would be great, so that might simplified the process of each developer trying to write plugin have to go throw investigations to understand how NodeBB works before even start to develop the actual plugin.

    For example: How to interact with the database explain in this answer: https://community.nodebb.org/topic/17657/best-way-to-store-plugin-data-in-database-in-context-of-compatibility/2?_=1714543873650 for me this should be in the documentation.

    In conclusion, I feel like in general people agree that it's difficult to start writting plugin without investigate and dive in the structure file of the source code. I'm willing to help on that make it easier to really understand how NodeBB works for developer. So that anyone not familiar with the source code can start almost immediately customization. :emo:

  • 0 Votes
    1 Posts
    65 Views
    T

    Hello there,

    after some time i want to take a second attempt to start a successful forum.
    My idea was the following: A forum that allows for uncomplicated communication of ideas and allows users to sell their ideas to other foum users.

    I set up my page with the help of a friend: my forum

    I didnt take into account the problems to get the ball rolling; means I have no users

    Note that there is no payment method right now, it is prettmuch only a normal forum.

    Now to what i have planned to be the "second attempt" version:

    In the region where i want to start, there is a company called Tobit that developed a software named "chanys".
    One reason for me to use it is the adaption in my region, id guess atleast 70% of the people in a distance of 20 km have this app on their smartphone.
    It is also adapted further i think they have serveral million downloads of their app.
    It has imo also alot of features that will be helpful to my project for example:

    -Accounting
    -verification

    payment

    Note: the "cayns" project is also open source.

    "Cayns" offers also a website building tool to easily implement their features "chanys".
    My easy hack (that describes my lvl of programming skills) would be to do an iframe onto my forum ^^.
    I know thats really bad (and it doesnt work without changing settings).

    What are other ways to make a better MVP?
    Thank you!