Jump to content
TNG Community
  • Topics

  • Blog Entries

    • Darrin Lythgoe
      By Darrin Lythgoe in TNG News 0
      For the tenth year in a row, TNG is a winner of the GenSoftReviews Users Choice Award! Thanks to all who contributed!
      Awards are presented to all programs achieving a 4.00 or more star rating
      based on 10 or more total user reviews, with at least one review in the qualifying year. TNG has 158 total reviews (10 in 2018), and has an average rating of 4.83 stars. That’s good enough for 5th best among 287 different programs that received at least one review!
      More information on the awards can be found at GenSoftReviews (full rankings at http://www.gensoftreviews.com/rankings.php). All GenSoftReviews for TNG are posted at http://www.gensoftreviews.com/?p=825.

      View the full article
    • Darrin Lythgoe
      By Darrin Lythgoe in TNG News 0
      TNG 12 is almost here! This major upgrade includes dozens of enhancements, fixes and new features. Here’s a summary of the most significant changes:
      DNA: Jeff Robison’s DNA mod has been incorporated, providing several significant enhancements to the previous method of tracking DNA tests. Mod Manager: Rick Bisbee, Ken Roy and others have added significant improvements to this utility that allows users to easily install or remove code modifications and add-ons. Translations: TNG has now been translated into Chinese, as well as 20 other languages. Google Translate tools have also been added to the online help pages and the installation guide to allow users to view those resources in their own language. New Designs: Three new templates have been added, and improvements have been made to several others. The template settings have also been moved to a more robust location, within the database. Media Enhancements: Many improvements have been made in the way TNG handles photos and other media. These include importing media linked to citations, creating thumbnails from some PDFs, being able to show thumbnails in a single horizontal row if desired, and showing captions on top of image previews. Libraries Upgraded: Third party libraries for jQuery, jQueryUI and PHP Mailer have been upgraded to the latest versions. The C3 and D3 charting libraries have also been added. New Visualizations: A First Names page (like the existing Surnames page) provides a different way to look at your data, and the new C3/D3 charting libraries allow for pie chart representations on those pages and on the Statistics page. Security: The reCaptcha mod has been incorporated, giving TNG site owners a way to fight spam from bots. A few other security updates will prevent authorized access in previously vulnerable areas. User Access: Registered site users can now be assigned to multiple trees. Admins and editors will still see only one tree at a time, but they can easily switch from one tree to another without logging in multiple times. New Tools: A “Refresh Living” utility will re-mark people as living or deceased, depending on dates entered or time elapsed from birth, while a “Make Private” tool will mark people as private if they have been deceased less than the configured number of years. Compatibility: Pro-active changes will make sure TNG remains compatible with the latest versions of PHP and MySQL. You can get the upgrade at a discount (starting at $15.99) by going back to your previous downloads page. If you’ve lost the URL or access info, send me a message at darrin@lythgoes.net and I’ll send it to you again. If you purchased TNG 11 or the v11 upgrade at any time in the six months prior to the upgrade release date, you’ll be eligible to get the upgrade for free. Information on that will be sent out to those affected.
      If you purchased TNG through a third party (like the Guild of One-Name Studies), please contact them for information on upgrading your site.
      Also take note that Simply Hosting does not install upgrades. A helpful 15-minute video will be available to walk you through the process, but there will also be an option to pay an extra $15 to have the upgrade installed for you. If you’re doing the upgrade yourself, take a minute to review the post here from the v10 release on helpful tips for a successful upgrade.

      View the full article
    • Darrin Lythgoe
      By Darrin Lythgoe in TNG News 0
      Like TNG, the underlying PHP is constantly changing, and new updates are released every few months. Hosting providers don’t always install the latest version right away, but they almost always get to it eventually.
      When that happens, there are usually a handful of PHP functions that for whatever reason are no longer supported in the newer version. For example, the “session_register” and “session_unregister” functions were removed a while back, and all the “mysql” functions (like mysql_query) were removed with the jump to PHP 7.0.
      I have always tried to keep pace with these changes, removing functions like that from the TNG code before PHP removes them, so if you keep your TNG up to date you shouldn’t experience any problems. If you’re still running an older version of TNG, however, you may suddenly run into trouble if your hosting provider upgrades PHP without notice. It won’t affect every page on your site, but if you happen to execute some of the problem code, you’ll be stopped short. Sometimes you might get a blank page, but most of the time you’ll see an error message like this:
      Fatal error: Call to undefined function session_register() in /public_html/genealogy/globallib.php on line 5
      It’s possible that a message like this would refer to a TNG problem, like if a key file was missing. If you want to know for sure, do a Google search on the the middle part of the error message (“Call to undefined function session_register()”, in this instance). If it’s just a problem with your TNG files, you probably won’t get many results. If the function named is one that PHP has removed though, you should see several hits referring to that fact, and you can know that it’s time to upgrade TNG.
      To get the upgrade at a discount, you can always go back to your previous TNG downloads page. The payment options will be visible in the “TNG Updates” section. If you’ve lost the access info for that page, please feel free to drop me a note.

      View the full article
  • Who's Online (See full list)

    There are no registered users currently online

  • Posts

    • theKiwi
      Some of the posts I've seen here, including made by  me have the code that I have put into the Enhanced Text Widget. When I created this, I was assuming use of the TNG-WordPress plugin , so things like this section $path = get_option('mbtng_path'); chdir ($path); $wp_tng_path = get_option('mbtng_url'); include ("userscripts/list_birthdays.php"); mbtng_close_tng_table (); if being used on a site that does NOT have the plugin... the first line would fail since mbtng_path is a setting created by the plugin So the second line would fail because $path is undefined the third line would fail because the mbtng_url is a setting created by the plugin probably the 4th line would fail because WordPress doesn't know where to look for "userscripts" the last line would fail because the function mbtng_close_tng_table is only defined in the plugin. Roger  
    • KevyNC
      FWIW -- I am running Wordpress 5.1.1 and PHP 7.2.16. Also  MySQL 10.1.38.  It did not appear I was successful in getting the Plugin to work when I tried in the past. Also I use the Woody Plugin (which I believe is newer).  Curious if a single database would make a difference. My knowledge is very limited so I can only speculate and/or ask questions. not sure if Functions would have anything to do with it.   I might also be confused on sites that I have seen and not understand which method they have used when I viewed them. Roger, Thanks for the info. Kevin
    • theKiwi
      Let me preface this by saying that I'm using the TNG-WordPress plugin... On both my sites (one is WordPress 4.9.10, the other is now on 5.2beta) all of the scripts will run if they are called in succession in a single Enhanced Text Widget, but I have never been able to figure out why you can't have more than one widget with the scripts in - it's something about accessing the WordPress database interspersed with accessing the TNG database, but I've never figured out exactly what the problem is. I have not tried using a single database for both TNG and WordPress - I don't know if that would make a difference or not. Also I don't really know if the plugin causes a different behaviour than using the Kloosterman method does in terms of interactions between scripts and database(s) - it shouldn't because the plugin isn't directly involved in displaying a non-TNG page where the widgets are display, but the plugin is in play somehow because the functions that start with "mbtng_" are only defined in the plugin code. Roger  
    • theKiwi
      Are you hosted with Simply Hosting? If not, then I respectfully suggest you don't know how it works there. Simply Hosting provide an interface that allows their customers to query the firewall listings of the server they are hosted on to find out if an IP number is blocked, and if so to unblock it. The listing gives the reason for the block straight out of the server logs with reasons like (to paraphrase since I don't have a condition to unblock someone right now to get the exact wording) "too many incorrect password attempts within xxx seconds at xx:xx:xx the time the block was applied." I have such access to 2 of the Simply Hosting servers, but not the one that the lythgoes.net stuff lives on. Roger
    • theKiwi
      Do you know that the top 10 lists and statistics that you have written will correctly show extended characters? (none of the ones shown have extended characters in them). I guess to know that for sure you'd have to edit one of the most popular place names to have extended characters in it and see how it displays. (then change it back afterwards). Roger
×