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
    293 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.

  • NodeBB v3 Chat Very Slow

    Moved Performance
    47
    11 Votes
    47 Posts
    4k Views

    @DownPW Seems fine.

  • Welcome to NodeBB V3!

    Pinned Moved General
    1
    0 Votes
    1 Posts
    245 Views
    No one has replied
  • 36 Votes
    55 Posts
    5k Views

    @DownPW I see why. The code relies on the existence of

    [component="topic/quickreply/container"]

    However, this by definition means that the below has to be enabled

    aeef638f-4188-489d-a9f2-f3a26dbca9d8-image.png

    It will then work

    7fb38631-e0f3-46ef-b652-00929d927b13-image.png

    For some unknown reason, this is hidden in Harmony, and only shows if you select it. In v2, it seems that the <section> is deleted altogether in Persona if “Quick Reply” is disabled, meaning it won’t fire as it can’t locate that specific component.

    The downside is that you might not want the quick reply function, but I think it’s a PITA to scroll up to the top of the post just to reply, so I have it on 🙂

  • Fresher in Nodebb install

    General
    24
    15 Votes
    24 Posts
    2k Views

    @Hari I’ve been reading a lot about APO. Looks impressive.

  • 0 Votes
    5 Posts
    530 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/

  • 5 Votes
    9 Posts
    1k Views

    is there any way to see whose reputation is changed by this plugin?

  • Nodebb best plugins

    General
    18
    7 Votes
    18 Posts
    1k Views

    @phenomlab thanks 🙂