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
  • Opening links in nodebb widget

    Solved Configure
    6
    4 Votes
    6 Posts
    149 Views

    A more efficient way of including this would be to not over complicate it and leverage a standard iframe (providing the CSP headers of the remote site permit this) like below

    <iframe src="https://www.classmarker.com/online-test/start/?quiz=gag66aea7922f0a5" width="700" height="800"></iframe>

    This works first time every time on your site as intended.

  • Interesting Widget code, but can't fetch API

    Solved Customisation
    26
    2 Votes
    26 Posts
    1k Views

    @Panda said in Interesting Widget code, but can’t fetch API:

    How did you drop that widget into the post there?
    I hadnt seen this BSgenerator anywhere on sudonix site, do you use it somewhere already?

    Yes, here

    https://sudonix.org/topic/414/corporate-bullshit-generator?_=1687774393044

    It’s not a “post” or “topic” in the common sense. It is actually a page in it’s own right and leverages nodebb-plugin-custom-pages. This in turn creates a new “route” which behaves like a page, meaning it is then exposed for widgets.

    @Panda said in Interesting Widget code, but can’t fetch API:

    Also can you explain more what you mean by calling the code externally. In my API call example, how would I go about doing that?

    By this, I mean create all the required code in an external JS file that is reachable by the NodeBB instance - so, in “public” for example - or in my case /public/js. The widget then “calls” that file and because it runs outside of the scope of NodeBB, you just need to return the values to the widget.

    Hope this makes sense?

  • NodeBB upgrade now cant post

    Solved Bugs
    5
    2 Votes
    5 Posts
    366 Views

    @Panda yes, for some reason, that is the case. If you need an urgent response, it’s probably better to post here because of the time difference.

  • 4 Votes
    8 Posts
    426 Views

    @Panda said in Upgrade to NodeBB v3? 2BB or not 2BB, that is the question!:

    So although thats a plugin it has Widget like element and stopped working on the Theme change

    Which is normal based on the widgets being reset when you change themes.

  • Welcome to NodeBB V3!

    Pinned Moved General
    1
    0 Votes
    1 Posts
    232 Views
    No one has replied
  • 0 Votes
    5 Posts
    455 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/

  • NodeBB vs Flarum for a non developer

    Solved General
    17
    10 Votes
    17 Posts
    1k Views

    @marusaky That’s really easily done. I think the docs need updating for the latest release. Did you land up on the 18.x train ?

  • Nodebb best plugins

    General
    18
    7 Votes
    18 Posts
    1k Views

    @phenomlab thanks 🙂