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

  • Modify the tagging behavior in NodeBB

    Locked General
    11
    3 Votes
    11 Posts
    453 Views

    For anyone else following this thread

    https://community.nodebb.org/topic/17402/change-in-reply-to-xxxx-text

    And

    https://github.com/NodeBB/NodeBB/commit/f2152953cddd3247746ef393516b0a53ba7750a4

  • Plugin to show images in teasers

    General
    6
    2 Votes
    6 Posts
    327 Views

    @dave1904 I’d start by adding a console.log function to hookData so you can see what is being returned

    return hookData; console.log(hookData):
  • Embedding external URLs

    Solved General
    3
    3 Votes
    3 Posts
    179 Views

    Many thanks! I’ll use your walkthrough and go for the self-hosted solution.

  • Want to use Sudonix themes ?

    Chitchat
    57
    31 Votes
    57 Posts
    2k Views

    @cagatay yes, but I’d reiterate the concerns I’ve raised above in the sense that it may impact the flow of other elements.

    Essentially, this is fm going to be a relatively simple CSS change.

  • [NodeBB] username cards

    Solved Customisation
    8
    5 Votes
    8 Posts
    885 Views

    @phenomlab

    Aha…nice to know. As always thank you for the reply and information.

  • Nodebb Hashtag plugin

    Solved General
    15
    1 Votes
    15 Posts
    866 Views

    @jac Great ! I’ll close this off.

  • Customising NodeBB

    Locked Customisation
    3
    0 Votes
    3 Posts
    733 Views

    Closing this thread as a duplicate of https://sudonix.com/topic/12/nodebb-customisation