Skip to content
  • 15 Votes
    7 Posts
    354 Views

    @julian @JP_Bennett @FLOSS_Weekly @[email protected] @[email protected] listening too it now while updating @[email protected] @[email protected] need something to listen too while still working for another 1,5 hour

  • 12 Votes
    16 Posts
    305 Views
    julianJ

    Quick update: you are now able to mention individual users in your posts, and if you are mentioned in return, you will now be notified.

    There was also a bug where remote user avatars were not showing up in your notification inbox. That has now been rectified.

    eef805e8-3ccf-47d6-b7b9-c7d96e5df9e6-image.png

  • 0 Votes
    2 Posts
    81 Views
    T

    The second question as an update for this topic is: how do I add a trailing slash to the URI of an arbitrary topic?
    Raw nginx rewrite as follows doesn't do the trick

    rewrite ^([^.]*[^/])$ $1/ permanent;

    Update:
    I need trailing slash in order to eliminate page_with_redirect issue.

  • 2 Votes
    14 Posts
    322 Views
    crazycellsC

    @omega yes, I totally agree 👍 It should only be at the top to show the trail of the page...

    And tag row needs to be for hashtags 🙂 not for the sub-category name...

  • 2 Votes
    3 Posts
    912 Views
    B-738B

    @omega said in NodeBB made it on to AdminZone "Best Forum Software" poll:

    Back in 2014... but I'm sure it can do better in 2024! 😉

    IPB Votes: 63 22.9%
    vBulletin Votes: 12 4.4%
    MyBB Votes: 17 6.2%
    phpBB Votes: 10 3.6%
    NodeBB Votes: 5 1.8%
    SMF Votes: 15 5.5%
    Others Votes: 15 5.5%
    XenForo Votes: 115 41.8%
    BuddyBoss Votes: 2 0.7%

    https://www.theadminzone.com/threads/best-forum-software-in-your-opinion.116636/

    Stupid ! Scam ....ALL PHP STUPID AND LAST century

    Forgot about PHP ....

  • 0 Votes
    9 Posts
    369 Views
    N

    @crazycells From what I can tell, there aren't any videos on the board itself but links to youtube.

    I wondered if nodebb could handle video uploads itself.
    I would need to allow users to upload images and videos on their profiles, like a personal feed on social media.

    After doing more research, I see that images can be uploaded but videos have to be a link to the video. I see there are several embed plugins too.

    With that in mind, and since nodebb has an API, I can think of a few things that might work so need to look into those.

  • 0 Votes
    2 Posts
    147 Views
    DownPWD

    We have discussed quite a few things which relate to your request in this topic if it interests you 🙂

    Link Preview Image Forum activity page or widget

    I'm pulling up this thread in case someone is interested in developing this

    favicon

    NodeBB Community (community.nodebb.org)

  • 0 Votes
    2 Posts
    260 Views
    julianJ

    I think you might need to elaborate on this, it seems too vague for us to give you an answer.

  • 0 Votes
    2 Posts
    316 Views
    crazycellsC

    @jsmith I think you should remove "login" privileges from all users except the admin. just viewing privilege stays on...

    if you need a more customized solution, you can remove "posting" privileges as well...

  • 2 Votes
    4 Posts
    628 Views
    crazycellsC

    @omega well, there are rules to follow...

    Gizmo Gremlins GIF

  • NTFY: NodeBB

    Technical Support
    24
    0 Votes
    24 Posts
    2k Views
    phenomlabP

    @julian Confirmed working - thanks.

  • 0 Votes
    2 Posts
    207 Views
    julianJ

    MongoDB is the recommended data store.

    For development I use redis because it is just easier for me to use (e.g. zrange sortedSet 0 -1 vs db.objects.find({ _key: "sortedSet" }).pretty();)

    All three are supported by the NodeBB team 😄

  • 1 Votes
    11 Posts
    595 Views
    phenomlabP

    @julian said in is nodebb the right choice ? why the community is not vary "active "? installed nodebb and finds it vary enjoyable so far, where is everyone?:

    I will say this, however... I refuse to believe that humanity will stoop to the lowest common denominator. Yes, maybe we'll go through phases where we just send memes to one another, but we will always rise above and return to a medium where long-form content is shared and appreciated. We will always need long-form journalism, and yes, even forum software for in-depth discussion.

    This is a great point. Long-form responses that actually explain something add far more weight and value in my view. I'm no fan of the tldr brigade, and it's just being lazy. Yes, I appreciate that (in the case of my forum which offers solutions) people are keen to get to the bottom line, but if you don't read the thread in it's entirety, what did you learn exactly ?

    The answer? Nothing - you just got the answer which you won't remember when the same issue occurs in the future 🙂

  • 3.0.0 Bug Report Thread

    Bug Reports
    414
    2 Votes
    414 Posts
    161k Views
    barisB

    @brazzerstop https://github.com/NodeBB/NodeBB/issues/11902

  • 0 Votes
    5 Posts
    463 Views
    julianJ

    Hooray! Thanks for coming back and confirming the new file works for you 😄

  • 1 Votes
    2 Posts
    586 Views
    omegaO

    Cool and for context a link to the upgrade doc section - https://docs.nodebb.org/configuring/upgrade/

  • 1 Votes
    20 Posts
    4k Views
    PitaJP

    @fevzikorkutata I don't understand what you're saying.

    That fix is in 1.17.0 so you shouldn't have run into that issue if you went straight from 1.0.3 to 1.17.0 as I recommended.

  • 2 Votes
    3 Posts
    721 Views
    dogsD

    @gotwf I'm not sure it's been weeks ago I wrote this. 😄

    Maybe I did not find this or something didn't work for me. I can't tell you...

    Greets

  • 0 Votes
    1 Posts
    565 Views
    dogsD
    This is just a little snippet.

    This is about the question How can I add custom data to a post? a small tutorial

    How to add custom data permanently to a post It will be saved into the object:

    You need the following hook:

    { "hook": "filter:post.create", "method": "postCreate" }

    This hook is fired, when a Post is created. So it contains RAW Data.

    A filter:hook like "hook": "filter:post.create" can be edited before beeing proceeded.

    plugin.postCreate = function(data, callback){ // Edit data here callback(null, data); }

    You can access all Data you can work with via the data object.

    All those filter-hooks needs callbacks. The callback contains the modified / added / removed data.

    Whats inside the data object?

    The data object contains two main objects.

    this.post this.data post: { pid: 259, uid: 2, tid: 111, content: '### This is just a little snippet.', timestamp: 1617150411838 }, data: { uuid: '7277s31-6d23-43sa-1284-ad27e42yx879', title: 'How to add custom data to post serverside - in a nutshell', content: '### This is just a little snippet.', thumb: '', cid: '2', tags: [], uid: 2, req: { [...] }, timestamp: 1617150411838, fromQueue: false, tid: 111, ip: '111.123.2123.21', isMain: true } }

    With all the data you can work with. But only this.post is directly effected (lol) to the post Object.
    If you add data here. It will be attached to the post forever and you can access it any time. Even after plugin disable.

    So now add custom data:

    plugin.postCreate = function(data, callback){ // adds data **PERMANENT** to post // before any other procession -> RAW DATA (markdown) //data.post.myData = "directly effected to post you can work with it in next step"; //data.data.myData = "other data for other things I don't know"; var myData = {}; myData.name = "Schmock"; myData.signature = "raz0rn"; // Stick myData to post object data.post.myData = myData; // Debug? // console.log("POST CREATE", data); // finish the process() - passes on modified data callback(null, data); }

    So myData has added to post:

    post: { pid: 259, uid: 2, tid: 111, content: '### This is just a little snippet.', timestamp: 1617150411838, myData: { name = "Schmock", signature = "raz0rn", } }

    The data is stored. Everybody is happy.

    dance minions

    How to add dynamic data before render a post in template It wont be saved to the object. You can use this for dynamic things or logic before rendering the page.:

    You need the following hook:

    { "hook": "filter:topics.addPostData", "method": "addPostData" }

    This hook is fired before engine renders the template.
    It also needs a callback because its a filter-hook.

    plugin.addPostData = function(data, callback){ // modify data temporarily before it gets passed on to next step callback(null, data); }

    Same thing as above. Only the hook is different. And the data we are changing is temporarily.
    Data contains all data we can use for the dynamicness lol: .

    plugin.addPostData = function(data, callback){ // You can work with pre-parsed and already saved data .... // or put in something very flexible without saving to db like jquery-like dynamic etc etc // Debug? // console.log("addPostData?", data) var _posts = data.posts; _posts.forEach(function(post){ if(post.myData){ // add data to post if "myData" is there post.content = "THIS POST HAS MY OWN DATA -> CONTENT IS OVERWRITTEN"; } // this here affects all posts post.user.signature = "Ihr seid alle Schmocks!"; }); // Overwrite data and pass modified data on to the template engine data.posts = _posts; callback(null, data); }

    Now you can work with posts like a boss.

    Bildschirmfoto 2021-03-31 um 03.10.32.png

    dab

    Thanks and bye

    Important Note:

    Remind, that myData is available via API.

    https://nodebb.development.fail/api/topic/114/new-post

    returns your added data

    "content": "THIS POST AS MY OWN DATA -> CONTENT IS OVERWRITTEN", "myData": { "name": "Schmock", "signature": "raz0rn" }
  • 0 Votes
    5 Posts
    887 Views
    dogsD

    @pitaj Nice that was easy! Thank you 🙂