<?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>Colin Loretz &#187; g4tg</title>
	<atom:link href="http://colinloretz.com/tag/g4tg/feed/" rel="self" type="application/rss+xml" />
	<link>http://colinloretz.com</link>
	<description>Community builder and hacker</description>
	<lastBuildDate>Mon, 14 Nov 2011 20:39:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Earth Day: The Tech behind Globes for the Globe</title>
		<link>http://colinloretz.com/2009/04/earth-day-the-tech-behind-globes-for-the-globe/</link>
		<comments>http://colinloretz.com/2009/04/earth-day-the-tech-behind-globes-for-the-globe/#comments</comments>
		<pubDate>Wed, 22 Apr 2009 18:11:58 +0000</pubDate>
		<dc:creator>Colin Loretz</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[earth day]]></category>
		<category><![CDATA[g4tg]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://colinloretz.com/?p=263</guid>
		<description><![CDATA[Want to help save the planet? @edadkins and I created Globes for the Globes (NSFW 18+) to help spread tips that will help the earth. Ed already wrote about why we made the website, which you can read here. I wanted to quickly talk about what went into making it happen and why we used [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://colinloretz.com/wp-content/uploads/2009/04/g4tg.gif"><img class="alignnone size-full wp-image-264" title="g4tg" src="http://colinloretz.com/wp-content/uploads/2009/04/g4tg.gif" alt="g4tg" width="506" height="67" /></a></p>
<p><a href="http://colinloretz.com/wp-content/uploads/2009/04/g4tg.gif"></a>Want to help save the planet? <a href="http://www.edadkins.com">@edadkins</a> and I created <a href="http://globesfortheglobe.com">Globes for the Globes</a> <span style="color: yellow;">(NSFW 18+)</span> to help spread tips that will help the earth.</p>
<p>Ed already wrote about why we made the website, which you can read <a href="http://edadkins.com/my-contribution-to-the-green-movement-globes-for-the-globe-environmental-tips-written-on-boobs/">here</a>. I wanted to quickly talk about what went into making it happen and why we used WordPress to power the whole thing.</p>
<p><a href="http://wordpress.org">WordPress</a> is obviously a blogging platform but the fact that it is lightweight and customization is only limited to the developer&#8217;s imagination and knowledge of PHP and the WordPress core.</p>
<p><a href="http://colinloretz.com/wp-content/uploads/2009/04/g4tg_screen.png"><img class="alignnone size-medium wp-image-265" title="g4tg_screen" src="http://colinloretz.com/wp-content/uploads/2009/04/g4tg_screen-300x161.png" alt="g4tg_screen" width="300" height="161" /></a></p>
<h2><strong>Plugins used:</strong></h2>
<p><strong><span style="font-weight: normal;"><a href="http://wordpress.org/extend/plugins/tdo-mini-forms/">TDO Mini Forms<br />
</a>Used for image submission. TDO Mini Forms takes the content entered on the G4tG submission page and creates a draft post in WordPress. We are alerted of new posts and can approve or reject those posts.</span></strong></p>
<p><strong><span style="font-weight: normal;"><a href="http://rmarsh.com/plugins/popular-posts-plugin/">Popular Posts + Post-Plugin Library<br />
</a>Used for displaying the most viewed images in the sidebar. This plugin and the post-plugin library offers a very robust set of features for filtering and displaying your posts based on related content, highest number of page views and more.</span></strong></p>
<p><strong><span style="font-weight: normal;"><a href="http://wordpress.org/extend/plugins/ad-minister/">Ad-minister<br />
</a>Used to display our Partner Sites. Ad-minister is another plugin with a very rich feature set including the ability to track ads and an ad&#8217;s individual cost-per-click (CPC) or cost-per-impression(CPM) in terms of impressions and clicks.</span></strong></p>
<p><strong><span style="font-weight: normal;"><a href="http://codex.wordpress.org/Akismet">Akismet<br />
</a>Our spam fighting power, thanks to WordPress</span></strong></p>
<h2><strong>I&#8217;m 18 or Over</strong></h2>
<p><strong><span style="font-weight: normal; font-size: 13px;">Due to the content of the website, we decided to hide the actual images until someone clicks on the &#8220;I&#8217;m 18 or over&#8221; button. We&#8217;re using Javascript to set a cookie indicating that the user wishes to turn off the image filter. Setting cookies via Javascript is pretty simple and because they are set in the browser, we can access the cookies later via PHP for showing, or in this case, hiding certain content including the &#8220;Flag This&#8221; links, most viewed images in the sidebar, and of course our unicorn gatekeeper.</span></strong></p>
<p><strong><span style="font-weight: normal; font-size: 13px;"><a href="http://colinloretz.com/wp-content/uploads/2009/04/unicorn.png"><img class="alignnone size-medium wp-image-267" title="unicorn" src="http://colinloretz.com/wp-content/uploads/2009/04/unicorn-300x199.png" alt="unicorn" width="300" height="199" /></a></span></strong></p>
<p>The ability to set, retrieve, and manage cookies within a WordPress theme is a pretty slick way to show content or display options to a viewer. As soon as I get some downtime, I&#8217;m going to make it into a plugin that will allow cookies and related template tags, such as &lt;?php if(is_18()) ?&gt; to be created through the admin panel for use in existing themes.</p>
<h2>Flag Content</h2>
<p><strong><span style="font-weight: normal;">Once the image filters are turned off, each image also has a &#8220;Flag this&#8221; link that sends a notification to us indicating that someone believes the content to be offensive or have comprised our system somehow.</span></strong></p>
<p>This was a really fun project to work on and Georgette and Shone over at <a href="http://www.bohocrush.com">Bohocrush</a> <span style="color: yellow;">(NSFW 18+)</span> are awesome as always to work with. We look forward to more community and collaborative efforts in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://colinloretz.com/2009/04/earth-day-the-tech-behind-globes-for-the-globe/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

