<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Genealogy at Tivel.org</title>
	<atom:link href="http://blog.tivel.org/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.tivel.org</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Mon, 18 Feb 2013 06:17:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>WampServer, TNG, and WordPress for Genealogists</title>
		<link>http://blog.tivel.org/wampserver-tng-and-wordpress-for-genealogists</link>
		<comments>http://blog.tivel.org/wampserver-tng-and-wordpress-for-genealogists#comments</comments>
		<pubDate>Sat, 10 Nov 2012 07:54:26 +0000</pubDate>
		<dc:creator>Royce</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.tivel.org/?p=33</guid>
		<description><![CDATA[The Next Generation of Genealogy Sitebuilding© (TNG) and WampServer are a natural pair for developing genealogies of all sizes on a local PC. Add a WordPress blog on the testbed, as well. To learn how to install these software packages, read on.<br /> <a href="http://blog.tivel.org/wampserver-tng-and-wordpress-for-genealogists">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>The Next Generation of Genealogy Sitebuilding (TNG) and WampServer are an unbeatable combination for developing genealogies. Adding WordPress to this combination extends TNG to include a blog.</p>
<p>Early on, I decided to install both TNG and WordPress online. I decided to allow both packages to do what they do best: TNG to host my family&#8217;s genealogy and WordPress to compliment TNG with useful articles, tips, and tutorials to help others with their own genealogies.</p>
<p>I use WampServer to test, develop, and maintain TNG and WordPress on my PC. With WampServer, I was able to learn about installing and styling TNG and WordPress quickly and easily—before putting them online. When new versions of the software are released, I can try them out first on WampServer to insure that they will work properly online. WampServer also enables me to test WordPress plugins before activating them online. For backup purposes, I can mirror all of my online data on the testbed.</p>
<p>In this article, I will show how to install WampServer and, once installed, how to install TNG and WordPress on the testbed—and, finally, how to link TNG and WordPress together. Links to web sites and additional information are provided in the &#8220;Resources&#8221; section at the end of the article.</p>
<p>If you work through this tutorial, you will not only end up with a great testbed for TNG and WordPress but you will also learn the skills necessary to install other software packages. For example, if you ever wanted to try out a PHP and MySQL forum, such as Phorum, or explore a different Content Management System (CMS), you will have the skills and the development platform to do so.</p>
<div class="section">INSTALLING WAMPSERVER</div>
<p>As stated on the WampServer website,</p>
<blockquote><p>&#8220;WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage easily your databases.&#8221;</p></blockquote>
<p>WampServer is very easy to install, although there are a couple of after-installation fixes that need to be done. These fixes will maximize the software&#8217;s security and usefulness.</p>
<p>After downloading and starting the installation file, it is only a matter of clicking through a few screens for a successful install. For my installation, I downloaded the latest 64-bit version of WampServer. My installation choices differed from the defaults only once: I chose Firefox for my browser. When the installation completed, there was a new icon in<img class="alignright" title="WampServe icon in system tray" alt="WampServe icon in system tray" src="../../../../images/tng_wamp/icon.jpg" width="49" height="28" /> the system tray and also on the desktop. I &#8220;pinned&#8221; the desktop icon to the task bar for one click availability.</p>
<p>Left clicking the system-tray icon brings up the main WampServer menu (Figure 1). Since I only use WampServer as a testbed for local use, I never click the &#8220;Put Online&#8221; menu item. Selecting &#8220;Localhost&#8221; from the main menu brings up the WampServer default web page (Figure 2).</p>
<div class="wp-caption aligncenter" style="width: 249px"><img title="WampServer main menu" alt="WampServer Menu" src="../../../../images/tng_wamp/1.jpg" width="239" height="309" /><p class="wp-caption-text">Figure 1: WampServer Main Menu</p></div>
<div class="wp-caption aligncenter" style="width: 340px"><img title="Activate the Apache Rewrite Module for Permalinks" alt="Activate the Apache Rewrite Module for Permalinks" src="../../../../images/tng_wamp/2.jpg" width="330" height="279" /><p class="wp-caption-text">Figure 2: WampServer Default Web Page</p></div>
<p>In preparation for WordPress, I activated one additional Apache module. From the quick-start menu, I selected <span style="color: #993300;">Apache/Apache modules/</span> and checked the rewrite_module. You may have to &#8220;Start All Services&#8221; for this to take effect. When the module has been activated, a check mark will be in front of the option. The rewrite_module is needed for &#8220;pretty URLs,&#8221; or permalinks. For my WordPress sites, I use a permalink of /%postname%/.</p>
<div class="wp-caption aligncenter" style="width: 410px"><img title="WampServer default web page" alt="WampServer Default Web Page" src="../../../../images/tng_wamp/2a.jpg" width="400" height="258" /><p class="wp-caption-text">Figure 2a: Activate the Apache Rewrite Module for Permalinks</p></div>
<p>To exit WampServer, right click the server-tray icon and select &#8220;Exit&#8221; from the menu (Figure 3).</p>
<div class="wp-caption aligncenter" style="width: 190px"><img title="exit WampServer" alt="Exit WampServer" src="../../../../images/tng_wamp/3.jpg" width="180" height="142" /><p class="wp-caption-text">Figure 3: Exit WampServer</p></div>
<div class="section">MySQL FIXES</div>
<p>MySQL is used to store the TNG database. The data is stored in tables. The database is managed using phpMyAdmin. After clicking phpMyAdmin from the WampServer main menu, the administrative screen appeared and displayed two information messages and one security warning at the bottom of the page (Figure 4).</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="MySQL information messages" alt="MySQL information messages" src="../../../../images/tng_wamp/2.png" width="600" height="210" /><p class="wp-caption-text">Figure 4: MySQL Information Messages</p></div>
<div class="subtopic">SET PASSWORD FOR LOCALHOST USER ROOT</div>
<p>I cleared the most critical security message first by setting a password for the &#8220;root&#8221; user. To clear this message, click the phpMyAdmin &#8220;Users&#8221; tab to display the current MySQL users (Figure 5). As shown in the figure, there is no password assigned to the user root.</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="no MySQL password for user root" alt="no MySQL password for user root" src="../../../../images/tng_wamp/4.png" width="600" height="344" /><p class="wp-caption-text">Figure 5: No MySQL Password for User Root</p></div>
<p>Here&#8217;s the procedure for assigning a password to the root user:</p>
<ol>
<li>Click the &#8220;Edit Privileges&#8221; icon (Figure 5) for user root to display a pop-up screen which will allow the creation of a password.</li>
<li>Click the &#8220;Generate&#8221; button to generate and automatically enter a strong password (Figure 6).</li>
<li><span style="color: #000000;"><em>Copy and save the generated password.</em></span></li>
<li>Click the &#8220;Go&#8221; button.</li>
</ol>
<div class="wp-caption aligncenter" style="width: 610px"><img title="set root password" alt="set root password" src="../../../../images/tng_wamp/5.png" width="600" height="231" /><p class="wp-caption-text">Figure 6: Set Password for User Root</p></div>
<p>Once the password has been created, a refresh of the phpMyAdmin page will display a couple of nasty looking error messages (Figure 7). These will clear when the phpMyAdmin configuration file is edited to include the new root-user password.</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="access error messages" alt="access error messages" src="../../../../images/tng_wamp/6.png" width="600" height="199" /><p class="wp-caption-text">Figure 7: Access Error Messages</p></div>
<p>The WampServer installation placed the phpMyAdmin configuration file at C:wamp/apps/phpmyadmin3.5.1/config.inc.php. Using a basic text editor, the saved root password has to be added—between the single quote marks—to this file as shown (Figure 8) and the file saved.</p>
<div class="wp-caption aligncenter" style="width: 408px"><img title=" configuring the phpMyAdmin root password" alt=" configuring the phpMyAdmin root password" src="../../../../images/tng_wamp/7.png" width="398" height="384" /><p class="wp-caption-text">Figure 8: Configuring the phpMyAdmin Root Password</p></div>
<p>Refresh the browser (to refresh the phpMyAdmin screen) and return to the phpMyAdmin Users overview. The user root should now show that a password has been assigned (Figure 9). The error message about the configuration file should no longer appear. Exit WampServer.</p>
<div class="wp-caption aligncenter" style="width: 603px"><img title="phpMyAdmin root password has been set" alt="phpMyAdmin root password has been set" src="../../../../images/tng_wamp/8.png" width="593" height="241" /><p class="wp-caption-text">Figure 9: phpMyAdmin Root Password Has Been Set</p></div>
<div class="subtopic">UPDATING phpMyAdmin TO THE LATEST VERSION</div>
<p>To update phpMyAdmin to the latest version and clear another information message, first download the latest version. I downloaded the latest version, phpMyAdmin-3.5.3-english.zip, and unzipped it to the C:\wamp\apps\ directory. Next, with a text editor, open the file &#8220;phpmyadmin.conf&#8221; at C:\wamp\alias\phpmyadmin.conf. Two lines need to be changed in order to point to the new version (Figure 10).</p>
<div class="wp-caption aligncenter" style="width: 459px"><img title="phpmyadmin.conf changes for new version" alt="phpmyadmin.conf changes for new version" src="../../../../images/tng_wamp/9.png" width="449" height="266" /><p class="wp-caption-text">Figure 10: phpmyadmin.conf Changes for New Version</p></div>
<p>One more step to go for this fix. Copy the config.inc.php file from your old version of phpMyAdmin to your new version: copy C:\wamp\apps\phpmyadmin3.5.1\config.inc.php to the C:\wamp\apps\phpmyadmin-3.5.3-english\ directory.</p>
<p>After completing this last step, restart wampServer. Select phpMyAdmin from the main menu. The phpMyAdmin information box on the right side of the screen should indicate that the new version is running (Figure 11) and the update information message should no longer appear. Note: you might not see the information as shown in the figure or clear the information message until after a system restart.</p>
<div class="wp-caption aligncenter" style="width: 335px"><img title="new phpMyAdmin version up and running" alt="new phpMyAdmin version up and running" src="../../../../images/wordpress/10.png" width="325" height="223" /><p class="wp-caption-text">Figure 11: New phpMyAdmin Version Up and Running</p></div>
<div class="subtopic">CONFIGURING THE phpMyAdmin STORAGE</div>
<p>Now, for the last fix. This fix configures the phpMyAdmin storage to enable some MySQL extended features. To begin, select &#8220;phpMyAdmin&#8221; from the WampServer main menu to bring up phpMyAdmin. Select the &#8220;Databases&#8221; tab. Enter &#8220;phpmyadmin&#8221; (without the quote marks) into the &#8220;Create database&#8221; text box and then click the &#8220;Create&#8221; button. This creates a phpmyadmin database. Next, create a user for this database and a password for the user. To do this, click the &#8220;Check Privileges&#8221; link for the new phpmyadmin database (Figure 12).</p>
<div class="wp-caption aligncenter" style="width: 435px"><img title="database phpmyadmin has been created" alt="database phpmyadmin has been created" src="../../../../images/tng_wamp/10.png" width="425" height="224" /><p class="wp-caption-text">Figure 12: Database phpMyAdmin has been created</p></div>
<p><img class="alignright" title="add new user" alt="add new user" src="../../../../images/tng_wamp/11.png" width="127" height="100" />Click on the &#8220;Add user&#8221; link and add the new user as shown below (Figures 13). Note that I used the &#8220;Generate&#8221; button to generate and automatically add the password. <span style="color: #000000;"><em>Be sure to copy and save the password for a later step.</em></span> Click the &#8220;Add user&#8221; button.</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="add new MySQL database user and password" alt="add new MySQL database user and password" src="../../../../images/tng_wamp/12.png" width="600" height="452" /><p class="wp-caption-text">Figure 13: Add New MySQL Database User and Password</p></div>
<p>Now that the phpmyadmin database has been created, we need to create the database tables. In phpMyAdmin, click on the &#8220;Databases&#8221; tab and then the phpmyadmin (Jump to database) link (shown in Figure 12). Next, click on the &#8220;Import&#8221; tab and browse to the &#8220;create_tables.sql&#8221; file, which is located at C:\wamp\apps\phpmyadmin-3.5.3-english\examples\create_tables.sql (Figure 14). An information message will report a successful import and table creation (Figure 15).</p>
<div class="wp-caption aligncenter" style="width: 549px"><img title="importing the phpmyadmin tables" alt="importing the phpmyadmin tables" src="../../../../images/tng_wamp/14.png" width="539" height="691" /><p class="wp-caption-text">Figure 14: Importing the phpmyadmin Tables</p></div>
<div class="wp-caption aligncenter" style="width: 524px"><img title="import successful" alt="import successful" src="../../../../images/tng_wamp/15.png" width="514" height="51" /><p class="wp-caption-text">Figure 15: phmyadmin Database Import and Table Creation Successful</p></div>
<p>Open the C:\wamp\apps\phpmyadmin-3.5.3-english\config.inc.php file with your text editor. Copy the code shown below to the end of the existing code but before the PHP closing tag (?&gt;). Note: the code was originally copied from C:\wamp\apps\phpmyadmin-3.5.3-english\config.sample.inc.php.</p>
<pre>/*
* phpMyAdmin configuration storage settings.
*/

/* User used to manipulate with storage */
$cfg['Servers'][$i]['controlhost'] = '';
$cfg['Servers'][$i]['controluser'] = 'pma';
$cfg['Servers'][$i]['controlpass'] = 'pmapass';

/* Storage database and tables */
$cfg['Servers'][$i]['pmadb'] = 'phpmyadmin';
$cfg['Servers'][$i]['bookmarktable'] = 'pma_bookmark';
$cfg['Servers'][$i]['relation'] = 'pma_relation';
$cfg['Servers'][$i]['table_info'] = 'pma_table_info';
$cfg['Servers'][$i]['table_coords'] = 'pma_table_coords';
$cfg['Servers'][$i]['pdf_pages'] = 'pma_pdf_pages';
$cfg['Servers'][$i]['column_info'] = 'pma_column_info';
$cfg['Servers'][$i]['history'] = 'pma_history';
$cfg['Servers'][$i]['table_uiprefs'] = 'pma_table_uiprefs';
$cfg['Servers'][$i]['tracking'] = 'pma_tracking';
$cfg['Servers'][$i]['designer_coords'] = 'pma_designer_coords';
$cfg['Servers'][$i]['userconfig'] = 'pma_userconfig';
$cfg['Servers'][$i]['recent'] = 'pma_recent';
/* Contrib / Swekey authentication */
$cfg['Servers'][$i]['auth_swekey_config'] = '/etc/swekey-pma.conf';

/*
* End of servers configuration
*/</pre>
<p>Enter &#8220;localhost&#8221; for the controlhost and replace &#8220;pmapass&#8221; with the pma password you saved earlier (Figure 16). Save the file. Exit WampServer and any other open applications and restart the system. When the system is reloaded, start WampServer and go to phpMyAdmin. All information and security messages should now be cleared.</p>
<div class="wp-caption alignnone" style="width: 397px"><img title="adding pma password to config.inc.php" alt="adding pma password to config.inc.php" src="../../../../images/tng_wamp/16.png" width="387" height="194" /><p class="wp-caption-text">Figure 16: Adding Host and pma Password to config.inc.php</p></div>
<div class="section">INSTALLING TNG</div>
<p>Congratulations! Now that the latest version of WampServer is up and running—error free—it&#8217;s time to install TNG. But first, you can use your WampServer experience to create a MySQL database for TNG. The steps are similar to those used when the phpmyadmin database and pma user were created. Feel free to use another database name, username, etc., while completing your own installation.</p>
<div class="subtopic">CREATING THE TNG DATABASE</div>
<p>From the WampServer main menu, select &#8220;phpMyAdmin&#8221; and then select the &#8220;Databases&#8221; tab. Enter a database name in the &#8220;Create database&#8221; text box and click the &#8220;Create&#8221; button. I called the database for this tutorial &#8220;family_connections.&#8221;</p>
<p>Next, create a user and password for the database by clicking the &#8220;Check Privileges&#8221; link for the &#8220;family_connections&#8221; database. Click the &#8220;Add user&#8221; link and enter a &#8220;User name,&#8221; &#8220;Host,&#8221; and a &#8220;Password&#8221; (Figure 17). I used the &#8220;Generate&#8221; button to automatically create and enter the password. <em>Be sure to copy and save the username and password.</em> Click the &#8220;Add user&#8221; button.</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="set username and password for the TNG database" alt="set username and password for the TNG database" src="../../../../images/tng_wamp/17.png" width="600" height="452" /><p class="wp-caption-text">Figure 17: Set Username and Password for the TNG Database</p></div>
<div class="subtopic">DOWNLOADING AND UNZIPING TNG</div>
<div class="subtopic"></div>
<p>Rename the default WampServer home page at C:\wamp\www\index.php to something else, such as &#8220;original-index.php.&#8221; Otherwise, the file will be replaced when TNG is installed—and you might want to refer to it later. Download TNG and unzip the files to the C:\wamp\www directory.</p>
<div class="subtopic">CONFIGURING TNG</div>
<p>Open a browser to C:\wamp\www\readme.html. There are two types of installation: an &#8220;Express Installation&#8221; and a more complex &#8220;Regular Installation.&#8221; For this installation, I will use a combination of the two to closely simulate an actual online install. Start by clicking the &#8220;Express Installation&#8221; link. Perform the following steps (Figure 18):</p>
<ol class="tng">
<li>3. set permissions and</li>
<li>6. establish a database connection.</li>
</ol>
<p>In step 6, you will need to reuse the username and password used to create the MySQL family_connections database.</p>
<div class="wp-caption aligncenter" style="width: 615px"><img title="set permissions and establish a database connection" alt="set permissions and establish a database connection" src="../../../../images/tng_wamp/18.png" width="605" height="296" /><p class="wp-caption-text">Figure 18: Set Permissions and Establish a Database Connection</p></div>
<p>Under the &#8220;Regular Installation&#8221; at the top left of the readme.html page, select the &#8220;Folders&#8221; link. Insert a prefix of &#8220;fc_&#8221; in front of the folder names and rename the folders. Also, from the &#8220;Regular Installation,&#8221; expand the &#8220;Database Tables&#8221; link and select number 2, &#8220;Create the Database Tables.&#8221; Change &#8220;tng&#8221; to &#8220;mfc&#8221; for all table names. Save and Create the tables (Figure 19). In an online TNG installation, these simple changes provide extra security against hackers.</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="configuring folders and tables" alt="configuring folders and tables" src="../../../../images/tng_wamp/19.png" width="600" height="532" /><p class="wp-caption-text">Figure 19: Configuring Folders and Tables</p></div>
<p>Reselect the &#8220;Express Installation&#8221; link and complete the following steps (Figure 20):</p>
<ol class="tng">
<li>8. create a user,</li>
<li>9. create a tree, and</li>
<li>10. select a template.</li>
</ol>
<div class="wp-caption aligncenter" style="width: 610px"><img title="finishing the tng installation" alt="finishing the tng installation" src="../../../../images/tng_wamp/20.png" width="600" height="520" /><p class="wp-caption-text">Figure 20: Finishing the TNG Installation</p></div>
<p>TNG is now installed. Enter &#8220;localhost&#8221; into your browser or select it from the WampServer main menu and the default home page for template 4 should display (Figure 21).</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="tng home page" alt="tng home page" src="../../../../images/tng_wamp/21.jpg" width="600" height="483" /><p class="wp-caption-text">Figure 21: TNG Home Page</p></div>
<div class="subtopic">IMPORTING THE GENEALOGY</div>
<p>You can create your genealogy from scratch or, as I did for this tutorial, import it from an existing GEDCOM file. At the completion of the TNG install, the user is already logged in as &#8220;Administrator.&#8221; From the TNG sidebar menu, select &#8220;Administration.&#8221; Select &#8220;Import/Export&#8221; to import a GEDCOM file (Figure 22).</p>
<div class="wp-caption aligncenter" style="width: 356px"><img title="import/export" alt="import/export" src="../../../../images/tng_wamp/22.png" width="346" height="65" /><p class="wp-caption-text">Figure 22: Import/Export a GEDCOM</p></div>
<p>Since I already have the GEDCOM file on my computer, I &#8220;Browsed&#8221; to it and clicked the &#8220;Import Data&#8221; button for a successful import (Figure 23, 24).</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="import gedcom" alt="imort gedcom" src="../../../../images/tng_wamp/23.png" width="600" height="467" /><p class="wp-caption-text">Figure 23: Import GEDCOM</p></div>
<div class="wp-caption aligncenter" style="width: 608px"><img title="gedcom import sucessful" alt="gedcom import sucessful" src="../../../../images/tng_wamp/24.png" width="598" height="284" /><p class="wp-caption-text">Figure 24: GEDCOM Import Successful</p></div>
<p>After the conclusion of the import, I selected the &#8220;Public Home&#8221; link from the top of the page (Figure 25).</p>
<div class="wp-caption aligncenter" style="width: 608px"><img title="page navigation menu" alt="page navigation menu" src="../../../../images/tng_wamp/25.png" width="598" height="59" /><p class="wp-caption-text">Figure 25: Navigation Menu</p></div>
<p>I clicked on the &#8220;Surnames&#8221; link (just below the &#8220;Search&#8221; button, Figure 21) and got a list of surnames in the genealogy. I next put a name in the &#8220;LastName&#8221; search box and verified that the search returned the expected results.</p>
<div class="section">STYLING TNG</div>
<p>I customized the TNG home page by</p>
<ol>
<li>removing the graphic header and replacing it with text,</li>
<li>changing the default home-page images,</li>
<li>simplifying the sidebar menu, and</li>
<li>adding a blog link to the sidebar.</li>
</ol>
<p>Figure 26 (home page) and 27 (other pages) show these changes. The &#8220;Welcome, Administrator&#8221; message and the menu items &#8220;Access Log&#8221; and &#8220;Administration&#8221; only display if the Administrator is logged in.</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="customized home page" alt="customized home page" src="../../../../images/tng_wamp/26.png" width="600" height="604" /><p class="wp-caption-text">Figure 26: Customized Home Page</p></div>
<div class="wp-caption aligncenter" style="width: 610px"><img title="customized tng pages" alt="customized tng pages" src="../../../../images/tng_wamp/27.png" width="600" height="511" /><p class="wp-caption-text">Figure 27: Customized TNG Pages</p></div>
<p>Some of the changes to the home page were made by modifying code; other changes were made by adding new content to template 4 (Administration &gt;&gt; Setup &gt;&gt; Configuration &gt;&gt; Template Settings, Figure 28) and from the &#8220;Histories&#8221; menu item.</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="template4 settings" alt="template4 settings" src="../../../../images/tng_wamp/28.png" width="600" height="458" /><p class="wp-caption-text">Figure 28: Template4 Settings</p></div>
<p>To accomplish the code changes, files located in the c:\wamp\www\templates\template4\ directory needed to be customized:</p>
<ul>
<li>index.php,</li>
<li>topmenu.php, and</li>
<li>css\mytngstyles.css.</li>
</ul>
<div class="subtopic">REPLACING THE GRAPHICS HEADER WITH TEXT</div>
<p>Styling the TNG home page is done mainly with the template 4 index.php file. To begin with, I replaced the header image with text for faster page loading (Figure 29):</p>
<div class="wp-caption aligncenter" style="width: 678px"><img title="changing the default graphic header with text" alt="changing the default graphic header with text" src="../../../../images/tng_wamp/29.png" width="668" height="440" /><p class="wp-caption-text">Figure 29: Changing the TNG Default Graphic Header with Text</p></div>
<p>Similarly, I modified topmenu.php to change the header on other pages. I styled the header text by adding the following CSS code to the template 4 css\mytngstyles.css file:</p>
<pre>/*your custom style goes in this file*/

.header_title { 
font-family:Verdana, Arial, Helvetica, sans-serif;
}
.title_1 {
color:#990000;
font-size:30px;
font-weight:bold;
}
.title_2 {
color:#999966;
font-size: 45px;
font-weight:bold;
}
.tdtitle {
padding-top: 12px;
}
#blog {
text-align: center;
font-size:24px;
}</pre>
<p>These changes resulted in a new header (Figure 30).</p>
<div class="wp-caption aligncenter" style="width: 542px"><img title="new header text" alt="new header text" src="../../../../images/tng_wamp/30.png" width="532" height="114" /><p class="wp-caption-text">Figure 30: New Text Header</p></div>
<div class="subtopic">REPLACING THE DEFAULT HOME-PAGE IMAGES</div>
<p>Replacing the home-page images was just a matter of replacing the old bigphoto.jpg and smallphoto.jpg in the template 4 &#8220;img&#8221; directory with new images. I sized the new images the same as the old and kept the same image names.</p>
<div class="subtopic">SIMPLIFYING THE SIDEBAR MENU</div>
<p>My genealogy database is small and does not include, at this time, much of the data that can be accessed from the sidebar menu. So, in order to help visitors focus on existing data, I removed several of the sidebar menu items. Two template 4 files were modified for this: index.php and topmenu.php. In these files, I commented out the menu items I did not want to appear (Figure 31).</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="removing menu items from index.php and topmenu.php" alt="removing menu items from index.php and topmenu.php" src="../../../../images/tng_wamp/31.png" width="600" height="391" /><p class="wp-caption-text">Figure 31: Removing Menu Items from index.php and topmenu.php</p></div>
<p>Next, I added code to place the &#8220;Contact Us&#8221; menu item below the others (Figure 32).</p>
<div class="wp-caption alignnone" style="width: 610px"><img title="replace the &quot;Contact Us&quot; menu item" alt="replace the &quot;Contact Us&quot; menu item" src="../../../../images/tng_wamp/32.png" width="600" height="243" /><p class="wp-caption-text">Figure 32: Replace the &#8220;Contact Us&#8221; Menu Item</p></div>
<div class="subtopic">ADDING A BLOG LINK TO THE SIDEBAR MENU</div>
<p>In order to connect my genealogy site to an associated WampServer WordPress blog, I added a blog link in the sidebar menu by adding code to the template 4 index.php and topmenu.php files (Figure 33).</p>
<div class="wp-caption alignnone" style="width: 610px"><img title="add a sidebar blog link" alt="add a sidebar blog link" src="../../../../images/tng_wamp/33.png" width="600" height="319" /><p class="wp-caption-text">Figure 33: Add a Sidebar Blog Link</p></div>
<p>The text for the new link name, &#8220;Blog,&#8221; needs to be added to the file at c:\wamp\www\languages\English\cust_text.php (Figure 34).</p>
<div class="wp-caption aligncenter" style="width: 363px"><img title="adding text for the new blog link" alt="adding text for the new blog link" src="../../../../images/tng_wamp/34.png" width="353" height="118" /><p class="wp-caption-text">Figure 34: Adding Text for the New Blog Link</p></div>
<div class="section">INSTALLING WORDPRESS</div>
<p>I use WordPress as a way to help anyone who is interested in creating his/her own genealogy. I do this through informative articles, tips, tutorials, and resource links on the blog. I will now show you how to install WordPress on WampServer. This will only be a very brief discussion of how to get the latest &#8220;out of the box&#8221; version of WordPress running on a local PC and linked to the genealogy. The installation will seem very familiar to you after installing TNG.</p>
<p>Use the link in the Resources section to download the latest WordPress version. Unzip the file to C:\wamp\www.</p>
<div class="subtopic">CREATING A DATABASE FOR WORDPRESS</div>
<p>From the WampServer main menu, go to phpMyAdmin. For this tutorial, I created a database called &#8220;wordpress.&#8221; Next, create a user for this database and a password for the user (Figure 36). To do this, click the &#8220;Check Privileges&#8221; link for the new wordpress database (Figure 35). <em>Remember to save the username and password—you will need it later.</em></p>
<div class="wp-caption aligncenter" style="width: 435px"><img title="check privileges for wordpress database" alt="check privileges for wordpress database" src="../../../../images/tng_wamp/wordpress/35.png" width="425" height="224" /><p class="wp-caption-text">Figure 35: Check Privileges for the WordPress Database</p></div>
<div class="wp-caption aligncenter" style="width: 610px"><img title="create user and password for wordpress" alt="create user and password for wordpress" src="../../../../images/tng_wamp/wordpress/36.png" width="600" height="447" /><p class="wp-caption-text">Figure 36: Create User and Password for WordPress</p></div>
<div class="subtopic">MODIFYING THE WORDPRESS CONFIGURATION FILE</div>
<p>The WordPress configuration file, wp-config.php, needs to be configured to tell WordPress how to access the database. With your text editor, open the file c:\wamp\www\wordpress\wp-config-sample.php. Fill in the database name, user name, and password used to create the database (Figure 37). While the file is open, replace the &#8220;Authentication Unique Keys and Salts&#8221; lines with the lines generated from the link in the file (Figure 38); the link is also listed in the &#8220;Resources&#8221; section. Save the file as c:\wamp\www\wordpress\wp-config.php.</p>
<div class="wp-caption aligncenter" style="width: 488px"><img title="configuring wordpress config.php file" alt="configuring wordpress config.php file" src="../../../../images/tng_wamp/wordpress/37.png" width="478" height="257" /><p class="wp-caption-text">Figure 37: Configuring the WordPress config.php File</p></div>
<div class="wp-caption aligncenter" style="width: 610px"><img title="adding the authentication unique keys and salts" alt="adding the authentication unique keys and salts" src="../../../../images/tng_wamp/wordpress/38.png" width="600" height="347" /><p class="wp-caption-text">Figure 38: Adding the Authentication Unique Keys and Salts</p></div>
<p>Now, we are ready to install WordPress.</p>
<div class="subtopic">INSTALLING WORDPRESS</div>
<p>Browse to localhost/wordpress. This opens the WordPress installation &#8220;Welcome&#8221; page (figure 39). Enter the requested information. Note that if you leave the password blank, the installer will automatically generate and assign a strong password and you will see the password in the log-in screen (Figure 40).  <em>Remember to save the username and password: you will need the username and password each time you log into the WordPress &#8220;Dashboard.&#8221;</em> I chose to enter my own strong password for this tutorial. Note that there is no need to &#8220;Allow search engines to index this site.&#8221; After clicking the &#8220;Install WordPress&#8221; button, the installer will complete the installation, including the creation of the database tables. You can now log into WordPress (Figure 40) for detailed information about what to do next or you can browse to &#8220;localhost/wordpress&#8221; to bring up the WordPress default web page. Once on the web page, you can log into WordPress from a sidebar link.</p>
<div class="wp-caption aligncenter" style="width: 610px"><img title="wordpress installation welcome screen" alt="wordpress installation welcome screen" src="../../../../images/tng_wamp/wordpress/39.png" width="600" height="670" /><p class="wp-caption-text">Figure 39: WordPress Installation &#8220;Welcome&#8221; Screen</p></div>
<div class="wp-caption aligncenter" style="width: 610px"><img title="end of installation" alt="end of installation" src="../../../../images/tng_wamp/wordpress/40.png" width="600" height="332" /><p class="wp-caption-text">Figure 40: WordPress is Installed.</p></div>
<div class="subtopic">LINKING WORDPRESS TO TNG</div>
<p>WordPress will link to the TNG genealogy by means of a link in the navigation bar. The first step in creating the new link is to log into the WordPress &#8220;Dashboard.&#8221; From the &#8220;Dashboard,&#8221; select &#8220;Menus&#8221; from the &#8220;Appearance&#8221; sidebar menu (Figure 41).</p>
<div class="wp-caption aligncenter" style="width: 322px"><img title="appearance &gt;&gt; menus" alt="appearance &gt;&gt; menus" src="../../../../images/tng_wamp/wordpress/41.png" width="312" height="205" /><p class="wp-caption-text">Figure 41: Selecting &#8220;Menus&#8221; from &#8220;Appearance</p></div>
<p>Create a new WordPress menu by entering a menu name (Figure 42). I called the new WordPress menu &#8220;navbar.&#8221; Click the &#8220;Create Menu&#8221; button to create the menu.</p>
<div class="wp-caption aligncenter" style="width: 510px"><img title="create the &quot;navbar&quot; menu" alt="create the &quot;navbar&quot; menu" src="../../../../images/tng_wamp/wordpress/42.png" width="500" height="373" /><p class="wp-caption-text">Figure 42: Create the &#8220;navbar&#8221; Menu</p></div>
<p>In &#8220;Theme Locations,&#8221; There is a drop-down box containing all current menus. Click the down arrow and select &#8220;navbar&#8221; as the &#8220;Primary Menu&#8221; (Figure 43) and then click the &#8220;Save&#8221; button.</p>
<div class="wp-caption aligncenter" style="width: 320px"><img title="select &quot;navbar&quot; as the &quot;Primary Menu&quot;" alt="select &quot;navbar&quot; as the &quot;Primary Menu&quot;" src="../../../../images/tng_wamp/wordpress/43.png" width="310" height="326" /><p class="wp-caption-text">Figure 43: Select &#8220;navbar&#8221; as the &#8220;Primary Menu&#8221;</p></div>
<p>Now we are going to define what the &#8220;navbar&#8221; menu items are going to be. From &#8220;Pages,&#8221; click the &#8220;Home&#8221; check-box and then click the &#8220;Add to Menu&#8221; button (Figure 44).</p>
<div class="wp-caption aligncenter" style="width: 313px"><img title="add the &quot;Home&quot; menu item" alt="add the &quot;Home&quot; menu item" src="../../../../images/tng_wamp/wordpress/44.png" width="303" height="196" /><p class="wp-caption-text">Figure 44: Add the &#8220;Home&#8221; Menu Item</p></div>
<p>Next, create the custom link to the genealogy and add this to the menu (Figure 45).</p>
<div class="wp-caption aligncenter" style="width: 303px"><img title="create a custom &quot;Genealogy&quot; link" alt="create a custom &quot;Genealogy&quot; link" src="../../../../images/tng_wamp/wordpress/45.png" width="293" height="176" /><p class="wp-caption-text">Figure 45: Create a Custom &#8220;Genealogy&#8221; link</p></div>
<p>The new &#8220;navbar&#8221; tab shows that both the &#8220;Home&#8221; and &#8220;Genealogy&#8221; menu items have been added to the menu. Click the &#8220;Save Menu&#8221; to save the menu.</p>
<div class="wp-caption aligncenter" style="width: 475px"><img title="save the menu" alt="save the menu" src="../../../../images/tng_wamp/wordpress/46.png" width="465" height="363" /><p class="wp-caption-text">Figure 46: Save the Menu</p></div>
<p>At the top of the &#8220;Dashboard&#8221; there is a link to the WordPress home page (Figure 47). Click this to go to the home page (Figure 48). I usually right-click the link and open the home page in a new tab.</p>
<div class="wp-caption aligncenter" style="width: 238px"><img title="link to home page" alt="link to home page" src="../../../../images/tng_wamp/wordpress/47.png" width="228" height="38" /><p class="wp-caption-text">Figure 47: Link to Home Page</p></div>
<div class="wp-caption aligncenter" style="width: 530px"><img title="home page showing &quot;navbar&quot; menu" alt="home page showing &quot;navbar&quot; menu" src="../../../../images/tng_wamp/wordpress/48.png" width="520" height="473" /><p class="wp-caption-text">Figure 48: Home Page Showing &#8220;navbar&#8221; Menu</p></div>
<p>The &#8220;Genealogy&#8221; link will bring up the TNG home page. You can return to WordPress using the &#8220;Blog&#8221; link that was created earlier in the tutorial.</p>
<div class="section">RESOURSES</div>
<ul class="resourcelist">
<li><a title="WampServer" href="http://www.wampserver.com/en/" target="_blank">http://www.wampserver.com/en/</a> &#8212; WampServer home page</li>
<li><a title="TNG" href="http://lythgoes.net/genealogy/software.php" target="_blank">http://lythgoes.net/genealogy/software.php</a> &#8212; TNG home page</li>
<li><a title="WordPress home page" href="http://wordpress.org/" target="_blank">http://wordpress.org/</a> &#8212; WordPress home page</li>
<li><a title="WordPress Authentication Unique Keys and Salts" href="https://api.wordpress.org/secret-key/1.1/salt/" target="_blank">https://api.wordpress.org/secret-key/1.1/salt/</a> &#8212; WordPress “Authentication Unique Keys and Salts”</li>
<li><a title="Download the latest phpMyAdmin" href="http://www.phpmyadmin.net/home_page/downloads.php" target="_blank">http://www.phpmyadmin.net/home_page/downloads.php</a><a> &#8212; Download the latest phpMyAdmin</a></li>
<li><a title="WordPress for Your Genealogy Blog" href="http://blog.tivel.org/wordpress-for-your-genealogy-blog" target="_blank">http://blog.tivel.org/wordpress-for-your-genealogy-blog</a><a> &#8212; &#8220;WordPress for Your Genealogy Blog&#8221;</a><br />
<blockquote><p>&#8230;discusses some of the main considerations necessary for an effective and stable blog.&#8221;</p></blockquote>
</li>
</ul>
<p><a><br />
</a><a title="WordPress" href="http://wordpress.org/"><br />
</a><a title="WordPress" href="https://api.wordpress.org/secret-key/1.1/salt/"><br />
</a><a title="WordPress" href="http://blog.tivel.org/wordpress-for-your-genealogy-blog"><br />
</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tivel.org/wampserver-tng-and-wordpress-for-genealogists/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exchanging  a GEDCOM Between PAF and TNG</title>
		<link>http://blog.tivel.org/exchanging-a-gedcom-between-paf-and-tng</link>
		<comments>http://blog.tivel.org/exchanging-a-gedcom-between-paf-and-tng#comments</comments>
		<pubDate>Mon, 24 Jan 2011 08:06:01 +0000</pubDate>
		<dc:creator>royce</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.tivel.org/?p=27</guid>
		<description><![CDATA[In order to faithfully exchange GEDCOMs between PAF and TNG, use the ANSI character set. TNG exports a GEDCOM with ANSI, by default. For PAF, you need to use the &#34;Other GEDCOM 5.5&#34; settings<br /> <a href="http://blog.tivel.org/exchanging-a-gedcom-between-paf-and-tng">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>In order to faithfully exchange GEDCOMs between PAF and TNG, use the ANSI character set. TNG exports a GEDCOM with ANSI, by default. For PAF, you need to use the &quot;Other GEDCOM 5.5&quot; settings shown in Figure 1.</p>
<div class="centercaption"><strong>Figure 1:</strong> PAF Export Settings for TNG</div>
<p><img class="displayed" src="../images/collation/paf-tng-export.jpg" alt="PAF Export Settings for TNG" width="400" height="366" /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tivel.org/exchanging-a-gedcom-between-paf-and-tng/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Collation, mySQL, and TNG</title>
		<link>http://blog.tivel.org/collation-mysql-and-tng</link>
		<comments>http://blog.tivel.org/collation-mysql-and-tng#comments</comments>
		<pubDate>Mon, 17 Jan 2011 05:14:16 +0000</pubDate>
		<dc:creator>Royce</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://blog.tivel.org/?p=22</guid>
		<description><![CDATA[The mySQL and TNG options for collation, language, and character set are *very* important. Incorrect choices when creating the mySQL database and installing TNG can affect the display of data. Learn more about making the right choices.<br /> <a href="http://blog.tivel.org/collation-mysql-and-tng">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>One of the first steps for installing The Next Generation of Genealogy Sitebuilding© (&#8220;TNG&#8221;) is to create the MySQL database. I use phpMyAdmin to do this either online at my host or on my local WampServer testbed (Figure 1).</p>
<div class="centercaption"><strong>Figure 1:</strong> phpMyAdmin from a Control Panel or from WampServer</div>
<p><img class="displayed" src="../images/collation/1.jpg" alt="phpMyAdmin from a Control Panel or from WampServer" width="500" height="262" /></p>
<p>After entering the database name—and unless you are very sure about changing them—use the defaults for both collation and the mySQL connection collation (Figure 2). By default, mySQL will use latin1_swedish_ci for the collation (West European, including english). After clicking the &#8220;Create&#8221; button, the database is created. That&#8217;s all there is to creating the database. The TNG installer will later fill in the tables.</p>
<div class="centercaption"><strong>Figure 2:</strong> Creating the Database</div>
<p><img class="displayed" src="../images/collation/3.gif" alt="Creating the Database" width="476" height="124" /></p>
<p>Once the TNG files have been unzipped, browsing to the readme.html file makes installation a snap. During the installation, you are asked about what language and character set you want to use. Again, unless you are sure, use the default: the default is to use English and the ISO-8859-1 (Latin 1) character set. Figure 3 shows the language and character set selection in step 5 of the Express Installation.</p>
<div class="centercaption"><strong>Figure 3:</strong> Selecting the Language and Character Set</div>
<p><img class="displayed" src="../images/collation/4.gif" alt="Selecting the Language and Character Set" width="569" height="137" /></p>
<p>Choosing the wrong character set can affect the display of data. The notes display shows this problem. Figure 4 shows notes with special characters, such as &#8220;õ&#8221; and &#8220;ü.&#8221; Figure 5 shows what happens when the correct character set is not selected: note the &#8220;?&#8221; where the character is not part of the character set.</p>
<div class="centercaption"><strong>Figure 3:</strong> Correct Character Display</div>
<p><img class="displayed" src="../images/collation/6.gif" alt="Correct Character Display" width="248" height="68" /></p>
<div class="centercaption"><strong>Figure 3:</strong> Inorrect Character Display</div>
<p><img class="displayed" src="../images/collation/8.gif" alt="Inorrect Character Display" width="248" height="68" /></p>
<p>TNG and mySQL have many language and character-set options. However, for West European genealogists (including english speakers), the mySQL and TNG defaults are good choices.</p>
<div class="section">Resources</div>
<p><a href="http://lythgoes.net/genealogy/software.php" target="_blank">http://lythgoes.net/genealogy/software.php</a> &#8212; The Next Generation of Genealogy Sitebuilding© (&#8220;TNG&#8221;)</p>
<p><a href="http://www.wampserver.com/en/" target="_blank">http://www.wampserver.com/en/</a> &#8212; WampServer</p>
<p><a href="http://www.w3schools.com/tags/ref_entities.asp" target="_blank">http://www.w3schools.com/tags/ref_entities.asp</a> &#8212; W3Schools HTML ISO-8859-1 Reference</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tivel.org/collation-mysql-and-tng/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Privacy and TNG at Tivel.org</title>
		<link>http://blog.tivel.org/privacy-and-tng-at-tivel-org</link>
		<comments>http://blog.tivel.org/privacy-and-tng-at-tivel-org#comments</comments>
		<pubDate>Sat, 15 Jan 2011 02:13:56 +0000</pubDate>
		<dc:creator>Royce</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://blog.tivel.org/?p=15</guid>
		<description><![CDATA[Learn how to protect the privacy of individuals in an online genealogy. Often, the online, public display of a genealogy is done without adequate thought given to the privacy of family connections, particularly when the genealogy is created by the hobbyist.<br /> <a href="http://blog.tivel.org/privacy-and-tng-at-tivel-org">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>In the excitement of creating a family genealogy, there is great satisfaction in being able to show family  connections from the most ancient ancestor to the youngest descendent. Often, however, the online, public display of such a genealogy is done without adequate thought given to the privacy of family connections, particularly when the genealogy is created by the hobbyist. With respect to family connections, possible options for online privacy are as follows:</p>
<ol>
<li> Purge or exclude all living family connections from the online genealogy database,</li>
<li>Exclude, from the database, all living family connections born on or after a specific date,</li>
<li>Mask the names and personal details of living family connections with a &quot;Living&quot; placeholder,</li>
<li>Replace first names of living family connections with an initial while displaying the surname,</li>
<li>Require a login to see the personal details of living family connections, or</li>
<li>A combination of these options.</li>
</ol>
<div class="section">The Privacy Issue</div>
<p>Why the concern for privacy at tivel.org? Several concerns were pointed out by Kylie H. Veale in &quot;A DOCTORAL STUDY OF THE USE OF THE INTERNET FOR GENEALOGY&quot;:</p>
<blockquote><p>&quot;&#8230;concerns over information veracity and quality; fears about intrusions into privacy and even the chance for identities to be stolen&#8230;.&quot;</p></blockquote>
<p>These concerns apply particularly to hobbyist who are not constrained by the standards or ethics of the trained and/or professional genealogist.</p>
<div class="section">Privacy at Tivel.org</div>
<p>At tivel.org, we take the privacy of family connections very seriously&mdash;and, if there is a doubt, we err on the side of privacy. To begin with, we exclude all living family members born approximately on or after 1940. What this means is that at tivel.org, many living family connections need to know who their grandfather was to locate themselves in the genealogy; the youngest family connections depend on their parents or grand parents to help them locate their place in the genealogy. As time goes by and the older family connections pass away, a later &quot;cutoff&quot; date will be appropriate. Fortunately, The Next Generation of Genealogy Sitebuilding&copy; (&quot;TNG&quot;) used at tivel.org made implementing our privacy goals easy.</p>
<div class="section">TNG and Privacy</div>
<p>If no birth date is given for an individual in the database, the person can be flagged as either deceased or living (default is deceased). Also, if no death date is given, the default is to consider the person to be deceased if older than 110. This &quot;cutoff&quot; date can be changed by the TNG administrator (Figure 1).</p>
<div class="centercaption"><strong>Figure 1:</strong> TNG Privacy Settings for Import/Export</div>
<p><img src="/images/privacy/1.gif" alt="TNG Privacy Settings for Import/Export" width="372" height="65" class="displayed" /></p>
<p>TNG enables the administrator to tailor the database privacy options (Figure 2). The privacy options enable the administrator to</p>
<ul>
<li>Require a login to see anything but the home page,</li>
<li> Protect living data, including hiding both data and names, and</li>
<li> Define what persons can see and do when logged in.</li>
</ul>
<div class="centercaption"><strong>Figure 2:</strong> TNG Privacy Options</div>
<p><img src="/images/privacy/2.gif" alt="TNG Privacy Options" width="500" height="175" class="displayed" /></p>
<div class="section">Managing the TNG Database for Privacy</div>
<p>The job of managing our database at tivel.org to insure the privacy of specific individuals turned out to be relatively easy. The creator of TNG, Darrin Lythgoe, has made finding and maintaining records in the database possible without having to know MySQL. It is easy to query the database and return reports through the administrative report utility (Figure 3a-3c). Once the report has been defined, the administrator can &quot;run&quot; the report(Figure 4). Figure 5 shows the results of running the &quot;Living Family Connections&quot; report. </p>
<div class="centercaption"><strong>Figure 3a:</strong> Create TNG Report: Choose Fields to Display </div>
<p><img src="/images/privacy/3-a.gif" alt="Create TNG Report: Choose Fields to Display " width="500" height="461" class="displayed" /></p>
<div class="centercaption"><strong>Figure 3b:</strong> Create TNG Report: Choose Criteria</div>
<p><img src="/images/privacy/3-b.gif" alt=" Create TNG Report: Choose Criteria" width="500" height="475" class="displayed" /></p>
<div class="centercaption"><strong>Figure 3c:</strong> Create TNG Report: Choose Sort Fields</div>
<p><img src="/images/privacy/3-c.gif" alt="Create TNG Report: Choose Sort Fields" width="500" height="349" class="displayed" /></p>
<p>The report generates the MySQL query (table prefix, xy_, is user defined):</p>
<p><code>SQL: SELECT xy_people.living, xy_people.private, lnprefix, prefix, suffix, xy_people.branch,lastname, firstname,birthdate, xy_people.personID, xy_people.gedcom, nameorder FROM (xy_people ) WHERE (xy_people.living = 1) ORDER BY lastname</code></p>
<div class="centercaption"><strong>Figure 4:</strong> Edit, Delete, or Run the TNG Report</div>
<p><img src="/images/privacy/4.jpg" alt="Edit, Delete, or Run the TNG Report" width="500" height="93" class="displayed" /></p>
<div class="centercaption"><strong>Figure 5:</strong> The TNG Report</div>
<p><img src="/images/privacy/5.gif" alt="The TNG Report" width="365" height="251" class="displayed" /></p>
<p>Once a report has been defined and run, the records of identified individuals can then be edited or deleted to insure privacy, where appropriate. For example, the &#8220;Living&#8221; flag can be turned on or off or the record of a living family member can be deleted. More complex queries and reports can be created using operators and constants. Figure 6 shows the available features for managing &quot;People.&quot;</p>
<div class="centercaption"><strong>Figure 6:</strong> TNG Administration of Records for People</div>
<p><img src="/images/privacy/6.gif" alt="TNG Administration of Records for People" width="331" height="53" class="displayed" /></p>
<div class="section">Personal&mdash;and Private&mdash;Genealogy for Family Connections</div>
<p>At tivel.org, and using the TNG administrative features, it was easy to accomplish the privacy goals for our genealogy pages. Although we would much rather see a complete genealogy extending to the newest family connection, privacy concerns outweighed our personal preference. However, there is one great advantage to purging the database of &quot;recent&quot; living family connections: we can export a &quot;safe&quot; copy of our .ged file to family connections interested in bringing their own genealogies up-to-date. This can be done on a local PC using *no cost* software, such as PAF. As an alternative, with an easy to install server package called WampServer, it is even possible to install and run TNG on a local PC without a connection to the Internet&mdash;thus keeping the resulting genealogy private and complete, if desired, down to the youngest family connection.</p>
<div class="section">Resources</div>
<p><a href="http://www.historia-actual.org/Publicaciones/index.php/haol/article/viewFile/89/83" target="_blank">http://www.historia-actual.org/Publicaciones/index.php/haol/article/viewFile/89/83</a> &#8212; A DOCTORAL STUDY OF THE USE OF THE INTERNET FOR GENEALOGY by Kylie H. Veale</p>
<p><a href="http://www.ngsgenealogy.org/galleries/aboutngs/gssound.pdf" target="_blank">http://www.ngsgenealogy.org/galleries/aboutngs/gssound.pdf</a> &#8212; Standards For Sharing Information With Others Recommended by the National Genealogical Society</p>
<p><a href="http://lythgoes.net/genealogy/software.php" target="_blank">http://lythgoes.net/genealogy/software.php</a> &#8212; The Next Generation of Genealogy Sitebuilding&copy; (&quot;TNG&quot;)</p>
<p><a href="http://www.wampserver.com/en/" target="_blank">http://www.wampserver.com/en/</a> &#8212; WampServer</p>
<p><a href="http://www.familysearch.org/eng/default.asp" target="_blank">http://www.familysearch.org/eng/default.asp</a> &#8212; PAF software for a PC can be obtained here.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tivel.org/privacy-and-tng-at-tivel-org/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips for Creating a Genealogy</title>
		<link>http://blog.tivel.org/tips-for-creating-a-genealogy</link>
		<comments>http://blog.tivel.org/tips-for-creating-a-genealogy#comments</comments>
		<pubDate>Sat, 15 Jan 2011 02:13:08 +0000</pubDate>
		<dc:creator>Royce</dc:creator>
				<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.tivel.org/?p=18</guid>
		<description><![CDATA[If you are interested in creating your own genealogy, either online or offline, you might be interested in these tips. Find out about the  wonderful tools that are available for creating and managing either an online or offline genealogy.  <br /> <a href="http://blog.tivel.org/tips-for-creating-a-genealogy">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>You can create and manage a genealogy on your own web site or on a personal computer. We are lucky to be living in the age of the Internet. Researching a genealogy has never been easier. Moreover, there are wonderful tools for creating and managing either an online or offline genealogy.</p>
<p>For building and managing a genealogy offline on a PC, we highly recommend the *no cost* Personal Ancestral File (PAF) software from FamilySearch. PAF is all you need to build and manage your own personal genealogy. You can also import an existing genealogy into this software. You can take advantage of the LDS Family History Centers. These centers are staffed with volunteers who will guide you in building your genealogy. You can find a center near you through the FamilySearch web site.</p>
<p>For an online genealogy, we at tivel.org highly recommend The Next Generation of Genealogy Sitebuilding© (&#8220;TNG&#8221;). TNG can be quickly installed and has all the administrative tools needed create and manage a serious online genealogy site. TNG also includes several well thought out templates, including the one we use at tivel.org. Although TNG is not freeware, it is well worth its small cost—and the great support is included.</p>
<p>If you want to install TNG on a local PC, you might want to consider WampServer, a *no cost* software solution to installing a complete web server on your PC. I have installed WampServer on my local PC and use it to develop both WordPress and TNG. It&#8217;s a real advantage to be able to try out modifications to both WordPress and TNG—before uploading them to my online blog and genealogy sites.</p>
<div class="section">Resources</div>
<p><a href="http://www.familysearch.org/eng/default.asp" target="_blank">http://www.familysearch.org/eng/default.asp</a> &#8212; Family Search for PAF software and help with your genealogy.</p>
<p><a href="http://lythgoes.net/genealogy/software.php" target="_blank">http://lythgoes.net/genealogy/software.php</a> &#8212; The Next Generation of Genealogy Sitebuilding© (&#8220;TNG&#8221;).</p>
<p><a href="http://www.wampserver.com/en/" target="_blank">http://www.wampserver.com/en/</a> &#8212; WampServer</p>
<p><a href="http://www.blog.selectdigitals.com/wampserver-a-test-bed-for-wordpress/" target="_blank">http://www.blog.selectdigitals.com/wampserver-a-test-bed-for-wordpress/</a> &#8212; Although this article describes installing WampServer as a test-bed for WordPress, the installation would be very similar for TNG.</p>
<p><a href="http://bishir.org/" target="_blank">http://bishir.org/</a> &#8212; Visit this site to see a quality online TNG genealogy site.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.tivel.org/tips-for-creating-a-genealogy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress for Your Genealogy Blog</title>
		<link>http://blog.tivel.org/wordpress-for-your-genealogy-blog</link>
		<comments>http://blog.tivel.org/wordpress-for-your-genealogy-blog#comments</comments>
		<pubDate>Sat, 08 Jan 2011 04:56:42 +0000</pubDate>
		<dc:creator>Royce</dc:creator>
				<category><![CDATA[Articles]]></category>

		<guid isPermaLink="false">http://blog.tivel.org/?p=4</guid>
		<description><![CDATA[Learn about WordPress at tivel.org and how you can create your own genealogical blog. In this article, I discuss blog security, installation, theming, multimedia and image display, plugins, and blog maintenance.<br /> <a href="http://blog.tivel.org/wordpress-for-your-genealogy-blog">Continue reading</a>]]></description>
				<content:encoded><![CDATA[<p>WordPress is the perfect blog platform to complement The Next Generation of Genealogy Sitebuilding © (TNG) software. For genealogy pages at tivel.org, I decided to let TNG do what it does best, create and manage genealogy pages, and let WordPress manage an interactive and educational site about online genealogy. I simply link to the blog from TNG and to the genealogy pages from WordPress. This article discusses some of the main considerations necessary for an effective and stable blog. Some of the considerations will only be given a mention in the article, but further information will be provided in the resource section at the end of the article. So, be sure to look at the link listing at the end of the article for information that might help you with your own blog.</p>
<p>For a successful WordPress blog, careful thought must be given to the following:</p>
<ol>
<li>Security,</li>
<li>Installation,</li>
<li>Theming,</li>
<li>Plugins, and</li>
<li>Maintenance.</li>
</ol>
<div class="section">Security</div>
<p>In the past, some of my sites have been hacked—so I treat blog security very seriously. Blog security should be considered—even before the blog is installed. Hackers are very familiar with the basic WordPress file structure and other defaults. You can make your site more secure by changing some of the default settings as you install WordPress.</p>
<p>The default login user name for WordPress is &#8220;admin.&#8221; This should be changed to something more complex like, &#8220;tbyz-168.&#8221; Another setting to change is the default data-table: change the prefix from &#8220;wp_&#8221; to something else, such as &#8220;zk_.&#8221;</p>
<p>Passwords are another important consideration. I recommend using long, random passwords, such as qR0ZOf3CbPOD2aDs. I typically use 12-16 character passwords. There are many random-password generators available online.</p>
<p>One point of hacker attack is the WordPress wp-admin directory. This directory contains the files necessary to the administration of WordPress (the dashboard). Access to these files can be protected by creating an .htaccess file. Copy and Paste the following code into a basic text editor:</p>
<pre lang="css">AuthUserFile /dev/null
AuthGroupFile /dev/null
AuthName "Access Control"
AuthType Basic
order deny,allow
deny from all
# whitelist home IP address
allow from 192.168.1.1</pre>
<p>Change the IP address in the code to your own IP address. Don&#8217;t know what your IP address is? Just do a Google search for, &#8220;my ip address.&#8221; There are many online services that will identify and report your specific IP address (such as 98.112.27.86). Save this file as .htaccess. The file will probably be saved as .htaccess.txt and you will need to rename the file to just .htaccess. Upload the file to the wordpress/wp-admin directory. The .htaccess file will prevent dashboard access to any IP address but yours.</p>
<p>As an additional security measure, I assign a file permission of 444 to the .htaccess file so that no one can write to the file (Figure 1).</p>
<div class="wp-caption aligncenter" style="width: 323px"><img title="444 file permission" src="../../../../images/wordpress/444.png" alt="444 file permission" width="313" height="301" /><p class="wp-caption-text">Figure 1: 444 File Permission</p></div>
<p>To make changes to the file, I use my FTP client, FileZilla, to change the file permission to 644 (Figure 2), make the change, and then reset the file permissions to 444. My FTP client, FileZilla allows me to easily accomplish all of this. I can accomplish the same thing with the file manager from the control panel at my web host.</p>
<div class="wp-caption aligncenter" style="width: 323px"><img title="644 file permission" src="../../../../images/wordpress/644.png" alt="644 file permission" width="313" height="301" /><p class="wp-caption-text">Figure 2: 644 File Permission</p></div>
<p>Sometimes, as with typical DSL service, the IP address changes; and, although your site will still be visible to visitors, you will not see the normal WordPress login screen or be able to log into the admin area. To restore normal access, you would need to edit the .htaccess file to reflect the new IP address.</p>
<p>As another, more global level of security, there are two files at my host to prevent FTP access to my sites from any IP address except my own: ftp.allow and ftp.deny. The content of the two files looks like this:</p>
<p>ftp.allow &#8212; ALL: Your IP Address</p>
<p>ftp.deny &#8212; ALL: ALL</p>
<p>Your host should be able to help you create and place these files. What this means, though, is that if your IP address changes, you would no longer be able to FTP to your site until the ftp.allow file was changed to reflect the new IP address. One solution to this problem for DSL users is to acquire a static IP address from your service provider.</p>
<div class="section">Installation</div>
<p>WordPress requires a MySQL database, so your hosting service must allow you to create and manage a database. Today, there are many hosting choices which allow WordPress to run perfectly. For a more detailed discussion of the characteristics of a good hosting service, see the resource section. Some hosts enable Wordpess to be installed automatically from the control panel.</p>
<p>For a manual installation, you should be able to access to your host&#8217;s control panel in order to create the database. You should also be able to upload and unzip files through the control panel&#8217;s file manager. However, I prefer to use FileZilla, a no cost FTP manager, for transferring files to and from the host. I have included a link to instructions for manually installing WordPress in the resource section.</p>
<p>WordPress.org has a forum for help if you have installation difficulties and a good hosting service should also be ready and able to assist you with the installation.</p>
<div class="section">Theming</div>
<p>The newest WordPress theme, Twenty Eleven (2011) has many features for today&#8217;s web sites—&#8221;out of the box.&#8221; These advanced features include CSS for a mobile friendly design. WordPress themes can be customized for a unique look and feel. My personal preference is to stay away from excessive glitz and to create a blog that is quick to load, easy to navigate, and does not distract visitors from the content.</p>
<p>The best way to customize a WordPress theme is to use a &#8220;child theme.&#8221; When using a child theme, customized files are kept in a separate theme directory. WordPress uses the unchanged theme files from the original, &#8220;parent&#8221; directory, as needed. For example, this blog&#8217;s theme is based on the 2010 theme and exists as a child theme in its own directory. The customized look of the blog is the result of modifications to a few files located in the &#8220;child&#8221; directory. Most of the necessary files for the theme are still accessed through the original 2010 directory.</p>
<p>The advantage of keeping the customized files in a separate directory rather than changing the original files is that the customized files will not be overwritten during an (automatic) WordPress version update: no files are changed in the child directory during a version update. This also applies to using any of the many themes available at wordpress.org or elsewhere. If you install and activate another theme, it will not be overwritten during a WordPress update.</p>
<p>If you are not comfortable with WordPress theming, my advice is to work with an &#8220;out of the box&#8221; theme and develop your site&#8217;s content. You can customize your site later as you acquire the necessary knowledge and skills. Always remember that it is the content—and not the theme—that is going to bring visitors to your site.</p>
<div class="section">Plugins</div>
<p>Check the resource section for a complete list of the plugins I am now using on this site.</p>
<div class="section">Maintenance</div>
<p>I consider it essential to keep a copy of my WordPress sites on my local PC. I do this as a backup measure. Once the site is installed, and when I modify or create new files, I make sure that the backup reflects the changes. Of course, if I have uploaded huge numbers of images to an online folder, I would not make it a practice of downloading these during a backup: I would, however, make sure I had a copy of the images on my local PC or on CDs/DVDs. Certainly, I would want a good backup before a version upgrade of the WordPress files—just in case.</p>
<p>Along with backing up the core WordPress files, it is also important to backup the database. This is done from phpMyAdmin from the control panel at your host. I have included a link to a tutorial about how to do this. As you add posts and pages to your blog, be sure to backup the database—where the post and pages are stored—from time to time.</p>
<p>WordPress now makes updating the core WordPress files and plugins a snap. When new versions are available, you are notified of this when you login to the WordPress dashboard. You can then choose to do your updates automatically. Be sure you have a good backup before you upgrade the core WordPress files. This is particularly important if you have modified any of the core files (such as files in the 2010 theme folder) as they will be overwritten.</p>
<div class="section">My Advice&#8230;.</div>
<p>If you are new to WordPress, I recommend taking your time with the initial installation. For new installations, and keeping in mind the security issues I discussed above, I follow the steps below.</p>
<ol>
<li>Create an empty database at the host. WordPress will fill in the tables during installation.</li>
<li>Upload and unzip WordPress.</li>
<li>Modify the WordPress configuration file (wp-config-sample.php which you rename to wp-config.php) to tell WordPress how to access the database.</li>
<li>Run the WordPress installer.</li>
<li>Activate Akismet. This will require you to create an account at akismet.com to get an API key.</li>
<li>Upload and unzip the Bad Behavior plugin. This will require a &#8220;BL Access Key&#8221; from projecthoneypot.org and you will have to create an account there to do this.</li>
</ol>
<p>At this point, your site should be installed and secure. You can now add other plugins and/or content to your site.</p>
<p>If you want to develop your WordPress site on your local PC, I can highly recommend installing WampServer.</p>
<blockquote><p>&#8220;WampServer is a Windows web development environment. It allows you to create web applications with Apache, PHP and the MySQL database. It also comes with phpMyAdmin to easily manage your databases.&#8221;</p></blockquote>
<p>The software is easy to install and I use it on my local PC to develop web pages (including WordPress). I have included a link in the resource section for a tutorial about how to use WampServer.</p>
<p>For help with your WordPress installation, you can go the Forums at WordPress.org.</p>
<div class="section">Resources</div>
<p>Plugins:</p>
<ul>
<li><a title="Akismet" href="http://codex.wordpress.org/Plugins/Akismet" target="_blank">Akismet</a> &#8212; anti-spam (now ships with WordPress).</li>
<li><a title="Bad Behavior" href="http://wordpress.org/extend/plugins/bad-behavior/" target="_blank">Bad Behavior</a> &#8211;<br />
<blockquote><p>&#8220;Bad Behavior complements other link spam solutions by acting as a gatekeeper, preventing spammers from ever delivering their junk, and in many cases, from ever reading your site in the first place. This keeps your site&#8217;s load down, makes your site logs cleaner, and can help prevent denial of service conditions caused by spammers.&#8221;</p></blockquote>
</li>
<li><a title="Google XML Sitemaps" href="http://wordpress.org/extend/plugins/google-sitemap-generator/" target="_blank">Google XML Sitemaps</a> &#8212; creates and updates a sitemap.</li>
<li><a title="Fast Secure Contact Form" href="http://wordpress.org/extend/plugins/si-contact-form/" target="_blank">Fast Secure Contact Form</a> &#8212; provides a &#8220;secure&#8221; contact form for your site.</li>
</ul>
<p>Hosting:</p>
<ul>
<li><a href="http://ezinearticles.com/?Characteristics-of-a-Good-Web-Hosting-Service-For-Content-Providers-and-Online-Marketers&amp;id=1789331" target="_blank">Characteristics of a Good Web Hosting Service For Content Providers and Online Marketers</a></li>
</ul>
<p>Installing:</p>
<ul>
<li><a title="Installing WordPress" href="http://codex.wordpress.org/Installing_WordPress" target="_blank">Installing WordPress</a></li>
<li><a title="Managing Your WordPress Database" href="http://www.blog.selectdigitals.com/managing-your-wordpress-database/" target="_blank">Managing Your WordPress Database</a></li>
<li><a title="How to Install and Style WordPress" href="http://www.selectdigitals.com/Documents/Articles/wordpress/index.html" target="_blank">How to Install and Style WordPress</a> &#8212; My blog has been updated to the latest version of WordPress 3.X. Therefore, this article is a bit dated. However, if you are still using the old Kubrick theme or are interested in learning how to style a theme, the article might still be of interest to you.</li>
</ul>
<p>FTP:</p>
<ul>
<li><a title="FileZilla" href="http://file-zilla.com/download-filezilla/?gclid=CPPBnYLJg6YCFRxqgwodC2jhoQ" target="_blank">FileZilla</a> &#8212; My choice for an FTP client.</li>
</ul>
<p>Theming:</p>
<ul>
<li><a title="Theme Development" href="http://codex.wordpress.org/Theme_Development" target="_blank">Theme Development</a></li>
<li><a title="Child Themes" href="http://codex.wordpress.org/Child_Themes" target="_blank">Child Themes</a></li>
</ul>
<p>Code Validation:</p>
<ul>
<li><a title="W3C Code Validator" href="http://validator.w3.org/" target="_blank">W3C Code Validator</a></li>
</ul>
<p>WAMP:</p>
<ul>
<li><a title="Download WAMP" href="http://www.wampserver.com/en/" target="_blank">Download WAMP</a></li>
<li><a title="Wampserver: A Testbed For WordPress" href="http://www.blog.selectdigitals.com/wampserver-a-test-bed-for-wordpress/" target="_blank">Wampserver: A Testbed For WordPress</a></li>
</ul>
<p>WordPress Support:</p>
<ul>
<li><a title="WordPress Support Forums" href="http://wordpress.org/support/" target="_blank">WordPress Support Forums</a></li>
</ul>
<p>My Blog About WordPress:</p>
<ul>
<li><a title="Blog at Select Digitals" href="http://blog.selectdigitals.com" target="_blank">blog.selectdigitals.com</a> &#8212; Articles, tips, and tutorials about WordPress.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.tivel.org/wordpress-for-your-genealogy-blog/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
