<?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>Earn A Living Online &#187; geolite</title>
	<atom:link href="http://keithjameslock.com/tag/geolite/feed/" rel="self" type="application/rss+xml" />
	<link>http://keithjameslock.com</link>
	<description>Learn to make money online</description>
	<lastBuildDate>Wed, 11 Aug 2010 02:26:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>phpBay Pro: The Extended Manual &#8211; Geo-Targeting</title>
		<link>http://keithjameslock.com/phpbay-pro-extended-manual-geotargeting/</link>
		<comments>http://keithjameslock.com/phpbay-pro-extended-manual-geotargeting/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 04:01:14 +0000</pubDate>
		<dc:creator>Keith James Lock</dc:creator>
				<category><![CDATA[phpBay Pro]]></category>
		<category><![CDATA[auctions]]></category>
		<category><![CDATA[binary format]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[donation ware]]></category>
		<category><![CDATA[geoip]]></category>
		<category><![CDATA[geolite]]></category>

		<guid isPermaLink="false">http://keithjameslock.com/?p=953</guid>
		<description><![CDATA[This post is a continuation of the phpBay Pro Extended Manual. You can use Table of Contents below if you want to start from the beginning or jump to a different section. Table Of Contents Introduction Installation/Activation Configuration Testing Per-Post/Per-Page Settings Geo-Targeting Making The Images Clickable Replacing WordPress Search With eBay Search Inserting phpBay Code [...]


Related posts:<ol><li><a href='http://keithjameslock.com/phpbay-pro-extended-manual-replacing-wordpress-search/' rel='bookmark' title='Permanent Link: phpBay Pro: The Extended Manual &#8211; Replacing WordPress Search'>phpBay Pro: The Extended Manual &#8211; Replacing WordPress Search</a></li>
<li><a href='http://keithjameslock.com/phpbay-pro-extended-manual-installation-activation/' rel='bookmark' title='Permanent Link: phpBay Pro: The Extended Manual &#8211; Installation and Activation'>phpBay Pro: The Extended Manual &#8211; Installation and Activation</a></li>
<li><a href='http://keithjameslock.com/phpbay-pro-extended-manual-inserting-phpbay-code-theme-files/' rel='bookmark' title='Permanent Link: phpBay Pro: The Extended Manual &#8211; Inserting phpBay Code Into Theme Files'>phpBay Pro: The Extended Manual &#8211; Inserting phpBay Code Into Theme Files</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: left; margin-right: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fkeithjameslock.com%2Fphpbay-pro-extended-manual-geotargeting%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fkeithjameslock.com%2Fphpbay-pro-extended-manual-geotargeting%2F&amp;source=keithlock&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>This post is a continuation of the phpBay Pro Extended Manual. You can use Table of Contents below if you want to start from the beginning or jump to a different section.</p>
<p><strong>Table Of Contents</strong>

<ul>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-introduction/"><u>Introduction</u></a></li>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-installation-activation/"><u>Installation/Activation</u></a></li>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-configuration/"><u>Configuration</u></a></li>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-testing/"><u>Testing</u></a></li>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-parameter-settings/"><u>Per-Post/Per-Page Settings</u></a></li>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-geotargeting/"><u>Geo-Targeting</u></a></li>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-making-images-clickable/"><u>Making The Images Clickable</u></a></li>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-replacing-wordpress-search/"><u>Replacing WordPress Search With eBay Search</u></a></li>
<li><a href="http://keithjameslock.com/phpbay-pro-extended-manual-inserting-phpbay-code-theme-files/"><u>Inserting phpBay Code Into Theme Files</u></a></li>
<li><a href="http://keithjameslock.com/go/phpbay.php" target="_blank" rel="nofollow"><u>Buy phpBay Pro (20% off coupon: DA9CD69F42)</u></a></li>
<li><a href="http://keithjameslock.com/go/9stepz5" target="_blank" rel="nofollow"><u>From Picking A Market To Building/Managing Your phpBay (Or BANS) Site</u></a></li>
</ul></p>
<p>There is a free plugin available that will automatically display auctions for the country of your visitor when they arrive on your site. Note: This is different than the <a href="http://keithjameslock.com/wordpress-geo-targeting-script/"><u>WordPress Geo-Targeting Script</u></a> that can be used for displaying any type of content to visitors from other countries. This one is specific to phpBay.</p>
<p>The plugin was created by Alan (a phpBay Pro user) and is available free (donation-ware) from his blog after opting-in to his newsletter. Let's get the plugin now...</p>
<ol>
<li>Visit <a href="http://www.psp-tubes.net/wordpress/phpbay-plugin" target="_blank" rel="nofollow"><u>http://www.psp-tubes.net/wordpress/phpbay-plugin</u></a></li>
<li>Scroll to the very bottom because it is mostly an out-dated post.</li>
<li>Enter your name and email and click 'Send me the plugin'. You may be brought to a page that says 'Whoops! That Page Isn't Here'. Don't worry, there is just something funky going on with his subscription pages. Perhaps he should switch to <a href="http://keithjameslock.com/go/aweber.php" target="_blank" rel="nofollow"><u>Aweber</u></a> ;) At any rate, you should quickly get an email with the Subject: 'ACTION REQUIRED: Confirm your subscription.'. Click the link in the email to confirm your subscription. You will again probably be brought to a page that says 'Whoops! That Page Isn't Here'. Again, don't worry. You should be receiving another email shortly with the link for the plugin.</li>
<li>Open the email with the Subject: 'phpBay plugin download details'.</li>
<li>Click the 2nd link in the email to download the plugin.</li>
</ol>
<p>Now that we have the plugin, let's get it installed...</p>
<ol>
<li>Unzip the file</li>
<li>Upload 'geo.php', 'combo.php', 'country.php' and 'geoip.inc' to '/wp-content/plugins/phpBay/includes/' on your server. Note: You will be overwriting 2 files, 'geo.php' and 'combo.php', so you may want to backup the ones on the server first. Renaming them on the sever before uploading the new ones will work.</li>
<li>Download the free database file from maxmind.com. Click <a href="http://www.maxmind.com/app/geolitecountry" target="_blank" rel="nofollow"><u>here</u></a>. Under the 'Binary Format' section, click the link 'Download the latest GeoLite Country Binary Format' to save the database to your computer. It will be compressed in .gz format. The free tool <a href="http://download.cnet.com/WinRAR/3000-2250_4-10007677.html" target="_blank" rel="nofollow"><u>WinRAR</u></a> can decompress the file, much like unzipping a file.</li>
<li>You will be left with a file called 'GeoIP.dat'. It needs to be uploaded to '/wp-content/plugins/phpBay/includes/' in Binary mode. If using <a href="http://download.cnet.com/FileZilla/3000-2160_4-10308966.html" target="_blank" rel="nofollow"><u>FileZilla</u></a> to upload, go to Transfer > Transfer type > Binary. You can check maxmind.com for a new version each month. I, myself, just update it every 6 months. When updating, just overwrite the existing file on the server.</li>
</ol>
<p>That should do it! To be certain it works, switch the default country in the phpBay settings to one other than your own temporarily. Make sure the sorting options or the eBay logo is displayed (discussed earlier) because having one or both of those turned on will also turn on the country dropdown box. Now visit the test page that you created earlier. You should be now viewing auctions in your own country rather than the default country. If you still see the default country it might be because the page is cached. If using Firefox you can usually press Ctrl+F5 to fix that.</p>
<p>Notice something about the auctions? The darn images aren't clickable. We'll get to that <a href="http://keithjameslock.com/phpbay-pro-extended-manual-making-images-clickable/"><u>next</u></a>.</p>


<p>Related posts:<ol><li><a href='http://keithjameslock.com/phpbay-pro-extended-manual-replacing-wordpress-search/' rel='bookmark' title='Permanent Link: phpBay Pro: The Extended Manual &#8211; Replacing WordPress Search'>phpBay Pro: The Extended Manual &#8211; Replacing WordPress Search</a></li>
<li><a href='http://keithjameslock.com/phpbay-pro-extended-manual-installation-activation/' rel='bookmark' title='Permanent Link: phpBay Pro: The Extended Manual &#8211; Installation and Activation'>phpBay Pro: The Extended Manual &#8211; Installation and Activation</a></li>
<li><a href='http://keithjameslock.com/phpbay-pro-extended-manual-inserting-phpbay-code-theme-files/' rel='bookmark' title='Permanent Link: phpBay Pro: The Extended Manual &#8211; Inserting phpBay Code Into Theme Files'>phpBay Pro: The Extended Manual &#8211; Inserting phpBay Code Into Theme Files</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://keithjameslock.com/phpbay-pro-extended-manual-geotargeting/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
