Skip to content

TNG + Nodebb

General
  • One of the pieces of software I use is called TNG (The Next Generation of Genealogy Site Building). Here is the URL: https://tngsitebuilding.com/

    I have this installed on my dev environment which runs Arch, Nginx and Mariahdb. I have two other tests sites that are Wordpress test sites. The wordpress sites that I have running, tend to run a little on the slower side, even with caching plugins and all of that. The TNG site on the other hand run blazingly fast, it is impressive. I used to have that site live so family members can look at the information. TNG is built with PHP and the developer has done an amazing job with it and they continue to not disappoint with improvements.

    In the past on my live site, I used Wordpress alongside of it to write blog posts and such. Someone created a plugin so that usernames and data synced up and such. My crazy idea is to see how hard it would be to build a plugin for Nodebb to work with TNG. It would be nice so if a username was created on either one that you would be able to use the same username on the other. It would also be nice to be able to pull in information on a family member into Nodebb and such and be able to link information.

    The idea would be that you could create a category for the different families using their surnames. Those can be created manually, but then when someone creates a new topic they could search and link the person they want to talk about. That link could pull in some of the information about that person as a little summary and then when you click on that person in the post it would bring you to the TNG site where you could see everything about them.

    You would want it so it only is able to pull information from people that have died and any information from living people would not be available. This is my crazy idea for today, but I think the speed of Nodebb matched up with TNG would be pretty amazing.

  • @Madchatthew Certainly doable but would need a fair amount of effort seeing as you are dealing with two disparate databases and will need to be able to link them together for lookups. Not a crazy idea, but one that requires a lot of thought, planning, and overall design.

    WordPress is well known to be an animal no matter which caching plugins you use 🙂

  • @phenomlab said in TNG + Nodebb:

    Certainly doable but would need a fair amount of effort seeing as you are dealing with two disparate databases and will need to be able to link them together for lookups. Not a crazy idea, but one that requires a lot of thought, planning, and overall design.

    Yeah you would want to have a good plan in place on how to tackle something like this. A project like this would be a great way to develop more programing skills too. I may someday try and tackle that. It would be pretty awesome to get something like that going.

    @phenomlab said in TNG + Nodebb:

    WordPress is well known to be an animal no matter which caching plugins you use

    Isn’t that the truth! Wordpress has some nice things to it, but I hate how proprietary it is in regards to wanting to change something. I know you can change css and write you own plugin and do all of that, but over the years you have to try and use duck tape and super glue to change something to make it do what you want it to do. If you can use it just out of the box to do some minor things, then it works great, but to tweak it is a whole other story.

  • @Madchatthew said in TNG + Nodebb:

    you have to try and use duck tape and super glue to change something to make it do what you want it to do

    I couldn’t have put that better myself.


Related Topics
  • Nodebb design

    Solved General
    2
    1 Votes
    2 Posts
    284 Views

    @Panda said in Nodebb design:

    One negative is not being so good for SEO as more Server side rendered forums, if web crawlers dont run the JS to read the forum.

    From recollection, Google and Bing have the capability to read and process JS, although it’s not in the same manner as a physical person will consume content on a page. It will be seen as plain text, but will be indexed. However, it’s important to note that Yandex and Baidu will not render JS, although seeing as Google has a 90% share of the content available on the web in terms of indexing, this isn’t something you’ll likely lose sleep over.

    @Panda said in Nodebb design:

    The “write api” is preferred for server-to-server interactions.

    This is mostly based around overall security - you won’t typically want a client machine changing database elements or altering data. This is why you have “client-side” which could be DOM manipulation etc, and “server-side” which performs more complex operations as it can communicate directly with the database whereas the client cannot (and if it can, then you have a serious security flaw). Reading from the API is perfectly acceptable on the client-side, but not being able to write.

    A paradigm here would be something like SNMP. This protocol exists as a UDP (UDP is very efficient, as it is “fire and forget” and does not wait for a response like TCP does) based service which reads performance data from a remote source, thus enabling an application to parse that data for use in a monitoring application. In all cases, SNMP access should be “RO” (Read Only) and not RW (Read Write). It is completely feasible to assume complete control over a firewall for example by having RW access to SNMP and then exposing it to the entire internet with a weak passphrase.

    You wouldn’t do it (at least, I hope you wouldn’t) and the same ethic applies to server-side rendering and the execution of commands.

  • Removing blue 'moved' tag from post

    Solved Configure
    16
    3 Votes
    16 Posts
    720 Views

    @phenomlab
    Ah, got it working!
    I reversed the CSS addition to put z index high, and then I could see another error box saying fork title must be at least 3 characters.
    So made the new fork title longer and button responded.

  • Welcome to NodeBB V3!

    Pinned Moved General
    1
    0 Votes
    1 Posts
    240 Views
    No one has replied
  • Issues with 2nd NodeBB installation

    Solved General
    22
    3 Votes
    22 Posts
    1k Views

    @cagatay yes, that will be fine. Just watch for potential caching conflicts as you will have two sites writing to the one instance of iframely.

  • Error install plugin

    Solved Customisation
    8
    1 Votes
    8 Posts
    599 Views

    @pobojmoks

    Not WP plugin but nodeBB but it a known bug

  • 0 Votes
    5 Posts
    496 Views

    @qwinter this particular site uses the code I wrote if you want to see it in action. It’s a information and intelligence gatherer I designed for collecting various information security articles from around the globe and consolidating them in one place.

    Essentially, each “post” is in fact generated by the script, and the NodeBB API.

    https://hostrisk.com/

  • 2 Votes
    4 Posts
    411 Views

    @qwinter it’s workable I think, but not perfect - then again, unless you write a specific plugin to perform such a task, what is. As you pointed out, you have versioning of sorts with the historical access to reach post.

  • nodebb dropdown menu

    Solved Configure
    5
    0 Votes
    5 Posts
    525 Views

    @phenomlab said in nodebb dropdown menu:

    @kurulumu-net You set it like the below example taken from this site

    aae36790-3257-4bb2-ad5a-0d744309876a-image.png

    Which presents this

    77f47260-2941-4afe-9614-8e17dcfc8c19-image.png

    Very interesting…

    I actually thought this wasn’t possible, as I remember it being asked in the NodeBB forum.

    Is this something new that’s been implemented? I’ll 100% be doing that when I’m on the laptop over the weekend.