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
  • Modify the tagging behavior in NodeBB

    Locked General
    11
    3 Votes
    11 Posts
    478 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

  • NodeBB: Creating pages

    Solved Configure
    9
    0 Votes
    9 Posts
    443 Views

    OK, I think I have figured out how to place a link in the footer which will click to a new page.

  • How to fix size of photos & videos NodeBB

    Solved Customisation
    7
    3 Votes
    7 Posts
    644 Views

    @crazycells pleasure. Using percentages makes much more sense in this case. It’s the same argument with px vs pt vs em with fonts, margins, padding, etc., in the sense that em is generally preferred over px and pt

    https://stackoverflow.com/questions/609517/why-em-instead-of-px

  • Title on homepage of nodebb forum

    Solved Customisation
    2
    1 Votes
    2 Posts
    661 Views

    @eveh Welcome board 🙂

    The code you are referring to is custom written as no such functionality exists under NodeBB. However, adding the functionality is relatively trivial. Below are the required steps

    Navigate to /admin/appearance/customise#custom-header Add the below code to your header, and save once completed <ol id="mainbanner" class="breadcrumb"><li id="addtext">Your Title Goes Here</li></ol> Navigate to /admin/appearance/customise#custom-js and add the below code, then save $(document).ready(function() { $(window).on('action:ajaxify.end', function(data) { // Initialise mainbanner ID, but hide it from view $('#mainbanner').hide(); var pathname = window.location.pathname; if (pathname === "/") { $("#addtext").text("Your Title"); $('#mainbanner').show(); } else {} // If we want to add a title to a sub page, uncomment the below and adjust accordingly //if (pathname === "/yourpath") { //$("#addtext").text("Your Title"); //$('#mainbanner').show(); //} }); }); Navigate to /admin/appearance/customise#custom-css and add the below CSS block .breadcrumb { right: 0; margin-right: auto; text-align: center; background: #0086c4; color: #ffffff; width: 100vw; position: relative; margin-left: -50vw; left: 50%; top: 50px; position: fixed; z-index: 1020; }

    Note, that you will need to adjust your CSS code to suit your own site / requirements.

  • Bootstrap Version

    Solved Customisation
    8
    5 Votes
    8 Posts
    520 Views

    @phenomlab That will be nice once they have completed that. It will be interesting to see how long that takes. So for now I will use custom css to make it look the way I want. Frameworks just make things a little faster. Thanks @phenomlab

  • is "night mode" shifting the forum several pixels up?

    Solved Configure
    8
    4 Votes
    8 Posts
    614 Views

    @crazycells hmm. Good point. I actually use my own version of the dark mode plugin, so not entirely sure. However, I think the CSS is probably the same. I’m not at my PC currently but can check and advise later.

  • Social icon (Nodebb)

    Solved Customisation
    7
    0 Votes
    7 Posts
    1k Views

    @phenomlab said in Social icon (Nodebb):

    @jac I just tested my theory around using the OG image, and according to the Twitter card validator, it works fine

    73e805e1-997b-41bf-9259-51c5052ca8fc-image.png

    fixed 🙂

  • NodeBB - Created pages not found?

    General
    20
    3 Votes
    20 Posts
    1k Views

    @jac Exactly. Hard point to argue.