Skip to content

General Discussion

A place to talk about whatever you want

3.9k Topics 23.8k Posts
  • NodeBB version 3.10 error

    6
    0 Votes
    6 Posts
    439 Views
    D
    @baris i don't think so! I see this case: System load slow after you login admin, it effect all everyone. System fast if you don't login. i see a log: WARNING in ./node_modules/fetch-cookie/node_modules/tough-cookie/lib/utilHelper.js 4:11-26 Module not found: Error: Can't resolve 'util' in '/home/nodebb/node_modules/fetch-cookie/node_modules/tough-cookie/lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } ERROR in node:url Module build failed: UnhandledSchemeError: Reading from "node:url" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to handle "node:" URIs. at /home/nodebb/node_modules/webpack/lib/NormalModule.js:973:10 at Hook.eval [as callAsync] (eval at create (/home/nodebb/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1) at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/nodebb/node_modules/tapable/lib/Hook.js:18:14) at Object.processResource (/home/nodebb/node_modules/webpack/lib/NormalModule.js:969:8) at processResource (/home/nodebb/node_modules/loader-runner/lib/LoaderRunner.js:220:11) at iteratePitchingLoaders (/home/nodebb/node_modules/loader-runner/lib/LoaderRunner.js:171:10) at runLoaders (/home/nodebb/node_modules/loader-runner/lib/LoaderRunner.js:398:2) at NormalModule._doBuild (/home/nodebb/node_modules/webpack/lib/NormalModule.js:959:3) at NormalModule.build (/home/nodebb/node_modules/webpack/lib/NormalModule.js:1144:15) at /home/nodebb/node_modules/webpack/lib/Compilation.js:1418:12 This is my config.json { "url": "http://mydomain", "secret": "{myhash}", "database": "mongo", "port": ["9901", "9902", "9903", "9904", "9905", "9906", "9907", "9908", "9909"], "mongo": { "host": "127.0.0.1", "port": "27017", "username": "{user}", "password": "{pass}", "database": "{dbname}", "uri": "" }, "redis": { "host":"127.0.0.1", "port":"6379", "database": 0 }, "max-memory":5000 } Do you want to connect with me for get this case? i can provide SSH for you check details.
  • Is it possible to somehow show a video from the S3 minio storage?

    2
    0 Votes
    2 Posts
    123 Views
    K
    Is it possible to simply show a video from another computer on the network? There is a computer with nodebb on the Internet and there is a computer with an HDD. It is necessary to make it so that users can send their videos to the computer with the HDD and everyone can watch it. Video files should not be copied to the computer with nodebb. How to do this?
  • Admin plugins page error

    3
    0 Votes
    3 Posts
    131 Views
    phenomlabP
    Not sure if related, but [image: 1727957706381-8316a5d1-85c0-47c5-a0f1-205a6eb48b97-image.png] Installs fine via CLI
  • Is there a way to set up a Time-To-Live for a post?

    1
    0 Votes
    1 Posts
    106 Views
    D
    Is there a way to set up a Time-To-Live for a post? For example, I want to have an option for a post to display for exactly 'X' hours (selectable between 1 and 72 hours) after it is posted and then not display anymore automatically. Post still in the database and still viewable by poster (only), but gone from main forum.
  • Trying to use api with bearer token to upload file, but response with 403 forbidden.

    Solved
    5
    0 Votes
    5 Posts
    281 Views
    ciallooC
    problem solved today, thank baris
  • Will NodeBB still be a good fit without using ActivityPub

    3
    1 Votes
    3 Posts
    218 Views
    julianJ
    As @baris said, yes, definitely! NodeBB is still the same great community engine underneath. The ActivityPub work is simply one facet of NodeBB that will hopefully provide some benefit to those interested, but if that's not your cup of tea you can leave it disabled.
  • How to present excerpt topics?

    7
    0 Votes
    7 Posts
    315 Views
    barisB
    https://github.com/NodeBB/nodebb-plugin-feed does something similar, it loads the main post of the topics and displays them at /feed
  • Nodebb Azure OpenAI

    1
    0 Votes
    1 Posts
    100 Views
    M
    Github:https://github.com/malaohu/nodebb-plugin-azure-openai Base On :https://github.com/NodeBB/nodebb-plugin-openai Demo:https://jike.info/topic/36108/ [image: 1727423712194-fb26473b-418d-43a6-8a48-f00909c1a710-screenshot1.png]
  • Older post are not listed on page

    4
    0 Votes
    4 Posts
    194 Views
    barisB
    You can increase the recent topic count in the ACP. Again this won't show all the topics going back to first one but you will see more. [image: 1727269191110-ecf9bc55-9712-41b6-9e1f-2b110de0dd7c-image.png]
  • Favicon file type

    7
    0 Votes
    7 Posts
    304 Views
    julianJ
    @eeeee my mistake, only brand:favicon is used as the favicon. As you assumed, the touch icon is used for mobile devices. We expose it in the page meta tags as an optional icon for mobile devices to use in bookmarks and when added to the home page. The "maskable" icon is meant to be an image that is preferable to be edited computationally. An One example of a maskable icon used would be the icons in your phone's notification bar — they're shrunken down and flattened to black-and-white. Some sites would prefer a different icon (maybe one that is less busy, or fewer colours, etc). For example, on another site I admin, OpenBeta, the icon is white-on-orange. When automatically masked, the icon ends up white on white, which is undesirable, so this site uploaded a black-on-white "maskable icon" that shows up correctly when masked.
  • Push notifications opening in wrong window

    2
    0 Votes
    2 Posts
    118 Views
    phenomlabP
    @julian Same experience on Edge as with Chrome.
  • Post comments on profiles?

    5
    0 Votes
    5 Posts
    295 Views
    SaarolS
    Thank you! I'm super looking forward to figuring this all out!
  • Custom search menu for one category

    Solved
    3
    0 Votes
    3 Posts
    166 Views
    N
    Figured it out. All good. Thanks for the help. Much appreciated.
  • Modify single user url structure

    4
    0 Votes
    4 Posts
    215 Views
    barisB
    You would need to create new routes in your plugin like so helpers.setupPageRoute('/:groupslug/:userslug', middlewares, function (req, res, next) { // todo: get uid of user using req.params.userslug // todo: check if user is member of req.params.groupslug // todo: render account template with all data }); You can take a look at the core user routes on how to do most of this stuff.
  • Colors in editor

    2
    0 Votes
    2 Posts
    137 Views
    barisB
    Composer plugin doesn't have colors, maybe you had a plugin that added them?
  • Images in 'World' posts not always showing

    11
    0 Votes
    11 Posts
    417 Views
    julianJ
    @eeeee using the latest version of both activitypub branch and link-preview, the images seem to be showing up ok. I did find a bug where editing a post caused the pictures to disappear, oops! That's fixed in the latest link-preview plugin version, 2.0.11.
  • What is this and where to find

    3
    0 Votes
    3 Posts
    269 Views
    traarrrT
    Thank you so much @baris .
  • Anandtech shutdown

    1
    8 Votes
    1 Posts
    167 Views
    julianJ
    It seems Anandtech is closing up shop after 27 years of coverage — simply astounding. One interesting thing they included in their farewell: The AnandTech Forums will also continue to be operated by Future’s community team and our dedicated troop of moderators. With forum threads going back to 1999 (and some active members just as long), the forums have a history almost as long and as storied as AnandTech itself (wounded monitor children, anyone?). So even when AnandTech is no longer publishing articles, we’ll still have a place for everyone to talk about the latest in technology – and have those discussions last longer than 48 hours. Emphasis mine. That single phrase is one of the reasons why we started NodeBB and continue with it today. The social media landscape is rife with hot takes and expressions of opinion that last a mere days before it is pushed aside to make way for new content. It's by design and a part of the reason why the web seems so much shallower now than it did even a decade ago. Admittedly, it's what a lot of people want, and the last thing I want to do is to say that you're "using the web wrong", but there are a significant number of people who want to use the web to have real, genuine, long-term discussions with other human beings, and the best way to do that is with a forum. With ActivityPub integration, we're hoping to extend that olive branch into a fediverse mostly inhabited by a microblogging software. Goodbye Anandtech, you will be missed!
  • NodeBB federation as chat client

    8
    0 Votes
    8 Posts
    267 Views
    julianJ
    @eeeee yes that makes sense
  • Showing Widget on topic in category

    18
    0 Votes
    18 Posts
    345 Views
    phenomlabP
    @eeeee The embedded link via <script> does not work all of the time as it is only set to trigger onLoad whereas the <iframe> solution will work every time because it needs to call the remote source. NodeBB loads all assets onLoad as an SPA (Single Page Application) and will not make any further calls to remote sites unless requested by an ajax request. This is why the <script> embed will always work when you press F5 as the entire site is being loaded, but not when the links are clicked as there is no ajax request.