Search the Community
Showing results for tags 'mod'.
-
eGenea.com: Live Previews of My Templates and Mods (...and more)
Bill Herndon posted a topic in Templates or Design Questions
One source of frustration for promoting my TNG templates and mods is that I've never had a place to demonstrate them, for gathering together feature information, or for providing guides on installation and use. Now I've solved that problem. I've owned the domain eGenea.com for many years, and now that domain serves as a portal for all my TNG-related work. I'm planning on adding a lot in the coming weeks, but in the short term the most interesting part is the live demonstrations, with fully functional databases, of my four 'drop-in' TNG templates--much better than checking my templates out on Lindell-Herndon Genealogy where I'm limited to one template at a time. As I add templates, guides, and mods, I'll update the site and announce the changes here. Keep an eye out for a comprehensive installation and usage guide for Citation Master which I developed a few years ago but never published. The site itself is supported by WordPress. The TNG template demonstration sites run on TNG 15.0.4 and use a sample database that used to be provided with Reunion for macOS. - Bill Herndon eGenea Lindell-Herndon Genealogy -
Testing Request | Heritage Flags v15.0.4.7 — Chapter Two: The Flags Strike Back🏴⚔️
HauntedWebby posted a topic in TNG Modifications
Or: How Scotland’s christenings got their day, the flags learned to share, and England’s white field finally found its edges. Hello my Knights of the Tangled Tree! 🎉 Did you miss me? I sure missed y'all! I know I've been quiet, but I've been working on a couple of very large projects. So much for retirement being quiet and easy. lol Chapter One ended with flying flags, surviving settings, and a database that finally earned its keep. Chapter Two picks up where we left off and it brought friends. v15.0.4.7 is here. And for the first time for open testing, is v13.2.1.2, because nobody gets left behind at this table. Grab your favorite beverage. This is a big one. 14 updates, new features, and fine tuning. 🧪 Calling All Testers — New Knights Welcome This is a testing release. I need people to break things, find edge cases, and tell me what looks wrong. If you’ve never tested a mod before, this is a great one to start with. It doesn’t change your data. It doesn’t touch your trees. It decorates a heading with a flag. The worst thing that can happen is a flag doesn’t show up, or shows up in the wrong place — and that’s exactly what I need to hear about. What I especially need tested: Diagonal split on different screen sizes and templates The christening/baptism fallback — does it pick up the right flag for pre-civil-registration records? Marriage and events fallback — can you find a person with no birth/death data but a marriage place, and does the flag show? Print popup — is >> Print << clickable for everyone? v13 users — does everything work as expected on TNG 13? Report bugs here in this thread or if you're shy you can message me directly. Screenshots are worth a thousand words. A URL to a person page where the flag is wrong is worth ten thousand. ⬇ Downloads At the bottom of this post. I'll update the Wiki of Doom after testing: Heritage Flags v15.0.4.7 — Wiki page Install order reminder: Relation Display (if used) FIRST, then Heritage Flags. Install Heritage Flags BEFORE Simple SEO (if used). Research tools menu dropdown fix already included. 🏰 Two Versions, One Kingdom Heritage Flags is shipping for TNG 15 and TNG 13. One of our quietest Knight, has been running Heritage Flags on TNG 13 from the beginning. He tested features before anyone else saw them, and his feedback shaped how the mod works today. The v13 backport is built, tested, and ready. TNG 14? I don’t have a TNG 14 installation. I jumped from v13 to v15, so I can’t guarantee it works there. If you’re running 14 and feeling adventurous, let me know how it goes, but I can’t officially support it. Sorry, 14. I still love you. 💛 🗄 The Great Table Rename Remember those four database tables? They had a naming problem. They were called tng_clan_hf_* but tng_ should be reserved for TNG core tables. Our mod tables should use the clan_ prefix. Just so you know what is do what in your database. Fixed. All four tables are now properly named clan_hf_settings, clan_hf_person_flags, clan_hf_mappings, and clan_hf_local. You don’t have to do anything. The migration runs automatically on first load after upgrading. Your data stays exactly where it is. The tables just get new, correct names. One RENAME TABLE, no data copied, no data lost. 💾 Your Flags Are Now Backed Up @marcirish Heritage Flags tables now appear in Admin → Utilities → Backup/Restore alongside all your TNG core tables. Same buttons, same workflow — backup, restore, optimize, download. Four new rows. Four new .sql files in your backup folder. Four fewer things to worry about. 🖨 The Print Link Lives Again @geraldomeier The flag overlay was covering the >> Print << link in the print popup. You could see it. You could hover over it. You could not click it. Fixed. No flag, no wrapper, no min-height, no interference. The heading renders exactly as if the mod wasn’t installed. Print link works. The flags know when to get out of the way. 📖 Pre-government documentation Our quietest Knight told me something important: in Scotland before civil registration began in 1855, there were no birth certificates. Parish records recorded christenings. If you’re doing Scottish genealogy (and I am), the christening place is often the only location data you have. Heritage Flags now checks places in this order: Birth → Christening / Baptism → Death → Marriage → Events (dated only, oldest first) Previously it was just birth and death with some fallbacks thrown in. Now the mod walks through every available place field, and only queries the database for marriage and events if the person-level fields all come up empty. Performance stays the same for the common case (birth place exists), and people with sparse records finally get their flags. 🚫 The Quiet Flag — Suppress Per Person Sometimes no flag is the right answer. A person of disputed origin. A record too uncertain to assign a country. A test record you don’t want decorated. Check Suppress flag in Edit Person → Heritage Flag Override. Save. Done. No flag renders — no place lookup, no geocode, no logo fallback. Clean heading. The person still has their override stored in the database, so you can find and undo it anytime from the Personal Overrides tab. 🏴The Diagonal Split — Two Flags, One Life @^maikl11 and everyone This is the showpiece of Chapter Two. Enable Diagonal Split Flags in Settings, and people who were born in one country and died in another get both flags — birth flag in the top-left triangle, death flag in the bottom-right triangle, split along a clean diagonal. Born in England, died in America? St George’s Cross meets the Stars and Stripes. Born in Scotland, died in New Zealand? The Saltire meets the Silver Fern. The flags are positioned as recognizable images within each triangle, not stretched background fills. A new Split Image Size % setting (default 30%) lets you dial the size up or down from the Settings page. And a subtle CSS drop-shadow gives white-edged flags like England and Japan just enough definition to read against a white page — without adding visible borders to flags that don’t need them. Recommended settings: Flag Width % = 55 Fade Gradient = 0 (if you leave on it fades both images) Contain Mode Tint = 0 Split Image Size % = 30% Smart fallbacks: Same birth and death country? → Single whole flag (no point splitting identical flags) Only birth OR only death available? → Single whole flag from whichever resolved Neither available? → Falls through to the full priority chain (marriage, events, logo fallback) Per-person opt-out: If split is enabled site-wide but you want a single flag for one specific person, check Disable split in their Edit Person override. They get a single flag; everyone else keeps the diagonal. I might make an option for top/bottom flags that are smaller. 😊🧠😏 ⚙ Settings Got Organized The Settings tab was getting long. It’s now grouped into four labelled sections: Flag Display — transparency, width, fade, height, sizing mode, tint Image Source — CDN vs local, paths, extension, logo fallback Diagonal Split — on/off toggle and image size Admin Preferences — rows per page Same settings, same values, same Save button. Just easier to find what you’re looking for. 📐 The Collapsed Panel @KB71 The Heritage Flag Override section in Edit Person now starts collapsed. Click the header to open it, pick your flag, click Save — the mod shows you the result for 3 seconds, then collapses the panel automatically. Clean, quiet, out of the way until you need it. 🎨 Not Just Flags — Your Heading, Your Rules Here’s a secret: Heritage Flags doesn’t care if your image is a flag. The Local Flags tab and Flag Mappings accept any image URL — SVG, PNG, JPG, WebP, whatever your browser can render. Map a custom code to any image you host, and that image becomes the heading banner for anyone who matches. Some ideas people have actually done (or threatened to do): 🛡 Coats of arms — map clan-campbell to your hosted clan crest. Assign it via Edit Person or Flag Mappings. 🌄 Landscapes — a photo of the Yorkshire Dales behind anyone born in Yorkshire. A Highland glen for the Scots. The Statue of Liberty for the New Yorkers. ⛪ Parish churches — the actual church where your ancestor was christened, fading behind their name. 🧬 DNA haplogroup markers — because someone out there will do it, and I respect that. 🏦 Castle ruins — map a place name to a photo of the castle that used to stand there. 🐱 Cat photos — I won’t judge. Your site, your ancestors, your cats. The mod handles opacity, fade, sizing, and positioning for you. Just point it at an image and let it work. Use Flag Mappings to tie a place name to your custom code, or use Edit Person to assign it to one individual. The diagonal split even works with custom images — coat of arms on one side, landscape on the other. Go wild. Tip: Images with strong, dark, saturated colors work best through the fade gradient. Light backgrounds and pale colors tend to disappear. Test in both cover and contain mode before publishing. @ajnsmits 🧹 Spring Cleaning While I were in there I optimized and rechecked security: Removed a stale include for a config file that hasn’t existed since v15.0.4.6a Removed an unused variable that was defined but never referenced Removed dead settings-loading code that loaded values and then threw them away Cleaned up legacy config migration paths to only look where config files actually existed All of this is invisible to you but makes the codebase cleaner for future development 🗺 The Road Ahead v15.0.4.8 — The Great Migration The 490+ hardcoded place-to-flag mappings move from a PHP array to a database table. This unlocks ISO 3166-2 subdivision codes — state and regional flags resolved automatically, not just through manual mappings. A new Bulk Update tab lets you batch-apply subdivision flags for an entire country. This is the foundation for everything that comes after. Phase 3 — Historic Flags Era-correct flags based on a person’s dates. A person born in 1850 in what is now Germany sees a Prussian flag, not the modern tricolour. This is a companion mod that requires Heritage Places infrastructure and won’t start until v15.0.4.8 is solid. And the Knights we haven’t met yet, the ones reading this, thinking “maybe I’ll try it.” You’re next. Pull up a chair. The flags are flying. 🏴 The flags fly because of all of you. 🏴 LeAnna Heritage_Flags_v15_0_4_7.zip Heritage_Flags_v13_2_1_2.zip -
Have just released the Bot Warning Hander mod. From the article's description: It detects and excludes PHP Warnings for known Bots from PHP's error log. if Prolog is installed, no bot warnings are displayed. This puts better focus on non-Bot versus Bot PHP warnings. Optionally, detected bot warnings are stored in botwarnlog.txt. A Session Shield Edit Option permits excluding global $_SESSION related warnings from botwarnlog.txt. Additionally, all Bot-UA (user-agent) activity/requests is stored in botlog.txt. A Bot Log viewer is provided view both log files. The mod is compatible with the Guardian, Bot Manager, Customized Logs III and Prolog mods, as well as TNG's Showlog mod. Ron
-
As of today the wikipage Content_Security_Policy is available. It's aim is to give more insight on how to upgrade your website/browser security. The information applies to users aswell as (mod) developers. Feel free to send your comments to @Rob Severijns
-
This is a decoration for your person page. I don't have all flags cataloged in the script, but the source has a lot more. You do not need to upload any media, but you do need a live internet connection to see the flags. Heritage Flags Wiki to download Currently included: British Isles Eastern Europe Southern Europe Western Europe Scandinavia Historical European North America US States Central & South America Africa Middle East Asia Oceania British Colonies / Historical English counties Scottish counties Welsh counties Irish counties The concept of a country, as it pertains to country flags, can vary based on different criteria and perspectives. The id is based on Countries defined in ISO 3166-1 standards. I'm not going to make any judgement calls on which flags will or will not be included. The inclusion of certain nations should not be interpreted as a political statement, as an endorsement of specific national claims or political views. Works with: Relations Display (must be installed first) Count Visible Ancestors and Descendants This is Phase 1 - See the modern flags based on a person's place data A few historic flags, but depends on place data is presented Option to make the name plate taller to show more or shorter to show less of the flag Option to choose opaqueness Option to choose the amount of fade Phase 2 - Display historic flags, when available, based on person's places with years (e.g. Birth, Death, Christening/Baptism, Burial, Events) Phase 3 - Display options for the flag Option to suppress for a person to not display any flag Option to display State or County flags instead of country flags, when available Option to cut the flag in half diagonally Top left corner to display the person flag at birth Bottom right corner to display the person's flag at death Phase 4 - Ideas from others, if feasible, to include Thank you to the testers and the fixers for this, my first publicly shared mod for TNG.
-
In some cases the following message may appear when the Safe External Links mod (V15.0.0.4) is used in combination with Open Street Map (OSM) This is due to the fact that OSM in some cases needs a referrer which is blocked by the mod and therefor generates the 403r error. I'm currently working on a solution to mittigate the error. Release most likely somewhere next week. Since I don't use Google maps I wonder if the error is also generated when using Google Maps. So if there are users who use my mod in combination with Google Maps, please lt me know if you also see the 403r error.
-
Would anyone be interested in some mods? Deciding on Mod files or not.
HauntedWebby posted a topic in TNG Modifications
Hi all! 👋 Long time watcher in the shadows, first time poster. I’ve been using TNG since 2003, off and on. Apparently, I was just letting my ancestors age gracefully before I caught up with them. 🥁 (don't worry I have more terrible jokes in the post) I officially retired three weeks ago. Three. Whole. Weeks. Hopefully, several hundreds more to enjoy! 😁 Now I have time on my hands, which is apparently very dangerous when you have relatives and opinions about how the family site works, and comments of 'oh you know how to fix that'. I haven’t slept much since retirement, and honestly… it’s glorious. My great-#-o'many grandparents didn’t cross oceans for me to waste time watching daytime TV. I'm thinking about making these updates into mods to share. I haven't dived into the Mod Manager yet, other than to use y'alls creations! Relation Display and Historic Places, I'm looking you! 🤩 I would deeply love feedback. Encouragement welcome. Gentle discouragement welcome. If I’m about to accidentally create a fourth cousin relationship vortex without a TARDIS, please tell me ... nicely. I'm just showing few projects right now. These work, not pretty but are the closest to possible mod ready. I have some others that the idea is more ambituses than the want. Maybe, someday, not. First thing I did, for my site, was move my passwords and delicates outside of public_html and point it to a secrets file. It feels safer, but its going to make future upgrades interesting. I also built a simple PROD-to-DEV cloning tool. It has already saved me twice. Which is good, because sometimes I click things with the same confidence my co-researchers (aka family) had when they wrote down grandma's birth year “from memory.” It can also migrate back to PROD after everything has been tested. Cross-References to online site, and FamilySearch consolidation. I’ve always wanted a clean way to cross-reference my TNG people with other sites and have those links auto-display right on the Person view page on a single line. So I built that. (see pic) I also started using FamilySearch IDs for merging because… well… if you’ve worked in shared trees lately, you know it can feel like playing genealogical Whac-A-Mole. Now that the FamilySearch PID lives in tng_person table, I can also use it as part of the OOB merge process. I added a new merge option that shows duplicates based on the same FamilySearch ID. (see pic) The big, ugly, green button is to a report to how me how many duplicates I have. The top of the report has a summary: Tree Statistics: 129,063 total people | 119,908 with FamilySearch PIDs | 527 duplicate PID groups found Still needs to be prettier and blend better with TNG themes, but it’s working. Relations Display Mod Update I love the existing Relations Display mod. LOVE it. What made me sad what how long it took to calculate on some of my pages. So I added relationship caching. Now once OOB relationship is calculated, it’s stored. No more recalculating your connection to your wife’s cousin’s husband’s aunt every time you move between pages. Even if you change the default person, it's fine. It will recalculate and remember the relationship. There’s also a recalc URL if I update something. Because I'm update something daily now. This one cracked me up... It's my mom. Research Status Indicator I added a research status indicator. It’s basic right now, but it works. If you use the RootsMagic sync (below), it can auto-update the status based on what you’ve confirmed or found. It’s surprisingly satisfying to see someone move from “Needs review” to “Verified.” RootsMagic | TNG Sync (Work in Progress) This is the big one. Imports your RootsMagic GEDCOM into staging tables only. Non-destructive. Your TNG data stays untouched unless you confirm changes. Added a RM-UID to the tng_person table so RM and TNG know exactly who is who. Auto-matching first by FamilySearch PID, then by exact name + birth/death year. Side-by-side comparisons with field differences and family context. Conflict resolution when multiple candidates match. Manual linking when auto-match fails. Tracks rejections so the same wrong match doesn’t keep popping back up. Discrepancy report to show where RM might have better data. Unmatched report listing RM-only people as potential additions. Can create new TNG records from unmatched RM data. Everything is logged. Nothing changes in TNG until you explicitly confirm it. Basically, it lets me review things calmly instead of discovering six accidental duplicates at 1:30 AM and questioning how many times I clicked the import button 3 years ago. Office Administration One of my pet peeves is when names get crowded with titles, royal styles, and everything else. “Sir Lord King Duke Bob III Esq.” starts to look like a parade banner. So I created an Office tracker. You can define any office: Royal, Noble, Military, Religious, Civic, Club, etc. Make new ones. Each office can have its own custom attributes, and they only display if populated. The display is expand/collapse enabled and remembers for logged in users. Anyway… Would love your thoughts. Looking forward to finally stepping out of the shadows! 👻 -
For those interested. As of today there's a new mod available named Bot Manager It was created by @Steve1200 and adds an extra line of defense against abusive bots that create heavy traffic and slow down your website. This TNG mod was written to address unrestricted bot access and has options block all access, allow limited access or selective bot access and works with Google reCaptcha v2 or the Image Captcha mod.
-
The Living Color mod stopped working on both of my sites. This is the full readout: line 24: %target getperson.php verified line 26: %location #1 %insert:after not installed line 42: %location #2 %insert:after not installed line 53: %location #3 %insert:after not installed line 67: %location #4 %insert:after not installed line 81: %location #5 v486 %insert:after Bad target line 94: %location #6 %insert:after not installed line 104: %location #7 %trimreplace not installed line 111: %target css/genstyle.css verified line 112: %location #1 %insert:after not installed line 140: %newfile js/popup_2.js not created line 235: %copyfile: familyprevlib101.php not copied Derrick
-
After some discussion on the Sources and their significance I decided to develop a Mod that makes the changes considered there. If you have any comments regarding this Mod, feel free to share them in this thread.
-
I've been doing genealogy research for approximatly 15 years now, which is compared to others, not very long and I've seen a lot of websites that present genealogical data. Sites like MyHeritage, FamilySearch and many of the websites created by the TNG users to name a few. Question is "How reliable is the data they provide?" I would start by saying "Unreliable" and I will explain why this is my opinion and why it should probably be yours too to start with. As an example: Person A: Builds his family tree on the correct facts, but does not mention any of it in his software (he keeps everything in binders or as screenshots on his computer). Person B: Builds his family tree by making up all kinds of things, mentions some sources, but are neither correct nor complete. Person C: Builds his family tree based on facts from the right sources, and mentions them in the right way in his software program. It will be clear that Person C is doing it the correct way and Person B makes a mess of it. But Person A, on the other hand, may well have set up a credible family tree, but did not (correctly) mention the sources in the software. Conclusion: The value of citing sources, what is right and what is wrong, can only be determined if you learn which source you can and cannot trust. And even then, situations can be debatable. This means that whatever data we retrieve from whatever source should be qualified as unreliable unless proven otherwise. Therefore we should examine every piece of data for its quality and whether it is consistent with validated sources. This is something we need to do for ourselves and we cannot just rely on the work others did. All 'n all, to me data quality is more important than data quantity. In my opinion data can be qualified as: Primary source: Original materials created at the time of an event or study, such as diaries, photographs, or official documents, that provide direct evidence or firsthand accounts Secondary source: Any document that draws on one or more primary sources and interprets or analyses them; Also sources such as newspapers whose accuracy is open to question Unreliable source: any source that, at the moment, is not verifiable in any way shape or form Needs review: Any source that hasn't been reviewed yet and therefore doesn't fit in any of the three catogories mentioned above. TNG has an option to qualify the reliability of sources in the "Edit Existing Citation" popup window. You can qualify them with a number (0-3) where the higher number means higher reliability. This reliability score is shown in the sources block on the person page and familygroup page. To me the way TNG presents the reliability is insufficient. How many visitors of my website actualy know what "reliability: 2" means? My quess is none unless they're a TNG user themselves and even then... Just to be clear, the above is my personal opinion and doesn't have to be anyone elses. Taking the above into account, I have started developing a mod that indicates more clearly what the value of the source is to me. The name of the mod will be "Source Reliability" and I hope to publish it before the end of next week. See the screenshots to get a glimpse of what it will change. Any comments regarding the above are welcome and I hope this helps others
-
As promised earlier I can hereby announce the release of my very first mod Safe External Links - TNG_Wiki This TNG modification causes all TNG page external links to open in a new Window or Tab with the noopener attribute. The noopener attribute increases security by preventing third-party control of the browser tab. Hope you enjoy it.
-
I have released a new mod called What's New after Import. It is intended for admins who frequently import data from PC or Apple computers into TNG via GEDCOM files. This often results in the last modified” time in the TNG database for media, people, and families being equal to the import time, which makes this description less useful. In particular, in the “What's New” tab, the set of new items presented does not correspond to the purpose of this tab. This mod allows you to take into account the last edit time stored in the metadata of media files, rather than in their description in the database. In addition, individuals and families whose description indicates a change time close to the import time are filtered out. The use of this metadata or the description in the database can be switched on an ongoing basis by selecting the appropriate option. The menu also allows you to select the time (age) of the oldest changes to be taken into account and to limit the number of items displayed. The mod has several parameters. They allow you to redefine the list of values used in the age and number menus, the initial values of age and number, and the initial value of the change time source (metadata or database). During data processing, which for a large database may require up to several dozen seconds of server time, a header and spinner are immediately displayed so that a blank screen does not confuse the user. This is a small detail that requires forcing an incomplete page to be sent to the browser - which was a new experience for me. Feel free to try out the mod and post your comments and suggestions for improvement here. If anyone is interested in further details before trying out the mod, I will be happy to provide them. Michał Jarociński Edit: you can see the mod in action in my site: jarocinscy.pl/genealogy/whatsnew.php (the page is public).
-
I recently upgraded from TNG v14 to v15.0.3 on my local site using MAMP. All appears well except three of the v15 mods I use will not install. They are "Add Person Siblings Row", "Ancestor Map", and "Collapse Family Children". All three show that mod updates are required (see attachment). Is anyone else out there having similar problems with v15.0.3? Thanks for any help you can provide. Peter Weeks
-
Danish translation suggestion to "Relate mod"
Hanne B. Stegemüller posted a topic in TNG Modifications
Hi I'm still alive, and hopefully you are too! I'm using Relate-mod and I can see that there is still a small linguistic issue: If I select my grandfather, for example, I get the following in Danish: ‘Rudolph Reinholdt Felix STEGEMÜLLER er den bedstefar til STEGEMÜLLER.’ In that sentence, the word ‘den’ is incorrect/superfluous. Instead, it should say: ‘Rudolph Reinholdt Felix STEGEMÜLLER er bedstefar til STEGEMÜLLER.’. My genealogy website is here: https://tng.stegemueller.dk/ PS Remember that I am always happy to help with translations of mods into Danish. Translated with DeepL.com (free version) -
@mkoche - tagging you since it's your mod and I tried tagging tngrlkrz since it looks like he helped but my tag isn't working for some reason. This mod was working well for me until tonight. I've added a 2nd tree, if that has any bearing on things. Normally when it runs, I get the donut and a short list of ancestors, and the matriarch and patriarch. I think that's what it's supposed to do. Now when I run it, no matter who I do it on, it gives me over 300 names. That's when it doesn't time out first. I always get the matriarch and patriarch, they're at the bottom. But it doesn't seem to be running on the person I've selected as some of the results are not ancestors of this person. I tried removing the donut. That worked but I still got the same long 300+ person list. Then I turned the donut back on and tried changing this option: Origins Chart 3. Remove details on the donut origin chart" - A 1 will remove details from the chart legend - chartplace names links to connected ancestors and the drop-down arrow that shows secondary places. Defaults to (0) I changed it to 1 and it changed it to a 10 (I don't think I put in 10...but maybe I did - would it accept it if I did?). Then my whole subdomain stopped working and every page was blank. I don't know if that's related but that's when it happened. I had to do a restore from a backup on my server (thankfully they did the last one only an hour before). Any ideas on what the problem might be? Jodi
-
After installing a Full v15 on a new PC (test site), I installed all MODs without issue. However, when I upgraded the live site from v14-v15, only the user footer copyright MOD generated an error: "Cannot install for TNG 15.0.0" The MOD Manager status column is copied below. I must have botched a step in the upgrade process. Is there a ready fix? Thank you. Regis www.CarrFamilyTree.com v15.0.1
-
TNG 15.0.2 PHP 8.4.8 MariaDB 11.4.7 watermark_v15.0.0.6.cfg Hello folks, I have a slight hiccup with Michel's @Michel KIRSCH Watermark mod v15.0.0.6, and I have no idea what is causing this problem. On my main page, I have a random photo section, with the image changing randomly every time the main page is accessed. The error that pops up sometimes (i.e. only every now & then), is: Deprecated: Implicit conversion from float 20.5 to int loses precision in D:\Web\~TNG\~Sites\TNG-TestSite-NitroWings-v15.0.2\watermark.php on line 331 What's weird is, when that error appears for a picture, the next time that same picture is randomly displayed, there is no error associated with that picture. That mod is working perfectly on my 2 external TNG 15.0.2 sites (public live site & public test site), which are both currently using PHP 8.3.21 and MySQL 8.0.39-cll-lve under LiteSpeed (Apache) v2.4.63. That mod is also working perfectly on my local TNG 14.0.6 site, which is using PHP 8.4.8 and MariaDB 11.4.7 under Windows 10 Pro x64. The hiccup is only on my local TNG 15.0.2 test site, which is also using PHP 8.4.8 and MariaDB 11.4.7 under Windows 10 Pro x64. Thinking that it may be related to my PHP, I rolled my local TNG 15.0.2 test site back to PHP 8.2.5, but the problem was still there, so I don't believe that it's PHP-related. Plus, my local TNG 14.0.6 test site does not display this error at all, so it can't be PHP-related. It can't be related to MariaDB either, because it's the same DB that my local TNG 14.0.6 site uses, which does NOT produce that error message. And it can't be related to TNG, because my 2 external TNG 15.0.2 sites work fine & also do NOT produce that error message. And it also can't be related Windows versus LiteSpeed/Apache, because my local TNG 14.0.6 site also works fine & also does NOT produce that error message. Now, just before posting this, I got 2 more errors: Warning: imagecreatefromstring(): gd-png: libpng warning: iCCP: known incorrect sRGB profile in D:\Web\~TNG\~Sites\TNG-TestSite-NitroWings-v15.0.2\watermark.php on line 260 Warning: imagecreatefromstring(): gd-png: libpng warning: iCCP: cHRM chunk does not match sRGB in D:\Web\~TNG\~Sites\TNG-TestSite-NitroWings-v15.0.2\watermark.php on line 260 Those 2 iCCP warnings popped up when TNG displayed a specific picture, which 99% of the time displays fine, but that same picture every now & then produces the Implicit conversion from float 20.5 to int loses precision warning, and now this one time the above 2 iCCP warnings. So those warnings are not consistent. Jan Wessel found the cause of this problem & posted about it & the fix HERE 7 years ago, so I can fix the latter 2 iCCP warnings, but those warnings are appearing sporadically. I'm going crazy (it doesn't take much ), and I'm running out of ideas as to what is causing these problem, and I am hoping that someone else can think of a possible cause. Thanks in advance. Regards, John
-
Hello, I am getting the attached error when I try to install this mod. I am using TNG 15.0.2. There are just these two errors. Thanks for any help— Derrick
-
I have two questions about these. First, when I import a transcript from Ancestry, the numbers of people do not populate the different categories. That's fine, and I add them myself. I just wanted to make sure that's the expected behavior. Second, these are two-page censuses. Do I add a second page, with the numbers of slaves, the same way that a second page would be added in later censuses if the family flowed over to a second page? And so, if I wanted to do that, should I use the manual import for the first page to be able to add the second page? I am using censusplus_15.0.2.14 b1, with TNG 15.0.2. Thanks - Derrick
-
Am I right in thinking that .txt files used from older imports, before Ancestry changed its format, cannot be used again now? Derrick
-
Today, I have uploaded Unused_media_v15.0.2.2 to the TNG Wiki. The changes are to update the style to match TNG v15 (new icons, larger form fields), and the ability to select an item for addition to TNG. I have tested it on my site, but feedback from other users would be useful. Thanks for any comments. Regards, Warren
-
TNG 15.0.2 browsemedia_medialinks_v15.0.0.0.cfg Hello, folks, This reworked browsemedia_medialinks_v15.0.0.0.cfg (thanks, Brett) installs fine on TNG 15.0.2, and shows that it is successfully installed, but it does not do what it is supposed to do on my TNG 15.0.2 site. On my old TNG 14.0.6 site, this is what this mod does on its browsemedia.php page, which is what it is supposed to do: However, on my TNG 15.0.2 site, this is what this mod does on its browsemedia.php page, which doesn't seem to be doing anything: Just wondering if anyone else on TNG 15.0.2 who uses this mod is having the same problem. Thanks in advance & have a great day. Regards, John
-
A) I have a installed Public Access Control on my site, and now I am wondering if this is normal - The Default Photo, which normally replaces the Male or Female icon at the top is not visible - all we see is "Photos (Log In)". Is there a way to maintain the control over our media yet let the default photo Icon be displayed? Would installing the Default Phot Path app resolve that issue? B) Also with Public Access mod, it looks like this affects either the Default Photo only, or the first photo... As per the second picture. Any idea if that can also be fixed? Thanks
-
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?