Skip to content
  • 6 Votes
    1 Posts
    28 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
  • 0 Votes
    1 Posts
    25 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
    20 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
    95 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
    67 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!

  • 0 Votes
    1 Posts
    47 Views
    루루

    Are nodebb + nextjs compatible?
    When developing nodebb custom plugin or custom theme, is there a way to make nextjs compatible?
    reactjs is client side rendering, and nextjs is SSR, so when considering seo, it must be developed with SSR.
    These days, many of the web developers being hired use nextjs as a basis for development, so we are also developing web using nextjs.

    Of course, I know how to use bootstrap + jquery tpl express. But these days, people who are beginners in web development are more familiar with nextjs.

  • Plugin for 'file attachments'

    Unsolved Technical Support
    1
    0 Votes
    1 Posts
    40 Views
    M

    Hi,

    Are there any plugins that would allow users to attach files to posts, and allow me to store them locally on the server for other users to access? I run a developer oriented site, so the files would usually be zips, gzs etc.

    I assume one of the various 'upload' plugins would take care of half the problem, but they all seem to be for 'S3' or 'CF' which I assume are commercial cloud outfits that would charge for storage, while I'm trying to do all this on the ultra cheap, ie: free!

    Bye,
    Mark

  • 0 Votes
    1 Posts
    73 Views
    huigeH

    as did the nodebb community
    2024425134437.png

  • 0 Votes
    1 Posts
    74 Views
    serhatS

    11dad6df-40c2-48ce-8aa2-cf26919c7ab3-image.png

    I successfully installed NodeBB using docker-compose.

    Everything seems to be working as expected, but when the nodebb container starts up, NodeBB starts running. However, when I connect to bash and check its status using the CLI, it shows that NodeBB is not running, even though it actually is.

    When I try to stop it, I can't. And when I try to start it using the CLI, even though I initially installed it with MongoDB, it gives an error related to postgres.

    Note:
    Initially I've installed NodeBB with Postgres, then I removed the container and installed with Mongo.

    1c23091b-3ef0-46ac-96b5-6145ef19e65c-image.png

  • 0 Votes
    1 Posts
    64 Views
    赵帅更

    Is anyone using WeChat to scan and log in? The plugin seems to be malfunctioning. Does anyone have a solution? Thx.
    Plugin: https://github.com/NodeBB-China/nodebb-plugin-sso-wechat-web

  • 0 Votes
    1 Posts
    76 Views
    赵帅更

    My scene description:
    If I copy content from other web pages into the editor, it is usually a mixture of text and images on the web page, and I find that images cannot be uploaded, only text can be pasted. I need to upload pictures one by one, which is very troublesome.

    The help I need:
    How to automatically upload pasted images after pasting content into the editor? Thx.

  • Admin Invites and Registration Queue

    Unsolved Technical Support
    1
    0 Votes
    1 Posts
    46 Views
    mutahar aliM

    Is there a way to enable registration queue but make it so that user's registering with admin invites are able to register bypassing registration queue and admin approval? Since it would only make sense since the admins are the ones who invited the user.

    Many thanks!

  • Plug-ins i18n via Transifex

    Feature Requests
    1
    0 Votes
    1 Posts
    41 Views
    nhl.plN

    Some interesting feature requests can be found here:
    https://github.com/NodeBB/nodebb-plugin-2factor/pull/93

    In short:

    proposal to move all language files to Transifex and allow translators to work on translating plug-ins (pre-installed/default/bundled plug-ins were mentioned), 123456 vs. 123 456 as common i18n problem not only for Korea and Japan, some other shortcomings from Korean user point of view. Link Preview Image Korean translation by NavyStack · Pull Request #93 · NodeBB/nodebb-plugin-2factor

    First and foremost, I wish to express my sincere appreciation for the development of such an outstanding plugin. In my role as the coordinator for NodeBB's Korean and Japanese translations, I have strived to maintain consistency in wording with the primary translation project. At present, numerous default plugins of NodeBB come pre-installed. However, it appears that this applies not only to administrators but also to end-users. Therefore, it would be advantageous to enable the management of built-in plugin translations on Transifex as well. While I currently utilize NodeBB in production, there are instances where certain strings or plugins remain untranslatable, often exposing my users, who are not proficient in English, to such content. Hence, I would kindly request your consideration on this matter. Below, I have outlined several queries regarding the plugin, along with suggestions for enhancement: Some applications use a space character when presenting a 6-digit number. For instance, 123456 may appear as 123 456 when copied to the clipboard. Given the increasing prevalence of users utilizing this feature via a browser extension plugin, I believe enhancing the user experience by disregarding space characters and accepting numbers solely would be beneficial. There are instances where 2FA (Two-Factor Authentication) needs to be input more than once due to specific circumstances. For instance, upon pasting it into a browser or application, users are prompted to re-enter their username and password, even if the values are accurate. This could be due to either rapid typing or previous input. Personally, I circumvent this inconvenience by pressing and holding the CTRL key while performing CTRL + V. (But... sometimes I face Username and Password form page.)However, this workaround may prove inconvenient for the average user. While acknowledging the inherent trade-off between security and convenience, I believe there is room for improvement in this regard, particularly concerning 2FA. Occasionally, upon entering my username, password, and 2FA code, I find myself logged in as a non-member pop-up. This issue warrants attention for resolution. Your attention to these matters would be greatly appreciated, and I am confident that addressing these concerns would significantly enhance the usability and functionality of the plugin. I am currently using NodeBB in a production environment. Hence, updating without translations results in English displaying as is, akin to a bleeding edge situation. I kindly request measures to improve this. You can verify my commit timestamps, which reflect my working pace. There's ample time to pre-translate adequately for any additions. Your cooperation in presenting translation sentences prior to adding new strings would be greatly appreciated. Thanks for your support.

    favicon

    GitHub (github.com)

  • 0 Votes
    1 Posts
    73 Views
    F

    Hi,

    I'm wondering if it is possible (maybe by Plugin) to add special "Labels" to posts, like these ...

    Good/Bad Shape of Post Good/Bad Spelling of Post Excellent Post Impolite Disrespectful Missing Basic Post Requirements Escalating / De-Escalating Post

    Connected with every such label is a detailed description what this Label is meaning.

    Example

    Missing Basic Post Requirements

    If you came here because someone flagged your post with this label, you are asked to do the following:

    Read this text carefully Fix your post in all stated attributes Be aware that your reputation score may suffer, if you do not fix this If you fixed your post, you may ask a moderator for feedback and finally to remove the label, if resolved.

    For a post in a technical forum like this one here, please take care of the following:

    Spelling: Use correct spelling and grammar. Write in full sentences. Shape: Create your post, so one can easily read it. Use paragraphs, clear language, maybe use headers. Informations: Supply concrete Informations about your problem Facts: Supply entered commands and output given by those commands. Supply Screenshots only if text based information is not available or Screenshots are more useful in your case than text Politeness: Uphold Politeness at all times. No abusive words. Request: Phrase a request, how others can help you here. What do you want?

    Reputation Score Impact

    Starting from 5 own posts flagged with this label, every further post with this label reduces reputation score by 1

    Other Ideas about that topic

    The labels may be visible in Forum/Subforum-View The lables should be editable by Permission which may be granted to users and groups Moderators may be informed about certain Label-Assignments (Disrespectful, Impolite, ...) Moderators can clear labels Disable User-Labels for certain Posts (After a moderator review the situation, it's no longer useful to have user labels, so a moderator may disable user-labels)
  • 0 Votes
    1 Posts
    50 Views
    shoqS

    I am continually frustrated that the "Chat" link in right sidebar shows me only latest chats, when I actually want the full chat interface page. An "all" link would fix this easily enough.!2024-04-05_11h13_07.png

  • 3 Votes
    1 Posts
    306 Views
    julianJ

    A small quality-of-life update I just pushed to NodeBB will now allow you to view the content posted by non-local users.

    When discovering new users and determining whether to follow them, their post history is rather important!

    You can view post history for a remote user just as with a regular user: Profile > Posts

    359b6584-606f-4afa-9964-b6f314814522-image.png

  • 0 Votes
    1 Posts
    50 Views
    ahmed26A

    I am doing the steps to create the database correctly according to the document.
    I am connecting to the database

    but it gives authentication error
    I don't understand where I am doing wrong
    ıo.PNG
    jjj.PNG

  • 0 Votes
    1 Posts
    57 Views
    D

    I recently attempted to install the plugin named nodebb-plugin-cobi-translate-posts, which was advertised as providing automatic translation of post content using ChatGPT 3.5. However, I didn't receive any instructions on how to configure it for this purpose. Has anyone successfully set up this plugin for auto-translation, and if so, could you please share the correct setup steps?

    After installed the plug in, I have the translate button in my forum, however, it does nothing after click on it.

    And Persona is my current theme.

    Thank you for any assistance or guidance you can provide!

  • 1 Votes
    1 Posts
    72 Views
    ahmed26A

    Hello friends I did these steps in mongodb

    x0.PNG

    x3.PNG

    How do I organize this section according to mongodb data information?
    can you write as an example I don't understand this part

    x1.PNG