Search the Community
Showing results for tags 'tng-v15'.
-
TNG 15.0.2 Hello, folks, I am having a heckuva time with my media in TNG 15.0.2, and apologies in advance for all the screenshots ... I created a new media collection with a Display Title of People: ... and successfully uploaded photos to it: I then decided to rename the Display Title to Photos of People, and successfully renamed it: ... and it shows up when choosing a collection: However, on the GetPerson page, it still shows up as the old Photos title instead of the new Photos of People title: So, as a test, I created a temporary new collection and called it Photos for Testing: ... and when I temporarily added a new test photo to that test collection, it displays Photos for Testing title correctly on the getperson page: When I go into phpMyAdmin, under tng_medialinks, I see the correct title in the Display column: I've cleared my (Brave) browser cache, and tried a different browser (Edge) and cleared its cache too, and also purged the entire cache for that domain on Cloudflare. But I can't seem to get the new title of Photos of People to display on the getperson page . Anyone have any idea why this is happening, and how I can fix it? I could just delete that collection & add another collection with a different name, but can't think of another name to use instead. Thanks in advance & have a great day. Regards, John
-
SOLVED:Unused Media mod 15.0.2.0 issues with website version but not locally
Philip Roy posted a topic in TNG Modifications
https://tng.lythgoes.net/wiki/index.php?title=Unused_Media TNG version 15.0.2. The issue is only happening on my online site and not my local site on my Mac...which is what is confusing me. The settings for the mod are the same for both installs. I thought this was possibly a PHP issue as my online website is running PHP v8.4.7 and my local copy of TNG is running under v8.3.14. But I changed my site to v8.3.21 (the only 8.3 option that was available to me) and the issue continued. You can see the problem from the image that I have attached. The Unused Media mod is not only displaying a lot of non-media files, it seems to be going through every folder on my site. I uninstalled the mod and reinstalled it. I also uploaded a complete clean copy of every TNG site file and reapplied my mods...but no luck. I then looked at the files that the mod creates and I found 3 in the extensions folder...unused_media_folder_list.php, unusedmedia.txt and unusedmediatemp.txt. The PHP file locally was considerably shorter (354 lines) than the one online (969 lines). I deleted the online one and allowed the mod to recreate it, but again, same big number (969) of lines in the PHP file online. I note that even the start of the files differ. Here's the start of the local version of the unused_media_folder_list.php file... <?php // Unused Media folder list $d = array(); $d[0] = "documents"; $d[1] = "documents/books"; $d[2] = "documents/census"; $d[3] = "documents/certificates"; $d[4] = "documents/certificates/Birth"; $d[5] = "documents/certificates/Christening-Baptism"; $d[6] = "documents/certificates/Death"; $d[7] = "documents/certificates/Marriage"; $d[8] = "documents/certificates/War-Graves"; $d[9] = "documents/correspondence"; $d[10] = "documents/journals"; And here's the online unused_media_folder_list.php... <?php // Unused Media folder list $d = array(); $d[0] = ""; $d[1] = "/admin"; $d[2] = "/backups"; $d[3] = "/classes"; $d[4] = "/css"; $d[5] = "/documents"; $d[6] = "/documents/books"; $d[7] = "/documents/census"; $d[8] = "/documents/certificates"; $d[9] = "/documents/certificates/Birth"; $d[10] = "/documents/certificates/Christening-Baptism"; $d[11] = "/documents/certificates/Death"; $d[12] = "/documents/certificates/Marriage"; $d[13] = "/documents/certificates/War-Graves"; $d[14] = "/documents/correspondence"; $d[15] = "/documents/journals"; It's adding in folders that I can't understand why? I can't figure out what is going on or what I have done wrong? -
Hello, folks, For the past couple of years, I had been using 2 specific variables on some of my custom TNG 14.x pages (and maybe earlier versions of TNG too), and they always worked & displayed perfectly (when a user is actually logged in, of course). The 2 variables were mypersonID and mygedcom: <?php echo $_SESSION['mypersonID']; ?> ...and: <?php echo $_SESSION['mygedcom']; ?> However, now with TNG 15.0.2, the above no longer work at all. Does anyone know if mypersonID and mygedcom have changed to something different in TNG 15? Thank you in advance & have yourselves a great day. Regards, John
-
Reducing TNG 15.0.2 font sizes in 3 different places
JMM posted a topic in Templates or Design Questions
TNG 15.0.2 Template 2 Hello, folks, Back in February of this year when TNG 15.0 first came out, some users were able to help me reduce the font size on my TNG main page, by adding some code to my templates/template2/css/mytngstyle.css file. Thank you again, Philip & Rob. I find myself at this time needing to do the same to set specific font sizes in 3 different places on my TNG 15.0.2 site. Menu bar: If you look at THIS page, on the Menu Bar, note that the first 3 items (Home, Search & Login) are much larger than the next 3 items (Find, Media & Info) and the 2 items on the right side of the menu bar (Print & Bookmark): ...and with the Menubar Optimizer mod installed, note the menu items with the larger fonts too: I am hoping that someone can tell me what to add to my templates/template2/css/mytngstyle.css file, so that all the menu items are the same font size (I wish to have them all the same size as the Find, Media & Info items. Tabs: Next, on the same sample page above, note the somewhat-large size of the tabs (Individual, Ancestors, Maternal line, Paternal line, Descendants, Relationship, etc.): I am hoping that someone can also tell me what to add to my templates/template2/css/mytngstyle.css file, so that all those tabs on that line use a slightly-smaller font size. The line below that, with Personal Information, Sources, Event Map, etc., is perfect as-is. topmenu.php: Finally, on the same sample page above, note in the Top Menu the size of the fonts that display Home Page, What's New, Photos, Histories, Headstones, Reports & Surnames, and over on the right size of the bar, the text First Name & Last Name: Likewise, I am hoping that someone can also tell me what to add to my templates/template2/css/mytngstyle.css file, so that the text in white is slightly-smaller. After I get the font size smaller, I will removing the menu items in the middle, (Home Page, What's New, Photos, Histories, Headstones, Reports & Surnames), and adding the 2 radio buttons on the right (Birth & Married), so that my TNG 15.0.2 topmenu looks the same as my TNG 14.0.6 was: Thank you in advance & have yourselves a great day. Regards, John -
TNG versions 14.0.6 and 15.0.1 MySQL version 8.0.39-cll-lve Hello, folks, Firstly, I am aware that when doing upgrades from TNG 14.x to TNG 15.x, a special process needs to be run, to upgrade the database structure from TNG 14.x to TNG 15.x, particularly Step 7 in the TNG 15.x (from v.14.x) Upgrade Installation Instructions. In my situation, I did clean install of TNG 15.0.1 on my test site, and after I configured everything & imported my GEDCOM, I confirmed that everything looked good. I then did a Backup of my TNG 14.0.6 tables on my live site, and then I tried to restore some of those TNG 14.0.6 tables into TNG 15.0.1 on my test site , specifically the following tables: Albums Album Links Album Media Cemeteries DNA Groups DNA Links DNA Tests Image Tags Media Table Media Links Media Types Reports Some of you can already imagine what happened ... in my new TNG 15.0.1 installation, the Cemeteries displayed fine, as did Reports, but any time I tried to display a person, I was presented with the problem query, along with the following: My question is: is there any way that I can manually do something to change whatever needs to be done, so that those specific TNG 14.0.6 tables that I restored into TNG 15.0.1 can be recognized & useable in TNG 15.0.1? It is the upgrade_db14x-15x.php file that actually does the upgrade, but I don't understand anything in that file. Thanks in advance, and have yourselves a great day. Regards, John
-
Seems like a new issue specific to my 15.0.1 installation. The right icons are not displayed anywhere, either on the Admin panel or the public side. I have only these generic placeholders everywhere. I reinstalled this newest version and still have the issue - I have no idea where to look next.
-
DayLight and NightLight Templates - 1st Production Release (v14.0.0.1)
Bill Herndon posted a topic in Templates or Design Questions
It was a long time coming, but I've completed the 1st official releases of templates DayLight and NightLight for TNG 14 and later. These are entirely new templates built on a common framework that also supports templates NearDawn2 and NearDark2. In getting these to v14.0.0.1, I've fixed a number of issues with CSS in the administration and mod-manager pages and made a ton of improvements for mobile viewing. DayLight and NightLight have the same features as NearDark2 and NearDawn2 including: Contemporary style with larger, legible fonts, easily modified features and content sections, and removal of the problematic pull-down menus in favor of a footer section containing site links. Basic localization for Czech (CS), Danish (DA), Dutch (NL), English (EN), French (FR), German (DE), Italian (IT), Norwegian (NO), Polish (PL), Portuguese (Brazilian) (BR), Spanish (ES), and Swedish (SV). (Many thanks to Jan Bos for his Dutch localization strings!) Full translation for Spanish has been included as an example. Mobile-ready An abbreviated site menu that behaves as I intend with [Home] [Search] [Logout/Edit - Login] being permanent elements--[Print] and [Bookmark] remain optional and are selected in TNG options. Footer features which are used for copyright statements, "Contact Us" and information statement sections, and can be managed entirely within the template parameters. Example feature sections are fully populated from the TNG database. Template parameter switches that control the visibility of items in the Navigation menu: 'Mother's Family', 'Father's Family', 'Maternal Ancestors', 'Paternal Ancestors'. A built-in system and demonstration for creating additional pages that have the look and feel of the homepage. (I use this for my Terms of Service page on Lindell-Herndon Genealogy.) Below are previews of the home page and an individual page for DayLight (click for larger images): ... and for NightLight: Installation instructions are available from the TNG Wiki as are the download links. Bill Herndon Lindell-Herndon Genealogy -
Citation Master V10 for TNG 15 and 14 - New Separator Option / Preserving Mod Params / Security and Bug Fixes
Bill Herndon posted a topic in Addons
Citation Master V10 for TNG 15 is now available from the TNG Wiki. New Features: A new separator option, 'none', that basically suppresses field separators entirely--supports a form of concatenation between fields. Mod parameter values are now preserved across installations when the entire mod is not replaced. Media attached to citations are now displayed in the 'Sources' section of individual pages. This is a TNG feature that was originally adapted by Citation Master V8 for source media, but citation media were not displayed in that version. Now one or the other is displayed when enabled in mod parameters, with citation media having precedence. Bugs Fixed: Log messages left over from the introduction of the configuration caching mechanism have been removed. PHP 8.4 function deprecation warnings have been fixed. Other Changes: With this release, the administrator interface for editing format specifications has been removed. (The feature was always a security risk that needed to be addressed. Removal is simpler than adding additional security checks that would require support in the Mod Manager.) In place of the format specification editor, a simple function for reloading the current format specification has been implemented. This supports loading a specification into the mod when it has been changed outside of TNG. If you are running TNG 15.0, Citation Master V10 is optional but recommended. If you are running TNG 15.0.1, V10 is required. Finally, I will be back-porting this version of Citation Master to TNG 14. That release should be ready in about a week. Bill Herndon Lindell-Herndon Genealogy -
Hi. WIthin EU law it is not enough to tell visitors that the site uses cookies. "The EU cookie law, or simply cookie law is the commonly used term to refer to the ePrivacy Directive (ePD). It is a piece of legislation that requires websites to obtain consent from users before storing, using, or retrieving cookies from their devices, except for strictly necessary cookies." (from an online source). I have activated in Setup a function that tells visitors about cookies. Is it possible to extend TNG to include EU law? Or is this a C-panel topic? As for now, site is illegal in Europa when it comes to cookies. In principle, I could be fined, even if it's not very likely that anybody would go after a small geneology site
-
Simple SEO v8 for TNG 15 and 14 - New Date Option / More Testing / Bug Fixes
Bill Herndon posted a topic in Addons
Simple SEO V8 for TNG 15 is now available from on the TNG Wiki. It's been a long time since the last major release, and the accumulated TNG code changes forced me to rethink and refactor a lot of the code. New Features: A new option for date formats called "minimal" that strictly adheres to how TNG calculates and displays it's 'year only' dates like "(1914 - 1992)". (This feature resulted from a discussion with a TNG user who noted that sometimes TNG "rounds up" and "rounds down" years in response to imprecise dates.) New processing for the "short" and "long" date formats that adhere to the most current TNG calculation and display algorithms. (One thing to note here is that the "short" format remains the default but now includes the imprecise date markings such as "abt", "bef", and "aft". If these are not your preference, you may prefer the new "minimal" format.) Individual and Family IDs, when requested through the mod parameters, are now displayed on almost all tabs related to individuals and families, but remain absent in HTML headers in page titles. Bugs Fixed: The infamous "suggest.php" bug that was causing a blank page when executed from familychart.php Two bugs related to warnings generated by familygroup.php. Testing: With this release, I implemented a new set of testing procedures to ensure that all privacy options were covered--making sure that installations with Simple SEO function exactly the same as unmodified TNG installations. This release of Simple SEO has less code and should be more resistant to TNG changes from release to release, but...the expanded ID feature results in more files being touched by the mod, and this may result in mod conflicts. I would appreciate any reports of mod conflicts so that I can address them quickly. There is some testing that has been done here, but it's frankly never enough. Finally, I will be back-porting this version of Simple SEO to TNG 14, but please be patient with me. TNG 14 required 4 separate releases of Simple SEO. So the work may take a bit of time. Bill Herndon Lindell-Herndon Genealogy