<?xml version="1.0"?>
<rss version="2.0"><channel><title>Code Discussion Latest Topics</title><link>https://tng.community/index.php?/forums/forum/16-code-discussion/</link><description>Code Discussion Latest Topics</description><language>en</language><item><title>How do I fix broken SQL-Database links in large numbers</title><link>https://tng.community/index.php?/forums/topic/23113-how-do-i-fix-broken-sql-database-links-in-large-numbers/</link><description><![CDATA[<p>
	Hi. 
</p>

<p>
	I have a large database with almost 25 000 Individuals and a lot of sources from the Norwegian digital archives. Through their sources they provide a permanent link to the archival photo. I have added this link in my source citations like this.
</p>

<p>
	<img alt="Source Citation.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="19686" data-ratio="77.78" data-unique="msgiaa5im" width="477" src="https://tng.community/uploads/monthly_2026_03/SourceCitation.jpg.1d6ec8ec799415b40b28be1c8dec39ae.jpg">
</p>

<p>
	For some reason, this permanent link has changed and all the links in my database are wrong. The change is not in the name of images themselves, but for the domain, so I hope it will be possible to mass-change the URLs. Doing it manually would take an eternity.
</p>

<p>
	<u>The link structure is like this:</u><br>
	<u>Old link:</u> <a href="http://www.arkivverket.no/URN:NBN:no-a1450-kb20051202030207.jpg." ipsnoembed="false" rel="external nofollow">http://www.arkivverket.no/URN:NBN:no-a1450-kb20051202030207.jpg.</a>
</p>

<p>
	<u>New link:</u> <a href="https://urn.digitalarkivet.no/URN:NBN:no-a1450-kb20051202030207.jpg" ipsnoembed="false" rel="external nofollow">https://urn.digitalarkivet.no/URN:NBN:no-a1450-kb20051202030207.jpg</a>
</p>

<p>
	If I could basically just change "www.arkivverket.no/" to "urn.digitalarkivet.no/", the links work again.
</p>

<p>
	Does anyone know how this can be done? I am not experience with SQL, but imagine it would be possible to do a replace command of some sort. <br>
	<br>
	Thanks in advance for any suggestions
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">23113</guid><pubDate>Sun, 15 Mar 2026 12:12:44 +0000</pubDate></item><item><title>Creating a PHP page and adding it to the menu</title><link>https://tng.community/index.php?/forums/topic/23004-creating-a-php-page-and-adding-it-to-the-menu/</link><description><![CDATA[<p>
	 
</p>

<p>
	<br>
	I'd like to add a page to my website with web links.<br>
	I've already tried this, but I can't get the header onto the page. I'm doing something wrong, but I don't know what. Does anyone have any suggestions?<br>
	And how can I add the new page to the menu?<br>
	 
</p>

<p>
	<a href="https://fryskeroots.nl/weblinks.php" rel="external nofollow">Weblink</a>
</p>

<p>
	 
</p>

<pre class="ipsCode prettyprint lang-html prettyprinted" id="ips_uid_8240_5" style=""><span class="pun">&lt;?</span><span class="pln">php
include</span><span class="pun">(</span><span class="str">"begin.php"</span><span class="pun">);</span><span class="pln">
include</span><span class="pun">(</span><span class="pln">$cms</span><span class="pun">[</span><span class="str">'tngpath'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">"genlib.php"</span><span class="pun">);</span><span class="pln">
include</span><span class="pun">(</span><span class="pln">$cms</span><span class="pun">[</span><span class="str">'tngpath'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">"getlang.php"</span><span class="pun">);</span><span class="pln">
include</span><span class="pun">(</span><span class="pln">$cms</span><span class="pun">[</span><span class="str">'tngpath'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">"$mylanguage/text.php"</span><span class="pun">);</span><span class="pln">

include</span><span class="pun">(</span><span class="pln">$cms</span><span class="pun">[</span><span class="str">'tngpath'</span><span class="pun">]</span><span class="pln"> </span><span class="pun">.</span><span class="pln"> </span><span class="str">"checklogin.php"</span><span class="pun">);</span><span class="pln">
tng_header</span><span class="pun">(</span><span class="pln"> $text</span><span class="pun">[</span><span class="str">'homepage'</span><span class="pun">],</span><span class="pln"> $flags </span><span class="pun">);</span><span class="pln">
</span><span class="pun">?&gt;</span><span class="pln">

        


</span><span class="tag">&lt;h1&gt;</span><span class="pln">Weblinks</span><span class="tag">&lt;/h1&gt;</span><span class="pln">

</span><span class="tag">&lt;ul&gt;</span><span class="pln">

</span><span class="tag">&lt;h3&gt;</span><span class="pln">Familiewebsites</span><span class="tag">&lt;/h3&gt;</span><span class="pln">

</span><span class="tag">&lt;li&gt;&lt;a</span><span class="pln"> </span><span class="atn">href</span><span class="pun">=</span><span class="atv">"http://test.test/"</span><span class="pln"> </span><span class="atn">target</span><span class="pun">=</span><span class="atv">"_blank"</span><span class="tag">&gt;</span><span class="pln">Test</span><span class="tag">&lt;/a&gt;&lt;/li&gt;</span><span class="pln">
    
    </span><span class="tag">&lt;h6&gt;</span><span class="pln">Test</span><span class="tag">&lt;/h6&gt;</span><span class="pln">    

</span><span class="tag">&lt;/ul&gt;</span><span class="pln">
    
    
    </span><span class="pun">&lt;?</span><span class="pln">php
tng_footer</span><span class="pun">(</span><span class="pln"> </span><span class="str">""</span><span class="pln"> </span><span class="pun">);</span><span class="pln">
</span><span class="pun">?&gt;</span></pre>

<p>
	 
</p>
]]></description><guid isPermaLink="false">23004</guid><pubDate>Sat, 24 Jan 2026 13:07:06 +0000</pubDate></item><item><title>CleanTalk through their PHP Integration</title><link>https://tng.community/index.php?/forums/topic/22971-cleantalk-through-their-php-integration/</link><description><![CDATA[<p>
	I absolutely love CleanTalk for its WordPress side, and I'm looking into implementing it with <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> for my local project.<br>
	<br>
	They provided this documentation <a href="https://github.com/CleanTalk/php-antispam" rel="external nofollow">here</a> for PHP.<br>
	<br>
	Would it be worthwhile to go through this process? Also, learning how to do it since I'm more familiar with HTML and CSS vs PHP. I can always block via cPanel, but I would rather have a 3rd party handle it than manually do it through cPanel.
</p>
]]></description><guid isPermaLink="false">22971</guid><pubDate>Sun, 11 Jan 2026 17:26:28 +0000</pubDate></item><item><title>Weird bug in Template 23</title><link>https://tng.community/index.php?/forums/topic/22818-weird-bug-in-template-23/</link><description><![CDATA[<p>
	I'm seeing a weird bug using template 23. That template allows 4 photos on the home page. When I click on two of those photos, the resulting Person page lists the persons spouse as himself. However, other links to that person work as expected. 
</p>

<p>
	My site is located at: <a href="https://www.johnsdorsey.com/genealogy/index.php" ipsnoembed="true" rel="external nofollow">https://www.johnsdorsey.com/genealogy/index.php</a>  When I click on my grandfathers image(William Paul Dorsey) it goes to his page, but says his spouse(or Family) is also William Paul Dorsey. However, going to this link(<a href="https://www.johnsdorsey.com/genealogy/getperson.php?personID=P2&amp;tree=tree1" ipsnoembed="true" rel="external nofollow">https://www.johnsdorsey.com/genealogy/getperson.php?personID=P2&amp;tree=tree1</a>) shows his spouse correctly as Frances Heath.
</p>

<p>
	 
</p>

<p>
	I've uninstalled all mods to eliminate that being an issue.
</p>

<p>
	 
</p>

<p>
	Thanks,
</p>

<p>
	John Dorsey
</p>
]]></description><guid isPermaLink="false">22818</guid><pubDate>Fri, 07 Nov 2025 19:53:39 +0000</pubDate></item><item><title>SOLVED: How would I remove 'https://' from website field and hide 'Phone' on new account form please?</title><link>https://tng.community/index.php?/forums/topic/22723-solved-how-would-i-remove-https-from-website-field-and-hide-phone-on-new-account-form-please/</link><description><![CDATA[<p>
	<span>Hi All, would anyone know how to remove the 'https://' value from the website field on the newaccount form please? </span>
</p>

<p>
	<span>I can see the value entered into the newacctform but want to ensure this was the correct place or is there someway to do this in custconfig file? I don't want to cause myself more work than required during an upgrade.</span>
</p>

<p>
	<span>I also wondered if there was anyway to hide 'Phone' and 'Postcode' from the same form as we don't want to use these for our members.</span>
</p>

<p>
	<span>Appreciate any assistance.</span>
</p>
]]></description><guid isPermaLink="false">22723</guid><pubDate>Wed, 03 Sep 2025 08:12:32 +0000</pubDate></item><item><title>Can I use phpMyAdmin to export/import all content of specific TNG tables?</title><link>https://tng.community/index.php?/forums/topic/22492-can-i-use-phpmyadmin-to-exportimport-all-content-of-specific-tng-tables/</link><description><![CDATA[<ul>
	<li>
		<abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> 15.0.2
	</li>
</ul>

<p>
	Hello, folks, let me clarify...
</p>

<p>
	On my previous <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> site (14.0.6), I have many pictures that have many hundreds of people linked to those pictures, spread across 8-10 categories.  I do have a copy (backup) of my previous <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> 14.0.6 site, which I ran a 14.0.6-to-15.0.2 upgrade on, so I do have a database from a previous site will all my categories &amp; photos in it, and which the database is compatible withTNG 15.0.2.
</p>

<p>
	I installed my <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> 15.0.2 site from scratch, and have been slowly setting up my media on the new site from scratch.  It's a slow process, and I've managed to create a few categories manually so far.
</p>

<p>
	For you MySQL gurus, is there a way that I can somehow, from that <span style="background-color:rgba(0, 0, 0, 0)">previous</span>site's <strong>tng_media table</strong>, export or extract all media items with a specific <strong>mediatypeID</strong> to a file, and then import all those items into a category on my live <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> 15.0.2 site?
</p>

<p>
	As an example, I have a media category on my previous site with a <strong>mediatypeID </strong>called <strong>maps</strong>.  I wish to import everything in that category into a new (empty) category on my current site with a <strong>mediaID </strong>that I will call <strong>photosmaps</strong> when I create it.
</p>

<p>
	What I wish to accomplish is to have all the maps from my previous site with all their associated (Linked to) people, imported into my new site, with all the maps &amp; their associated (Linked to) people.
</p>

<p>
	And if the above is indeed possible, is it better for me to already have the new <span style="background-color:rgba(0, 0, 0, 0)">category </span>reated on my current site to import the maps (photos) into?  Or is it better to not have the maps category created yet, and have the import create it during the import process?
</p>

<p>
	Apologies for not explaining that very well, but I hope it makes a little sense.
</p>

<p>
	Thank you in advance &amp; have a great day.
</p>

<p>
	Regards,<br>
	John
</p>
]]></description><guid isPermaLink="false">22492</guid><pubDate>Wed, 04 Jun 2025 17:30:39 +0000</pubDate></item><item><title>Histories collection: Content not displaying... sometimes?</title><link>https://tng.community/index.php?/forums/topic/22466-histories-collection-content-not-displaying-sometimes/</link><description><![CDATA[<p>
	I am trying to use the Histories collection. Sometimes the content will display normally, other times only the title is displayed. 
</p>

<p>
	So let's say I go Admin Home &gt; Media &gt; Add New, and try ti create an entry in collection "Histories". And for the sake of the example, I put text in the text box, fill the "Title" box, and click "Save and Continue". On the next page, I will set a media link to persons I1 and I100, and save. 
</p>

<p>
	If I go to person I1, and click on the Histories link, the text will appear correctly. If I go to person 100, it does not display. Also, the footer is missing! 
</p>

<p>
	Any idea? See the pictures attached. The first two show that the same text was linked to two individuals, #1 and #100. The third picture shows that for #1, the text appears, the links to all individuals are shown, and the footer is there. Not so much for individual #100, in the fourth picture; no text, no links, and no footer.
</p>

<p>
	Same media, two results. Why?  <span style="font-size:20px;">WHY????</span>
</p>

<p>
	 
</p>

<p>
	 
	</p><p>
		 
	</p>


<p>
	 
</p>

<p><a href="https://tng.community/uploads/monthly_2025_05/amosmopo_1.JPG.c1b96deb04b9435cbff36b94700952ae.JPG" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="18775" src="https://tng.community/uploads/monthly_2025_05/amosmopo_1.JPG.c1b96deb04b9435cbff36b94700952ae.JPG" data-ratio="62.41" width="846" class="ipsImage ipsImage_thumbnailed" alt="amosmopo_1.JPG"></a></p>
<p><a href="https://tng.community/uploads/monthly_2025_05/amosmopo_100.JPG.1457e6a0d12115dd047197dcd8fad743.JPG" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="18776" src="https://tng.community/uploads/monthly_2025_05/amosmopo_100.JPG.1457e6a0d12115dd047197dcd8fad743.JPG" data-ratio="47.8" width="820" class="ipsImage ipsImage_thumbnailed" alt="amosmopo_100.JPG"></a></p>
<p><a href="https://tng.community/uploads/monthly_2025_05/amosmopo_edit_1.JPG.275802a4ac202f74587bc000cafb81da.JPG" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="18773" src="https://tng.community/uploads/monthly_2025_05/amosmopo_edit_1.JPG.275802a4ac202f74587bc000cafb81da.JPG" data-ratio="49.26" width="810" class="ipsImage ipsImage_thumbnailed" alt="amosmopo_edit_1.JPG"></a></p>
<p><a href="https://tng.community/uploads/monthly_2025_05/amosmopo_edit_2.JPG.adf9e3dccd4b646b3753252fbfb71bf1.JPG" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="18774" src="https://tng.community/uploads/monthly_2025_05/amosmopo_edit_2.JPG.adf9e3dccd4b646b3753252fbfb71bf1.JPG" data-ratio="74.12" width="742" class="ipsImage ipsImage_thumbnailed" alt="amosmopo_edit_2.JPG"></a></p>]]></description><guid isPermaLink="false">22466</guid><pubDate>Sun, 25 May 2025 20:23:01 +0000</pubDate></item><item><title>Mouse wheel zoom on media</title><link>https://tng.community/index.php?/forums/topic/18578-mouse-wheel-zoom-on-media/</link><description><![CDATA[<p>
	Hi,
</p>

<p>
	Is there a way to use mouse wheel zoom on media ?
</p>

<p>
	I have this beautiful old map <a href="https://www.myfamhis.se/showmedia.php?mediaID=204" ipsnoembed="true" rel="external nofollow">https://www.myfamhis.se/showmedia.php?mediaID=204</a> and it would be nice to be able to zoom with the mouse ...
</p>

<p>
	/Leif K
</p>
]]></description><guid isPermaLink="false">18578</guid><pubDate>Mon, 12 Feb 2024 18:16:18 +0000</pubDate></item><item><title>How to use mytngstyle?</title><link>https://tng.community/index.php?/forums/topic/22270-how-to-use-mytngstyle/</link><description><![CDATA[<p>
	Hi Forum.<br>
	I just upgraded to v. 15.<br>
	Every time I make an upgrade I have to spend days - actually weeks - making fixes and modifications compared to my previous version.<br>
	Of course, that's because I never taught myself how to use
</p>

<p>
	mytngstyle.css
</p>

<p>
	Is there a good description / explanation / tutorial somewhere on how it works and how to use it?
</p>

<p>
	Jesper
</p>
]]></description><guid isPermaLink="false">22270</guid><pubDate>Sun, 23 Mar 2025 17:34:03 +0000</pubDate></item><item><title>Font size Template 4</title><link>https://tng.community/index.php?/forums/topic/22269-font-size-template-4/</link><description><![CDATA[<p>
	Hi Forum.<br>
	I just upgraded to v. 15 and have some work to do making corrections in my settings <span class="ipsEmoji">🙂</span><br>
	Using Template 4<br>
	Where do I change font size in the left menu on the front page? (it's only about the front page).<br>
	Thanks.<br>
	Jesper
</p>
]]></description><guid isPermaLink="false">22269</guid><pubDate>Sun, 23 Mar 2025 17:05:02 +0000</pubDate></item><item><title>Need to feed entire TNG site contents into an AI LLM, can anyone help?</title><link>https://tng.community/index.php?/forums/topic/22229-need-to-feed-entire-tng-site-contents-into-an-ai-llm-can-anyone-help/</link><description><![CDATA[<p>
	My boss' boss wants the entire contents of our <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> site to augment his favorite AI chatbot.  So he can "ask questions about anyone on the site" and have the chatbot answer accurately. 
</p>

<p>
	I figure I might be able to cobble something together using Python, BeautifulSoup etc. and feed that output into the LLM, but not sure what to do about all the data in the DB. 
</p>

<p>
	Any ideas?  Has anyone written an agent to allow an LLM like ChatGPT or Claude to dig into the data in a <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> site and answer questions about its content with a degree of accuracy?
</p>

<p>
	If not, does anyone know anyone who can be hired to write this?
</p>

<p>
	<br>
	Thank you.
</p>
]]></description><guid isPermaLink="false">22229</guid><pubDate>Mon, 17 Mar 2025 13:50:10 +0000</pubDate></item><item><title>Rip Prevention Mod</title><link>https://tng.community/index.php?/forums/topic/18029-rip-prevention-mod/</link><description><![CDATA[<p>
	Just an FYI... A nice little Mod by Author(s), Brian McFadyen &amp; Brent Hemphill. Works a treat, works even better, when you ramp up the settings.
</p>

<p>
	From the <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> Wiki
</p>

<p>
	<em>This <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> modification includes several features:</em>
</p>

<p>
	<em>Rip Prevention</em>
</p>

<p>
	<em>It can help deter some of the automated processes that simply rip (copy) our sites for potential commercial gain. It monitors the time interval between visitor accesses. If the accesses are rapid and repeated, a warning is issued. If the accesses continue rapid and repeatedly, the visitor is temporarily banned and an explanation page is displayed. Warnings and bans are disabled for administrators.</em>
</p>

<p>
	<em>A few rapid accesses will result in a warning page. Simply wait a few seconds and operation will return to normal. Repeated rapid access will result in a 60 second ban where an explanation page is displayed.</em>
</p>

<p>
	<em>To deter those slow automated programs that scrape your site, you may optionally add a Rip Prevention Captcha challenge. If added, you may configure the number of visits within a specified time that you will be allowed before a graphical challenge is presented to confirm the visitor is human and not an automated program.</em>
</p>

<p>
	 
</p>

<p>
	At present, the current ban is 60 seconds, which can be increased via your Mod Manager. You could upgrade the timeout to 3 hours or 12, but the attacks will more than likely continue.
</p>

<p>
	One way to stop the automated process is increase the timeout. In my case, I went can of whoop ass, to 999999999 seconds. You can use a calculator to work that out in years.!!!
</p>

<p>
	My attacks are now limited to around 3 a week. Amazon has vanished. Microsoft has given up. Bing (lmao) they crashed. Others are denied as they arrive.
</p>

<p>
	Drew
</p>

<p>
	 
</p>
]]></description><guid isPermaLink="false">18029</guid><pubDate>Tue, 17 Oct 2023 01:01:33 +0000</pubDate></item><item><title>Add more visible Suggest Button</title><link>https://tng.community/index.php?/forums/topic/22069-add-more-visible-suggest-button/</link><description><![CDATA[<p>
	Dear <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> Community,
</p>

<p>
	We started to publish our family tree about 1 week ago. The names are there, but for many people the date and place of birth are missing.<br>
	There is a “Suggest” button to submit suggestions. But I would like to have a button at the top of the template header that is clearly visible. How can I realize this as code?
</p>

<p>
	How can I globally access $entity_type or similar variables.
</p>

<p>
	In the genlib.php the link to suggest.php with parameters is preserved. But when I do an echo - the return of the variable is empty.<br>
	I only want to access them in the header of the template and create a link for specific suggestions (person/family).<br>
	Sounds quite simple, but I haven't got the hang of it yet.
</p>
]]></description><guid isPermaLink="false">22069</guid><pubDate>Tue, 25 Feb 2025 19:36:45 +0000</pubDate></item><item><title>Add Person Pedigree v14.0.0.2c</title><link>https://tng.community/index.php?/forums/topic/21842-add-person-pedigree-v14002c/</link><description><![CDATA[<p>
	Hello everyone,
</p>

<p>
	I've installed <a contenteditable="false" data-ipshover="" data-ipshover-target="https://tng.community/index.php?/profile/17479-ericd/&amp;do=hovercard" data-mentionid="17479" href="https://tng.community/index.php?/profile/17479-ericd/" id="ips_uid_6228_4" rel="">@EricD</a>'s mod "<em>Add Person Pedigree</em>" since today. I think it's great!!!!!
</p>

<p>
	He describes on his page <a href="https://tng.lythgoes.net/wiki/index.php/Add_Person_Pedigree" rel="external nofollow">Add Person Pedigree</a>, under <strong>CSS customization</strong>, that you can color the pedigree according to gender.
</p>

<p>
	I'm still a beginner in CSS.
</p>

<p>
	Where do I put this code???
</p>

<p>
	I inserted it in templatestyle.css, but nothing happens.
</p>

<p>
	I hope you can help me... Thank you in advance...
</p>
]]></description><guid isPermaLink="false">21842</guid><pubDate>Tue, 04 Feb 2025 14:24:12 +0000</pubDate></item><item><title>Need to replace contact form</title><link>https://tng.community/index.php?/forums/topic/21784-need-to-replace-contact-form/</link><description><![CDATA[<p>
	Hello,
</p>

<p>
	It's been so long since I worked on my genealogy template,  forgot how to do anything <span><img alt=":o" data-emoticon="true" loading="lazy" src="https://tng.community/uploads/default_icon_surprised.gif" title=":o">  Anyway, I get nothing but spammed through my contact form and was looking to maybe just put an email link there, but not sure how to go about that.  I did find the code in the footer section, but not sure how to make it a link instead.  Currently going to the suggest.php page, which is what I need to replace.  Can anyone help me with this:</span>
</p>

<p>
	<span>  </span>
</p>

<article class="contentBox3b">
	<br>
	      
	<h4>
		
	</h4>
	<br>
	      
	<p>
		 
	</p>

	<p>
		 
	</p>

	<p>
		<span>Thank you!</span>
	</p>

	<ul class="list1">
		<br>
		<li>
			            <br>
			            
		</li>
		<li>
			
		</li>
	</ul>
</article>
]]></description><guid isPermaLink="false">21784</guid><pubDate>Sat, 25 Jan 2025 17:38:54 +0000</pubDate></item><item><title>Weird Characters on site</title><link>https://tng.community/index.php?/forums/topic/21785-weird-characters-on-site/</link><description><![CDATA[<p>
	Good Afternoon!
</p>

<p>
	Suddenly I have these weird A characters all over my website (I posted below so you can see) then are on the front end and back end.  I'm assuming it has something to do with the datebase, maybe an upgrade they did or something, but I don't know and not sure how to fix. Anyone have any suggestions?  This just stated within the last month. I didn't notice this last time I logged in.  Thanks
</p>

<p>
	 
</p>

<p>
	<a href="https://burress.us/admin.php" style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left" rel="external nofollow">Admin Home</a><span style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left"><span> </span>Â |Â <span> </span></span><a href="https://burress.us/index.php" style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left" rel="external nofollow">Public Home</a><span style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left"><span> </span>Â |Â <span> </span></span><a href="https://burress.us/adminshowlog.php" style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left" target="main" rel="external nofollow">Admin Log</a><span style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left"><span> </span>Â |Â <span> </span></span><a href="https://burress.us/admin_genconfig.php#" onclick="return openHelp('languages/English/index_help.php');" style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left" rel="external nofollow">Getting Started</a><span style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left"><span> </span>Â |Â <span> </span></span><a href="https://tng.lythgoes.net/wiki" style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left" target="_blank" rel="external nofollow"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> Wiki</a><span style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left"><span> </span>Â |Â <span> </span></span><a href="https://tng.community/" style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left" target="_blank" rel=""><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> Forum</a><span style="background-color:#863435; color:#ffffff; font-size:13.3333px; text-align:left"><span> </span>Â |Â <span> </span></span><a href="https://burress.us/logout.php?admin_login=1" style="background-color:#863435; color:#e4e3b8; font-size:13.3333px; text-align:left" target="_parent" rel="external nofollow">LogoutÂ </a>
</p>
]]></description><guid isPermaLink="false">21785</guid><pubDate>Sat, 25 Jan 2025 17:41:30 +0000</pubDate></item><item><title>Genealogy and AI</title><link>https://tng.community/index.php?/forums/topic/21421-genealogy-and-ai/</link><description><![CDATA[<p>
	<span style="background-color:#ffffff; color:#000000; font-size:16px; text-align:start">Together with ChatGPT I’ve been brainstorming about the possible role of AI in Genealogy software. The report is on my website<span> </span></span><a href="https://francisfranck.com/mediawiki/index.php?title=Genealogy_and_AI" rel="external nofollow" style="background-color:#ffffff; color:var(--tertiary); font-size:16px; text-align:start">Genealogy and AI - Francis</a><br style="background-color:#ffffff; color:#000000; font-size:16px; text-align:start">
	<span style="background-color:#ffffff; color:#000000; font-size:16px; text-align:start">The intro is quite general. I would recommend experts to concentrate on the paragraphs on AI.</span>
</p>
]]></description><guid isPermaLink="false">21421</guid><pubDate>Thu, 28 Nov 2024 14:24:53 +0000</pubDate></item><item><title>Is anyone successfully using a Cloudflare Turnstile widget with their TNG site?</title><link>https://tng.community/index.php?/forums/topic/20585-is-anyone-successfully-using-a-cloudflare-turnstile-widget-with-their-tng-site/</link><description><![CDATA[<ul>
	<li>
		<abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> 14.0.5
	</li>
</ul>

<p>
	Hello, everyone,
</p>

<p>
	I'm curious if anyone has successfully integrated a Cloudflare Turnstile widget on any of their <abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> forms.  (The Cloudflare Turnstile widget is similar to Google's ReCAPTCHA v3.)
</p>

<p>
	I've added that widget on one of my <abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> test sites' 3 forms (<strong><a href="https://www.genealogywings.me/login.php" rel="external nofollow"><span style="color:#0000ff;">loginlib.php</span></a></strong> , <strong><a href="https://www.genealogywings.me/newacctform.php" rel="external nofollow"><span style="color:#0000ff;">newacctform.php</span></a></strong> and <strong><a href="https://www.genealogywings.me/suggest.php" rel="external nofollow"><span style="color:#0000ff;">suggest.php</span></a></strong>), but unfortunately they don't actually do anything, except check/verify to see if the user is human, or prompt the user to check a box if the widget cannot detect it automatically.  But regardless of the verification, even if the user does not manually verify that they're human, the user is able to proceed with the process (login, submit a New Account form, or Send Message to me).
</p>

<p>
	The way that I have confirmed that the user is able to proceed regardless, is because with some of my browsers, the widget is not able to detect anything automatically, requiring me to check a box to confirm that I am human.  But when I do not manually check that box, I am still able to proceed with the process (login, submit a New Account form, or Send Message to myself).
</p>

<p>
	What I am trying to figure out is, how to not let the user proceed if they are not verified as being human.
</p>

<p>
	Hence my inquiry to see if anyone else has successfully implemented that widget, and that the widget does what it is supposed to do.
</p>

<p>
	Thanks in advance &amp; have yourselves a great weekend.
</p>

<p>
	Regards,<br>
	John
</p>
]]></description><guid isPermaLink="false">20585</guid><pubDate>Fri, 30 Aug 2024 14:28:54 +0000</pubDate></item><item><title>Missing witnesses after importing GEDCOM 7.0 from Aldfaer</title><link>https://tng.community/index.php?/forums/topic/20892-missing-witnesses-after-importing-gedcom-70-from-aldfaer/</link><description><![CDATA[<p>
	I recently created gedcom in Aldfaer with GEDCOM version 7.0. It turned out that <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> no longer lists any witnesses.<br>
	See the attached comparison of Gedcom 5.5.1. and 7.0 from Aldfaer.<br>
	Why doesn't <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> list the witnesses at a person's baptism?<br>
	And what does <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> need for witnesses (not a godparent) at the baptism or marriage of relations?
</p>

<p><a href="https://tng.community/uploads/monthly_2024_09/Gedcom5.5.1-7_0en.jpg.c59ca5863c38396d3a6dc5181a62d8db.jpg" class="ipsAttachLink ipsAttachLink_image" ><img data-fileid="17826" src="https://tng.community/uploads/monthly_2024_09/Gedcom5.5.1-7_0en.thumb.jpg.3bbeeafc38c9d1753ff46fc059453c90.jpg" data-ratio="69.7" width="1000" class="ipsImage ipsImage_thumbnailed" alt="Gedcom 5.5.1-7.0 en.jpg"></a></p>]]></description><guid isPermaLink="false">20892</guid><pubDate>Thu, 26 Sep 2024 13:17:36 +0000</pubDate></item><item><title>Host is reporting malware</title><link>https://tng.community/index.php?/forums/topic/20869-host-is-reporting-malware/</link><description><![CDATA[<p>
	I have had my host report that I may have potential malware in various pages. The ref is
</p>

<pre style="white-space: pre-wrap; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; padding: 12px; background-color: rgb(68, 68, 68); color: rgb(248, 248, 248);"><code>SMW-INJ-27295-js.spam-5</code></pre>

<p>
	<code>it is appearing in admin_newplace.php, admin_editplace.php several OSM mod pages and other admin edit pages.</code>
</p>

<p>
	<code>Looking for suggestions....</code>
</p>
]]></description><guid isPermaLink="false">20869</guid><pubDate>Mon, 23 Sep 2024 09:37:37 +0000</pubDate></item><item><title>HTML in Notes</title><link>https://tng.community/index.php?/forums/topic/20662-html-in-notes/</link><description><![CDATA[<p>
	I have been adding an HTML line in the Notes on events and in places.  It creates a button that takes the user to the Wikipedia article on the place or event.  I have upgraded to the latest version from 13.  I works in events, but in Places, while the button appears, it will not go to the Wikipedia article.  Here is an example of the HTML code:
</p>

<p>
	&lt;form action="http://en.wikipedia.org/wiki/Battle_of_Lechfeld"&gt;&lt;input type="submit" value="Battle of Lechfeld" /&gt;&lt;/form&gt;
</p>

<p>
	I  have tried this in an event, and it works.  I entered it in a place note field, and it failed.
</p>

<p>
	Regards,
</p>

<p>
	Rob Roy
</p>
]]></description><guid isPermaLink="false">20662</guid><pubDate>Wed, 04 Sep 2024 13:01:12 +0000</pubDate></item><item><title>New Mod: Forum for TNG - almost finished (Demo running)</title><link>https://tng.community/index.php?/forums/topic/11775-new-mod-forum-for-tng-almost-finished-demo-running/</link><description><![CDATA[
<p>
	Hi all,
</p>

<p>
	 
</p>

<p>
	My users wanted a forum to discuss things instead of mailing eachother.
</p>

<p>
	I couldn't find one to integrate into <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr> that was easy to install, maintain and use and looked <abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr>.
</p>

<p>
	And didn't need registration or log-in. (The users are already registred and logged-in...)
</p>

<p>
	So I coded one myself.
</p>

<p>
	 
</p>

<p>
	It's been running for a while now, and I have now converted my "custom xerxx code" to a more "one code fits all".
</p>

<p>
	Including a setup/edit forums panel (tough job that one!).
</p>

<p>
	It seems to work okay...
</p>

<p>
	 
</p>

<p>
	Yes, here's the link to the demo version (DB will not update! Some small glitches occur because of that)
</p>

<p>
	<a href="https://xerxx.se/forumDemo/indexDemo.php" ipsnoembed="true" rel="external nofollow">https://xerxx.se/forumDemo/indexDemo.php</a>
</p>

<p>
	Simply select the kind of user you want to be and click "Enter forum". This is not a log-in screen but initiating some cookies, differently for each role)
</p>

<p>
	This is a bi-lingual collection of forums: The default language is Swedish, because my site is Swedish, but once inside you can select English by clicking the English (or German!) flag upper left.
</p>

<p>
	(If you use the Search facility: Search for "Lorem" like "Lorem ipsum" to have some hits - it's almost all demo threads :D)
</p>

<p>
	 
</p>

<p>
	So: If it's running, why is there no mod? Because I need help with some things:
</p>

<p>
	* How do I put the link into the Info-menu (preferred)?
</p>

<p>
	Especially as I have some code also that looks for new posts since last log-in and puts a "N" to the Menu. (And - I wish - to the menu heading too)
</p>

<p>
	I don't have DD menus at my site so I don't do DDs...
</p>

<p>
	 
</p>

<p>
	* Can someone code a drag-n-drop sort, like how to sort children in the Family Edit screen?
</p>

<p>
	This would be wonderful for the Setup/edit screen. You will see how I solved it if you are an Administrator and go to the "Setup and Edit forum" forum.
</p>

<p>
	I don't know anything about jQuery, that I guess it is.
</p>

<p>
	 
</p>

<p>
	* As I have only Swedish and English translations, there is of course a need for translations. A lot... See the attached file!
</p>

<p>
	The forum initiation process allows for using two languages! One default and one extra.
</p>

<p>
	I have a Swedish site but some American users so I use Swedish as the default forum language but if someone uses English (or German), the language will be English.
</p>

<p>
	And some posts are written in two languages. The complete Help forum f.ex. Users may choose one or two languages.
</p>

<p>
	 
</p>

<p>
	* And testing!
</p>

<p>
	If some dare-devil and experienced testers would volonteer, that would be greatly appreciated.
</p>

<p>
	Useability, errors, potential errors, look-n-feel, English spelling and grammatic errors - anything goes.
</p>

<p>
	 
</p>

<p>
	Please add a post below if you want to help to make this mod come alive. Describe what you can do, so everybody knows, and PM me your e-mail and I'll contact you.
</p>

<p>
	Thank you for your time and interest,
</p>

<p>
	Erik
</p>

<p>
	 
</p>

<p><a class="ipsAttachLink" href="//tng.community/applications/core/interface/file/attachment.php?id=4188">translation.txt</a></p>]]></description><guid isPermaLink="false">11775</guid><pubDate>Fri, 10 Mar 2017 00:33:07 +0000</pubDate></item><item><title>admin_editmedia.php:  Links to place display as links to source</title><link>https://tng.community/index.php?/forums/topic/19799-admin_editmediaphp-links-to-place-display-as-links-to-source/</link><description><![CDATA[<p>
	Good morning, all!
</p>

<p>
	I wanted to query the community to see if anyone else has encountered the following issue:
</p>

<p>
	- Assume a media item is linked to some individuals and at least once place.  Example:  census record.<br>
	- On any public page and on most admin pages, the media item shows the person/place links correctly.  Great!<br>
	- On an admin EDIT page (admin_editmedia.php), however, <strong>what should be a link to a *place* instead appears as a link to a *source*. </strong> Puzzling!
</p>

<p>
	Current setup:
</p>

<p>
	- FTM 2019 importing to GEDCOM format<br>
	- Importing GEDCOM file to <abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> while specifying "accept data for all new event types and attributes"<br>
	- <abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> version 14.0.5 running locally on Windows with XAMPP server (This is my dev environment before uploading to web site)
</p>

<p>
	I have tried the following:
</p>

<p>
	- multiple GEDCOM imports<br>
	- inspecting/repairing MySQL (MariaDB) to check for data corruption<br>
	- manual data inspection of indexes and key fields using PhpMyAdmin for the tng_places, tng_sources, and tng_citations tables<br>
	- Searching this forum to see if anyone else has experienced this  (my apologies if I missed a posting on the same topic!)
</p>

<p>
	Has anyone else encountered this?
</p>

<p>
	I thought I'd poll the forum before bothering Darrin about it - maybe the error is on my part . . . .  <strong>Screenshots are attached to show what I'm seeing.</strong>
</p>

<p>
	Thank you all!
</p>

<p>
	Regards,
</p>

<p>
	Thomas
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://tng.community/uploads/monthly_2024_07/Adminpagelistingforamediaitem-OK.jpg.2c1b0fac9988859190c1cd5508ba8874.jpg" data-fileid="17576" data-fileext="jpg" rel=""><img alt="Admin page listing for a media item - OK.jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="17576" data-ratio="8.23" width="984" src="https://tng.community/uploads/monthly_2024_07/Adminpagelistingforamediaitem-OK.jpg.2c1b0fac9988859190c1cd5508ba8874.jpg"></a>
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" href="https://tng.community/uploads/monthly_2024_07/Samplepublicpageshowingplace-OK.jpg.a429244b5b7cf5e9aee9169fcc9f0e02.jpg" data-fileid="17578" data-fileext="jpg" rel=""><img alt="Sample public page showing place - OK .jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="17578" data-ratio="71.85" width="842" src="https://tng.community/uploads/monthly_2024_07/Samplepublicpageshowingplace-OK.jpg.a429244b5b7cf5e9aee9169fcc9f0e02.jpg"></a><a class="ipsAttachLink ipsAttachLink_image" href="https://tng.community/uploads/monthly_2024_07/Admineditpageformediaitem-notOK.jpg.6095914c029ab96d1d9a0d02f6a4e5a4.jpg" data-fileid="17577" data-fileext="jpg" rel=""><img alt="Admin edit page for media item - not OK .jpg" class="ipsImage ipsImage_thumbnailed" data-fileid="17577" data-ratio="39.22" width="793" src="https://tng.community/uploads/monthly_2024_07/Admineditpageformediaitem-notOK.jpg.6095914c029ab96d1d9a0d02f6a4e5a4.jpg"></a>
</p>
]]></description><guid isPermaLink="false">19799</guid><pubDate>Mon, 08 Jul 2024 13:58:49 +0000</pubDate></item><item><title>Can't go past one subfolder.</title><link>https://tng.community/index.php?/forums/topic/19753-cant-go-past-one-subfolder/</link><description><![CDATA[<p>
	I do a lot of transcribing and placing that information online. I love how my <abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> website looks as was wanting to bring my HTML database onboard.<br>
	<br>
	This is how I have my file directory setup.<br>
	<br>
	site.com/us_records/state/county/countysubfolder/filename.html<br>
	<br>
	Works flawlessly, but it doesn't have the beautiful theme that my <abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> site has. So I tried to pull it into the <abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> setup following the PHP pages customization using the history page template.<br>
	<br>
	Everything works as long as it is within my single subfolder Ex: /pgs/
</p>

<p>
	site.com/pgs/transcribeddata.php - Works<br>
	<br>
	site.com/us_records/state/county/countysubfolder/transcribeddata.php - Failure.<br>
	<br>
	I'm new to PHP so is there a special protocol for going multiple sub folders deep? I've tried updating it in the new .php file. It works as long as it's in /pgs/ any more subfolders then that it doesn't work. The file structure is CRITICAL so having tens of thousands(I have a lot, but not this many) of files within the /pgs/ sub folder is pointless. I'm fine with how it currently is laid out, but I would love to get it to work on the <abbr title="The Next Generation of Genealogy Sitebuilding"><abbr title="The Next Generation of Genealogy Sitebuilding">TNG</abbr></abbr> side of things utilizing PHP instead of just straight HTML. All files have their correct extension. The issue comes when I create a subfolder within a subfolder.
</p>
]]></description><guid isPermaLink="false">19753</guid><pubDate>Tue, 02 Jul 2024 18:59:31 +0000</pubDate></item><item><title>Adding a Language "Create Copy In" box to a field</title><link>https://tng.community/index.php?/forums/topic/19705-adding-a-language-create-copy-in-box-to-a-field/</link><description><![CDATA[<p>
	Hi All,
</p>

<p>
	I have a client that wants to add a link name in an additional language. In some of my templates, the user has the ability to "name" the link instead of getting the usual "More". For example, in my template 275 (<a href="https://genealogywebtemplates.com/tng/demoframes-public.html" ipsnoembed="true" rel="external nofollow">https://genealogywebtemplates.com/<abbr title="The Next Generation of Genealogy Sitebuilding">tng</abbr>/demoframes-public.html</a>) there are links for "Those Who Served" and "Diseases". My client wants these links to be translated when a visitor chooses French as the language. How do I get a "Create copy in -" box on the template settings page in order for him to add the French text? The variable name is "headerlinktext".
</p>

<p>
	Thanks for any help,<br>
	Marsha<br>
	Genealogy Web Templates<br>
	<a href="https://genealogywebtemplates.com" ipsnoembed="true" rel="external nofollow">https://genealogywebtemplates.com</a>
</p>
]]></description><guid isPermaLink="false">19705</guid><pubDate>Thu, 27 Jun 2024 11:39:03 +0000</pubDate></item></channel></rss>
